soc/cores/uart: set rx_fifo_rx_we to True on UARTCrossover
This commit is contained in:
parent
5aa516cb8d
commit
b4ba2a47ef
|
@ -272,7 +272,7 @@ class UARTCrossover(UART):
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
assert kwargs.get("phy", None) == None
|
assert kwargs.get("phy", None) == None
|
||||||
UART.__init__(self, **kwargs)
|
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.comb += [
|
||||||
self.source.connect(self.xover.sink),
|
self.source.connect(self.xover.sink),
|
||||||
self.xover.source.connect(self.sink)
|
self.xover.source.connect(self.sink)
|
||||||
|
|
Loading…
Reference in New Issue