same thing but do that right this time

This commit is contained in:
Noah Boorstin 2021-02-02 21:47:15 +00:00
parent 6dd5c42d55
commit b5f474d9f5

View File

@ -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