Skip to content

Commit

Permalink
Updated ImperasDV config to fix issue openhwgroup#1031
Browse files Browse the repository at this point in the history
  • Loading branch information
davidharrishmc committed Oct 28, 2024
1 parent 00ea357 commit 874d5f6
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
13 changes: 10 additions & 3 deletions config/rv32gc/imperas.ic
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,16 @@
#--override cpu/instret_undefined=T
#--override cpu/hpmcounter_undefined=T

# context registers not implemented
--override cpu/scontext_undefined=T
--override cpu/mcontext_undefined=T
## context registers not implemented
#--override cpu/scontext_undefined=True
#--override cpu/mcontext_undefined=True

# Disable all features that might want mseccfg or CSRs 7a0-7af
--override cpu/Smepmp_version=none
--override cpu/Smmpm=none
#--override cpu/Zicfilp=F
--override cpu/trigger_num=0 # disable CSRs 7a0-7a8

--override no_pseudo_inst=T # For code coverage, don't produce pseudoinstructions


Expand Down
14 changes: 11 additions & 3 deletions config/rv64gc/imperas.ic
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,17 @@
#--override cpu/hpmcounter_undefined=T

# context registers not implemented
--override cpu/scontext_undefined=T
--override cpu/mcontext_undefined=T
--override no_pseudo_inst=T # For code coverage, don't produce pseudoinstructions
#--override cpu/scontext_undefined=True
#--override cpu/mcontext_undefined=True

# Disable all features that might want mseccfg or CSRs 7a0-7af
--override cpu/Smepmp_version=none
--override cpu/Smmpm=none
#--override cpu/Zicfilp=F
--override cpu/trigger_num=0 # disable CSRs 7a0-7a8

# For code coverage, don't produce pseudoinstructions
--override no_pseudo_inst=T

# nonratified mnosie register not implemented
--override cpu/mnoise_undefined=T
Expand Down

0 comments on commit 874d5f6

Please sign in to comment.