mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-03 02:05:21 +00:00
same thing but do that right this time
This commit is contained in:
parent
6dd5c42d55
commit
b5f474d9f5
@ -42,6 +42,6 @@ module extend (
|
||||
3'b011: ExtImmD = {{(`XLEN-20){InstrD[31]}}, InstrD[19:12], InstrD[20], InstrD[30:21], 1'b0};
|
||||
// U-type (lui, auipc)
|
||||
3'b100: ExtImmD = {{(`XLEN-31){InstrD[31]}}, InstrD[30:12], 12'b0};
|
||||
default: ExtImmD = {32{1'bx}}; // undefined
|
||||
default: ExtImmD = {(`XLEN-1){1'bx}}; // undefined
|
||||
endcase
|
||||
endmodule
|
||||
|
Loading…
Reference in New Issue
Block a user