From 03be4ae6c7b8e9865083b61427ff9724c7706fcf Mon Sep 17 00:00:00 2001 From: Jerry Zhao Date: Fri, 14 Oct 2022 13:40:56 -0700 Subject: Add interactive mode commands to read clint mtime/mtimecmp --- riscv/sim.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'riscv/sim.h') 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& args); void interactive_str(const std::string& cmd, const std::vector& args); void interactive_dumpmems(const std::string& cmd, const std::vector& args); + void interactive_mtime(const std::string& cmd, const std::vector& args); + void interactive_mtimecmp(const std::string& cmd, const std::vector& args); void interactive_until(const std::string& cmd, const std::vector& args, bool noisy); void interactive_until_silent(const std::string& cmd, const std::vector& args); void interactive_until_noisy(const std::string& cmd, const std::vector& args); -- cgit v1.1