diff options
Diffstat (limited to 'rtl/core/control/branch.sv')
| -rw-r--r-- | rtl/core/control/branch.sv | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rtl/core/control/branch.sv b/rtl/core/control/branch.sv index 96e6e65..0298b95 100644 --- a/rtl/core/control/branch.sv +++ b/rtl/core/control/branch.sv @@ -21,7 +21,7 @@ module core_control_branch branch_target <= {$bits(branch_target){1'b0}}; end else begin branch <= 0; - if(next_cycle == ISSUE && issue) begin + if(next_cycle.issue && issue) begin branch <= dec.ctrl.branch; branch_target <= next_pc_visible + dec.branch.offset; end |
