diff options
Diffstat (limited to 'src/base')
-rw-r--r-- | src/base/abci/abc.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index 256e8eb2..9f424459 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -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 ) |