diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2014-12-21 01:04:39 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2014-12-21 01:04:39 -0800 |
commit | 6733abd72ef24ebb8e3732a2acd61195510e8fa7 (patch) | |
tree | e0f90f5b8ef7875f555f686a8db7eb200dd91013 /src/base | |
parent | 55f0a2805cd03ded51e882e9f29255dc1654318f (diff) | |
download | abc-6733abd72ef24ebb8e3732a2acd61195510e8fa7.tar.gz abc-6733abd72ef24ebb8e3732a2acd61195510e8fa7.tar.bz2 abc-6733abd72ef24ebb8e3732a2acd61195510e8fa7.zip |
Exprimental features in tech-mapping.
Diffstat (limited to 'src/base')
-rw-r--r-- | src/base/abci/abc.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index 53a2541d..b9729ec6 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -31706,7 +31706,7 @@ int Abc_CommandAbc9If( Abc_Frame_t * pAbc, int argc, char ** argv ) } pPars->pLutLib = (If_LibLut_t *)pAbc->pLibLut; Extra_UtilGetoptReset(); - while ( ( c = Extra_UtilGetopt( argc, argv, "KCFAGRDEWSTqalepmrsdbgxyojfuikztncvh" ) ) != EOF ) + while ( ( c = Extra_UtilGetopt( argc, argv, "KCFAGRDEWSTqalepmrsdbgxyofuijkztncvh" ) ) != EOF ) { switch ( c ) { @@ -31878,9 +31878,6 @@ int Abc_CommandAbc9If( Abc_Frame_t * pAbc, int argc, char ** argv ) case 'o': pPars->fUseBuffs ^= 1; break; - case 'j': - pPars->fEnableCheck07 ^= 1; - break; case 'f': pPars->fEnableCheck75 ^= 1; break; @@ -31890,6 +31887,12 @@ int Abc_CommandAbc9If( Abc_Frame_t * pAbc, int argc, char ** argv ) case 'i': pPars->fUseCofVars ^= 1; break; +// case 'j': +// pPars->fEnableCheck07 ^= 1; +// break; + case 'j': + pPars->fUseAndVars ^= 1; + break; case 'k': pPars->fUseDsdTune ^= 1; break; @@ -31998,6 +32001,8 @@ int Abc_CommandAbc9If( Abc_Frame_t * pAbc, int argc, char ** argv ) } pPars->fCutMin = 1; } + if ( pPars->fUseAndVars ) + pPars->fCutMin = 1; if ( pPars->fUseDsdTune ) { If_DsdMan_t * pDsdMan = (If_DsdMan_t *)Abc_FrameReadManDsd(); @@ -32170,7 +32175,7 @@ usage: sprintf(LutSize, "library" ); else sprintf(LutSize, "%d", pPars->nLutSize ); - Abc_Print( -2, "usage: &if [-KCFAGRT num] [-DEW float] [-S str] [-qarlepmsdbgxyojfuikztncvh]\n" ); + Abc_Print( -2, "usage: &if [-KCFAGRT num] [-DEW float] [-S str] [-qarlepmsdbgxyofuijkztncvh]\n" ); Abc_Print( -2, "\t performs FPGA technology mapping of the network\n" ); Abc_Print( -2, "\t-K num : the number of LUT inputs (2 < num < %d) [default = %s]\n", IF_MAX_LUTSIZE+1, LutSize ); Abc_Print( -2, "\t-C num : the max number of priority cuts (0 < num < 2^12) [default = %d]\n", pPars->nCutsMax ); @@ -32197,10 +32202,11 @@ usage: Abc_Print( -2, "\t-x : toggles delay optimization by DSD balancing [default = %s]\n", pPars->fDsdBalance? "yes": "no" ); Abc_Print( -2, "\t-y : toggles delay optimization with recorded library [default = %s]\n", pPars->fUserRecLib? "yes": "no" ); Abc_Print( -2, "\t-o : toggles using buffers to decouple combinational outputs [default = %s]\n", pPars->fUseBuffs? "yes": "no" ); - Abc_Print( -2, "\t-j : toggles enabling additional check [default = %s]\n", pPars->fEnableCheck07? "yes": "no" ); Abc_Print( -2, "\t-f : toggles enabling additional check [default = %s]\n", pPars->fEnableCheck75? "yes": "no" ); Abc_Print( -2, "\t-u : toggles enabling additional check [default = %s]\n", pPars->fEnableCheck75u? "yes": "no" ); Abc_Print( -2, "\t-i : toggles using cofactoring variables [default = %s]\n", pPars->fUseCofVars? "yes": "no" ); +// Abc_Print( -2, "\t-j : toggles enabling additional check [default = %s]\n", pPars->fEnableCheck07? "yes": "no" ); + Abc_Print( -2, "\t-j : toggles using AND bi-decomposition [default = %s]\n", pPars->fUseAndVars? "yes": "no" ); Abc_Print( -2, "\t-k : toggles matching based on precomputed DSD manager [default = %s]\n", pPars->fUseDsdTune? "yes": "no" ); Abc_Print( -2, "\t-z : toggles deriving LUTs when mapping into LUT structures [default = %s]\n", pPars->fDeriveLuts? "yes": "no" ); Abc_Print( -2, "\t-t : toggles optimizing average rather than maximum level [default = %s]\n", pPars->fDoAverage? "yes": "no" ); |