From 1bf2b0351abcc6f96854eb50976ac010ca7f00f1 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Wed, 29 Feb 2012 10:38:18 -0800 Subject: Added skipping &iso when there is only one PO. --- src/base/abci/abc.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index bd2f5bfe..0eabe4c7 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -27960,6 +27960,11 @@ int Abc_CommandAbc9Iso( Abc_Frame_t * pAbc, int argc, char ** argv ) Abc_Print( -1, "Abc_CommandAbc9Iso(): There is no AIG.\n" ); return 1; } + if ( Gia_ManPoNum(pAbc->pGia) == 1 ) + { + Abc_Print( -1, "Abc_CommandAbc9Iso(): The AIG has only one PO. Isomorphism detection is not performed.\n" ); + return 1; + } pAig = Gia_ManIsoReduce( pAbc->pGia, &vPosEquivs, fVerbose ); // update the internal storage of PO equivalences Abc_FrameReplacePoEquivs( pAbc, &vPosEquivs ); -- cgit v1.2.3