summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2011-06-14 23:02:34 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2011-06-14 23:02:34 -0700
commitdcd95cac6fb3343c90c5cf0ce15ed2d911f5e7d1 (patch)
tree4863078502471c22b6e5883b56785da875342d51 /src
parentb2dfa01370fe1be7d2c2060284fe99f91f054f05 (diff)
downloadabc-dcd95cac6fb3343c90c5cf0ce15ed2d911f5e7d1.tar.gz
abc-dcd95cac6fb3343c90c5cf0ce15ed2d911f5e7d1.tar.bz2
abc-dcd95cac6fb3343c90c5cf0ce15ed2d911f5e7d1.zip
Disabled duplication of the network while removing POs in 'removepo'.
Diffstat (limited to 'src')
-rw-r--r--src/base/abci/abc.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c
index 0d3795ea..196545c1 100644
--- a/src/base/abci/abc.c
+++ b/src/base/abci/abc.c
@@ -5889,7 +5889,7 @@ usage:
***********************************************************************/
int Abc_CommandRemovePo( 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;
extern void Abc_NtkRemovePo( Abc_Ntk_t * pNtk, int iOutput );
@@ -5938,9 +5938,10 @@ int Abc_CommandRemovePo( Abc_Frame_t * pAbc, int argc, char ** argv )
}
// get the new network
- pNtkRes = Abc_NtkDup( pNtk );
- Abc_NtkRemovePo( pNtkRes, iOutput );
- Abc_FrameReplaceCurrentNetwork( pAbc, pNtkRes );
+// pNtkRes = Abc_NtkDup( pNtk );
+// Abc_NtkRemovePo( pNtkRes, iOutput );
+// Abc_FrameReplaceCurrentNetwork( pAbc, pNtkRes );
+ Abc_NtkRemovePo( pNtk, iOutput );
return 0;
usage: