projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6be534
)
tools/litex_sim: add uart csr (required when with_uart=False with new add_csr method)
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Thu, 9 May 2019 21:33:08 +0000
(23:33 +0200)
committer
Florent Kermarrec
<florent@enjoy-digital.fr>
Thu, 9 May 2019 21:33:08 +0000
(23:33 +0200)
litex/tools/litex_sim.py
patch
|
blob
|
history
diff --git
a/litex/tools/litex_sim.py
b/litex/tools/litex_sim.py
index c8ef182b759247474f6d17d34f1da2787934b64a..8bae6b6b3b2983d1eadfda62726a766b562a9d12 100755
(executable)
--- a/
litex/tools/litex_sim.py
+++ b/
litex/tools/litex_sim.py
@@
-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