summaryrefslogtreecommitdiffstats
path: root/src/map/if/if.h
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-03-27 20:15:02 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2012-03-27 20:15:02 -0700
commita21f2986aa907e5cf484cd7cd467290d192bf816 (patch)
tree8ae3fc7d1cb6316865bb4c8abc46aead9c91ba16 /src/map/if/if.h
parent08253a50eba6c2b7f0346763c923a5abff20708e (diff)
downloadabc-a21f2986aa907e5cf484cd7cd467290d192bf816.tar.gz
abc-a21f2986aa907e5cf484cd7cd467290d192bf816.tar.bz2
abc-a21f2986aa907e5cf484cd7cd467290d192bf816.zip
Enabling mapping into multi-input AND/OR gates.
Diffstat (limited to 'src/map/if/if.h')
-rw-r--r--src/map/if/if.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/if/if.h b/src/map/if/if.h
index 6dda12a7..7a4ab551 100644
--- a/src/map/if/if.h
+++ b/src/map/if/if.h
@@ -95,6 +95,7 @@ struct If_Par_t_
int nCutsMax; // the max number of cuts
int nFlowIters; // the number of iterations of area recovery
int nAreaIters; // the number of iterations of area recovery
+ int nGateSize; // the max size of the AND/OR gate to map into
float DelayTarget; // delay target
float Epsilon; // value used in comparison floating point numbers
int fPreprocess; // preprossing
@@ -153,6 +154,7 @@ struct If_Lib_t_
// manager
struct If_Man_t_
{
+ char * pName;
// mapping parameters
If_Par_t * pPars;
// mapping nodes
@@ -487,6 +489,7 @@ extern int If_ManPerformMappingSeq( If_Man_t * p );
/*=== ifTime.c ============================================================*/
extern int If_CutDelaySopCost( If_Man_t * p, If_Cut_t * pCut );
extern int If_CutDelaySopCost2( If_Man_t * p, If_Cut_t * pCut );
+extern int If_CutDelaySop( If_Man_t * p, If_Cut_t * pCut );
extern Vec_Wrd_t * If_CutDelaySopArray( If_Man_t * p, If_Cut_t * pCut );
extern float If_CutDelay( If_Man_t * p, If_Obj_t * pObj, If_Cut_t * pCut );
extern void If_CutPropagateRequired( If_Man_t * p, If_Obj_t * pObj, If_Cut_t * pCut, float Required );