aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel V. Shatov (Meister) <meisterpaul1@yandex.ru>2017-08-11 03:08:46 +0300
committerPavel V. Shatov (Meister) <meisterpaul1@yandex.ru>2017-08-11 03:08:46 +0300
commit1cb1e703b7dd0d7e065e17e1d66575f08a76d4bd (patch)
tree5db273b5d7919aafaab12d46ba2f2caf523819ad
parent3e60ecef35f24422a19482368730d444f3da8d43 (diff)
Minor cleanup.
-rw-r--r--src/rtl/modexpa7_exponentiator.v2
-rw-r--r--src/rtl/modexpa7_systolic_multiplier.v6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/rtl/modexpa7_exponentiator.v b/src/rtl/modexpa7_exponentiator.v
index c50a881..532c112 100644
--- a/src/rtl/modexpa7_exponentiator.v
+++ b/src/rtl/modexpa7_exponentiator.v
@@ -755,7 +755,7 @@ module modexpa7_exponentiator #
.ena (mul_ena),
.rdy (mul_rdy_pp),
- .reduce_only (1'b0),
+ .reduce_only (mul_crt),
.a_bram_addr (p1_addr_rd),
.b_bram_addr (p2_addr_rd),
diff --git a/src/rtl/modexpa7_systolic_multiplier.v b/src/rtl/modexpa7_systolic_multiplier.v
index 444693d..40ccac8 100644
--- a/src/rtl/modexpa7_systolic_multiplier.v
+++ b/src/rtl/modexpa7_systolic_multiplier.v
@@ -117,7 +117,7 @@ module modexpa7_systolic_multiplier #
*/
reg [ 7: 0] fsm_state = FSM_STATE_IDLE;
reg [ 7: 0] fsm_next_state;
- reg [ 7: 0] fsm_prev_state;
+ //reg [ 7: 0] fsm_prev_state;
/*
@@ -790,9 +790,9 @@ module modexpa7_systolic_multiplier #
if (rst_n == 1'b0) fsm_state <= FSM_STATE_IDLE;
else fsm_state <= fsm_next_state;
- always @(posedge clk)
+ //always @(posedge clk)
//
- fsm_prev_state <= fsm_state;
+ //fsm_prev_state <= fsm_state;
/*