summaryrefslogtreecommitdiffstats
path: root/src/base
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2015-08-11 14:07:04 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2015-08-11 14:07:04 -0700
commit8ad20616690eb2208f0e893018499b9fc6cf1bc0 (patch)
tree32d2787329957b4da16a75653d1328c9dc683b16 /src/base
parent6ae4ddec0001b7bc7a66798c8887f1d761c2e59d (diff)
downloadabc-8ad20616690eb2208f0e893018499b9fc6cf1bc0.tar.gz
abc-8ad20616690eb2208f0e893018499b9fc6cf1bc0.tar.bz2
abc-8ad20616690eb2208f0e893018499b9fc6cf1bc0.zip
New command 'isonpn'.
Diffstat (limited to 'src/base')
-rw-r--r--src/base/abci/abc.c8
1 files changed, 4 insertions, 4 deletions
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;