#include "mapperInt.h"
Go to the source code of this file.
| Map_Node_t ** Map_CutReadLeaves | ( | Map_Cut_t * | p | ) |
Definition at line 141 of file mapperCreate.c.
| int Map_CutReadLeavesNum | ( | Map_Cut_t * | p | ) |
Definition at line 140 of file mapperCreate.c.
Definition at line 145 of file mapperCreate.c.
| unsigned Map_CutReadPhase0 | ( | Map_Cut_t * | p | ) |
Definition at line 143 of file mapperCreate.c.
| unsigned Map_CutReadPhase1 | ( | Map_Cut_t * | p | ) |
Definition at line 144 of file mapperCreate.c.
| unsigned Map_CutReadPhaseBest | ( | Map_Cut_t * | p, |
| int | fPhase ) |
Definition at line 142 of file mapperCreate.c.
| Map_Super_t * Map_CutReadSuper0 | ( | Map_Cut_t * | p | ) |
Definition at line 138 of file mapperCreate.c.
| Map_Super_t * Map_CutReadSuper1 | ( | Map_Cut_t * | p | ) |
Definition at line 139 of file mapperCreate.c.
| Map_Super_t * Map_CutReadSuperBest | ( | Map_Cut_t * | p, |
| int | fPhase ) |
Function*************************************************************
Synopsis [Reads parameters from the cut.]
Description []
SideEffects []
SeeAlso []
Definition at line 137 of file mapperCreate.c.
| Map_Man_t * Map_ManCreate | ( | int | nInputs, |
| int | nOutputs, | ||
| int | fVerbose ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Create the mapping manager.]
Description [The number of inputs and outputs is assumed to be known is advance. It is much simpler to have them fixed upfront. When it comes to representing the object graph in the form of AIG, the resulting manager is similar to the regular AIG manager, except that it does not use reference counting (and therefore does not have garbage collections). It does have table resizing. The data structure is more flexible to represent additional information needed for mapping.]
SideEffects []
SeeAlso []
Definition at line 192 of file mapperCreate.c.


| void Map_ManCreateAigIds | ( | Map_Man_t * | p, |
| int | nObjs ) |
| void Map_ManCreateNodeDelays | ( | Map_Man_t * | p, |
| int | LogFan ) |
Function*************************************************************
Synopsis [Creates node delays.]
Description []
SideEffects []
SeeAlso []
Definition at line 293 of file mapperCreate.c.

