diff options
-rw-r--r-- | src/aig/gia/giaSweep.c | 2 | ||||
-rw-r--r-- | src/misc/tim/timMan.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/aig/gia/giaSweep.c b/src/aig/gia/giaSweep.c index 81fe8b97..47d368c0 100644 --- a/src/aig/gia/giaSweep.c +++ b/src/aig/gia/giaSweep.c @@ -298,7 +298,7 @@ Gia_Man_t * Gia_ManFraigSweep( Gia_Man_t * p, void * pPars ) printf( "Timing manager is given but there is no GIA of boxes.\n" ); return NULL; } - // ordering AIG objects + // order AIG objects pNew = Gia_ManDupUnnormalize( p ); if ( pNew == NULL ) return NULL; diff --git a/src/misc/tim/timMan.c b/src/misc/tim/timMan.c index a4e95e31..26c3cb04 100644 --- a/src/misc/tim/timMan.c +++ b/src/misc/tim/timMan.c @@ -221,6 +221,7 @@ Tim_Man_t * Tim_ManTrim( Tim_Man_t * p, Vec_Int_t * vBoxPres ) if ( Vec_IntEntry(vBoxPres, i) ) { Tim_ManCreateBox( pNew, curPo, pBox->nInputs, curPi, pBox->nOutputs, pBox->iDelayTable ); + Tim_ManBoxSetCopy( pNew, Tim_ManBoxNum(pNew) - 1, i ); curPi += pBox->nOutputs; curPo += pBox->nInputs; } |