fiber sync
This commit is contained in:
parent
e384bfe145
commit
67d2f72a4b
|
@ -43,14 +43,14 @@ case class VexRiscvBmbGenerator()(implicit interconnectSmp: BmbInterconnectGener
|
|||
}
|
||||
|
||||
def enableJtag(debugCd : ClockDomainResetGenerator, resetCd : ClockDomainResetGenerator) : Unit = debugCd{
|
||||
this.debugClockDomain.merge(debugCd.outputClockDomain)
|
||||
this.debugClockDomain.load(debugCd.outputClockDomain)
|
||||
val resetBridge = resetCd.asyncReset(debugReset, ResetSensitivity.HIGH)
|
||||
debugAskReset.loadNothing()
|
||||
withDebug.load(DEBUG_JTAG)
|
||||
}
|
||||
|
||||
def enableJtagInstructionCtrl(debugCd : ClockDomainResetGenerator, resetCd : ClockDomainResetGenerator) : Unit = debugCd{
|
||||
this.debugClockDomain.merge(debugCd.outputClockDomain)
|
||||
this.debugClockDomain.load(debugCd.outputClockDomain)
|
||||
val resetBridge = resetCd.asyncReset(debugReset, ResetSensitivity.HIGH)
|
||||
debugAskReset.loadNothing()
|
||||
withDebug.load(DEBUG_JTAG_CTRL)
|
||||
|
@ -58,7 +58,7 @@ case class VexRiscvBmbGenerator()(implicit interconnectSmp: BmbInterconnectGener
|
|||
}
|
||||
|
||||
def enableDebugBus(debugCd : ClockDomainResetGenerator, resetCd : ClockDomainResetGenerator) : Unit = debugCd{
|
||||
this.debugClockDomain.merge(debugCd.outputClockDomain)
|
||||
this.debugClockDomain.load(debugCd.outputClockDomain)
|
||||
val resetBridge = resetCd.asyncReset(debugReset, ResetSensitivity.HIGH)
|
||||
debugAskReset.loadNothing()
|
||||
withDebug.load(DEBUG_BUS)
|
||||
|
@ -67,7 +67,7 @@ case class VexRiscvBmbGenerator()(implicit interconnectSmp: BmbInterconnectGener
|
|||
val debugBmbAccessSource = Handle[BmbAccessCapabilities]
|
||||
val debugBmbAccessRequirements = Handle[BmbAccessParameter]
|
||||
def enableDebugBmb(debugCd : ClockDomainResetGenerator, resetCd : ClockDomainResetGenerator, mapping : AddressMapping)(implicit debugMaster : BmbImplicitDebugDecoder = null) : Unit = debugCd{
|
||||
this.debugClockDomain.merge(debugCd.outputClockDomain)
|
||||
this.debugClockDomain.load(debugCd.outputClockDomain)
|
||||
val resetBridge = resetCd.asyncReset(debugReset, ResetSensitivity.HIGH)
|
||||
debugAskReset.loadNothing()
|
||||
withDebug.load(DEBUG_BMB)
|
||||
|
@ -132,6 +132,9 @@ case class VexRiscvBmbGenerator()(implicit interconnectSmp: BmbInterconnectGener
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
logic.soon(debugReset)
|
||||
|
||||
val parameterGenerator = new Generator {
|
||||
val iBusParameter, dBusParameter = product[BmbParameter]
|
||||
dependencies += config
|
||||
|
|
Loading…
Reference in New Issue