Go to the source code of this file.
◆ Map_MappingTruths()
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Derives truth tables for each cut.]
Description []
SideEffects []
SeeAlso []
Definition at line 47 of file mapperTruth.c.
48{
52 int nNodes, i;
53
54 nNodes = pMan->vMapObjs->nSize;
56 for ( i = 0; i < nNodes; i++ )
57 {
58 pNode = pMan->vMapObjs->pArray[i];
60 continue;
63
64
69
74
75
77 Map_TruthsCut( pMan, pCut );
78 Extra_ProgressBarUpdate( pProgress, i, "Tables ..." );
79 }
81}
ABC_NAMESPACE_IMPL_START typedef char ProgressBar
struct Map_CutStruct_t_ Map_Cut_t
int Map_NodeIsAnd(Map_Node_t *p)
struct Map_NodeStruct_t_ Map_Node_t
◆ Map_TruthsCutOne()
Function*************************************************************
Synopsis [Computes the truth table of one cut.]
Description []
SideEffects []
SeeAlso []
Definition at line 197 of file mapperTruth.c.
198{
199 unsigned uTruth1[2], uTruth2[2];
201 int i;
202
203 for ( i = 0; i < pCut->
nLeaves; i++ )
204 {
209 }
211
212
213 p->vVisited->nSize = 0;
214 Map_CutsCollect_rec( pCut,
p->vVisited );
215 assert(
p->vVisited->nSize > 0 );
217
218
219 for ( i = 0; i < pCut->
nLeaves; i++ )
220 {
223 }
224 for ( i = 0; i <
p->vVisited->nSize; i++ )
225 {
226
229
231 {
234 }
235 else
236 {
239 }
240
242 {
245 }
246 else
247 {
250 }
251
253 {
256 }
257 else
258 {
259 pTemp->
M[0].
uPhaseBest = ~(uTruth1[0] & uTruth2[0]);
260 pTemp->
M[1].
uPhaseBest = ~(uTruth1[1] & uTruth2[1]);
261 }
262 }
265}
#define Map_CutRegular(p)
#define Map_CutIsComplement(p)