Skip to content

Commit

Permalink
add support for running Zephyr using small config
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Binkowski committed Jan 8, 2020
1 parent b290b25 commit ae9b2c9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/scala/vexriscv/plugin/CsrPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -221,16 +221,17 @@ object CsrPluginConfig{
mhartid = null,
misaExtensionsInit = 66,
misaAccess = CsrAccess.NONE,
mtvecAccess = CsrAccess.NONE,
mtvecAccess = CsrAccess.WRITE_ONLY,
mtvecInit = mtvecInit,
mepcAccess = CsrAccess.READ_WRITE,
mscratchGen = false,
mcauseAccess = CsrAccess.READ_ONLY,
mbadaddrAccess = CsrAccess.READ_ONLY,
mcycleAccess = CsrAccess.NONE,
minstretAccess = CsrAccess.NONE,
ecallGen = false,
ecallGen = true,
wfiGenAsWait = false,
wfiGenAsNop = true,
ucycleAccess = CsrAccess.NONE
)

Expand Down

0 comments on commit ae9b2c9

Please sign in to comment.