mirror of https://github.com/YosysHQ/abc.git
Minor bug fix in 'testcex' (made it consider outputs in direct order).
This commit is contained in:
parent
34811655f2
commit
88251e97e3
|
|
@ -1211,7 +1211,8 @@ int Gia_ManFindFailedPoCex( Gia_Man_t * pAig, Abc_Cex_t * p, int nOutputs )
|
|||
assert( iBit == p->nBits );
|
||||
// figure out the number of failed output
|
||||
RetValue = -1;
|
||||
for ( i = Gia_ManPoNum(pAig) - 1; i >= nOutputs; i-- )
|
||||
// for ( i = Gia_ManPoNum(pAig) - 1; i >= nOutputs; i-- )
|
||||
for ( i = nOutputs; i < Gia_ManPoNum(pAig); i++ )
|
||||
{
|
||||
if ( Gia_ManPo(pAig, i)->fMark0 )
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue