aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
/*