PLIC: (undefZero=true) Don't allow addresses to alias
While the spec is unclear what happens when you access unused registers in the PLIC, for user simplicity turn off register aliasing. If this becomes a performance/area issue we can revisit.
This commit is contained in:
parent
a0cbc376b4
commit
76a1ae667f
@ -79,7 +79,7 @@ class TLPLIC(params: PLICParams)(implicit p: Parameters) extends LazyModule
|
|||||||
address = Seq(params.address),
|
address = Seq(params.address),
|
||||||
device = device,
|
device = device,
|
||||||
beatBytes = p(XLen)/8,
|
beatBytes = p(XLen)/8,
|
||||||
undefZero = false,
|
undefZero = true,
|
||||||
concurrency = 1) // limiting concurrency handles RAW hazards on claim registers
|
concurrency = 1) // limiting concurrency handles RAW hazards on claim registers
|
||||||
|
|
||||||
val intnode = IntNexusNode(
|
val intnode = IntNexusNode(
|
||||||
|
Loading…
Reference in New Issue
Block a user