diff options
author | YenHaoChen <howard25336284@gmail.com> | 2022-12-18 19:32:54 +0800 |
---|---|---|
committer | YenHaoChen <howard25336284@gmail.com> | 2022-12-21 13:29:17 +0800 |
commit | 015fc185a49b0853efeee1d2be8c0e1cebdc9fe5 (patch) | |
tree | f25c5e97f2c5317d0fe24462d6bc06bd85b2c5fb /riscv/triggers.h | |
parent | 1f2f68962ce851bc630951dc9c0983ce48f81f19 (diff) | |
download | riscv-isa-sim-015fc185a49b0853efeee1d2be8c0e1cebdc9fe5.zip riscv-isa-sim-015fc185a49b0853efeee1d2be8c0e1cebdc9fe5.tar.gz riscv-isa-sim-015fc185a49b0853efeee1d2be8c0e1cebdc9fe5.tar.bz2 |
triggers: refactor: add trigger_t::mode_match() function
Diffstat (limited to 'riscv/triggers.h')
-rw-r--r-- | riscv/triggers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/riscv/triggers.h b/riscv/triggers.h index 29539d3..b2a86f4 100644 --- a/riscv/triggers.h +++ b/riscv/triggers.h @@ -87,6 +87,7 @@ public: protected: action_t legalize_action(reg_t val) const noexcept; + bool mode_match(state_t * const state) const noexcept; reg_t tdata2; bool vs = false; |