Skip to content

Undeclared/unconnected Signals in merged_decoder and id_stage

Undeclared/unconnected signals in cv32e41p_merged_decoder.sv and cv32e41p_id_stage.sv

cv32e41p_merged_decoder.sv

Line 189: assign is_compressed_o = (instr_rdata_i[1:0] != 2'b11);

is_compressed_o is not declared and not part of the module interface

cv32e41p_id_stage.sv

Line 696: IMMB_PCINCR: imm_b = is_compressed ? 32'h2 : 32'h4;

'is_compressed' is not declared

Steps to Reproduce

Bug occures in main branch https://github.com/openhwgroup/cv32e41p/commit/bda060eee5bfb22fdbe55029c5e3cf1b62724fff

Reproduce: Compile with Verilator 5.006

Remarks

Assumption: is_compressed_o shall be an output of cv32e41p_merged_decoder and then connected in cv32e41p_id_stage, but not sure if this is correct.