diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2014-07-21 13:49:25 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2014-07-21 13:49:25 -0700 |
commit | c0aa9b6a5dc680af2c9509924a869448ed841150 (patch) | |
tree | 08f42fe30f8ae845d54884865c1b9fa0127c46ba /src/map/if/ifCore.c | |
parent | ea73401db5258da2311e6ad4d31a9a7e10437f33 (diff) | |
download | abc-c0aa9b6a5dc680af2c9509924a869448ed841150.tar.gz abc-c0aa9b6a5dc680af2c9509924a869448ed841150.tar.bz2 abc-c0aa9b6a5dc680af2c9509924a869448ed841150.zip |
Adding new command &sopb for resource-aware SOP balancing.
Diffstat (limited to 'src/map/if/ifCore.c')
-rw-r--r-- | src/map/if/ifCore.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/map/if/ifCore.c b/src/map/if/ifCore.c index 1f2d2ae3..b7eb7bc0 100644 --- a/src/map/if/ifCore.c +++ b/src/map/if/ifCore.c @@ -44,6 +44,39 @@ extern abctime s_MappingTime; SeeAlso [] ***********************************************************************/ +void If_ManSetDefaultPars( If_Par_t * pPars ) +{ + memset( pPars, 0, sizeof(If_Par_t) ); + pPars->nLutSize = -1; + pPars->nCutsMax = 8; + pPars->nFlowIters = 1; + pPars->nAreaIters = 2; + pPars->DelayTarget = -1; + pPars->Epsilon = (float)0.005; + pPars->fPreprocess = 1; + pPars->fArea = 0; + pPars->fFancy = 0; + pPars->fExpRed = 1; + pPars->fLatchPaths = 0; + pPars->fEdge = 1; + pPars->fPower = 0; + pPars->fCutMin = 0; + pPars->fBidec = 0; + pPars->fVerbose = 0; +} + + +/**Function************************************************************* + + Synopsis [] + + Description [] + + SideEffects [] + + SeeAlso [] + +***********************************************************************/ int If_ManPerformMapping( If_Man_t * p ) { p->pPars->fAreaOnly = p->pPars->fArea; // temporary |