From 6c9f418d26c09c8fc2338d31316844f0bbea029d Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 13 Jan 2020 16:56:31 +0100 Subject: [PATCH] soc_core: fix uart stub --- litex/soc/integration/soc_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/integration/soc_core.py b/litex/soc/integration/soc_core.py index 8bd25f2c9..59faef811 100644 --- a/litex/soc/integration/soc_core.py +++ b/litex/soc/integration/soc_core.py @@ -242,7 +242,7 @@ class SoCCore(Module): if uart_name in ["stub", "stream"]: self.submodules.uart = uart.UART() if uart_name == "stub": - self.comb += uart.sink.ready.eq(1) + self.comb += self.uart.sink.ready.eq(1) elif uart_name == "crossover": self.submodules.uart = uart.UARTCrossover() else: