From b5f474d9f556cf3bc13f319537cbb26a3a2f1044 Mon Sep 17 00:00:00 2001 From: Noah Boorstin Date: Tue, 2 Feb 2021 21:47:15 +0000 Subject: [PATCH] same thing but do that right this time --- wally-pipelined/src/ieu/extend.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wally-pipelined/src/ieu/extend.sv b/wally-pipelined/src/ieu/extend.sv index e4fc7ac92..243dced3d 100644 --- a/wally-pipelined/src/ieu/extend.sv +++ b/wally-pipelined/src/ieu/extend.sv @@ -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