From ff4c674dd7afd2c8f3fa3e52aca8c1e65829315d Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sat, 1 Oct 2011 10:51:33 +0700 Subject: Updated miter status check to detect the case when a PO is equal to a true PI. --- src/aig/fra/fraCore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3