make drainNoCheck() protected, not private
authorAdam Megacz <adam.megacz@sun.com>
Tue, 10 Mar 2009 22:20:10 +0000 (22:20 +0000)
committerAdam Megacz <adam.megacz@sun.com>
Tue, 10 Mar 2009 22:20:10 +0000 (22:20 +0000)
testCode/com/sun/vlsi/chips/marina/test/ProperStopper.java

index cd5a182..2a304c0 100644 (file)
@@ -61,12 +61,7 @@ public class ProperStopper {
         }
         return sb.toString();
     }
-
-    private BitVector getDatTokAdr() {
-        // strip the two write enable bits
-        return cc.getOutBits(dataPath).get(2, 52);
-    }
-    
+  
     private void shiftControl(boolean readEnable, boolean writeEnable) {
         cc.shift(controlChain, readEnable, writeEnable);
     }
@@ -309,9 +304,11 @@ public class ProperStopper {
      * Assume that an item is available. 
      * entry state: stop
      * exit state: stop */
-    private BitVector drainNoCheck() {
+    protected BitVector drainNoCheck() {
         shiftData(true, false);
-        BitVector ans = getDatTokAdr();
+
+        // strip the two write enable bits
+        BitVector ans = cc.getOutBits(dataPath).get(2, 52);
 
         idle();                                 // block = 1
         clear();                                // clear = 1