mirror of https://github.com/YosysHQ/abc.git
Apply patch to If_ObjPerformMappingChoice too
(cherry picked from commit accf50468a)
This commit is contained in:
parent
eef8c01340
commit
3e65b25942
|
|
@ -558,7 +558,7 @@ void If_ObjPerformMappingChoice( If_Man_t * p, If_Obj_t * pObj, int Mode, int fP
|
||||||
continue;
|
continue;
|
||||||
// check if the cut satisfies the required times
|
// check if the cut satisfies the required times
|
||||||
// assert( pCut->Delay == If_CutDelay( p, pTemp, pCut ) );
|
// assert( pCut->Delay == If_CutDelay( p, pTemp, pCut ) );
|
||||||
if ( Mode && pCut->Delay > pObj->Required + p->fEpsilon )
|
if ( Mode && pCut->Delay > pObj->Required + p->fEpsilon && pCutSet->nCuts > 0 )
|
||||||
continue;
|
continue;
|
||||||
// set the phase attribute
|
// set the phase attribute
|
||||||
pCut->fCompl = pObj->fPhase ^ pTemp->fPhase;
|
pCut->fCompl = pObj->fPhase ^ pTemp->fPhase;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue