From: Joshua Wise Date: Fri, 26 Dec 2008 11:55:52 +0000 (-0500) Subject: initialize inflights X-Git-Url: http://git.joshuawise.com/firearm.git/commitdiff_plain/3ae4e7dbc146035a0048a82ec07d0e7847a86b83?hp=09e28f01bc93c7e5f280dbef0be909dfffad07c8 initialize inflights --- 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]);