diff --git a/decoder.sv b/decoder.sv index bd598e48..61222aaf 100644 --- a/decoder.sv +++ b/decoder.sv @@ -147,7 +147,7 @@ module riscv_decoder output logic [1:0] jump_in_dec_o, // jump_in_id without deassert output logic [1:0] jump_in_id_o // jump is being calculated in ALU // CONFIG_REGION: NO_JUMP_ADDER - `ifdef NO_JUMP_ADDER + `ifndef NO_JUMP_ADDER , output logic [1:0] jump_target_mux_sel_o // jump target selection `endif @@ -188,7 +188,7 @@ module riscv_decoder begin jump_in_id = BRANCH_NONE; // CONFIG_REGION: NO_JUMP_ADDER - `ifdef NO_JUMP_ADDER + `ifndef NO_JUMP_ADDER jump_target_mux_sel_o = JT_JAL; `endif diff --git a/id_stage.sv b/id_stage.sv index 67ba49f6..2229ef2c 100644 --- a/id_stage.sv +++ b/id_stage.sv @@ -1211,7 +1211,7 @@ module riscv_id_stage .jump_in_dec_o ( jump_in_dec ), .jump_in_id_o ( jump_in_id ) // CONFIG_REGION: NO_JUMP_ADDER - `ifdef NO_JUMP_ADDER + `ifndef NO_JUMP_ADDER , .jump_target_mux_sel_o ( jump_target_mux_sel ) `endif