aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim StroĢˆmbergson <joachim@secworks.se>2015-06-24 19:57:00 +0200
committerJoachim StroĢˆmbergson <joachim@secworks.se>2015-06-24 19:57:00 +0200
commit6e47b8078046a10013636e6a5480b718c26ba8a0 (patch)
treedc1857283f230883659bf5e599c5f6b12b54ff06
parentd5115d8547df48e33af778eadc7cdaa07fddeb7e (diff)
Removed stale mux state.
-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;