diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2011-05-08 00:22:32 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2011-05-08 00:22:32 -0700 |
commit | 57daeee9979bab2cde9ee8c201f620150f9d28da (patch) | |
tree | 1b10e657dafc5fe506c073ec6ed5a8d74332bb18 | |
parent | 27bb2a684d0888f47bfc2f0ee99399c25989f383 (diff) | |
download | abc-57daeee9979bab2cde9ee8c201f620150f9d28da.tar.gz abc-57daeee9979bab2cde9ee8c201f620150f9d28da.tar.bz2 abc-57daeee9979bab2cde9ee8c201f620150f9d28da.zip |
Updated technology mapping.
-rw-r--r-- | .hgignore | 2 | ||||
-rw-r--r-- | src/base/abci/abc.c | 5 | ||||
-rw-r--r-- | src/map/if/if.h | 2 | ||||
-rw-r--r-- | src/map/if/module.make | 1 |
4 files changed, 5 insertions, 5 deletions
@@ -18,8 +18,6 @@ src/aig/au/ src/aig/ssm/ src/aig/ddb/ -src/map/if/ifDec.c - *~ *.orig diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index a508cb29..d2ebf6a2 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -12884,10 +12884,9 @@ int Abc_CommandIf( Abc_Frame_t * pAbc, int argc, char ** argv ) } pPars->fCutMin = 1; } -/* + if ( pPars->fEnableCheck ) { - extern int If_CutPerformCheck( unsigned * pTruth, int nVars, int nLeaves ); if ( pPars->nLutSize < 6 || pPars->nLutSize > 7 ) { Abc_Print( -1, "This feature only works for {6,7}-LUTs.\n" ); @@ -12896,7 +12895,7 @@ int Abc_CommandIf( Abc_Frame_t * pAbc, int argc, char ** argv ) pPars->pFuncCell = If_CutPerformCheck; pPars->fCutMin = 1; } -*/ + // enable truth table computation if cut minimization is selected if ( pPars->fCutMin ) { diff --git a/src/map/if/if.h b/src/map/if/if.h index 72b1f5b2..a8f7cfdc 100644 --- a/src/map/if/if.h +++ b/src/map/if/if.h @@ -404,6 +404,8 @@ extern float If_CutPowerDeref( If_Man_t * p, If_Cut_t * pCut, If_Obj_t extern float If_CutPowerRef( If_Man_t * p, If_Cut_t * pCut, If_Obj_t * pRoot ); extern float If_CutPowerDerefed( If_Man_t * p, If_Cut_t * pCut, If_Obj_t * pRoot ); extern float If_CutPowerRefed( If_Man_t * p, If_Cut_t * pCut, If_Obj_t * pRoot ); +/*=== ifDec.c =============================================================*/ +extern int If_CutPerformCheck( unsigned * pTruth, int nVars, int nLeaves ); /*=== ifLib.c =============================================================*/ extern If_Lib_t * If_LutLibRead( char * FileName ); extern If_Lib_t * If_LutLibDup( If_Lib_t * p ); diff --git a/src/map/if/module.make b/src/map/if/module.make index 53ed7c03..76afe9a3 100644 --- a/src/map/if/module.make +++ b/src/map/if/module.make @@ -1,5 +1,6 @@ SRC += src/map/if/ifCore.c \ src/map/if/ifCut.c \ + src/map/if/ifDec.c \ src/map/if/ifLib.c \ src/map/if/ifMan.c \ src/map/if/ifMap.c \ |