Skip to content

Commit

Permalink
split PrivilegePlugin into itself + TrapPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolu1990 committed Jan 8, 2024
1 parent d07ae80 commit 27d582e
Show file tree
Hide file tree
Showing 4 changed files with 465 additions and 447 deletions.
3 changes: 2 additions & 1 deletion src/main/scala/vexiiriscv/Param.scala
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ class ParamSimple(){
plugins += new CsrRamPlugin()
plugins += new PerformanceCounterPlugin(additionalCounterCount = performanceCounters)
plugins += new CsrAccessPlugin(early0, writeBackKey = if(lanes == 1) "lane0" else "lane1")
plugins += new PrivilegedPlugin(privParam, 0 until hartCount, trapAt = 2)
plugins += new PrivilegedPlugin(privParam, 0 until hartCount)
plugins += new TrapPlugin(trapAt = 2)
plugins += new EnvPlugin(early0, executeAt = 0)

if(withLateAlu) {
Expand Down
Loading

0 comments on commit 27d582e

Please sign in to comment.