Skip to content

Commit

Permalink
Support new rsc with more config (#5)
Browse files Browse the repository at this point in the history
* feat: support rsc with more config
corresponding riscv-spec-core 74c204bf0de3a744da8ccdf104fb7954a4c8fda4
  • Loading branch information
liuyic00 authored Aug 17, 2024
1 parent f5d4ca9 commit b7e3c61
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main/scala/nutcore/NutCore.scala
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,12 @@ case class NutCoreConfig (
EnableILA: Boolean = Settings.get("EnableILA"),
EnableDebug: Boolean = Settings.get("EnableDebug"),
EnhancedLog: Boolean = true ,
FormalConfig: RVConfig = RVConfig(64, "MCS", "A")
FormalConfig: RVConfig = RVConfig(
"XLEN" -> 64,
"extensions" -> "MCZicsrZifenceiSU",
"fakeExtensions" -> "A",
"functions" -> Seq("Privileged")
)
)
// Enable EnhancedLog will slow down simulation,
// but make it possible to control debug log using emu parameter
Expand Down

0 comments on commit b7e3c61

Please sign in to comment.