diff options
author | alanminko <37236958+alanminko@users.noreply.github.com> | 2020-03-01 17:53:13 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-01 17:53:13 -0800 |
commit | e87869b737880dab9c35fccd810f66ca1aee10b1 (patch) | |
tree | dde1b05b47fd108b3a57a5a3145e26d323c84136 | |
parent | ce3ceda6698cdebbf070d1e33262b3b9a5e88ab2 (diff) | |
parent | 629ca03252afb35d1aa790a7d7c88b5c725b1d9d (diff) | |
download | abc-e87869b737880dab9c35fccd810f66ca1aee10b1.tar.gz abc-e87869b737880dab9c35fccd810f66ca1aee10b1.tar.bz2 abc-e87869b737880dab9c35fccd810f66ca1aee10b1.zip |
Merge pull request #66 from FPGeh/fix-and2delay
&sweep and &mfs to preserve nAnd2Delay
-rw-r--r-- | src/aig/gia/giaMfs.c | 1 | ||||
-rw-r--r-- | src/aig/gia/giaSweep.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/aig/gia/giaMfs.c b/src/aig/gia/giaMfs.c index 5890f84c..d443ddde 100644 --- a/src/aig/gia/giaMfs.c +++ b/src/aig/gia/giaMfs.c @@ -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 ); diff --git a/src/aig/gia/giaSweep.c b/src/aig/gia/giaSweep.c index 2d8e705b..1d66caee 100644 --- a/src/aig/gia/giaSweep.c +++ b/src/aig/gia/giaSweep.c @@ -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; } |