| void Map_ManFree | ( | Map_Man_t * | p | ) |
Function*************************************************************
Synopsis [Deallocates the mapping manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 256 of file mapperCreate.c.


| void Map_ManPrintStatsToFile | ( | char * | pName, |
| float | Area, | ||
| float | Delay, | ||
| abctime | Time ) |
Function*************************************************************
Synopsis [Prints the mapping stats.]
Description []
SideEffects []
SeeAlso []
Definition at line 350 of file mapperCreate.c.
| void Map_ManPrintTimeStats | ( | Map_Man_t * | p | ) |
Function*************************************************************
Synopsis [Deallocates the mapping manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 322 of file mapperCreate.c.
| float Map_ManReadAreaFinal | ( | Map_Man_t * | p | ) |
Definition at line 61 of file mapperCreate.c.
| Map_Node_t * Map_ManReadBufDriver | ( | Map_Man_t * | p, |
| int | i ) |
Definition at line 55 of file mapperCreate.c.


| int Map_ManReadBufNum | ( | Map_Man_t * | p | ) |
Definition at line 51 of file mapperCreate.c.


| Map_Node_t ** Map_ManReadBufs | ( | Map_Man_t * | p | ) |
Definition at line 54 of file mapperCreate.c.


| Map_Node_t * Map_ManReadConst1 | ( | Map_Man_t * | p | ) |
| int Map_ManReadFanoutViolations | ( | Map_Man_t * | p | ) |
Definition at line 70 of file mapperCreate.c.
| Mio_Library_t * Map_ManReadGenLib | ( | Map_Man_t * | p | ) |
Definition at line 59 of file mapperCreate.c.
| Map_Time_t * Map_ManReadInputArrivals | ( | Map_Man_t * | p | ) |
Definition at line 57 of file mapperCreate.c.
| int Map_ManReadInputNum | ( | Map_Man_t * | p | ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Reads parameters from the mapping manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 49 of file mapperCreate.c.
| Map_Node_t ** Map_ManReadInputs | ( | Map_Man_t * | p | ) |
| int Map_ManReadOutputNum | ( | Map_Man_t * | p | ) |
Definition at line 50 of file mapperCreate.c.
| Map_Time_t * Map_ManReadOutputRequireds | ( | Map_Man_t * | p | ) |
Definition at line 58 of file mapperCreate.c.
| Map_Node_t ** Map_ManReadOutputs | ( | Map_Man_t * | p | ) |
| float Map_ManReadRequiredGlo | ( | Map_Man_t * | p | ) |
Definition at line 62 of file mapperCreate.c.
| int Map_ManReadVerbose | ( | Map_Man_t * | p | ) |
Definition at line 60 of file mapperCreate.c.
| void Map_ManSetAreaRecovery | ( | Map_Man_t * | p, |
| int | fAreaRecovery ) |
Definition at line 64 of file mapperCreate.c.

| void Map_ManSetChoiceNodeNum | ( | Map_Man_t * | p, |
| int | nChoiceNodes ) |
Definition at line 72 of file mapperCreate.c.
| void Map_ManSetChoiceNum | ( | Map_Man_t * | p, |
| int | nChoices ) |
Definition at line 73 of file mapperCreate.c.
| void Map_ManSetDelayTarget | ( | Map_Man_t * | p, |
| float | DelayTarget ) |
Definition at line 65 of file mapperCreate.c.

| void Map_ManSetFanoutViolations | ( | Map_Man_t * | p, |
| int | nVio ) |
Definition at line 71 of file mapperCreate.c.
| void Map_ManSetInputArrivals | ( | Map_Man_t * | p, |
| Map_Time_t * | pArrivals ) |
Definition at line 66 of file mapperCreate.c.

| void Map_ManSetNumIterations | ( | Map_Man_t * | p, |
| int | nIterations ) |
Definition at line 69 of file mapperCreate.c.
| void Map_ManSetObeyFanoutLimits | ( | Map_Man_t * | p, |
| int | fObeyFanoutLimits ) |
Definition at line 68 of file mapperCreate.c.
| void Map_ManSetOutputNames | ( | Map_Man_t * | p, |
| char ** | ppNames ) |
Definition at line 63 of file mapperCreate.c.

| void Map_ManSetOutputRequireds | ( | Map_Man_t * | p, |
| Map_Time_t * | pRequireds ) |
Definition at line 67 of file mapperCreate.c.

| void Map_ManSetSkipFanout | ( | Map_Man_t * | p, |
| int | fSkipFanout ) |
Definition at line 76 of file mapperCreate.c.

| void Map_ManSetSwitching | ( | Map_Man_t * | p, |
| int | fSwitching ) |
Definition at line 75 of file mapperCreate.c.

| void Map_ManSetUseProfile | ( | Map_Man_t * | p | ) |
Definition at line 77 of file mapperCreate.c.

| void Map_ManSetVerbose | ( | Map_Man_t * | p, |
| int | fVerbose ) |
Definition at line 74 of file mapperCreate.c.
| Map_Node_t * Map_NodeAnd | ( | Map_Man_t * | pMan, |
| Map_Node_t * | p1, | ||
| Map_Node_t * | p2 ) |
Function*************************************************************
Synopsis [Looks up the AND2 node in the unique table.]
Description [This procedure implements one-level hashing. All the nodes are hashed by their children. If the node with the same children was already created, it is returned by the call to this procedure. If it does not exist, this procedure creates a new node with these children. ]
SideEffects []
SeeAlso []
Definition at line 456 of file mapperCreate.c.


| Map_Node_t * Map_NodeBuf | ( | Map_Man_t * | p, |
| Map_Node_t * | p1 ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 561 of file mapperCreate.c.


| int Map_NodeComparePhase | ( | Map_Node_t * | p1, |
| Map_Node_t * | p2 ) |
Definition at line 124 of file mapperCreate.c.
| Map_Node_t * Map_NodeCreate | ( | Map_Man_t * | p, |
| Map_Node_t * | p1, | ||
| Map_Node_t * | p2 ) |
Function*************************************************************
Synopsis [Creates a new node.]
Description [This procedure should be called to create the constant node and the PI nodes first.]
SideEffects []
SeeAlso []
Definition at line 373 of file mapperCreate.c.


| int Map_NodeIsAnd | ( | Map_Node_t * | p | ) |
| int Map_NodeIsBuf | ( | Map_Node_t * | p | ) |
| int Map_NodeIsConst | ( | Map_Node_t * | p | ) |
Function*************************************************************
Synopsis [Checks the type of the node.]
Description []
SideEffects []
SeeAlso []
Definition at line 120 of file mapperCreate.c.

| int Map_NodeIsVar | ( | Map_Node_t * | p | ) |
| int Map_NodeReadAigId | ( | Map_Node_t * | p | ) |
Definition at line 95 of file mapperCreate.c.
| Map_Cut_t * Map_NodeReadCutBest | ( | Map_Node_t * | p, |
| int | fPhase ) |
Definition at line 97 of file mapperCreate.c.
| Map_Cut_t * Map_NodeReadCuts | ( | Map_Node_t * | p | ) |
Definition at line 96 of file mapperCreate.c.
| char * Map_NodeReadData | ( | Map_Node_t * | p, |
| int | fPhase ) |
Definition at line 92 of file mapperCreate.c.
| int Map_NodeReadLevel | ( | Map_Node_t * | p | ) |
Definition at line 94 of file mapperCreate.c.
| Map_Man_t * Map_NodeReadMan | ( | Map_Node_t * | p | ) |
Function*************************************************************
Synopsis [Reads parameters from the mapping node.]
Description []
SideEffects []
SeeAlso []
Definition at line 91 of file mapperCreate.c.
| int Map_NodeReadNum | ( | Map_Node_t * | p | ) |
Definition at line 93 of file mapperCreate.c.
| Map_Node_t * Map_NodeReadOne | ( | Map_Node_t * | p | ) |
Definition at line 98 of file mapperCreate.c.
| Map_Node_t * Map_NodeReadTwo | ( | Map_Node_t * | p | ) |
Definition at line 99 of file mapperCreate.c.
| void Map_NodeSetAigId | ( | Map_Node_t * | p, |
| int | Id ) |
| void Map_NodeSetChoice | ( | Map_Man_t * | pMan, |
| Map_Node_t * | pNodeOld, | ||
| Map_Node_t * | pNodeNew ) |
Function*************************************************************
Synopsis [Sets the node to be equivalent to the given one.]
Description [This procedure is a work-around for the equivalence check. Does not verify the equivalence. Use at the user's risk.]
SideEffects []
SeeAlso []
Definition at line 580 of file mapperCreate.c.
| void Map_NodeSetData | ( | Map_Node_t * | p, |
| int | fPhase, | ||
| char * | pData ) |
| void Map_NodeSetNextE | ( | Map_Node_t * | p, |
| Map_Node_t * | pNextE ) |
Definition at line 101 of file mapperCreate.c.

| void Map_NodeSetRepr | ( | Map_Node_t * | p, |
| Map_Node_t * | pRepr ) |
Definition at line 102 of file mapperCreate.c.

| void Map_NodeSetSwitching | ( | Map_Node_t * | p, |
| float | Switching ) |
Definition at line 103 of file mapperCreate.c.

| float Map_SuperLibReadAreaInv | ( | Map_SuperLib_t * | p | ) |
Definition at line 169 of file mapperCreate.c.
| Map_Time_t Map_SuperLibReadDelayInv | ( | Map_SuperLib_t * | p | ) |
Definition at line 170 of file mapperCreate.c.
| Mio_Library_t * Map_SuperLibReadGenLib | ( | Map_SuperLib_t * | p | ) |
Definition at line 168 of file mapperCreate.c.
| int Map_SuperLibReadVarsMax | ( | Map_SuperLib_t * | p | ) |
Definition at line 171 of file mapperCreate.c.
| int Map_SuperReadFaninNum | ( | Map_Super_t * | p | ) |
| Map_Super_t ** Map_SuperReadFanins | ( | Map_Super_t * | p | ) |
| int Map_SuperReadFanoutLimit | ( | Map_Super_t * | p | ) |
Definition at line 166 of file mapperCreate.c.
| char * Map_SuperReadFormula | ( | Map_Super_t * | p | ) |
Function*************************************************************
Synopsis [Reads parameters from the supergate.]
Description []
SideEffects []
SeeAlso []
Definition at line 158 of file mapperCreate.c.
| Map_Super_t * Map_SuperReadNext | ( | Map_Super_t * | p | ) |
Definition at line 163 of file mapperCreate.c.
| int Map_SuperReadNum | ( | Map_Super_t * | p | ) |
| int Map_SuperReadNumPhases | ( | Map_Super_t * | p | ) |
Definition at line 164 of file mapperCreate.c.
| unsigned char * Map_SuperReadPhases | ( | Map_Super_t * | p | ) |
Definition at line 165 of file mapperCreate.c.
| Mio_Gate_t * Map_SuperReadRoot | ( | Map_Super_t * | p | ) |