Commit ff4c674d by Alan Mishchenko

Updated miter status check to detect the case when a PO is equal to a true PI.

parent 7884dd01
...@@ -81,7 +81,7 @@ int Fra_FraigMiterStatus( Aig_Man_t * p ) ...@@ -81,7 +81,7 @@ int Fra_FraigMiterStatus( Aig_Man_t * p )
continue; continue;
} }
// check if the output is a primary input // 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++; CountNonConst0++;
continue; continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment