aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rtl/montprod.v12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rtl/montprod.v b/src/rtl/montprod.v
index 06eca12..758fb6d 100644
--- a/src/rtl/montprod.v
+++ b/src/rtl/montprod.v
@@ -423,18 +423,18 @@ module montprod(
SMUX_0:
s_mem_new = 32'h0;
- SMUX_ADD_SA:
- begin
- s_mem_new = add_result_sa;
- add_carry_in_sa_new = add_carry_out_sa;
- end
-
SMUX_ADD_SM:
begin
s_mem_new = add_result_sm;
add_carry_in_sm_new = add_carry_out_sm;
end
+ SMUX_ADD_SA:
+ begin
+ s_mem_new = add_result_sa;
+ add_carry_in_sa_new = add_carry_out_sa;
+ end
+
SMUX_SHR:
begin
s_mem_new = shr_adiv2;