Skip to content

Commit

Permalink
delay hart in reset for more
Browse files Browse the repository at this point in the history
  • Loading branch information
Siudya committed Mar 30, 2024
1 parent 99ca2ca commit 93b1826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/device/RocketDebugWrapper.scala
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class DebugModuleImp(outer:DebugModule, numCores: Int) extends LazyRawModuleImp(
debug.module.io.tl_reset := io.reset // this should be TL reset
debug.module.io.tl_clock := io.clock.asClock // this should be TL clock
withClock(io.clock.asClock) {
debug.module.io.hartIsInReset := RegNext(io.resetCtrl.hartIsInReset)
debug.module.io.hartIsInReset := RegNext(RegNext(RegNext(io.resetCtrl.hartIsInReset)))
}
io.resetCtrl.hartResetReq.foreach { rcio => debug.module.io.hartResetReq.foreach { rcdm => rcio := rcdm } }

Expand Down

0 comments on commit 93b1826

Please sign in to comment.