diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2013-07-13 12:20:53 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2013-07-13 12:20:53 -0700 |
commit | 118e40b809712c88fe7ddc530a8b072c1d2649d3 (patch) | |
tree | 9ce56adf29a84bd464dfe97ff783127bab962240 /src/base/abci | |
parent | 167340527b4ecaae20bb6340b5432f15789c5322 (diff) | |
download | abc-118e40b809712c88fe7ddc530a8b072c1d2649d3.tar.gz abc-118e40b809712c88fe7ddc530a8b072c1d2649d3.tar.bz2 abc-118e40b809712c88fe7ddc530a8b072c1d2649d3.zip |
New technology mapper.
Diffstat (limited to 'src/base/abci')
-rw-r--r-- | src/base/abci/abc.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index b2aeac46..3ccd88e7 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -29522,7 +29522,7 @@ int Abc_CommandAbc9If2( Abc_Frame_t * pAbc, int argc, char ** argv ) // set defaults Mpm_ManSetParsDefault( pPars ); Extra_UtilGetoptReset(); - while ( ( c = Extra_UtilGetopt( argc, argv, "KDmzvh" ) ) != EOF ) + while ( ( c = Extra_UtilGetopt( argc, argv, "KDtmzvh" ) ) != EOF ) { switch ( c ) { @@ -29553,6 +29553,9 @@ int Abc_CommandAbc9If2( Abc_Frame_t * pAbc, int argc, char ** argv ) if ( pPars->DelayTarget <= 0.0 ) goto usage; break; + case 't': + pPars->fUseGates ^= 1; + break; case 'm': pPars->fCutMin ^= 1; break; @@ -29587,10 +29590,11 @@ usage: sprintf(Buffer, "best possible" ); else sprintf(Buffer, "%d", pPars->DelayTarget ); - Abc_Print( -2, "usage: &if2 [-KD num] [-mzvh]\n" ); + Abc_Print( -2, "usage: &if2 [-KD num] [-tmzvh]\n" ); Abc_Print( -2, "\t performs technology mapping of the network\n" ); Abc_Print( -2, "\t-K num : sets the LUT size for the mapping [default = %d]\n", nLutSize ); Abc_Print( -2, "\t-D num : sets the delay constraint for the mapping [default = %s]\n", Buffer ); + Abc_Print( -2, "\t-t : enables using AND/XOR/MUX nodes instead of simple AIG [default = %s]\n", pPars->fUseGates? "yes": "no" ); Abc_Print( -2, "\t-m : enables cut minimization by removing vacuous variables [default = %s]\n", pPars->fCutMin? "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-v : toggles verbose output [default = %s]\n", pPars->fVerbose? "yes": "no" ); |