/** Get the 6 bit outer loop counter. */
public int getOLC() {
shiftReport(true, false);
- BitVector odd = cc.getOutBits(REPORT_CHAIN+"."+OLC_PATH_ODD).bitReverse().not();
- BitVector even = cc.getOutBits(REPORT_CHAIN+"."+OLC_PATH_EVEN).bitReverse().not();
+ BitVector odd = cc.getOutBits(REPORT_CHAIN+"."+OLC_PATH_ODD).bitReverse();
+ BitVector even = cc.getOutBits(REPORT_CHAIN+"."+OLC_PATH_EVEN).bitReverse();
+ if (!kesselsCounter) {
+ odd = odd.not();
+ even = even.not();
+ }
BitVector bv = new BitVector(6, "olc");
for(int i=0; i<3; i++) {
bv.set(i*2, odd.get(i));
bv.set(i*2+1, even.get(i));
}
- int ret = (int)bv.toLong();
- return kesselsCounter ? (64-ret) : ret;
+ return (int)bv.toLong();
}
/** Get the 7 bit inner loop counter. The MSB is the zero bit.
* The low order 6 bits are the count */
}
/** Fill the "North" Fifo ring */
public void fillNorthProperStopper(MarinaPacket mp) {
+ prln("inserting into north: " + mp);
this.data.fill(mp.toSingleBitVector());
}
/** Enable the transmission of instructions from the instruction