aboutsummaryrefslogtreecommitdiff
path: root/src/rtl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtl')
-rw-r--r--src/rtl/montprod.v10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/rtl/montprod.v b/src/rtl/montprod.v
index 189bb18..ad72418 100644
--- a/src/rtl/montprod.v
+++ b/src/rtl/montprod.v
@@ -78,9 +78,8 @@ module montprod #(parameter OPW = 32, parameter ADW = 8)
localparam CTRL_EMIT_S = 4'h8;
localparam SMUX_ZERO = 2'h0;
- localparam SMUX_ITER = 2'h1;
- localparam SMUX_ADD = 2'h2;
- localparam SMUX_SHR = 2'h3;
+ localparam SMUX_ADD = 2'h1;
+ localparam SMUX_SHR = 2'h2;
//----------------------------------------------------------------
@@ -344,10 +343,6 @@ module montprod #(parameter OPW = 32, parameter ADW = 8)
s_mem_write_data = {OPW{1'b0}};
end
- SMUX_ITER:
- begin
- end
-
SMUX_ADD:
begin
s_mem_we = b_reg | q_reg | first_iteration_reg;
@@ -519,7 +514,6 @@ module montprod #(parameter OPW = 32, parameter ADW = 8)
// Also abort loop if done.
CTRL_LOOP_ITER:
begin
- s_mux_new = SMUX_ITER;
tmp_opa_addr = length_m1;
b_bit_index_we = 1'b1;
montprod_ctrl_new = CTRL_LOOP_BQ;