From 36761d9155317402ab2cdfcfc50f5300da4c28b7 Mon Sep 17 00:00:00 2001 From: Ross Thompson Date: Sun, 15 Aug 2021 16:48:49 -0500 Subject: [PATCH] Fixed syntax errors in some floating point modules. This came up in Xilinx synthesis. --- wally-pipelined/src/muldiv/div/shifter.sv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wally-pipelined/src/muldiv/div/shifter.sv b/wally-pipelined/src/muldiv/div/shifter.sv index 779a02a4..acf0b49e 100644 --- a/wally-pipelined/src/muldiv/div/shifter.sv +++ b/wally-pipelined/src/muldiv/div/shifter.sv @@ -3,7 +3,7 @@ module shifter_right(input logic signed [63:0] a, output logic signed [63:0] y); - y = a >> shamt; + assign y = a >> shamt; endmodule // shifter_right @@ -12,7 +12,7 @@ module shifter_left(input logic signed [63:0] a, output logic signed [63:0] y); - y = a << shamt; + assign y = a << shamt; endmodule // shifter_right