diff options
author | Jerry Zhao <jerryz123@berkeley.edu> | 2022-10-14 13:40:56 -0700 |
---|---|---|
committer | Andrew Waterman <aswaterman@gmail.com> | 2022-10-16 15:28:35 -0700 |
commit | 03be4ae6c7b8e9865083b61427ff9724c7706fcf (patch) | |
tree | 2acb7760d9fab257bf2de7b4e0b04d83f72f5d16 /riscv/sim.h | |
parent | 5cf439b24e945db47edf6e259044c923384ccdfd (diff) | |
download | spike-03be4ae6c7b8e9865083b61427ff9724c7706fcf.zip spike-03be4ae6c7b8e9865083b61427ff9724c7706fcf.tar.gz spike-03be4ae6c7b8e9865083b61427ff9724c7706fcf.tar.bz2 |
Add interactive mode commands to read clint mtime/mtimecmp
Diffstat (limited to 'riscv/sim.h')
-rw-r--r-- | riscv/sim.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/riscv/sim.h b/riscv/sim.h index 5787d5d..c7dbd47 100644 --- a/riscv/sim.h +++ b/riscv/sim.h @@ -137,6 +137,8 @@ private: void interactive_mem(const std::string& cmd, const std::vector<std::string>& args); void interactive_str(const std::string& cmd, const std::vector<std::string>& args); void interactive_dumpmems(const std::string& cmd, const std::vector<std::string>& args); + void interactive_mtime(const std::string& cmd, const std::vector<std::string>& args); + void interactive_mtimecmp(const std::string& cmd, const std::vector<std::string>& args); void interactive_until(const std::string& cmd, const std::vector<std::string>& args, bool noisy); void interactive_until_silent(const std::string& cmd, const std::vector<std::string>& args); void interactive_until_noisy(const std::string& cmd, const std::vector<std::string>& args); |