[Cryptech-Commits] [core/math/modexp] 01/02: Removed stale mux state.
git at cryptech.is
git at cryptech.is
Thu Jun 25 06:51:31 UTC 2015
This is an automated email from the git hooks/post-receive script.
joachim at secworks.se pushed a commit to branch perfopt
in repository core/math/modexp.
commit 6e47b8078046a10013636e6a5480b718c26ba8a0
Author: Joachim Strömbergson <joachim at secworks.se>
Date: Wed Jun 24 19:57:00 2015 +0200
Removed stale mux state.
---
src/rtl/montprod.v | 10 ++--------
1 file 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;
More information about the Commits
mailing list