From 3e60ecef35f24422a19482368730d444f3da8d43 Mon Sep 17 00:00:00 2001 From: "Pavel V. Shatov (Meister)" Date: Fri, 11 Aug 2017 02:47:43 +0300 Subject: Minor cleanup, removed unused flag register 'shreg_now_latency'. --- src/rtl/modexpa7_systolic_multiplier_array.v | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/rtl/modexpa7_systolic_multiplier_array.v b/src/rtl/modexpa7_systolic_multiplier_array.v index 9b2cd94..de2a037 100644 --- a/src/rtl/modexpa7_systolic_multiplier_array.v +++ b/src/rtl/modexpa7_systolic_multiplier_array.v @@ -200,7 +200,7 @@ module modexpa7_systolic_multiplier_array # wire shreg_done_unload = shreg_unload[syst_cnt_last]; reg shreg_now_loading; - reg shreg_now_latency; + //reg shreg_now_latency; reg shreg_now_unloading; reg shreg_done_latency_dly; @@ -215,7 +215,7 @@ module modexpa7_systolic_multiplier_array # FSM_STATE_MULT_RELOAD: begin // shreg_now_loading <= 1'b1; - shreg_now_latency <= 1'b1; + //shreg_now_latency <= 1'b1; shreg_now_unloading <= 1'b0; // shreg_load <= {{SYSTOLIC_NUM_CYCLES-1{1'b0}}, 1'b1}; @@ -231,7 +231,7 @@ module modexpa7_systolic_multiplier_array # shreg_unload <= {shreg_unload [SYSTOLIC_NUM_CYCLES-2:0], shreg_latency[SYSTOLIC_PE_LATENCY]}; // if (shreg_done_load) shreg_now_loading <= 1'b0; - if (shreg_done_latency) shreg_now_latency <= 1'b0; + //if (shreg_done_latency) shreg_now_latency <= 1'b0; if (shreg_done_latency) shreg_now_unloading <= 1'b1; else if (shreg_done_unload) shreg_now_unloading <= 1'b0; @@ -239,7 +239,7 @@ module modexpa7_systolic_multiplier_array # // default: begin shreg_now_loading <= 1'b0; - shreg_now_latency <= 1'b0; + //shreg_now_latency <= 1'b0; shreg_now_unloading <= 1'b0; end // -- cgit v1.2.3