InstructionStopper: show bits of instruction being inserted
authorAdam Megacz <adam@megacz.com>
Thu, 23 Jul 2009 23:43:56 +0000 (16:43 -0700)
committerAdam Megacz <adam@megacz.com>
Thu, 23 Jul 2009 23:43:56 +0000 (16:43 -0700)
marina/testCode/com/sun/vlsi/chips/marina/test/InstructionStopper.java

index ffe58c2..5c18ef7 100644 (file)
@@ -31,9 +31,11 @@ public class InstructionStopper extends ProperStopper {
 
     /** put one Instruction into InstructionStopper */
     public void fill(Instruction inst) {
+        MarinaPacket mp = new MarinaPacket(inst);
         MarinaTest.indenter.prln("  inserting instruction: " +
-                                 inst.toString().substring(inst.toString().indexOf(':')+1));
-        super.fill(new MarinaPacket(inst));
+                                 inst.toString().substring(inst.toString().indexOf(':')+1)
+                                 +"\n      "+mp);
+        super.fill(mp);
     }
 
     /* put a torpedo into the InstructionStopper */