mirror of https://github.com/YosysHQ/abc.git
Fixing interpolation to run without resource limits by default.
This commit is contained in:
parent
bb68d0b7f6
commit
950777ed50
|
|
@ -1098,8 +1098,8 @@ void Abc_NtkRecStart2( Gia_Man_t * pGia, int nVars, int nCuts, int fTrim )
|
||||||
p->vTtMem = Vec_MemAlloc( p->nWords/2, 12 ); // 32 KB/page for 6-var functions
|
p->vTtMem = Vec_MemAlloc( p->nWords/2, 12 ); // 32 KB/page for 6-var functions
|
||||||
|
|
||||||
// create hash table
|
// create hash table
|
||||||
//p->nBins = 50011;
|
p->nBins = 20011;
|
||||||
p->nBins =500011;
|
//p->nBins =500011;
|
||||||
p->pBins = ABC_ALLOC( int, p->nBins );
|
p->pBins = ABC_ALLOC( int, p->nBins );
|
||||||
memset( p->pBins, -1, sizeof(int) * p->nBins );
|
memset( p->pBins, -1, sizeof(int) * p->nBins );
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -194,7 +194,7 @@ p->timeEqu += clock() - clk;
|
||||||
// iterate the interpolation procedure
|
// iterate the interpolation procedure
|
||||||
for ( i = 0; ; i++ )
|
for ( i = 0; ; i++ )
|
||||||
{
|
{
|
||||||
if ( p->nFrames + i >= pPars->nFramesMax )
|
if ( pPars->nFramesMax && p->nFrames + i >= pPars->nFramesMax )
|
||||||
{
|
{
|
||||||
if ( pPars->fVerbose )
|
if ( pPars->fVerbose )
|
||||||
printf( "Reached limit (%d) on the number of timeframes.\n", pPars->nFramesMax );
|
printf( "Reached limit (%d) on the number of timeframes.\n", pPars->nFramesMax );
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue