Fix haltnot reporting (previously always returned 0)
This commit is contained in:
parent
24a2278fc4
commit
33b6d48376
@ -724,7 +724,7 @@ trait DebugModule extends Module with HasDebugModuleParameters with HasRegMap {
|
|||||||
// This logic assumes only up to 128 components.
|
// This logic assumes only up to 128 components.
|
||||||
rdHaltnotStatus := Bits(0)
|
rdHaltnotStatus := Bits(0)
|
||||||
for (ii <- 0 until numHaltnotStatus) {
|
for (ii <- 0 until numHaltnotStatus) {
|
||||||
when (dbReq.addr === UInt(ii)) {
|
when (dbReq.addr(1, 0) === UInt(ii)) {
|
||||||
rdHaltnotStatus := haltnotStatus(ii)
|
rdHaltnotStatus := haltnotStatus(ii)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user