soc/add_uart: Fix stub behavior (sink/source swap), thanks @zyp.
This commit is contained in:
parent
0f1fdea893
commit
66b44ecd60
|
@ -12,6 +12,7 @@
|
|||
- liteeth/core/icmp : Fixed length check on LiteEthICMPEcho before passing data to buffer.
|
||||
- LiteXModule/CSR : Fixed CSR collection order causing CSR clock domain to be changed.
|
||||
- litepcie/US(P) : Fixed root cause of possible MSI deadlock.
|
||||
- soc/add_uart : Fixed stub behavior (sink/source swap).
|
||||
|
||||
[> Added
|
||||
--------
|
||||
|
|
|
@ -1394,7 +1394,7 @@ class LiteXSoC(SoC):
|
|||
# Stub / Stream.
|
||||
elif uart_name in ["stub", "stream"]:
|
||||
uart = UART(tx_fifo_depth=0, rx_fifo_depth=0)
|
||||
self.comb += uart.sink.ready.eq(uart_name == "stub")
|
||||
self.comb += uart.source.ready.eq(uart_name == "stub")
|
||||
|
||||
# UARTBone.
|
||||
elif uart_name in ["uartbone"]:
|
||||
|
|
Loading…
Reference in New Issue