diff --git a/core/decoder.sv b/core/decoder.sv index 506bd72107..4948512dbd 100644 --- a/core/decoder.sv +++ b/core/decoder.sv @@ -171,7 +171,7 @@ module decoder // DRET 12'b111_1011_0010: begin instruction_o.op = ariane_pkg::DRET; - if (CVACfg.DebugEn) begin + if (CVA6Cfg.DebugEn) begin // check that we are in debug mode when executing this instruction illegal_instr = (!debug_mode_i) ? 1'b1 : illegal_instr; end else begin