diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-09-14 10:27:48 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-09-14 10:27:48 -0700 |
commit | 19c28cae94cd2fe94d7cc7d9542d0fbacd9be95b (patch) | |
tree | e9d1e66de035c4c55c53d073a8fa200fb9327254 /src/aig/gia/giaAbsPth.c | |
parent | 9b15f71f2f82dfe5a222fceed135640be8cc5dfb (diff) | |
download | abc-19c28cae94cd2fe94d7cc7d9542d0fbacd9be95b.tar.gz abc-19c28cae94cd2fe94d7cc7d9542d0fbacd9be95b.tar.bz2 abc-19c28cae94cd2fe94d7cc7d9542d0fbacd9be95b.zip |
Prepared &gla to try abstracting and proving concurrently.
Diffstat (limited to 'src/aig/gia/giaAbsPth.c')
-rw-r--r-- | src/aig/gia/giaAbsPth.c | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/src/aig/gia/giaAbsPth.c b/src/aig/gia/giaAbsPth.c new file mode 100644 index 00000000..31f63674 --- /dev/null +++ b/src/aig/gia/giaAbsPth.c @@ -0,0 +1,88 @@ +/**CFile**************************************************************** + + FileName [giaAbsPth.c] + + SystemName [ABC: Logic synthesis and verification system.] + + PackageName [Scalable AIG package.] + + Synopsis [Interface to pthreads.] + + Author [Alan Mishchenko] + + Affiliation [UC Berkeley] + + Date [Ver. 1.0. Started - June 20, 2005.] + + Revision [$Id: giaAbsPth.c,v 1.00 2005/06/20 00:00:00 alanmi Exp $] + +***********************************************************************/ + +#include "gia.h" + +// comment this out to disable pthreads +//#define ABC_USE_PTHREADS + +#ifdef ABC_USE_PTHREADS + +#ifdef WIN32 +#include "../lib/pthread.h" +#else +#include <pthread.h> +#include <unistd.h> +#endif + +#endif + +ABC_NAMESPACE_IMPL_START + +//////////////////////////////////////////////////////////////////////// +/// DECLARATIONS /// +//////////////////////////////////////////////////////////////////////// + +//////////////////////////////////////////////////////////////////////// +/// FUNCTION DEFINITIONS /// +//////////////////////////////////////////////////////////////////////// + +/**Function************************************************************* + + Synopsis [Start and stop proving abstracted model.] + + Description [] + + SideEffects [] + + SeeAlso [] + +***********************************************************************/ +#ifndef ABC_USE_PTHREADS + +void Gia_Ga2ProveAbsracted( char * pFileName, int fVerbose ) {} +void Gia_Ga2ProveCancel( int fVerbose ) {} +int Gia_Ga2ProveCheck( int fVerbose ) { return 0; } + +#else // pthreads are used + +void Gia_Ga2ProveAbsracted( char * pFileName, int fVerbose ) +{ + Abc_Print( 1, "Trying to prove abstraction.\n" ); +} +void Gia_Ga2ProveCancel( int fVerbose ) +{ + Abc_Print( 1, "Canceling attempt to prove abstraction.\n" ); +} +int Gia_Ga2ProveCheck( int fVerbose ) +{ + return 0; +} + +#endif + + +//////////////////////////////////////////////////////////////////////// +/// END OF FILE /// +//////////////////////////////////////////////////////////////////////// + + +ABC_NAMESPACE_IMPL_END + |