diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-07-04 18:23:33 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-07-04 18:23:33 -0700 |
commit | ce6e6551c376b06e6504dec6cd6045c7454e24e9 (patch) | |
tree | 45be8d3784e88fd8daad7fb1b1ddea144e246693 /src/base | |
parent | 9ebcd9eca983890738bc76f84f4e276a9cb693d7 (diff) | |
download | abc-ce6e6551c376b06e6504dec6cd6045c7454e24e9.tar.gz abc-ce6e6551c376b06e6504dec6cd6045c7454e24e9.tar.bz2 abc-ce6e6551c376b06e6504dec6cd6045c7454e24e9.zip |
Other improvements to &vta and &gla.
Diffstat (limited to 'src/base')
-rw-r--r-- | src/base/abci/abc.c | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index 9167c54c..d1c1e5a9 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -27382,12 +27382,12 @@ usage: int Abc_CommandAbc9Gla( Abc_Frame_t * pAbc, int argc, char ** argv ) { Gia_ParVta_t Pars, * pPars = &Pars; - int c; + int c, fStartVta = 0; Gia_VtaSetDefaultParams( pPars ); pPars->nFramesStart = 30; pPars->nLearntMax = 100000; Extra_UtilGetoptReset(); - while ( ( c = Extra_UtilGetopt( argc, argv, "FSPCLTRAtrdvh" ) ) != EOF ) + while ( ( c = Extra_UtilGetopt( argc, argv, "FSPCLTRAtrfdavh" ) ) != EOF ) { switch ( c ) { @@ -27483,9 +27483,15 @@ int Abc_CommandAbc9Gla( Abc_Frame_t * pAbc, int argc, char ** argv ) case 'r': pPars->fUseRollback ^= 1; break; + case 'f': + pPars->fPropFanout ^= 1; + break; case 'd': pPars->fDumpVabs ^= 1; break; + case 'a': + fStartVta ^= 1; + break; case 'v': pPars->fVerbose ^= 1; break; @@ -27525,14 +27531,14 @@ int Abc_CommandAbc9Gla( Abc_Frame_t * pAbc, int argc, char ** argv ) Abc_Print( 1, "The starting frame should be 1 or larger.\n" ); return 0; } - pAbc->Status = Gia_GlaPerform( pAbc->pGia, pPars ); + pAbc->Status = Gia_GlaPerform( pAbc->pGia, pPars, fStartVta ); pAbc->nFrames = pPars->iFrame; Abc_FrameReplaceCex( pAbc, &pAbc->pGia->pCexSeq ); return 0; usage: - Abc_Print( -2, "usage: &gla [-FSCLTR num] [-A file] [-dvh]\n" ); - Abc_Print( -2, "\t refines abstracted object map with proof-based abstraction\n" ); + Abc_Print( -2, "usage: &gla [-FSCLTR num] [-A file] [-fdavh]\n" ); + Abc_Print( -2, "\t performs gate-level abstraction of a sequential miter\n" ); Abc_Print( -2, "\t-F num : the max number of timeframes to unroll [default = %d]\n", pPars->nFramesMax ); Abc_Print( -2, "\t-S num : the starting time frame (0=unused) [default = %d]\n", pPars->nFramesStart ); // Abc_Print( -2, "\t-P num : the number of previous frames for UNSAT core [default = %d]\n", pPars->nFramesPast ); @@ -27543,7 +27549,9 @@ usage: Abc_Print( -2, "\t-A file : file name for dumping abstrated model [default = \"glabs.aig\"]\n" ); // Abc_Print( -2, "\t-t : toggle using terminal variables [default = %s]\n", pPars->fUseTermVars? "yes": "no" ); // Abc_Print( -2, "\t-r : toggle using rollback after the starting frames [default = %s]\n", pPars->fUseRollback? "yes": "no" ); + Abc_Print( -2, "\t-f : toggle propagating fanout implications [default = %s]\n", pPars->fPropFanout? "yes": "no" ); Abc_Print( -2, "\t-d : toggle dumping abstracted model into a file [default = %s]\n", pPars->fDumpVabs? "yes": "no" ); + Abc_Print( -2, "\t-a : toggle using VTA to kick start GLA [default = %s]\n", fStartVta? "yes": "no" ); Abc_Print( -2, "\t-v : toggle printing verbose information [default = %s]\n", pPars->fVerbose? "yes": "no" ); Abc_Print( -2, "\t-h : print the command usage\n"); return 1; |