From 80289a1b671fd327d9dd1b6e767b5015adeed49e Mon Sep 17 00:00:00 2001 From: Harshini Srinath <93847878+harshinisrinath1001@users.noreply.github.com> Date: Mon, 12 Jun 2023 12:23:45 -0700 Subject: [PATCH] Update shifter.sv Program clean up --- src/ieu/shifter.sv | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ieu/shifter.sv b/src/ieu/shifter.sv index 11ae1cf0a..d28989243 100644 --- a/src/ieu/shifter.sv +++ b/src/ieu/shifter.sv @@ -41,7 +41,7 @@ module shifter ( assign Sign = A[`XLEN-1] & SubArith; // sign bit for sign extension if (`XLEN==32) begin // rv32 - if (`ZBB_SUPPORTED) begin: rotfunnel32 //rv32 shifter with rotates + if (`ZBB_SUPPORTED) begin: rotfunnel32 // rv32 shifter with rotates always_comb // funnel mux case({Right, Rotate}) 2'b00: Z = {A[31:0], 31'b0}; @@ -84,5 +84,3 @@ module shifter ( assign ZShift = Z >> Offset; assign Y = ZShift[`XLEN-1:0]; endmodule - -