Initialize compressed related signals in id_stage when RVC is disabled (#2833)
Some checks failed
bender-up-to-date / bender-up-to-date (push) Has been cancelled
ci / build-riscv-tests (push) Has been cancelled
ci / execute-riscv64-tests (push) Has been cancelled
ci / execute-riscv32-tests (push) Has been cancelled

Add else case to initialize signals going into decoder.
Should fix #2819
This commit is contained in:
Guillaume Chauvon 2025-03-17 17:35:43 +01:00 committed by GitHub
parent 0e2e5128b2
commit b38c259c8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -269,6 +269,13 @@ module id_stage #(
end else begin
assign stall_instr_fetch[0] = stall_macro_deco;
end
end else begin
for (genvar i = 0; i < CVA6Cfg.NrIssuePorts; i++) begin
assign is_illegal_rvc[i] = 1'b0;
assign instruction_rvc[i] = fetch_entry_i[i].instruction;
assign is_compressed_rvc[i] = 1'b0;
assign stall_instr_fetch[i] = 1'b0;
end
end
// ---------------------------------------------------------