diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2014-06-12 11:28:47 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2014-06-12 11:28:47 -0700 |
commit | 865f6fd43fb55f4873275c2ceeae79d32f4f4d9b (patch) | |
tree | b9961e7c351283e445a255663bba3f7e03e3e118 /src | |
parent | 082e5dc1b0d42f575c88dfc7550394a715222b53 (diff) | |
download | abc-865f6fd43fb55f4873275c2ceeae79d32f4f4d9b.tar.gz abc-865f6fd43fb55f4873275c2ceeae79d32f4f4d9b.tar.bz2 abc-865f6fd43fb55f4873275c2ceeae79d32f4f4d9b.zip |
Enabling switching activity.
Diffstat (limited to 'src')
-rw-r--r-- | src/aig/gia/gia.h | 1 | ||||
-rw-r--r-- | src/base/abci/abc.c | 8 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/aig/gia/gia.h b/src/aig/gia/gia.h index 5a840e20..011f4f91 100644 --- a/src/aig/gia/gia.h +++ b/src/aig/gia/gia.h @@ -255,6 +255,7 @@ struct Jf_Par_t_ int DelayTarget; int fAreaOnly; int fOptEdge; + int fPower; int fCoarsen; int fCutMin; int fFuncDsd; diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index e4f6319d..23873106 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -30836,7 +30836,7 @@ int Abc_CommandAbc9Lf( Abc_Frame_t * pAbc, int argc, char ** argv ) Gia_Man_t * pNew; int c; Lf_ManSetDefaultPars( pPars ); Extra_UtilGetoptReset(); - while ( ( c = Extra_UtilGetopt( argc, argv, "KCFRDWaekmdcgtsvwh" ) ) != EOF ) + while ( ( c = Extra_UtilGetopt( argc, argv, "KCFRDWaekmdcgtspvwh" ) ) != EOF ) { switch ( c ) { @@ -30939,6 +30939,9 @@ int Abc_CommandAbc9Lf( Abc_Frame_t * pAbc, int argc, char ** argv ) case 's': pPars->fCutSimple ^= 1; break; + case 'p': + pPars->fPower ^= 1; + break; case 'v': pPars->fVerbose ^= 1; break; @@ -30971,7 +30974,7 @@ usage: sprintf(Buffer, "best possible" ); else sprintf(Buffer, "%d", pPars->DelayTarget ); - Abc_Print( -2, "usage: &lf [-KCFRDW num] [-akmdcgtsvwh]\n" ); + Abc_Print( -2, "usage: &lf [-KCFRDW num] [-akmdcgtspvwh]\n" ); Abc_Print( -2, "\t performs technology mapping of the network\n" ); Abc_Print( -2, "\t-K num : LUT size for the mapping (2 <= K <= %d) [default = %d]\n", pPars->nLutSizeMax, pPars->nLutSize ); Abc_Print( -2, "\t-C num : the max number of priority cuts (1 <= C <= %d) [default = %d]\n", pPars->nCutNumMax, pPars->nCutNum ); @@ -30988,6 +30991,7 @@ usage: Abc_Print( -2, "\t-g : toggles generating AIG without mapping [default = %s]\n", pPars->fPureAig? "yes": "no" ); Abc_Print( -2, "\t-t : toggles cut computation using hash table [default = %s]\n", pPars->fCutHashing? "yes": "no" ); Abc_Print( -2, "\t-s : toggles cut computation using a simple method [default = %s]\n", pPars->fCutSimple? "yes": "no" ); + Abc_Print( -2, "\t-p : uses power-aware cut selection heuristics [default = %s]\n", pPars->fPower? "yes": "no" ); Abc_Print( -2, "\t-v : toggles verbose output [default = %s]\n", pPars->fVerbose? "yes": "no" ); Abc_Print( -2, "\t-w : toggles very verbose output [default = %s]\n", pPars->fVeryVerbose? "yes": "no" ); Abc_Print( -2, "\t-h : prints the command usage\n"); |