From 8ad20616690eb2208f0e893018499b9fc6cf1bc0 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Tue, 11 Aug 2015 14:07:04 -0700 Subject: New command 'isonpn'. --- src/base/abci/abc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/base/abci') diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index c88e95eb..9ab23c9d 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -35150,9 +35150,9 @@ usage: ***********************************************************************/ int Abc_CommandAbc9IsoNpn( Abc_Frame_t * pAbc, int argc, char ** argv ) { - extern Gia_Man_t * Gia_ManIsoNpnReduce( Gia_Man_t * p, int fVerbose ); + extern Gia_Man_t * Gia_ManIsoNpnReduce( Gia_Man_t * p, Vec_Ptr_t ** pvPosEquivs, int fVerbose ); Gia_Man_t * pAig; - //Vec_Ptr_t * vPosEquivs; + Vec_Ptr_t * vPosEquivs; int c, fVerbose = 0; Extra_UtilGetoptReset(); while ( ( c = Extra_UtilGetopt( argc, argv, "vh" ) ) != EOF ) @@ -35183,14 +35183,14 @@ int Abc_CommandAbc9IsoNpn( Abc_Frame_t * pAbc, int argc, char ** argv ) Abc_Print( -1, "Abc_CommandAbc9IsoNpn(): ISO-NPN does not work with sequential AIGs.\n" ); return 1; } - pAig = Gia_ManIsoNpnReduce( pAbc->pGia, fVerbose ); + pAig = Gia_ManIsoNpnReduce( pAbc->pGia, &vPosEquivs, fVerbose ); if ( pAig == NULL ) { Abc_Print( -1, "Abc_CommandAbc9IsoNpn(): Transformation has failed.\n" ); return 1; } // update the internal storage of PO equivalences - //Abc_FrameReplacePoEquivs( pAbc, &vPosEquivs ); + Abc_FrameReplacePoEquivs( pAbc, &vPosEquivs ); // update the AIG Abc_FrameUpdateGia( pAbc, pAig ); return 0; -- cgit v1.2.3