From 1c2e57dc81bb31f2f577481bac788d279956dc39 Mon Sep 17 00:00:00 2001 From: Joshua Wise Date: Sat, 27 Dec 2008 05:38:49 -0500 Subject: [PATCH] Add verbosity to issue when it stalls an instruction. --- Issue.v | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Issue.v b/Issue.v index 03707d9..2df5bfa 100644 --- 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; + + if (waiting) + begin + $display("ISSUE: Stalling instruction %08x because %d/%d", insn, waiting_cpsr, waiting_regs); + end outbubble <= inbubble | waiting | !condition_met; outpc <= inpc; -- 2.39.2