Commit 1efdd372 by Alan Mishchenko

Preserving outputs names in the &-space.

parent 6730e21e
......@@ -25030,6 +25030,18 @@ int Abc_CommandAbc9Put( Abc_Frame_t * pAbc, int argc, char ** argv )
}
}
}
// transfer PO names to pNtk
if ( pAbc->pGia->vNamesOut )
{
Abc_Obj_t * pObj;
int i;
Abc_NtkForEachCo( pNtk, pObj, i ) {
if (i < Vec_PtrSize(pAbc->pGia->vNamesOut)) {
Nm_ManDeleteIdName(pNtk->pManName, pObj->Id);
Abc_ObjAssignName( pObj, (char *)Vec_PtrEntry(pAbc->pGia->vNamesOut, i), NULL );
}
}
}
// replace the current network
Abc_FrameReplaceCurrentNetwork( pAbc, pNtk );
if ( fStatusClear )
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