+++ /dev/null
-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));
- }
-}