add MarinaTest.testOverfillTokens()
[fleet.git] / marina / testCode / com / sun / vlsi / chips / marina / test / MarinaTest.java
index a01c0d8..25a58fb 100644 (file)
@@ -2146,6 +2146,23 @@ public class MarinaTest {
         adjustIndent(-2);
         prln("End testSouthRecirculate("+AMOUNT+")");
     }
+
+
+    private void testOverfillTokens(Marina marina) {
+        prln("Begin testOverfillTokens");
+        adjustIndent(2);
+
+        for(int i=0; i<marina.TOKEN_FIFO_CAPACITY + 3; i++)
+            marina.instrIn.fill(SEND_TOKEN);
+        marina.instrIn.fill(SEND_DATA);
+        expectNorthFifoExactly(0);
+        
+        adjustIndent(-2);
+        prln("End testSouthRecirculate");
+    }
+
+
+
     private void doOneTest(int testNum) {
         prln("");
         prln("============================================================");