summaryrefslogtreecommitdiffstats
path: root/src/base/abci
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2015-10-09 11:05:35 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2015-10-09 11:05:35 -0700
commitd25473b30722d1567345e2f10e22baa94272085c (patch)
tree00b383fef33e707a0caa811f71401096e62df30b /src/base/abci
parent1ca82c87b49312fdf0091a77db67f55fd53fba97 (diff)
downloadabc-d25473b30722d1567345e2f10e22baa94272085c.tar.gz
abc-d25473b30722d1567345e2f10e22baa94272085c.tar.bz2
abc-d25473b30722d1567345e2f10e22baa94272085c.zip
Experiments with functional matching.
Diffstat (limited to 'src/base/abci')
-rw-r--r--src/base/abci/abc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c
index c5300f69..18239440 100644
--- a/src/base/abci/abc.c
+++ b/src/base/abci/abc.c
@@ -5183,8 +5183,11 @@ int Abc_CommandMfs3( Abc_Frame_t * pAbc, int argc, char ** argv )
}
pPars->nTfiLevMax = atoi(argv[globalUtilOptind]);
globalUtilOptind++;
- if ( pPars->nTfiLevMax < 0 )
+ if ( pPars->nTfiLevMax < 1 )
+ {
+ Abc_Print( -1, "The number of TFI levels (switch \"-I\") should be at least 1.\n" );
goto usage;
+ }
break;
case 'F':
if ( globalUtilOptind >= argc )
@@ -5285,7 +5288,7 @@ usage:
Abc_Print( -2, "usage: mfs3 [-OIFXMLCN <num>] [-avwh]\n" );
Abc_Print( -2, "\t performs don't-care-based optimization of mapped networks\n" );
Abc_Print( -2, "\t-O <num> : the number of levels in the TFO cone (0 <= num) [default = %d]\n", pPars->nTfoLevMax );
- Abc_Print( -2, "\t-I <num> : the number of levels in the TFI cone (0 <= num) [default = %d]\n", pPars->nTfiLevMax );
+ Abc_Print( -2, "\t-I <num> : the number of levels in the TFI cone (1 <= num) [default = %d]\n", pPars->nTfiLevMax );
Abc_Print( -2, "\t-F <num> : the max number of fanouts to skip (1 <= num) [default = %d]\n", pPars->nFanoutMax );
Abc_Print( -2, "\t-X <num> : the max size of max fanout-free cone (MFFC) [default = %d]\n", pPars->nMffcMax );
Abc_Print( -2, "\t-M <num> : the max node count of windows to consider (0 = no limit) [default = %d]\n", pPars->nWinSizeMax );