tools/litex_sim: add uart csr (required when with_uart=False with new add_csr method)
This commit is contained in:
parent
b6be534cd6
commit
d76a2c7db2
|
@ -124,6 +124,7 @@ class SimSoC(SoCSDRAM):
|
|||
# serial
|
||||
self.submodules.uart_phy = uart.RS232PHYModel(platform.request("serial"))
|
||||
self.submodules.uart = uart.UART(self.uart_phy)
|
||||
self.add_csr("uart")
|
||||
self.add_interrupt("uart")
|
||||
|
||||
# sdram
|
||||
|
|
Loading…
Reference in New Issue