aboutsummaryrefslogtreecommitdiff
path: root/src/rtl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtl')
-rw-r--r--src/rtl/montprod.v13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/rtl/montprod.v b/src/rtl/montprod.v
index 9b112f4..7102e6e 100644
--- a/src/rtl/montprod.v
+++ b/src/rtl/montprod.v
@@ -78,7 +78,6 @@ module montprod(
localparam CTRL_L_STALLPIPE_D2 = 4'hA;
localparam CTRL_L_STALLPIPE_ES = 4'hB;
localparam CTRL_EMIT_S = 4'hC;
- localparam CTRL_DONE = 4'hD;
localparam SMUX_0 = 2'h0;
localparam SMUX_ADD_SM = 2'h1;
@@ -594,19 +593,13 @@ module montprod(
$display("EMIT_S word_index_reg: %d", word_index_reg);
if (word_index_prev_reg == 8'h0)
begin
- montprod_ctrl_new = CTRL_DONE;
+ ready_new = 1'b1;
+ ready_we = 1'b1;
+ montprod_ctrl_new = CTRL_IDLE;
montprod_ctrl_we = 1'b1;
end
end
- CTRL_DONE:
- begin
- ready_new = 1'b1;
- ready_we = 1'b1;
- montprod_ctrl_new = CTRL_IDLE;
- montprod_ctrl_we = 1'b1;
- end
-
default:
begin
end