Connect debug clocks when debug is tied off
This commit is contained in:
@@ -256,8 +256,9 @@ class WithTiedOffDebug extends OverrideIOBinder({
|
|||||||
Debug.tieoffDebug(debugPortOpt, resetctrlOpt, Some(psdPort))(system.p)
|
Debug.tieoffDebug(debugPortOpt, resetctrlOpt, Some(psdPort))(system.p)
|
||||||
// tieoffDebug doesn't actually tie everything off :/
|
// tieoffDebug doesn't actually tie everything off :/
|
||||||
debugPortOpt.foreach { d =>
|
debugPortOpt.foreach { d =>
|
||||||
d.clockeddmi.foreach({ cdmi => cdmi.dmi.req.bits := DontCare })
|
d.clockeddmi.foreach({ cdmi => cdmi.dmi.req.bits := DontCare; cdmi.dmiClock := th.clock })
|
||||||
d.dmactiveAck := DontCare
|
d.dmactiveAck := DontCare
|
||||||
|
d.clock := th.clock
|
||||||
}
|
}
|
||||||
Nil
|
Nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user