implement InstructionStopper.fillTorpedo()
authorAdam Megacz <adam.megacz@sun.com>
Fri, 24 Apr 2009 01:12:41 +0000 (01:12 +0000)
committerAdam Megacz <adam.megacz@sun.com>
Fri, 24 Apr 2009 01:12:41 +0000 (01:12 +0000)
testCode/com/sun/vlsi/chips/marina/test/InstructionStopper.java

index fe6b71a..63969a0 100644 (file)
@@ -28,14 +28,6 @@ public class InstructionStopper extends ProperStopper {
         super(propInst, controlChain, dataChain, reportChain, cc, model, clockHack, indenter);
     }
 
-    /*
-    // FIXME: I really don't like this --Adam
-    public BitVector drainNoCheck() {
-        BitVector dta = super.drainNoCheck();
-        return dta.get(15, INSTRUCTION_LENGTH);
-    }
-    */
-
     /** put one Instruction into InstructionStopper */
     public void fill(Instruction inst) {
         super.fill(new MarinaPacket(inst));
@@ -43,6 +35,6 @@ public class InstructionStopper extends ProperStopper {
 
     /* put a torpedo into the InstructionStopper */
     public void fillTorpedo() {
-        throw new RuntimeException("currently not implemented");
+        super.fill(new MarinaPacket(MarinaPacket.null_word, true, MarinaPacket.null_path));
     }
 }