Skip to content

Commit

Permalink
fix hartReset in DM
Browse files Browse the repository at this point in the history
  • Loading branch information
wissygh committed Jan 6, 2025
1 parent 2fe6bb5 commit 6b90dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/devices/debug/Debug.scala
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ class TLDebugModuleOuter(device: Device)(implicit p: Parameters) extends LazyMod
val hartResetReg = RegNext(next=hartResetNxt, init=0.U.asTypeOf(hartResetNxt))

for (component <- 0 until nComponents) {
hartResetNxt(component) := DMCONTROLReg.hartreset & hartSelected(component)
hartResetNxt(component) := DMCONTROLNext.hartreset & hartSelected(component)
io.hartResetReq.get(component) := hartResetReg(component)
}
}
Expand Down

0 comments on commit 6b90dc2

Please sign in to comment.