summaryrefslogtreecommitdiffstats
path: root/src/base
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2011-06-15 23:18:51 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2011-06-15 23:18:51 -0700
commit51134ab81cd054c6ec35f534c28d94663ccac23e (patch)
treee285401f2f2ea483887577223d4fdbdd70e10e6c /src/base
parent68c79ee879196602616a3d9930600a1617231484 (diff)
downloadabc-51134ab81cd054c6ec35f534c28d94663ccac23e.tar.gz
abc-51134ab81cd054c6ec35f534c28d94663ccac23e.tar.bz2
abc-51134ab81cd054c6ec35f534c28d94663ccac23e.zip
Disabled duplication of the network while removing POs in 'zeropo'.
Diffstat (limited to 'src/base')
-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 27accc8a..33537c1d 100644
--- a/src/base/abci/abc.c
+++ b/src/base/abci/abc.c
@@ -5741,7 +5741,7 @@ usage:
***********************************************************************/
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;
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 )
}
// get the new network
- pNtkRes = Abc_NtkDup( pNtk );
- Abc_NtkDropOneOutput( pNtkRes, iOutput );
- Abc_FrameReplaceCurrentNetwork( pAbc, pNtkRes );
+// pNtkRes = Abc_NtkDup( pNtk );
+// Abc_NtkDropOneOutput( pNtkRes, iOutput );
+// Abc_FrameReplaceCurrentNetwork( pAbc, pNtkRes );
+ Abc_NtkDropOneOutput( pNtk, iOutput );
return 0;
usage: