From f765e666ca4608f8dfe3ab2ecbacaf9966d25129 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sun, 2 Apr 2017 21:51:47 -0700 Subject: Experiments with don't-cares. --- src/base/abci/abc.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'src/base/abci') diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index 4b03cf87..8e2c449c 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -5676,41 +5676,41 @@ int Abc_CommandMfse( Abc_Frame_t * pAbc, int argc, char ** argv ) Acb_Par_t Pars, * pPars = &Pars; int c; Acb_ParSetDefault( pPars ); Extra_UtilGetoptReset(); - while ( ( c = Extra_UtilGetopt( argc, argv, "MDOFLCavwh" ) ) != EOF ) + while ( ( c = Extra_UtilGetopt( argc, argv, "IOWFLCavwh" ) ) != EOF ) { switch ( c ) { - case 'M': + case 'I': if ( globalUtilOptind >= argc ) { - Abc_Print( -1, "Command line switch \"-M\" should be followed by an integer.\n" ); + Abc_Print( -1, "Command line switch \"-I\" should be followed by an integer.\n" ); goto usage; } - pPars->nTabooMax = atoi(argv[globalUtilOptind]); + pPars->nTfiLevMax = atoi(argv[globalUtilOptind]); globalUtilOptind++; - if ( pPars->nTabooMax < 0 ) + if ( pPars->nTfiLevMax < 0 ) goto usage; break; - case 'D': + case 'O': if ( globalUtilOptind >= argc ) { - Abc_Print( -1, "Command line switch \"-D\" should be followed by an integer.\n" ); + Abc_Print( -1, "Command line switch \"-O\" should be followed by an integer.\n" ); goto usage; } - pPars->nDivMax = atoi(argv[globalUtilOptind]); + pPars->nTfoLevMax = atoi(argv[globalUtilOptind]); globalUtilOptind++; - if ( pPars->nDivMax < 0 ) + if ( pPars->nTfoLevMax < 0 ) goto usage; break; - case 'O': + case 'W': if ( globalUtilOptind >= argc ) { - Abc_Print( -1, "Command line switch \"-O\" should be followed by an integer.\n" ); + Abc_Print( -1, "Command line switch \"-W\" should be followed by an integer.\n" ); goto usage; } - pPars->nTfoLevMax = atoi(argv[globalUtilOptind]); + pPars->nWinNodeMax = atoi(argv[globalUtilOptind]); globalUtilOptind++; - if ( pPars->nTfoLevMax < 0 ) + if ( pPars->nWinNodeMax < 0 ) goto usage; break; case 'F': @@ -5788,11 +5788,11 @@ int Abc_CommandMfse( Abc_Frame_t * pAbc, int argc, char ** argv ) return 0; usage: - Abc_Print( -2, "usage: mfse [-MDOFLC ] [-avwh]\n" ); + Abc_Print( -2, "usage: mfse [-IOWFLC ] [-avwh]\n" ); Abc_Print( -2, "\t performs don't-care-based optimization of logic networks\n" ); - Abc_Print( -2, "\t-M : the max number of fanin nodes to skip (num >= 1) [default = %d]\n", pPars->nTabooMax ); - Abc_Print( -2, "\t-D : the max number of divisors [default = %d]\n", pPars->nDivMax ); + Abc_Print( -2, "\t-I : the number of levels in the TFI cone (2 <= num) [default = %d]\n", pPars->nTfiLevMax ); Abc_Print( -2, "\t-O : the number of levels in the TFO cone (0 <= num) [default = %d]\n", pPars->nTfoLevMax ); + Abc_Print( -2, "\t-W : the max number of nodes in the window (1 <= num) [default = %d]\n", pPars->nWinNodeMax ); Abc_Print( -2, "\t-F : the max number of fanouts to skip (1 <= num) [default = %d]\n", pPars->nFanoutMax ); Abc_Print( -2, "\t-L : the max increase in node level after resynthesis (0 <= num) [default = %d]\n", pPars->nGrowthLevel ); Abc_Print( -2, "\t-C : the max number of conflicts in one SAT run (0 = no limit) [default = %d]\n", pPars->nBTLimit ); -- cgit v1.2.3