aboutsummaryrefslogtreecommitdiff
path: root/riscv/debug_module.cc
diff options
context:
space:
mode:
authorAndy Wright <acwright@mit.edu>2018-05-31 13:53:12 -0400
committerAndrew Waterman <aswaterman@gmail.com>2018-05-31 10:53:12 -0700
commitd6fcfdebf6a893bf37670fd67203d18653df4a0e (patch)
treef4b65db4f03545a10815ec021a39b8aee64f8ffc /riscv/debug_module.cc
parent19efe7d1121ab0e1a3014a1554e7340fa958c13f (diff)
downloadspike-d6fcfdebf6a893bf37670fd67203d18653df4a0e.zip
spike-d6fcfdebf6a893bf37670fd67203d18653df4a0e.tar.gz
spike-d6fcfdebf6a893bf37670fd67203d18653df4a0e.tar.bz2
Put simif_t declaration in its own file. (#209)
By separating the simif_t declaration from the sim_t declaration, the simif_t declaration no longer depends on fesvr header files. This simplifies compilation of custom sim class implementations that don't depend on fesvr.
Diffstat (limited to 'riscv/debug_module.cc')
-rw-r--r--riscv/debug_module.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/riscv/debug_module.cc b/riscv/debug_module.cc
index 6f9359b..5275a5f 100644
--- a/riscv/debug_module.cc
+++ b/riscv/debug_module.cc
@@ -4,6 +4,7 @@
#include "debug_defines.h"
#include "opcodes.h"
#include "mmu.h"
+#include "sim.h"
#include "debug_rom/debug_rom.h"
#include "debug_rom_defines.h"