system.v: Add debug output for the execute stage.
authorJoshua Wise <joshua@nyus.joshuawise.com>
Wed, 31 Dec 2008 06:26:42 +0000 (01:26 -0500)
committerJoshua Wise <joshua@nyus.joshuawise.com>
Wed, 31 Dec 2008 06:26:42 +0000 (01:26 -0500)
system.v

index a4d13a4..685d5bd 100644 (file)
--- a/system.v
+++ b/system.v
@@ -120,5 +120,6 @@ module System(input clk);
                $display("%3d: FETCH:            Bubble: %d, Instruction: %08x, PC: %08x", clockno, bubble_out_fetch, insn_out_fetch, pc_out_fetch);
                $display("%3d: ISSUE:  Stall: %d, Bubble: %d, Instruction: %08x, PC: %08x", clockno, stall_cause_issue, bubble_out_issue, insn_out_issue, pc_out_issue);
                $display("%3d: DECODE:                      op1 %08x, op2 %08x, op3 %08x, carry %d", clockno, decode_out_op0, decode_out_op1, decode_out_op2, decode_out_carry);
+               $display("%3d: EXEC:   Stall: %d, Bubble: %d, Output: %d, [%08x -> %d]", clockno, stall_cause_execute, execute_out_bubble, execute_out_write_reg, execute_out_write_data, execute_out_write_num);
        end
 endmodule
This page took 0.0201 seconds and 4 git commands to generate.