mirror of https://github.com/YosysHQ/abc.git
Bug fix in GLA PBA.
This commit is contained in:
parent
21de666005
commit
c7a7444211
|
|
@ -1685,6 +1685,7 @@ Gia_Man_t * Gia_ManDupAbsGates( Gia_Man_t * p, Vec_Int_t * vGateClasses )
|
|||
pCopy = Gia_ObjCopy( pTemp, pObj );
|
||||
if ( !~pCopy->Value )
|
||||
{
|
||||
Vec_IntWriteEntry( vGateClasses, i, 0 );
|
||||
pObj->Value = ~0;
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -280,6 +280,8 @@ Aig_Man_t * Aig_Gla1DeriveAbs( Aig_Gla1Man_t * p )
|
|||
Aig_ManSetRegNum( pNew, Vec_IntSize(p->vFlops) );
|
||||
// clean up
|
||||
RetValue = Aig_ManCleanup( pNew );
|
||||
if ( RetValue > 0 )
|
||||
printf( "Aig_Gla1DeriveAbs(): Internal error! Object count mismatch.\n" );
|
||||
assert( RetValue == 0 );
|
||||
return pNew;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue