aboutsummaryrefslogtreecommitdiff
path: root/riscv/insn_template.h
diff options
context:
space:
mode:
authorYenHaoChen <howard25336284@gmail.com>2024-06-11 09:27:33 +0800
committerYenHaoChen <howard25336284@gmail.com>2024-06-11 10:21:41 +0800
commitdb762327efe1c754081f7cbfa1f1cae168fedf17 (patch)
tree12e630767dc32521f50ffb1ed22b0089b43795a0 /riscv/insn_template.h
parent00dfa28cd71326a9b553052bf0160cb76f0e7e07 (diff)
downloadspike-db762327efe1c754081f7cbfa1f1cae168fedf17.zip
spike-db762327efe1c754081f7cbfa1f1cae168fedf17.tar.gz
spike-db762327efe1c754081f7cbfa1f1cae168fedf17.tar.bz2
triggers: implement tcontrol
Implement Debug spec Section 5.7.6. Trigger Control (tcontrol). This commit lets tcontrol be read-only 0 if number of triggers is 0.
Diffstat (limited to 'riscv/insn_template.h')
-rw-r--r--riscv/insn_template.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/riscv/insn_template.h b/riscv/insn_template.h
index 88a41c2..bf9d9d7 100644
--- a/riscv/insn_template.h
+++ b/riscv/insn_template.h
@@ -8,4 +8,5 @@
#include "specialize.h"
#include "tracer.h"
#include "v_ext_macros.h"
+#include "debug_defines.h"
#include <assert.h>