summaryrefslogtreecommitdiffstats
path: root/src/base
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2016-04-04 14:27:14 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2016-04-04 14:27:14 -0700
commitac7a799076e3f2184aae74a55062e02e330c78eb (patch)
treec5aa64892da517e11a01db81b8907f69821aff2e /src/base
parent720082753f06fbb0429def0f3e67ccc7848b89b2 (diff)
downloadabc-ac7a799076e3f2184aae74a55062e02e330c78eb.tar.gz
abc-ac7a799076e3f2184aae74a55062e02e330c78eb.tar.bz2
abc-ac7a799076e3f2184aae74a55062e02e330c78eb.zip
Improvements to delay-optimization in &satlut.
Diffstat (limited to 'src/base')
-rw-r--r--src/base/abci/abc.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c
index ff101930..80b5ee5f 100644
--- a/src/base/abci/abc.c
+++ b/src/base/abci/abc.c
@@ -34828,7 +34828,7 @@ usage:
int Abc_CommandAbc9SatLut( Abc_Frame_t * pAbc, int argc, char ** argv )
{
extern void Gia_ManLutSat( Gia_Man_t * p, int nNumber, int nImproves, int nBTLimit, int DelayMax, int nEdges, int fDelay, int fReverse, int fVeryVerbose, int fVerbose );
- int c, nNumber = 64, nImproves = 0, nBTLimit = 500, DelayMax = 0, nEdges = 0;
+ int c, nNumber = 32, nImproves = 0, nBTLimit = 100, DelayMax = 0, nEdges = 0;
int fDelay = 0, fReverse = 0, fVeryVerbose = 0, fVerbose = 0;
Extra_UtilGetoptReset();
while ( ( c = Extra_UtilGetopt( argc, argv, "NICDQdrwvh" ) ) != EOF )
@@ -34842,6 +34842,11 @@ int Abc_CommandAbc9SatLut( Abc_Frame_t * pAbc, int argc, char ** argv )
goto usage;
}
nNumber = atoi(argv[globalUtilOptind]);
+ if ( nNumber > 128 )
+ {
+ Abc_Print( -1, "The number of AIG nodes should not exceed 128.\n" );
+ goto usage;
+ }
globalUtilOptind++;
break;
case 'I':
@@ -34917,7 +34922,7 @@ int Abc_CommandAbc9SatLut( Abc_Frame_t * pAbc, int argc, char ** argv )
usage:
Abc_Print( -2, "usage: &satlut [-NICDQ num] [-drwvh]\n" );
Abc_Print( -2, "\t performs SAT-based remapping of the 4-LUT network\n" );
- Abc_Print( -2, "\t-N num : the limit on the number of AIG nodes in the window [default = %d]\n", nNumber );
+ Abc_Print( -2, "\t-N num : the limit on AIG nodes in the window (num <= 128) [default = %d]\n", nNumber );
Abc_Print( -2, "\t-I num : the limit on the number of improved windows [default = %d]\n", nImproves );
Abc_Print( -2, "\t-C num : the limit on the number of conflicts [default = %d]\n", nBTLimit );
Abc_Print( -2, "\t-D num : the user-specified required times at the outputs [default = %d]\n", DelayMax );