mirror of https://github.com/YosysHQ/abc.git
Bug fix in supergate generation.
This commit is contained in:
parent
086321a232
commit
e7ecaee92d
|
|
@ -147,9 +147,12 @@ void Super_Precompute( Mio_Library_t * pLibGen, int nVarsMax, int nLevels, int n
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
vStr = Super_PrecomputeStr( pLibGen, nVarsMax, nLevels, nGatesMax, tDelayMax, tAreaMax, TimeLimit, fSkipInv, fVerbose );
|
vStr = Super_PrecomputeStr( pLibGen, nVarsMax, nLevels, nGatesMax, tDelayMax, tAreaMax, TimeLimit, fSkipInv, fVerbose );
|
||||||
|
if ( vStr )
|
||||||
|
{
|
||||||
fwrite( Vec_StrArray(vStr), 1, Vec_StrSize(vStr), pFile );
|
fwrite( Vec_StrArray(vStr), 1, Vec_StrSize(vStr), pFile );
|
||||||
fclose( pFile );
|
|
||||||
Vec_StrFree( vStr );
|
Vec_StrFree( vStr );
|
||||||
|
}
|
||||||
|
fclose( pFile );
|
||||||
// report the result of writing
|
// report the result of writing
|
||||||
if ( fVerbose )
|
if ( fVerbose )
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue