summaryrefslogtreecommitdiffstats
path: root/src/base/abci
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2016-04-27 18:33:23 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2016-04-27 18:33:23 -0700
commit53e86477193186a3b2625f544cc4aad876a832cc (patch)
treebb8e5157ed4d8a133b66450a3b7a30a546853324 /src/base/abci
parente8f961671c8174971365c4d49e4aa076ce8a7545 (diff)
downloadabc-53e86477193186a3b2625f544cc4aad876a832cc.tar.gz
abc-53e86477193186a3b2625f544cc4aad876a832cc.tar.bz2
abc-53e86477193186a3b2625f544cc4aad876a832cc.zip
Adding option to rehash AIG after mapping.
Diffstat (limited to 'src/base/abci')
-rw-r--r--src/base/abci/abc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c
index 632edb78..ab220ab3 100644
--- a/src/base/abci/abc.c
+++ b/src/base/abci/abc.c
@@ -32988,6 +32988,8 @@ int Abc_CommandAbc9If( Abc_Frame_t * pAbc, int argc, char ** argv )
pPars->fVerbose ^= 1;
break;
case 'h':
+ pPars->fHashMapping ^= 1;
+ break;
default:
goto usage;
}
@@ -33258,7 +33260,7 @@ usage:
sprintf(LutSize, "library" );
else
sprintf(LutSize, "%d", pPars->nLutSize );
- Abc_Print( -2, "usage: &if [-KCFAGRTXY num] [-DEW float] [-S str] [-qarlepmsdbgxyofuijkztncvh]\n" );
+ Abc_Print( -2, "usage: &if [-KCFAGRTXY num] [-DEW float] [-S str] [-qarlepmsdbgxyofuijkztnchv]\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 );
@@ -33297,8 +33299,8 @@ usage:
Abc_Print( -2, "\t-t : toggles optimizing average rather than maximum level [default = %s]\n", pPars->fDoAverage? "yes": "no" );
Abc_Print( -2, "\t-n : toggles computing DSDs of the cut functions [default = %s]\n", pPars->fUseDsd? "yes": "no" );
Abc_Print( -2, "\t-c : toggles computing truth tables in a new way [default = %s]\n", pPars->fUseTtPerm? "yes": "no" );
+ Abc_Print( -2, "\t-h : toggles rehashing AIG after mapping [default = %s]\n", pPars->fHashMapping? "yes": "no" );
Abc_Print( -2, "\t-v : toggles verbose output [default = %s]\n", pPars->fVerbose? "yes": "no" );
- Abc_Print( -2, "\t-h : prints the command usage\n");
return 1;
}