[Cryptech-Commits] [core/math/modexpa7] 02/03: Minor cleanup, removed unused flag register 'shreg_now_latency'.

git at cryptech.is git at cryptech.is
Fri Aug 11 00:09:28 UTC 2017


This is an automated email from the git hooks/post-receive script.

meisterpaul1 at yandex.ru pushed a commit to branch systolic_crt
in repository core/math/modexpa7.

commit 3e60ecef35f24422a19482368730d444f3da8d43
Author: Pavel V. Shatov (Meister) <meisterpaul1 at yandex.ru>
AuthorDate: Fri Aug 11 02:47:43 2017 +0300

    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
 			//



More information about the Commits mailing list