diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-11-08 00:19:49 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-11-08 00:19:49 -0600 |
| commit | ac0d6f4e068ff0ff08f05e04053ebd53ba20bcb8 (patch) | |
| tree | 8c2019cb296f94b2fd39894a245a4aac899d2371 /rtl/core/control/coproc.sv | |
| parent | 942461c315db3269fcbe9a9ca18beee9afa78d9c (diff) | |
Refactor decode signals into unified insn_decode struct
Diffstat (limited to 'rtl/core/control/coproc.sv')
| -rw-r--r-- | rtl/core/control/coproc.sv | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/rtl/core/control/coproc.sv b/rtl/core/control/coproc.sv index f0b4169..b0c8bea 100644 --- a/rtl/core/control/coproc.sv +++ b/rtl/core/control/coproc.sv @@ -2,19 +2,19 @@ module core_control_coproc ( - input logic clk, + input logic clk, - input datapath_decode dec, + input insn_decode dec, - input ctrl_cycle next_cycle, - input logic issue, + input ctrl_cycle next_cycle, + input logic issue, - output logic coproc + output logic coproc ); always_ff @(posedge clk) if(next_cycle == ISSUE && issue) - coproc <= dec.coproc; + coproc <= dec.ctrl.coproc; initial coproc = 0; |
