Bump testchipip

This commit is contained in:
Jerry Zhao
2023-02-28 16:16:04 -08:00
parent a50e7d3117
commit 2a4c5e6f88
4 changed files with 18 additions and 13 deletions

View File

@@ -329,9 +329,12 @@ class WithUARTSerial extends OverrideHarnessBinder({
val bits = SerialAdapter.asyncQueue(port, th.buildtopClock, th.buildtopReset)
withClockAndReset(th.buildtopClock, th.buildtopReset) {
val ram = SerialAdapter.connectHarnessRAM(system.serdesser.get, bits, th.buildtopReset)
val uart_to_tsi = Module(new UARTToTSI(freq))
UARTAdapter.connect(Seq(uart_to_tsi.io.uart), uart_to_tsi.div)
ram.module.io.tsi_ser.flipConnect(uart_to_tsi.io.serial)
val uart_to_serial = Module(new UARTToSerial(freq, UARTParams(0)))
val serial_width_adapter = Module(new SerialWidthAdapter(
8, SerialAdapter.SERIAL_TSI_WIDTH))
ram.module.io.tsi_ser.flipConnect(serial_width_adapter.io.wide)
UARTAdapter.connect(Seq(uart_to_serial.io.uart), uart_to_serial.div)
serial_width_adapter.io.narrow.flipConnect(uart_to_serial.io.serial)
th.success := false.B
}
})