From f32121e0e1634c2a960cbcf72e3cc2684fc5d9cf Mon Sep 17 00:00:00 2001 From: "William D. Jones" Date: Thu, 1 Nov 2018 02:23:01 -0400 Subject: [PATCH] cpu/picorv32: IRQ vector needs to be moved to 16 bytes after the RESET vector. --- litex/soc/cores/cpu/picorv32/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.30.2