diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-11-06 15:48:50 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-11-06 15:48:50 -0600 |
| commit | 887d3872491fd80da9ec1c6963e5c2809fe3522c (patch) | |
| tree | 2792fa36cff921063c2451038b09d1808e8d8160 /rtl/core/control/control.sv | |
| parent | c5019354d933fe0f0ee2606c5c857d92c9084a0c (diff) | |
Move multiplication logic out of control.sv
Diffstat (limited to 'rtl/core/control/control.sv')
| -rw-r--r-- | rtl/core/control/control.sv | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/rtl/core/control/control.sv b/rtl/core/control/control.sv index d214525..49c1e8b 100644 --- a/rtl/core/control/control.sv +++ b/rtl/core/control/control.sv @@ -105,6 +105,11 @@ module core_control .* ); + core_control_data ctrl_mul + ( + .* + ); + logic final_writeback, final_update_flags; reg_num final_rd; @@ -126,14 +131,8 @@ module core_control unique0 case(next_cycle) ISSUE: - if(issue) begin - mul <= dec.mul; - mul_add <= dec_mul.add; - mul_long <= dec_mul.long_mul; - mul_signed <= dec_mul.signed_mul; - + if(issue) coproc <= dec.coproc; - end endcase end |
