diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-01-27 00:57:42 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-01-27 00:57:42 -0800 |
commit | 7a87f20c18f042fe4e8679d08227eb8f5ca34b84 (patch) | |
tree | 54f7cdc94d5b9972219653d51b38bc5495947d07 /src | |
parent | ce0e8caf79b596423272aa5d9d4aeb931aa88259 (diff) | |
download | abc-7a87f20c18f042fe4e8679d08227eb8f5ca34b84.tar.gz abc-7a87f20c18f042fe4e8679d08227eb8f5ca34b84.tar.bz2 abc-7a87f20c18f042fe4e8679d08227eb8f5ca34b84.zip |
Variable timeframe abstraction.
Diffstat (limited to 'src')
-rw-r--r-- | src/aig/gia/giaAbsVta.c | 2 | ||||
-rw-r--r-- | src/base/abci/abc.c | 16 |
2 files changed, 15 insertions, 3 deletions
diff --git a/src/aig/gia/giaAbsVta.c b/src/aig/gia/giaAbsVta.c index cd8e14b9..cd499a75 100644 --- a/src/aig/gia/giaAbsVta.c +++ b/src/aig/gia/giaAbsVta.c @@ -151,7 +151,7 @@ void Gia_VtaSetDefaultParams( Gia_ParVta_t * p ) p->nConfLimit = 0; // conflict limit p->nTimeOut = 60; // timeout in seconds p->fUseTermVars = 0; // use terminal variables - p->fVerbose = 1; // verbose flag + p->fVerbose = 0; // verbose flag p->iFrame = -1; // the number of frames covered } diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index bffff493..605e678e 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -26408,7 +26408,7 @@ int Abc_CommandAbc9Vta( Abc_Frame_t * pAbc, int argc, char ** argv ) int c; Gia_VtaSetDefaultParams( pPars ); Extra_UtilGetoptReset(); - while ( ( c = Extra_UtilGetopt( argc, argv, "SFCTtvh" ) ) != EOF ) + while ( ( c = Extra_UtilGetopt( argc, argv, "SFPCTtvh" ) ) != EOF ) { switch ( c ) { @@ -26434,6 +26434,17 @@ int Abc_CommandAbc9Vta( Abc_Frame_t * pAbc, int argc, char ** argv ) if ( pPars->nFramesMax < 0 ) goto usage; break; + case 'P': + if ( globalUtilOptind >= argc ) + { + Abc_Print( -1, "Command line switch \"-P\" should be followed by an integer.\n" ); + goto usage; + } + pPars->nFramesOver = atoi(argv[globalUtilOptind]); + globalUtilOptind++; + if ( pPars->nFramesOver < 0 ) + goto usage; + break; case 'C': if ( globalUtilOptind >= argc ) { @@ -26499,10 +26510,11 @@ int Abc_CommandAbc9Vta( Abc_Frame_t * pAbc, int argc, char ** argv ) return 0; usage: - Abc_Print( -2, "usage: &vta [-SFCT num] [-tvh]\n" ); + Abc_Print( -2, "usage: &vta [-SFPCT num] [-tvh]\n" ); Abc_Print( -2, "\t refines abstracted object map with proof-based abstraction\n" ); Abc_Print( -2, "\t-S num : the starting time frame (0=unused) [default = %d]\n", pPars->nFramesStart ); Abc_Print( -2, "\t-F num : the max number of timeframes to unroll [default = %d]\n", pPars->nFramesMax ); + Abc_Print( -2, "\t-P num : the number of previous frames for UNSAT core [default = %d]\n", pPars->nFramesOver ); Abc_Print( -2, "\t-C num : the max number of SAT solver conflicts (0=unused) [default = %d]\n", pPars->nConfLimit ); Abc_Print( -2, "\t-T num : an approximate timeout, in seconds [default = %d]\n", pPars->nTimeOut ); Abc_Print( -2, "\t-t : toggle using terminal variables [default = %s]\n", pPars->fUseTermVars? "yes": "no" ); |