rename com.sun.vlsi.chips.marina.test -> edu.berkeley.fleet.marina
[fleet.git] / src / com / sun / vlsi / chips / marina / test / InstructionStopper.java
diff --git a/src/com/sun/vlsi/chips/marina/test/InstructionStopper.java b/src/com/sun/vlsi/chips/marina/test/InstructionStopper.java
deleted file mode 100644 (file)
index 60d51cf..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-package com.sun.vlsi.chips.marina.test;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import com.sun.electric.tool.simulation.test.*;
-
-import edu.berkeley.fleet.api.Dock;
-import edu.berkeley.fleet.api.Instruction;
-import edu.berkeley.fleet.marina.MarinaFleet;
-
-import static com.sun.vlsi.chips.marina.test.Marina.INSTRUCTION_LENGTH;
-
-/**
- * InstructionStopper is a scaffold that lets us create a 36 bit propperStopper
- * by using a 52 bit propperStopper and throwing away the unused bits.
- */
-public class InstructionStopper extends ProperStopper {
-
-    public InstructionStopper(String name,
-                              String propInst,
-                              ChainControls cc, ChipModel model,
-                              boolean clockHack,
-                              Indenter indenter, String counterPath) {
-        super(name, propInst, cc, model, clockHack, indenter, counterPath);
-    }
-
-    /** 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)
-                                 +"\n      "+mp);
-        super.fill(mp);
-    }
-
-    /* put a torpedo into the InstructionStopper */
-    public void fillTorpedo() {
-        MarinaTest.indenter.prln("  inserting torpedo");
-        super.fill(new MarinaPacket(MarinaPacket.null_word, true, MarinaPacket.null_path));
-    }
-}