From 3ae4e7dbc146035a0048a82ec07d0e7847a86b83 Mon Sep 17 00:00:00 2001 From: Joshua Wise Date: Fri, 26 Dec 2008 06:55:52 -0500 Subject: [PATCH 1/1] initialize inflights --- Issue.v | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Issue.v b/Issue.v index 628ef08..85d1393 100644 --- a/Issue.v +++ b/Issue.v @@ -264,6 +264,14 @@ module Issue( reg waiting_regs; wire waiting = waiting_cpsr | waiting_regs; + initial + begin + cpsr_inflight[0] = 0; + cpsr_inflight[1] = 0; + regs_inflight[0] = 0; + regs_inflight[1] = 0; + end + always @(*) begin waiting_cpsr = use_cpsr & (cpsr_inflight[0] | cpsr_inflight[1]); -- 2.39.2