Commit 5023be4a by Alan Mishchenko

Adding switch &get -m to import mapped network into the &-space.

parent e2f11e14
......@@ -941,9 +941,9 @@ Gia_Man_t * Abc_NtkAigToGia( Abc_Ntk_t * p )
Abc_NtkForEachCi( p, pNode, i )
pNode->iTemp = Gia_ManAppendCi(pNew);
// find the number of objects
nObjs = Abc_NtkCiNum(p) + Abc_NtkCoNum(p);
nObjs = 1 + Abc_NtkCiNum(p) + Abc_NtkCoNum(p);
Abc_NtkForEachNode( p, pNode, i )
nObjs += 2 + Hop_DagSize( (Hop_Obj_t *)pNode->pData );
nObjs += Hop_DagSize( (Hop_Obj_t *)pNode->pData );
vMapping = Vec_IntStart( nObjs );
// iterate through nodes used in the mapping
vNodes = Abc_NtkDfs( p, 0 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment