projects
/
riscv-isa-sim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove legacy HTIF; implement HTIF directly
[riscv-isa-sim.git]
/
riscv
/
processor.h
diff --git
a/riscv/processor.h
b/riscv/processor.h
index 2906bda182010cd228898dc9bbc6498ea0a7527d..31d5f6ca7dd442ef3005e04a4832823bdfbbcf77 100644
(file)
--- a/
riscv/processor.h
+++ b/
riscv/processor.h
@@
-106,9
+106,8
@@
public:
void set_debug(bool value);
void set_histogram(bool value);
void set_debug(bool value);
void set_histogram(bool value);
- void reset(
bool value
);
+ void reset();
void step(size_t n); // run for n cycles
void step(size_t n); // run for n cycles
- bool running() { return run; }
void set_csr(int which, reg_t val);
void raise_interrupt(reg_t which);
reg_t get_csr(int which);
void set_csr(int which, reg_t val);
void raise_interrupt(reg_t which);
reg_t get_csr(int which);
@@
-144,7
+143,6
@@
private:
unsigned xlen;
reg_t isa;
std::string isa_string;
unsigned xlen;
reg_t isa;
std::string isa_string;
- bool run; // !reset
bool histogram_enabled;
bool halt_on_reset;
bool histogram_enabled;
bool halt_on_reset;