]> Joshua Wise's Git repositories - firearm.git/commitdiff
Merge branch 'master' of nyus.joshuawise.com:/git/firearm
authorChristopher Lu <lu@stop.hsd1.pa.comcast.net>
Mon, 5 Jan 2009 09:21:43 +0000 (04:21 -0500)
committerChristopher Lu <lu@stop.hsd1.pa.comcast.net>
Mon, 5 Jan 2009 09:21:43 +0000 (04:21 -0500)
ram.comments.hex
ram.hex
system.v

index c2c42a36c99a05a974c6447ff6fa053b0217938a..bffc93bef7cb0c897af19e21d78981cdb4222b7b 100644 (file)
@@ -25,6 +25,10 @@ E0017361  // and r7, r1, r1, ror #6
 E180F081
 E180F081
 E180F081
+EA000000 // jump forward
+EBFFFFFF // whirrr, skipped the first time
+E1A00000 // nop
+EBFFFFFD // jump back
 E0000000
 E0000000
 E0000000
diff --git a/ram.hex b/ram.hex
index 03c562da1a6ffc2b5742bb2dd6681f5d3bd8fe57..9f19cbb64c190c7ee81a557755b2397d9b4a93ad 100644 (file)
--- a/ram.hex
+++ b/ram.hex
@@ -20,6 +20,10 @@ E0017361
 E180F081
 E180F081
 E180F081
+EA000000
+EBFFFFFF
+E1A00000
+EAFFFFFD
 E0000000
 E0000000
 E0000000
index 4a485c3d1b81d3fde028e9fbcaef936bc4e7d5d3..f80f327e1511474403b2ef3b566e6ef5839314ae 100644 (file)
--- a/system.v
+++ b/system.v
@@ -128,6 +128,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);
+               $display("%3d: EXEC:   Stall: %d, Bubble: %d, Reg: %d, [%08x -> %d], Jmp: %d [%08x]", clockno, stall_cause_execute, execute_out_bubble, execute_out_write_reg, execute_out_write_data, execute_out_write_num, jmp, jmppc);
        end
 endmodule
This page took 0.027281 seconds and 4 git commands to generate.