summaryrefslogtreecommitdiffstats
path: root/src/map/amap
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-03-09 19:32:44 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2012-03-09 19:32:44 -0800
commit2c8f1a67ec9295450a72fc27cbb3ed1177945734 (patch)
tree5386dd978ded397a75b6a9c06fe46b3789468beb /src/map/amap
parent34078de8d6414bb832d26c33578a1fcdfa21b750 (diff)
downloadabc-2c8f1a67ec9295450a72fc27cbb3ed1177945734.tar.gz
abc-2c8f1a67ec9295450a72fc27cbb3ed1177945734.tar.bz2
abc-2c8f1a67ec9295450a72fc27cbb3ed1177945734.zip
Renamed Aig_ManForEachPi/Po to be ...Ci/Co and Aig_ObjCreatePi/Po to be ...Ci/Co.
Diffstat (limited to 'src/map/amap')
-rw-r--r--src/map/amap/amapGraph.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/amap/amapGraph.c b/src/map/amap/amapGraph.c
index c346ca98..36a3c851 100644
--- a/src/map/amap/amapGraph.c
+++ b/src/map/amap/amapGraph.c
@@ -341,7 +341,7 @@ void Amap_ManCreate( Amap_Man_t * p, Aig_Man_t * pAig )
// create PIs and remember them in the old nodes
Aig_ManCleanData(pAig);
Aig_ManConst1(pAig)->pData = Amap_ManConst1( p );
- Aig_ManForEachPi( pAig, pObj, i )
+ Aig_ManForEachCi( pAig, pObj, i )
pObj->pData = Amap_ManCreatePi( p );
// load the AIG into the mapper
Vec_PtrForEachEntry( Aig_Obj_t *, vNodes, pObj, i )
@@ -383,7 +383,7 @@ void Amap_ManCreate( Amap_Man_t * p, Aig_Man_t * pAig )
}
Vec_PtrFree( vNodes );
// set the primary outputs without copying the phase
- Aig_ManForEachPo( pAig, pObj, i )
+ Aig_ManForEachCo( pAig, pObj, i )
pObj->pData = Amap_ManCreatePo( p, (Amap_Obj_t *)Aig_ObjChild0Copy(pObj) );
if ( p->pPars->fVerbose )
printf( "Performing mapping with %d given and %d created choices.\n",