}
}
}
- // search for maximum delta
- int maxDelta = 0;
+ // search for maximum PP length
+ int maxPP = 0;
foreach(FunctionalBlock* block, generators) {
- if (block->getDelta() > maxDelta) maxDelta = block->getDelta();
+ if (block->getProductionPatternLength() > maxPP) maxPP = block->getProductionPatternLength();
}
// compute output for generators
- int maxExecLen = maxDelta*nbExec;
+ int maxExecLen = maxPP*nbExec;
foreach(FunctionalBlock* block, generators) {
- int d = block->getDelta();
+ int d = block->getProductionPatternLength();
block->computeOutputPattern((maxExecLen+d-1)/d);
}
// compute output for top group