mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-22 21:27:10 -04:00
🐛 Fix destination encoding for AUIPC
This commit is contained in:
parent
80408364e3
commit
a4ccd3c85d
2 changed files with 4 additions and 0 deletions
|
@ -382,6 +382,7 @@ module decoder (
|
|||
instruction_o.fu = ALU;
|
||||
imm_select = UIMM;
|
||||
instruction_o.use_pc = 1'b1;
|
||||
instruction_o.rd = instr.utype.rd;
|
||||
end
|
||||
|
||||
OPCODE_LUI: begin
|
||||
|
|
|
@ -200,6 +200,9 @@ always_comb begin : push_instruction_and_wb
|
|||
mem_n[trans_id_i[j]].ex = ex_i[j];
|
||||
end
|
||||
end
|
||||
// ------------------------------
|
||||
// Flush un-issued instructions
|
||||
// ------------------------------
|
||||
// flush all instructions which are not issued, e.g. set the top pointer back to the issue pointer
|
||||
// -> everything we decoded so far was garbage
|
||||
if (flush_unissued_instr_i) begin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue