diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-11-13 05:22:23 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-11-13 05:54:44 -0600 |
| commit | d463acba5f9589085afb3dcc4058d82908ff90f2 (patch) | |
| tree | e4ba47f2f9daa8e25b5c244f7af934ff18b54cbc /rtl/core/control/branch.sv | |
| parent | 6cb000adf57d7af2ec4aac8fd93d12f09cc63556 (diff) | |
Convert core state machines to Quartus-inferring RTL
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 |
