Commit e731d3b1 by Alan Mishchenko

Adding another network duplicator.

parent fd80bf20
...@@ -737,9 +737,9 @@ Abc_Ntk_t * Abc_NtkBottom( Abc_Ntk_t * pNtk, int Level ) ...@@ -737,9 +737,9 @@ Abc_Ntk_t * Abc_NtkBottom( Abc_Ntk_t * pNtk, int Level )
Abc_ObjAddFanin( pObj->pCopy, pFanin->pCopy ); Abc_ObjAddFanin( pObj->pCopy, pFanin->pCopy );
// create new primary outputs // create new primary outputs
Abc_NtkForEachNode( pNtk, pObj, i ) Abc_NtkForEachObj( pNtk, pObj, i )
Abc_ObjForEachFanin( pObj, pFanin, k ) Abc_ObjForEachFanin( pObj, pFanin, k )
if ( pObj->pCopy == NULL && pFanin->pCopy != NULL && Abc_ObjIsNode(pFanin) ) if ( !pObj->pCopy && pFanin->pCopy && Abc_ObjIsNode(pFanin) )
{ {
Abc_Obj_t * pNodeNew = Abc_NtkCreatePo(pNtkNew); Abc_Obj_t * pNodeNew = Abc_NtkCreatePo(pNtkNew);
Abc_ObjAddFanin( pNodeNew, pFanin->pCopy ); Abc_ObjAddFanin( pNodeNew, pFanin->pCopy );
......
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