Commit 152aaedc by Alan Mishchenko

Prepared &gla to try abstracting and proving concurrently.

parent 080c3255
...@@ -1799,7 +1799,7 @@ int Ga2_ManPerform( Gia_Man_t * pAig, Gia_ParVta_t * pPars ) ...@@ -1799,7 +1799,7 @@ int Ga2_ManPerform( Gia_Man_t * pAig, Gia_ParVta_t * pPars )
} }
// if abstraction grew more than a certain percentage, force a restart // if abstraction grew more than a certain percentage, force a restart
if ( pPars->nRatioMax == 0 ) if ( pPars->nRatioMax == 0 )
break; continue;
if ( c > 0 && (f > 20 || Vec_IntSize(p->vAbs) > 100) && Vec_IntSize(p->vAbs) - nAbsOld >= nAbsOld * pPars->nRatioMax / 100 ) if ( c > 0 && (f > 20 || Vec_IntSize(p->vAbs) > 100) && Vec_IntSize(p->vAbs) - nAbsOld >= nAbsOld * pPars->nRatioMax / 100 )
{ {
if ( p->pPars->fVerbose ) if ( p->pPars->fVerbose )
......
...@@ -378,7 +378,7 @@ int Gia_ManNewRefine( Gia_Man_t * p, Abc_Cex_t * pCex, int iFrameStart, int iFra ...@@ -378,7 +378,7 @@ int Gia_ManNewRefine( Gia_Man_t * p, Abc_Cex_t * pCex, int iFrameStart, int iFra
Gia_Man_t * pAbs, * pNew; Gia_Man_t * pAbs, * pNew;
Vec_Int_t * vFlops, * vInit; Vec_Int_t * vFlops, * vInit;
Vec_Int_t * vCopy; Vec_Int_t * vCopy;
clock_t clk = clock(); // clock_t clk = clock();
int RetValue; int RetValue;
ABC_FREE( p->pCexSeq ); ABC_FREE( p->pCexSeq );
if ( p->vGateClasses == NULL ) if ( p->vGateClasses == NULL )
......
...@@ -21,9 +21,13 @@ ...@@ -21,9 +21,13 @@
#include "aig/ioa/ioa.h" #include "aig/ioa/ioa.h"
#include "proof/pdr/pdr.h" #include "proof/pdr/pdr.h"
// comment this out to disable pthreads // uncomment this line to enable pthreads
//#define ABC_USE_PTHREADS //#define ABC_USE_PTHREADS
// to compile on Linux, modify Makefile as follows:
// add -pthread to OPTFLAGS
// add -lpthread to LIBS
#ifdef ABC_USE_PTHREADS #ifdef ABC_USE_PTHREADS
#ifdef WIN32 #ifdef WIN32
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment