diff options
author | Joachim StroĢmbergson <joachim@secworks.se> | 2015-06-17 10:40:01 +0200 |
---|---|---|
committer | Joachim StroĢmbergson <joachim@secworks.se> | 2015-06-17 10:40:01 +0200 |
commit | c6555a11479a2f0b92b300a346552591ab3d3005 (patch) | |
tree | b77d0a118c075d828d8d3f44f4171afd930562ff /src/rtl | |
parent | e33ebb8bcc0bd582335e7de7b46fd9f3aedd331f (diff) |
Fixed order of states.
Diffstat (limited to 'src/rtl')
-rw-r--r-- | src/rtl/montprod.v | 12 |
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; |