mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-23 05:37:16 -04:00
Output compressed instruction in tval
This commit is contained in:
parent
dc3bae683d
commit
390b3dbef4
2 changed files with 7 additions and 2 deletions
|
@ -253,5 +253,10 @@ module compressed_decoder
|
|||
// normal instruction
|
||||
default: is_compressed_o = 1'b0;
|
||||
endcase
|
||||
|
||||
// Check if the instruction was illegal, if it was then output the offending instruction (zero-extended)
|
||||
if (illegal_instr_o && is_compressed_o) begin
|
||||
instr_o = instr_i;
|
||||
end
|
||||
end
|
||||
endmodule
|
||||
endmodule
|
||||
|
|
2
tb
2
tb
|
@ -1 +1 @@
|
|||
Subproject commit fc8ec368795f381a76ff200d5eed0d523ea9542d
|
||||
Subproject commit bccd31aeb6ddd031c37088201a883ce01723a6b6
|
Loading…
Add table
Add a link
Reference in a new issue