mirror of https://github.com/YosysHQ/abc.git
Merge pull request #66 from FPGeh/fix-and2delay
&sweep and &mfs to preserve nAnd2Delay
This commit is contained in:
commit
e87869b737
|
|
@ -470,6 +470,7 @@ Gia_Man_t * Gia_ManInsertMfs( Gia_Man_t * p, Sfm_Ntk_t * pNtk, int fAllBoxes )
|
|||
// duplicated initial state
|
||||
if ( p->vRegInits )
|
||||
pNew->vRegInits = Vec_IntDup( p->vRegInits );
|
||||
pNew->nAnd2Delay = p->nAnd2Delay;
|
||||
|
||||
// cleanup
|
||||
Vec_WecFree( vGroups );
|
||||
|
|
|
|||
|
|
@ -203,6 +203,7 @@ Gia_Man_t * Gia_ManDupWithBoxes( Gia_Man_t * p, int fSeq )
|
|||
pNew->pAigExtra = Gia_ManUpdateExtraAig2( p->pManTime, p->pAigExtra, vBoxesLeft );
|
||||
assert( Gia_ManCiNum(pNew) == Tim_ManPiNum((Tim_Man_t*)pNew->pManTime) + Gia_ManCoNum(pNew->pAigExtra) );
|
||||
Vec_IntFree( vBoxesLeft );
|
||||
pNew->nAnd2Delay = p->nAnd2Delay;
|
||||
return pNew;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue