From 5e445eb80859f329da58d2064017933b1c1fa4a3 Mon Sep 17 00:00:00 2001 From: Francesco Conti Date: Thu, 29 Aug 2024 11:09:03 +0200 Subject: [PATCH] Update delta_counter.sv Make the linter happy --- src/delta_counter.sv | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/delta_counter.sv b/src/delta_counter.sv index eb4016f8..415bd11c 100644 --- a/src/delta_counter.sv +++ b/src/delta_counter.sv @@ -33,12 +33,11 @@ module delta_counter #( begin if(rst_ni) begin overflow_q <= 1'b0; - end - else begin + end else begin overflow_q <= overflow_d; end end - + always_comb begin overflow_d = overflow_q; if (clear_i || load_i) begin