summaryrefslogtreecommitdiffstats
path: root/src/map/if/if.h
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-04-28 12:09:38 +0700
committerAlan Mishchenko <alanmi@berkeley.edu>2012-04-28 12:09:38 +0700
commit490e84c4bcbd726ac40700e6bfa93042d1f79c7d (patch)
tree08df31195e050f052aa05358d0a2af20fe6abb23 /src/map/if/if.h
parent334911a116309accef78bf28f267f883d2f228f4 (diff)
downloadabc-490e84c4bcbd726ac40700e6bfa93042d1f79c7d.tar.gz
abc-490e84c4bcbd726ac40700e6bfa93042d1f79c7d.tar.bz2
abc-490e84c4bcbd726ac40700e6bfa93042d1f79c7d.zip
Adding on-the-fly truth-table minimization.
Diffstat (limited to 'src/map/if/if.h')
-rw-r--r--src/map/if/if.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/if/if.h b/src/map/if/if.h
index 7a4ab551..ec1dedfa 100644
--- a/src/map/if/if.h
+++ b/src/map/if/if.h
@@ -177,6 +177,7 @@ struct If_Man_t_
int nCutsUsed; // the number of cuts currently used
int nCutsMerged; // the total number of cuts merged
unsigned * puTemp[4]; // used for the truth table computation
+ If_Cut_t * pCutTemp; // temporary cut
int SortMode; // one of the three sorting modes
int fNextRound; // set to 1 after the first round
int nChoices; // the number of choice nodes
@@ -495,6 +496,7 @@ extern float If_CutDelay( If_Man_t * p, If_Obj_t * pObj, If_Cut_t * pC
extern void If_CutPropagateRequired( If_Man_t * p, If_Obj_t * pObj, If_Cut_t * pCut, float Required );
extern void If_CutRotatePins( If_Man_t * p, If_Cut_t * pCut );
/*=== ifTruth.c ===========================================================*/
+extern int If_CutTruthMinimize( If_Man_t * p, If_Cut_t * pCut );
extern int If_CutComputeTruth( If_Man_t * p, If_Cut_t * pCut, If_Cut_t * pCut0, If_Cut_t * pCut1, int fCompl0, int fCompl1 );
extern void If_CutTruthPermute( unsigned * pOut, unsigned * pIn, int nVars, float * pDelays, int * pVars );
/*=== ifUtil.c ============================================================*/