Commit 51134ab8 by Alan Mishchenko

Disabled duplication of the network while removing POs in 'zeropo'.

parent 68c79ee8
...@@ -5741,7 +5741,7 @@ usage: ...@@ -5741,7 +5741,7 @@ usage:
***********************************************************************/ ***********************************************************************/
int Abc_CommandZeroPo( Abc_Frame_t * pAbc, int argc, char ** argv ) int Abc_CommandZeroPo( Abc_Frame_t * pAbc, int argc, char ** argv )
{ {
Abc_Ntk_t * pNtk = Abc_FrameReadNtk(pAbc), * pNtkRes; Abc_Ntk_t * pNtk = Abc_FrameReadNtk(pAbc), * pNtkRes = NULL;
int c, iOutput = -1; int c, iOutput = -1;
extern void Abc_NtkDropOneOutput( Abc_Ntk_t * pNtk, int iOutput ); extern void Abc_NtkDropOneOutput( Abc_Ntk_t * pNtk, int iOutput );
...@@ -5790,9 +5790,10 @@ int Abc_CommandZeroPo( Abc_Frame_t * pAbc, int argc, char ** argv ) ...@@ -5790,9 +5790,10 @@ int Abc_CommandZeroPo( Abc_Frame_t * pAbc, int argc, char ** argv )
} }
// get the new network // get the new network
pNtkRes = Abc_NtkDup( pNtk ); // pNtkRes = Abc_NtkDup( pNtk );
Abc_NtkDropOneOutput( pNtkRes, iOutput ); // Abc_NtkDropOneOutput( pNtkRes, iOutput );
Abc_FrameReplaceCurrentNetwork( pAbc, pNtkRes ); // Abc_FrameReplaceCurrentNetwork( pAbc, pNtkRes );
Abc_NtkDropOneOutput( pNtk, iOutput );
return 0; return 0;
usage: usage:
......
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