Fix SerialTL HarnessRAM BridgeBinder
This commit is contained in:
@@ -71,7 +71,9 @@ class WithSerialBridge extends OverrideHarnessBinder({
|
|||||||
ports.map { port =>
|
ports.map { port =>
|
||||||
implicit val p = GetSystemParameters(system)
|
implicit val p = GetSystemParameters(system)
|
||||||
val bits = SerialAdapter.asyncQueue(port, th.harnessClock, th.harnessReset)
|
val bits = SerialAdapter.asyncQueue(port, th.harnessClock, th.harnessReset)
|
||||||
val ram = SerialAdapter.connectHarnessRAM(system.serdesser.get, bits, th.harnessReset)
|
val ram = withClockAndReset(th.harnessClock, th.harnessReset) {
|
||||||
|
SerialAdapter.connectHarnessRAM(system.serdesser.get, bits, th.harnessReset)
|
||||||
|
}
|
||||||
SerialBridge(th.harnessClock, ram.module.io.tsi_ser, p(ExtMem).map(_ => MainMemoryConsts.globalName))
|
SerialBridge(th.harnessClock, ram.module.io.tsi_ser, p(ExtMem).map(_ => MainMemoryConsts.globalName))
|
||||||
}
|
}
|
||||||
Nil
|
Nil
|
||||||
|
|||||||
Reference in New Issue
Block a user