diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2011-10-01 10:51:33 +0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2011-10-01 10:51:33 +0700 |
commit | ff4c674dd7afd2c8f3fa3e52aca8c1e65829315d (patch) | |
tree | c6c664d08b1c22fc0e03719fb7190f59cb463596 | |
parent | 7884dd01bc07b4f052436f996eee3cb66169a556 (diff) | |
download | abc-ff4c674dd7afd2c8f3fa3e52aca8c1e65829315d.tar.gz abc-ff4c674dd7afd2c8f3fa3e52aca8c1e65829315d.tar.bz2 abc-ff4c674dd7afd2c8f3fa3e52aca8c1e65829315d.zip |
Updated miter status check to detect the case when a PO is equal to a true PI.
-rw-r--r-- | src/aig/fra/fraCore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aig/fra/fraCore.c b/src/aig/fra/fraCore.c index 93c16e1e..d3b60ab7 100644 --- a/src/aig/fra/fraCore.c +++ b/src/aig/fra/fraCore.c @@ -81,7 +81,7 @@ int Fra_FraigMiterStatus( Aig_Man_t * p ) continue; } // check if the output is a primary input - if ( p->nRegs == 0 && Aig_ObjIsPi(Aig_Regular(pChild)) ) + if ( Aig_ObjIsPi(Aig_Regular(pChild)) && Aig_ObjPioNum(Aig_Regular(pChild)) < p->nTruePis ) { CountNonConst0++; continue; |