projects
/
riscv-isa-sim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
OpenOCD does a dmi read and gets dummy value back.
[riscv-isa-sim.git]
/
riscv
/
sim.h
diff --git
a/riscv/sim.h
b/riscv/sim.h
index c8ba4073c02157538060c42cc4c9dd86ba98826c..99b6809d7deb9b26239e926377a9867a86ccde13 100644
(file)
--- a/
riscv/sim.h
+++ b/
riscv/sim.h
@@
-35,6
+35,8
@@
public:
const char* get_config_string() { return config_string.c_str(); }
processor_t* get_core(size_t i) { return procs.at(i); }
const char* get_config_string() { return config_string.c_str(); }
processor_t* get_core(size_t i) { return procs.at(i); }
+ debug_module_t debug_module;
+
private:
char* mem; // main memory
size_t memsz; // memory size in bytes
private:
char* mem; // main memory
size_t memsz; // memory size in bytes
@@
-44,7
+46,6
@@
private:
std::unique_ptr<rom_device_t> boot_rom;
std::unique_ptr<rtc_t> rtc;
bus_t bus;
std::unique_ptr<rom_device_t> boot_rom;
std::unique_ptr<rtc_t> rtc;
bus_t bus;
- debug_module_t debug_module;
processor_t* get_core(const std::string& i);
void step(size_t n); // step through simulation
processor_t* get_core(const std::string& i);
void step(size_t n); // step through simulation