}
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);
}
* 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