initialize inflights
authorJoshua Wise <joshua@rebirth.joshuawise.com>
Fri, 26 Dec 2008 11:55:52 +0000 (06:55 -0500)
committerJoshua Wise <joshua@rebirth.joshuawise.com>
Fri, 26 Dec 2008 11:55:52 +0000 (06:55 -0500)
Issue.v

diff --git a/Issue.v b/Issue.v
index 628ef08..85d1393 100644 (file)
--- a/Issue.v
+++ b/Issue.v
@@ -264,6 +264,14 @@ module Issue(
        reg waiting_regs;
        wire waiting = waiting_cpsr | waiting_regs;
        
        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]);
        always @(*)
        begin
                waiting_cpsr = use_cpsr & (cpsr_inflight[0] | cpsr_inflight[1]);
This page took 0.019967 seconds and 4 git commands to generate.