mirror of
https://github.com/YosysHQ/abc.git
synced 2026-09-06 09:07:01 +02:00
Updated miter status check to detect the case when a PO is equal to a true PI.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user