mirror of
https://github.com/YosysHQ/abc.git
synced 2026-08-22 05:57:21 +02:00
Enabling pin sorting in &if.
This commit is contained in:
@@ -981,6 +981,9 @@ Gia_Man_t * Gia_ManFromIfLogic( If_Man_t * pIfMan )
|
|||||||
if ( If_ObjIsAnd(pIfObj) )
|
if ( If_ObjIsAnd(pIfObj) )
|
||||||
{
|
{
|
||||||
pCutBest = If_ObjCutBest( pIfObj );
|
pCutBest = If_ObjCutBest( pIfObj );
|
||||||
|
// perform sorting of cut leaves by delay, so that the slowest pin drives the fastest input of the LUT
|
||||||
|
if ( !pIfMan->pPars->fDelayOpt && !pIfMan->pPars->pLutStruct && !pIfMan->pPars->fUserRecLib && !pIfMan->pPars->nGateSize )
|
||||||
|
If_CutRotatePins( pIfMan, pCutBest );
|
||||||
// collect leaves of the best cut
|
// collect leaves of the best cut
|
||||||
Vec_IntClear( vLeaves );
|
Vec_IntClear( vLeaves );
|
||||||
If_CutForEachLeaf( pIfMan, pCutBest, pIfLeaf, k )
|
If_CutForEachLeaf( pIfMan, pCutBest, pIfLeaf, k )
|
||||||
|
|||||||
Reference in New Issue
Block a user