mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-09 05:05:25 +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};
|
3'b011: ExtImmD = {{(`XLEN-20){InstrD[31]}}, InstrD[19:12], InstrD[20], InstrD[30:21], 1'b0};
|
||||||
// U-type (lui, auipc)
|
// U-type (lui, auipc)
|
||||||
3'b100: ExtImmD = {{(`XLEN-31){InstrD[31]}}, InstrD[30:12], 12'b0};
|
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
|
endcase
|
||||||
endmodule
|
endmodule
|
||||||
|
Loading…
Reference in New Issue
Block a user