summaryrefslogtreecommitdiffstats
path: root/src/aig/ivy
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2008-05-12 20:01:00 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2008-05-12 20:01:00 -0700
commit37b6c727f1276d9d97a79a8f40271aee446a4ba4 (patch)
tree069004bcd7c14e786e9d67e1d407ce2bef4688c0 /src/aig/ivy
parentcb899ec848984b194a9c227c7a01f147454ce591 (diff)
downloadabc-37b6c727f1276d9d97a79a8f40271aee446a4ba4.tar.gz
abc-37b6c727f1276d9d97a79a8f40271aee446a4ba4.tar.bz2
abc-37b6c727f1276d9d97a79a8f40271aee446a4ba4.zip
Version abc80512_2
Diffstat (limited to 'src/aig/ivy')
-rw-r--r--src/aig/ivy/ivyFraig.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/aig/ivy/ivyFraig.c b/src/aig/ivy/ivyFraig.c
index 46dddab2..d049d660 100644
--- a/src/aig/ivy/ivyFraig.c
+++ b/src/aig/ivy/ivyFraig.c
@@ -1815,6 +1815,12 @@ int Ivy_FraigMiterStatus( Ivy_Man_t * pMan )
CountConst0++;
continue;
}
+ // check if the output is a primary input
+ if ( Ivy_ObjIsPi(Ivy_Regular(pObjNew)) )
+ {
+ CountNonConst0++;
+ continue;
+ }
// check if the output can be constant 0
if ( Ivy_Regular(pObjNew)->fPhase != (unsigned)Ivy_IsComplement(pObjNew) )
{