From 508565ff7209b349ae2a917fb56c94af83063338 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Mon, 10 Mar 2014 17:22:33 -0700 Subject: Adding a warning when the current network or AIG has no POs. --- src/base/abci/abc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/base/abci/abc.c') diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index 7ebab2d1..03875daa 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -575,6 +575,8 @@ void Abc_FrameUpdateGia( Abc_Frame_t * pAbc, Gia_Man_t * pNew ) Abc_Print( -1, "Abc_FrameUpdateGia(): Tranformation has failed.\n" ); return; } + if ( Gia_ManPoNum(pNew) == 0 ) + Abc_Print( 0, "The current GIA has no primary outputs. Some commands may not work correctly.\n" ); if ( pNew == pAbc->pGia ) return; // transfer names -- cgit v1.2.3