add UART reserved IRQ @ 0
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 4 Sep 2020 19:56:44 +0000 (20:56 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 4 Sep 2020 19:56:44 +0000 (20:56 +0100)
src/soc/litex/florent/sim.py

index 69a497b471f5898f4e49a08700e5a815315990bb..475314f2f01d7de0a40a9b21cfe3b59b9943fb8d 100755 (executable)
@@ -37,6 +37,7 @@ class LibreSoCSim(SoCSDRAM):
             #sdram_data_width      = 16,
             #sdram_module          = "MT48LC16M16",
             sdram_data_width      = 16,
+            irq_reserved_irqs = {'uart': 0},
             ):
         assert cpu in ["libresoc", "microwatt"]
         platform     = Platform()
@@ -58,10 +59,10 @@ class LibreSoCSim(SoCSDRAM):
         #ram_fname = None
         #ram_fname = "/home/lkcl/src/libresoc/microwatt/" \
         #            "micropython/firmware.bin"
-        #ram_fname = "/home/lkcl/src/libresoc/microwatt/" \
-        #            "tests/xics/xics.bin"
         ram_fname = "/home/lkcl/src/libresoc/microwatt/" \
-                    "hello_world/hello_world.bin"
+                    "tests/xics/xics.bin"
+        #ram_fname = "/home/lkcl/src/libresoc/microwatt/" \
+        #            "hello_world/hello_world.bin"
 
         # reserve XICS ICP and XICS memory addresses.
         # TODO: not have these conflict with csr locations