summaryrefslogtreecommitdiff
path: root/rtl/core/control/coproc.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-11-13 05:22:23 -0600
committerAlejandro Soto <alejandro@34project.org>2022-11-13 05:54:44 -0600
commitd463acba5f9589085afb3dcc4058d82908ff90f2 (patch)
treee4ba47f2f9daa8e25b5c244f7af934ff18b54cbc /rtl/core/control/coproc.sv
parent6cb000adf57d7af2ec4aac8fd93d12f09cc63556 (diff)
Convert core state machines to Quartus-inferring RTL
Diffstat (limited to '')
-rw-r--r--rtl/core/control/coproc.sv2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtl/core/control/coproc.sv b/rtl/core/control/coproc.sv
index a457b0f..76f0a53 100644
--- a/rtl/core/control/coproc.sv
+++ b/rtl/core/control/coproc.sv
@@ -16,7 +16,7 @@ module core_control_coproc
always_ff @(posedge clk or negedge rst_n)
if(!rst_n)
coproc <= 0;
- else if(next_cycle == ISSUE && issue)
+ else if(next_cycle.issue && issue)
coproc <= dec.ctrl.coproc;
endmodule