diff options
Diffstat (limited to 'rtl/core/control/control.sv')
| -rw-r--r-- | rtl/core/control/control.sv | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rtl/core/control/control.sv b/rtl/core/control/control.sv index c1ac5a1..929d53a 100644 --- a/rtl/core/control/control.sv +++ b/rtl/core/control/control.sv @@ -119,7 +119,7 @@ module core_control final_update_flags <= 0; if(dec.execute & ~next_bubble) begin - branch <= dec_branch.branch; + branch <= dec.branch; branch_target <= next_pc_visible + dec_branch.offset; alu <= dec_data.op; @@ -141,7 +141,7 @@ module core_control // TODO: dec_ldst.unprivileged/user_regs // TODO: byte/halfword sizes - ldst <= dec_ldst.enable; + ldst <= dec.ldst; ldst_pre <= dec_ldst.pre_indexed; ldst_increment <= dec_ldst.increment; ldst_writeback <= dec_ldst.writeback; |
