soc/cores/uart: set rx_fifo_rx_we to True on UARTCrossover

This commit is contained in:
Florent Kermarrec 2020-01-17 06:32:00 +01:00
parent 5aa516cb8d
commit b4ba2a47ef
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ class UARTCrossover(UART):
def __init__(self, **kwargs):
assert kwargs.get("phy", None) == None
UART.__init__(self, **kwargs)
self.submodules.xover = UART(tx_fifo_depth=2, rx_fifo_depth=2, rx_fifo_rx_we=False)
self.submodules.xover = UART(tx_fifo_depth=2, rx_fifo_depth=2, rx_fifo_rx_we=True)
self.comb += [
self.source.connect(self.xover.sink),
self.xover.source.connect(self.sink)