summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2013-02-20 23:34:27 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2013-02-20 23:34:27 -0800
commit24823dce0c2c6efb03948b69fff4e6da31b5b2c1 (patch)
tree5dd39ff103e70ceb2cf408f2f8a83d492aec511a /src
parente11c5aa3a0e60ebf4f80a284c2a64958c55b9175 (diff)
downloadabc-24823dce0c2c6efb03948b69fff4e6da31b5b2c1.tar.gz
abc-24823dce0c2c6efb03948b69fff4e6da31b5b2c1.tar.bz2
abc-24823dce0c2c6efb03948b69fff4e6da31b5b2c1.zip
Integrating sweeping information.
Diffstat (limited to 'src')
-rw-r--r--src/aig/gia/giaSweep.c2
-rw-r--r--src/misc/tim/timMan.c1
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;
}