mirror of https://github.com/YosysHQ/abc.git
Updated miter status check to detect the case when a PO is equal to a true PI.
This commit is contained in:
parent
7884dd01bc
commit
ff4c674dd7
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue