]> Joshua Wise's Git repositories - firearm.git/commitdiff
Add verbosity to issue when it stalls an instruction.
authorJoshua Wise <joshua@rebirth.joshuawise.com>
Sat, 27 Dec 2008 10:38:49 +0000 (05:38 -0500)
committerJoshua Wise <joshua@rebirth.joshuawise.com>
Sat, 27 Dec 2008 10:38:49 +0000 (05:38 -0500)
Issue.v

diff --git a/Issue.v b/Issue.v
index 03707d9fa8bb8694cf0f261137bfdcce66a046c2..2df5bfa5406613f7b8458962fb324fb9311fbeab 100644 (file)
--- a/Issue.v
+++ b/Issue.v
@@ -287,6 +287,11 @@ module Issue(
                cpsr_inflight[1] <= (waiting || inbubble || !condition_met) ? 0 : def_cpsr;
                regs_inflight[0] <= regs_inflight[1];
                regs_inflight[1] <= (waiting || inbubble || !condition_met) ? 0 : def_regs;
                cpsr_inflight[1] <= (waiting || inbubble || !condition_met) ? 0 : def_cpsr;
                regs_inflight[0] <= regs_inflight[1];
                regs_inflight[1] <= (waiting || inbubble || !condition_met) ? 0 : def_regs;
+               
+               if (waiting)
+               begin
+                       $display("ISSUE: Stalling instruction %08x because %d/%d", insn, waiting_cpsr, waiting_regs);
+               end
 
                outbubble <= inbubble | waiting | !condition_met;
                outpc <= inpc;
 
                outbubble <= inbubble | waiting | !condition_met;
                outpc <= inpc;
This page took 0.024935 seconds and 4 git commands to generate.