diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-02-29 10:51:05 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-02-29 10:51:05 -0800 |
commit | 3e5e7a254426bac5b5f9634ff5f087faf275c2c1 (patch) | |
tree | 92f2ebe4ae60c3e710c1aed19c2607f8dd90aca3 /src/base/abci | |
parent | 1bf2b0351abcc6f96854eb50976ac010ca7f00f1 (diff) | |
download | abc-3e5e7a254426bac5b5f9634ff5f087faf275c2c1.tar.gz abc-3e5e7a254426bac5b5f9634ff5f087faf275c2c1.tar.bz2 abc-3e5e7a254426bac5b5f9634ff5f087faf275c2c1.zip |
Added skipping &iso when there is only one PO.
Diffstat (limited to 'src/base/abci')
-rw-r--r-- | src/base/abci/abc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index 0eabe4c7..c8090460 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -27966,6 +27966,11 @@ int Abc_CommandAbc9Iso( Abc_Frame_t * pAbc, int argc, char ** argv ) return 1; } pAig = Gia_ManIsoReduce( pAbc->pGia, &vPosEquivs, fVerbose ); + if ( pAig == NULL ) + { + Abc_Print( -1, "Abc_CommandAbc9Iso(): Transformation has failed.\n" ); + return 1; + } // update the internal storage of PO equivalences Abc_FrameReplacePoEquivs( pAbc, &vPosEquivs ); // update the AIG |