From 57daeee9979bab2cde9ee8c201f620150f9d28da Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sun, 8 May 2011 00:22:32 -0700 Subject: Updated technology mapping. --- .hgignore | 2 -- src/base/abci/abc.c | 5 ++--- src/map/if/if.h | 2 ++ src/map/if/module.make | 1 + 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.hgignore b/.hgignore index b67058d3..bc49245a 100644 --- a/.hgignore +++ b/.hgignore @@ -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 \ -- cgit v1.2.3