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{
|
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)
|
val resetBridge = resetCd.asyncReset(debugReset, ResetSensitivity.HIGH)
|
||||||
debugAskReset.loadNothing()
|
debugAskReset.loadNothing()
|
||||||
withDebug.load(DEBUG_JTAG)
|
withDebug.load(DEBUG_JTAG)
|
||||||
}
|
}
|
||||||
|
|
||||||
def enableJtagInstructionCtrl(debugCd : ClockDomainResetGenerator, resetCd : ClockDomainResetGenerator) : Unit = debugCd{
|
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)
|
val resetBridge = resetCd.asyncReset(debugReset, ResetSensitivity.HIGH)
|
||||||
debugAskReset.loadNothing()
|
debugAskReset.loadNothing()
|
||||||
withDebug.load(DEBUG_JTAG_CTRL)
|
withDebug.load(DEBUG_JTAG_CTRL)
|
||||||
|
@ -58,7 +58,7 @@ case class VexRiscvBmbGenerator()(implicit interconnectSmp: BmbInterconnectGener
|
||||||
}
|
}
|
||||||
|
|
||||||
def enableDebugBus(debugCd : ClockDomainResetGenerator, resetCd : ClockDomainResetGenerator) : Unit = debugCd{
|
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)
|
val resetBridge = resetCd.asyncReset(debugReset, ResetSensitivity.HIGH)
|
||||||
debugAskReset.loadNothing()
|
debugAskReset.loadNothing()
|
||||||
withDebug.load(DEBUG_BUS)
|
withDebug.load(DEBUG_BUS)
|
||||||
|
@ -67,7 +67,7 @@ case class VexRiscvBmbGenerator()(implicit interconnectSmp: BmbInterconnectGener
|
||||||
val debugBmbAccessSource = Handle[BmbAccessCapabilities]
|
val debugBmbAccessSource = Handle[BmbAccessCapabilities]
|
||||||
val debugBmbAccessRequirements = Handle[BmbAccessParameter]
|
val debugBmbAccessRequirements = Handle[BmbAccessParameter]
|
||||||
def enableDebugBmb(debugCd : ClockDomainResetGenerator, resetCd : ClockDomainResetGenerator, mapping : AddressMapping)(implicit debugMaster : BmbImplicitDebugDecoder = null) : Unit = debugCd{
|
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)
|
val resetBridge = resetCd.asyncReset(debugReset, ResetSensitivity.HIGH)
|
||||||
debugAskReset.loadNothing()
|
debugAskReset.loadNothing()
|
||||||
withDebug.load(DEBUG_BMB)
|
withDebug.load(DEBUG_BMB)
|
||||||
|
@ -132,6 +132,9 @@ case class VexRiscvBmbGenerator()(implicit interconnectSmp: BmbInterconnectGener
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
logic.soon(debugReset)
|
||||||
|
|
||||||
val parameterGenerator = new Generator {
|
val parameterGenerator = new Generator {
|
||||||
val iBusParameter, dBusParameter = product[BmbParameter]
|
val iBusParameter, dBusParameter = product[BmbParameter]
|
||||||
dependencies += config
|
dependencies += config
|
||||||
|
|
Loading…
Reference in New Issue