From cb528202495bdb1a70a9e1ab8ba2687a21122b06 Mon Sep 17 00:00:00 2001 From: Ross Thompson Date: Fri, 9 Apr 2021 10:56:31 -0500 Subject: [PATCH] Fixed minor bug in muldiv which corrects the lint error. --- wally-pipelined/src/muldiv/muldiv.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wally-pipelined/src/muldiv/muldiv.sv b/wally-pipelined/src/muldiv/muldiv.sv index 9974dae03..c61b02c46 100644 --- a/wally-pipelined/src/muldiv/muldiv.sv +++ b/wally-pipelined/src/muldiv/muldiv.sv @@ -62,7 +62,7 @@ module muldiv ( // Divide // *** replace this clock gater - always @(~clk) begin + always @(negedge clk) begin enable_q <= ~StallM; end assign gclk = enable_q & clk;