Commit 45d82477 by Alan Mishchenko

Saving network name in 'blockpo'.

parent 3b1c632b
...@@ -23455,7 +23455,9 @@ int Abc_CommandBlockPo( Abc_Frame_t * pAbc, int argc, char ** argv ) ...@@ -23455,7 +23455,9 @@ int Abc_CommandBlockPo( Abc_Frame_t * pAbc, int argc, char ** argv )
Saig_ManBlockPo( pAig, nCycles ); Saig_ManBlockPo( pAig, nCycles );
pNtkNew = Abc_NtkFromAigPhase( pAig ); pNtkNew = Abc_NtkFromAigPhase( pAig );
Aig_ManStop( pAig ); Aig_ManStop( pAig );
// transfer the name
pNtkNew->pName = Extra_UtilStrsav(pNtk->pName);
pNtkNew->pSpec = Extra_UtilStrsav(pNtk->pSpec);
// replace the current network // replace the current network
Abc_FrameReplaceCurrentNetwork( pAbc, pNtkNew ); Abc_FrameReplaceCurrentNetwork( pAbc, pNtkNew );
return 0; return 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