abc-master
|
#include "mapperInt.h"
Go to the source code of this file.
Map_Node_t** Map_CutReadLeaves | ( | Map_Cut_t * | p | ) |
Definition at line 133 of file mapperCreate.c.
int Map_CutReadLeavesNum | ( | Map_Cut_t * | p | ) |
Definition at line 132 of file mapperCreate.c.
Definition at line 137 of file mapperCreate.c.
unsigned Map_CutReadPhase0 | ( | Map_Cut_t * | p | ) |
Definition at line 135 of file mapperCreate.c.
unsigned Map_CutReadPhase1 | ( | Map_Cut_t * | p | ) |
Definition at line 136 of file mapperCreate.c.
unsigned Map_CutReadPhaseBest | ( | Map_Cut_t * | p, |
int | fPhase | ||
) |
Definition at line 134 of file mapperCreate.c.
Map_Super_t* Map_CutReadSuper0 | ( | Map_Cut_t * | p | ) |
Definition at line 130 of file mapperCreate.c.
Map_Super_t* Map_CutReadSuper1 | ( | Map_Cut_t * | p | ) |
Definition at line 131 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 129 of file mapperCreate.c.
|
inlinestatic |
Definition at line 32 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 184 of file mapperCreate.c.
void Map_ManCreateNodeDelays | ( | Map_Man_t * | p, |
int | LogFan | ||
) |
Function*************************************************************
Synopsis [Creates node delays.]
Description []
SideEffects []
SeeAlso []
Definition at line 284 of file mapperCreate.c.
void Map_ManFree | ( | Map_Man_t * | p | ) |
Function*************************************************************
Synopsis [Deallocates the mapping manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 248 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 341 of file mapperCreate.c.
void Map_ManPrintTimeStats | ( | Map_Man_t * | p | ) |
Function*************************************************************
Synopsis [Deallocates the mapping manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 313 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 | ) |
Definition at line 56 of file mapperCreate.c.
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 | ) |
Definition at line 52 of file mapperCreate.c.
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 | ) |
Definition at line 53 of file mapperCreate.c.
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_ManSetSwitching | ( | Map_Man_t * | p, |
int | fSwitching | ||
) |
Definition at line 75 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 447 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 552 of file mapperCreate.c.
int Map_NodeComparePhase | ( | Map_Node_t * | p1, |
Map_Node_t * | p2 | ||
) |
Definition at line 116 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 364 of file mapperCreate.c.
int Map_NodeIsAnd | ( | Map_Node_t * | p | ) |
Definition at line 115 of file mapperCreate.c.
int Map_NodeIsBuf | ( | Map_Node_t * | p | ) |
Definition at line 114 of file mapperCreate.c.
int Map_NodeIsConst | ( | Map_Node_t * | p | ) |
Function*************************************************************
Synopsis [Checks the type of the node.]
Description []
SideEffects []
SeeAlso []
Definition at line 112 of file mapperCreate.c.
int Map_NodeIsVar | ( | Map_Node_t * | p | ) |
Definition at line 113 of file mapperCreate.c.
Map_Cut_t* Map_NodeReadCutBest | ( | Map_Node_t * | p, |
int | fPhase | ||
) |
Definition at line 93 of file mapperCreate.c.
Map_Cut_t* Map_NodeReadCuts | ( | Map_Node_t * | p | ) |
Definition at line 92 of file mapperCreate.c.
char* Map_NodeReadData | ( | Map_Node_t * | p, |
int | fPhase | ||
) |
Definition at line 89 of file mapperCreate.c.
int Map_NodeReadLevel | ( | Map_Node_t * | p | ) |
Definition at line 91 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 88 of file mapperCreate.c.
int Map_NodeReadNum | ( | Map_Node_t * | p | ) |
Definition at line 90 of file mapperCreate.c.
Map_Node_t* Map_NodeReadOne | ( | Map_Node_t * | p | ) |
Definition at line 94 of file mapperCreate.c.
Map_Node_t* Map_NodeReadTwo | ( | Map_Node_t * | p | ) |
Definition at line 95 of file mapperCreate.c.
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 571 of file mapperCreate.c.
void Map_NodeSetData | ( | Map_Node_t * | p, |
int | fPhase, | ||
char * | pData | ||
) |
Definition at line 96 of file mapperCreate.c.
void Map_NodeSetNextE | ( | Map_Node_t * | p, |
Map_Node_t * | pNextE | ||
) |
Definition at line 97 of file mapperCreate.c.
void Map_NodeSetRepr | ( | Map_Node_t * | p, |
Map_Node_t * | pRepr | ||
) |
Definition at line 98 of file mapperCreate.c.
void Map_NodeSetSwitching | ( | Map_Node_t * | p, |
float | Switching | ||
) |
Definition at line 99 of file mapperCreate.c.
float Map_SuperLibReadAreaInv | ( | Map_SuperLib_t * | p | ) |
Definition at line 161 of file mapperCreate.c.
Map_Time_t Map_SuperLibReadDelayInv | ( | Map_SuperLib_t * | p | ) |
Definition at line 162 of file mapperCreate.c.
Mio_Library_t* Map_SuperLibReadGenLib | ( | Map_SuperLib_t * | p | ) |
Definition at line 160 of file mapperCreate.c.
int Map_SuperLibReadVarsMax | ( | Map_SuperLib_t * | p | ) |
Definition at line 163 of file mapperCreate.c.
int Map_SuperReadFaninNum | ( | Map_Super_t * | p | ) |
Definition at line 154 of file mapperCreate.c.
Map_Super_t** Map_SuperReadFanins | ( | Map_Super_t * | p | ) |
Definition at line 153 of file mapperCreate.c.
int Map_SuperReadFanoutLimit | ( | Map_Super_t * | p | ) |
Definition at line 158 of file mapperCreate.c.
char* Map_SuperReadFormula | ( | Map_Super_t * | p | ) |
Function*************************************************************
Synopsis [Reads parameters from the supergate.]
Description []
SideEffects []
SeeAlso []
Definition at line 150 of file mapperCreate.c.
Map_Super_t* Map_SuperReadNext | ( | Map_Super_t * | p | ) |
Definition at line 155 of file mapperCreate.c.
int Map_SuperReadNum | ( | Map_Super_t * | p | ) |
Definition at line 152 of file mapperCreate.c.
int Map_SuperReadNumPhases | ( | Map_Super_t * | p | ) |
Definition at line 156 of file mapperCreate.c.
unsigned char* Map_SuperReadPhases | ( | Map_Super_t * | p | ) |
Definition at line 157 of file mapperCreate.c.
Mio_Gate_t* Map_SuperReadRoot | ( | Map_Super_t * | p | ) |
Definition at line 151 of file mapperCreate.c.
|
static |
DECLARATIONS ///.
CFile****************************************************************
FileName [mapperCreate.c]
PackageName [MVSIS 1.3: Multi-valued logic synthesis system.]
Synopsis [Generic technology mapping engine.]
Author [MVSIS Group]
Affiliation [UC Berkeley]
Date [Ver. 2.0. Started - June 1, 2004.]
Revision [
]
Function*************************************************************
Synopsis [Create the unique table of AND gates.]
Description []
SideEffects []
SeeAlso []
Definition at line 424 of file mapperCreate.c.
|
static |
Function*************************************************************
Synopsis [Resizes the table.]
Description []
SideEffects []
SeeAlso []
Definition at line 502 of file mapperCreate.c.