From: William D. Jones Date: Thu, 1 Nov 2018 06:23:01 +0000 (-0400) Subject: cpu/picorv32: IRQ vector needs to be moved to 16 bytes after the RESET vector. X-Git-Tag: 24jan2021_ls180~1524^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f32121e0e1634c2a960cbcf72e3cc2684fc5d9cf;p=litex.git cpu/picorv32: IRQ vector needs to be moved to 16 bytes after the RESET vector. --- diff --git a/litex/soc/cores/cpu/picorv32/core.py b/litex/soc/cores/cpu/picorv32/core.py index 41fdc9aa..93f3358a 100644 --- a/litex/soc/cores/cpu/picorv32/core.py +++ b/litex/soc/cores/cpu/picorv32/core.py @@ -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 }