From 6f02993745c9af07f9725e43b5084c8a36d2e770 Mon Sep 17 00:00:00 2001 From: Adam Megacz Date: Fri, 24 Apr 2009 01:12:41 +0000 Subject: [PATCH] implement InstructionStopper.fillTorpedo() --- .../com/sun/vlsi/chips/marina/test/InstructionStopper.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/testCode/com/sun/vlsi/chips/marina/test/InstructionStopper.java b/testCode/com/sun/vlsi/chips/marina/test/InstructionStopper.java index fe6b71a..63969a0 100644 --- a/testCode/com/sun/vlsi/chips/marina/test/InstructionStopper.java +++ b/testCode/com/sun/vlsi/chips/marina/test/InstructionStopper.java @@ -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)); } } -- 1.7.10.4