summaryrefslogtreecommitdiffstats
path: root/src/base
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2015-02-08 22:00:55 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2015-02-08 22:00:55 -0800
commit0f9001c956749682e002cb229264dbd6c4882fc2 (patch)
tree2b200b4ac6241ad6ff70393a5d4ddb5fc51fe51f /src/base
parentdb6afbea29b6f187eafb113652c18bfb92e2c940 (diff)
downloadabc-0f9001c956749682e002cb229264dbd6c4882fc2.tar.gz
abc-0f9001c956749682e002cb229264dbd6c4882fc2.tar.bz2
abc-0f9001c956749682e002cb229264dbd6c4882fc2.zip
Adding switch '-p' to control pin-permutation in &nf.
Diffstat (limited to 'src/base')
-rw-r--r--src/base/abci/abc.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c
index 194c0592..7983c623 100644
--- a/src/base/abci/abc.c
+++ b/src/base/abci/abc.c
@@ -33233,7 +33233,7 @@ int Abc_CommandAbc9Nf( Abc_Frame_t * pAbc, int argc, char ** argv )
Gia_Man_t * pNew; int c;
Nf_ManSetDefaultPars( pPars );
Extra_UtilGetoptReset();
- while ( ( c = Extra_UtilGetopt( argc, argv, "KCFARLEDWakvwh" ) ) != EOF )
+ while ( ( c = Extra_UtilGetopt( argc, argv, "KCFARLEDWapkvwh" ) ) != EOF )
{
switch ( c )
{
@@ -33345,6 +33345,9 @@ int Abc_CommandAbc9Nf( Abc_Frame_t * pAbc, int argc, char ** argv )
case 'a':
pPars->fAreaOnly ^= 1;
break;
+ case 'p':
+ pPars->fPinPerm ^= 1;
+ break;
case 'k':
pPars->fCoarsen ^= 1;
break;
@@ -33386,7 +33389,7 @@ usage:
sprintf(Buffer, "best possible" );
else
sprintf(Buffer, "%d", pPars->DelayTarget );
- Abc_Print( -2, "usage: &nf [-KCFARLED num] [-akvwh]\n" );
+ Abc_Print( -2, "usage: &nf [-KCFARLED num] [-akpvwh]\n" );
Abc_Print( -2, "\t performs technology mapping of the network\n" );
Abc_Print( -2, "\t-K num : LUT size for the mapping (2 <= K <= %d) [default = %d]\n", pPars->nLutSizeMax, pPars->nLutSize );
Abc_Print( -2, "\t-C num : the max number of priority cuts (1 <= C <= %d) [default = %d]\n", pPars->nCutNumMax, pPars->nCutNum );
@@ -33398,6 +33401,7 @@ usage:
Abc_Print( -2, "\t-D num : sets the delay constraint for the mapping [default = %s]\n", Buffer );
Abc_Print( -2, "\t-a : toggles area-oriented mapping [default = %s]\n", pPars->fAreaOnly? "yes": "no" );
Abc_Print( -2, "\t-k : toggles coarsening the subject graph [default = %s]\n", pPars->fCoarsen? "yes": "no" );
+ Abc_Print( -2, "\t-p : toggles pin-permutation (useful when pin-delays differ) [default = %s]\n", pPars->fPinPerm? "yes": "no" );
Abc_Print( -2, "\t-v : toggles verbose output [default = %s]\n", pPars->fVerbose? "yes": "no" );
Abc_Print( -2, "\t-w : toggles very verbose output [default = %s]\n", pPars->fVeryVerbose? "yes": "no" );
Abc_Print( -2, "\t-h : prints the command usage\n");