From 789a411eadaedbc44417ae595f3410e65f89cfc3 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Tue, 12 Apr 2016 20:55:06 +0200 Subject: [PATCH] Bugfix for CATCH_ILLINSN <-> WITH_PCPI interaction --- picorv32.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/picorv32.v b/picorv32.v index 43f969f..a6c93e1 100644 --- a/picorv32.v +++ b/picorv32.v @@ -485,7 +485,7 @@ module picorv32 #( reg is_alu_reg_reg; reg is_compare; - assign instr_trap = (CATCH_ILLINSN || ENABLE_PCPI) && !{instr_lui, instr_auipc, instr_jal, instr_jalr, + assign instr_trap = (CATCH_ILLINSN || WITH_PCPI) && !{instr_lui, instr_auipc, instr_jal, instr_jalr, instr_beq, instr_bne, instr_blt, instr_bge, instr_bltu, instr_bgeu, instr_lb, instr_lh, instr_lw, instr_lbu, instr_lhu, instr_sb, instr_sh, instr_sw, instr_addi, instr_slti, instr_sltiu, instr_xori, instr_ori, instr_andi, instr_slli, instr_srli, instr_srai,