cpu/picorv32: IRQ vector needs to be moved to 16 bytes after the RESET vector.
authorWilliam D. Jones <thor0505@comcast.net>
Thu, 1 Nov 2018 06:23:01 +0000 (02:23 -0400)
committerWilliam D. Jones <thor0505@comcast.net>
Thu, 1 Nov 2018 06:23:01 +0000 (02:23 -0400)
litex/soc/cores/cpu/picorv32/core.py

index 41fdc9aaeb2046cab511f120c655600bb55b38fe..93f3358a272b03e0ce6329160abe200961f4e84d 100644 (file)
@@ -57,7 +57,7 @@ class PicoRV32(Module):
             "p_MASKED_IRQ" : 0x00000000,
             "p_LATCHED_IRQ" : 0xffffffff,
             "p_PROGADDR_RESET" : progaddr_reset,
-            "p_PROGADDR_IRQ" : 0x00000010,
+            "p_PROGADDR_IRQ" : progaddr_reset + 0x00000010,
             "p_STACKADDR" : 0xffffffff
         }