diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2008-05-12 20:01:00 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2008-05-12 20:01:00 -0700 |
commit | 37b6c727f1276d9d97a79a8f40271aee446a4ba4 (patch) | |
tree | 069004bcd7c14e786e9d67e1d407ce2bef4688c0 /src/aig/fra | |
parent | cb899ec848984b194a9c227c7a01f147454ce591 (diff) | |
download | abc-37b6c727f1276d9d97a79a8f40271aee446a4ba4.tar.gz abc-37b6c727f1276d9d97a79a8f40271aee446a4ba4.tar.bz2 abc-37b6c727f1276d9d97a79a8f40271aee446a4ba4.zip |
Version abc80512_2
Diffstat (limited to 'src/aig/fra')
-rw-r--r-- | src/aig/fra/fraCore.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/aig/fra/fraCore.c b/src/aig/fra/fraCore.c index 75de8a71..11e69b59 100644 --- a/src/aig/fra/fraCore.c +++ b/src/aig/fra/fraCore.c @@ -77,6 +77,12 @@ int Fra_FraigMiterStatus( Aig_Man_t * p ) CountNonConst0++; continue; } + // check if the output is a primary input + if ( p->nRegs == 0 && Aig_ObjIsPi(Aig_Regular(pChild)) ) + { + CountNonConst0++; + continue; + } // check if the output can be not constant 0 if ( Aig_Regular(pChild)->fPhase != (unsigned)Aig_IsComplement(pChild) ) { |