soc_core: fix uart stub
This commit is contained in:
parent
63cd23c9c3
commit
6c9f418d26
|
@ -242,7 +242,7 @@ class SoCCore(Module):
|
||||||
if uart_name in ["stub", "stream"]:
|
if uart_name in ["stub", "stream"]:
|
||||||
self.submodules.uart = uart.UART()
|
self.submodules.uart = uart.UART()
|
||||||
if uart_name == "stub":
|
if uart_name == "stub":
|
||||||
self.comb += uart.sink.ready.eq(1)
|
self.comb += self.uart.sink.ready.eq(1)
|
||||||
elif uart_name == "crossover":
|
elif uart_name == "crossover":
|
||||||
self.submodules.uart = uart.UARTCrossover()
|
self.submodules.uart = uart.UARTCrossover()
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue