abc-master
|
#include "base/abc/abc.h"
Go to the source code of this file.
Data Structures | |
struct | Odc_Obj_t_ |
struct | Odc_Man_t_ |
Macros | |
#define | ABC_DC_MAX_NODES (1<<15) |
DECLARATIONS ///. More... | |
#define | Odc_ForEachPi(p, Lit, i) for ( i = 0; (i < Odc_PiNum(p)) && (((Lit) = Odc_Var(p, i)), 1); i++ ) |
#define | Odc_ForEachAnd(p, pObj, i) for ( i = 1 + Odc_CiNum(p); (i < Odc_ObjNum(p)) && ((pObj) = (p)->pObjs + i); i++ ) |
Typedefs | |
typedef unsigned short | Odc_Lit_t |
typedef struct Odc_Obj_t_ | Odc_Obj_t |
#define ABC_DC_MAX_NODES (1<<15) |
DECLARATIONS ///.
CFile****************************************************************
FileName [abcOdc.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Network and node package.]
Synopsis [Scalable computation of observability don't-cares.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]
typedef struct Odc_Obj_t_ Odc_Obj_t |
Odc_Man_t* Abc_NtkDontCareAlloc | ( | int | nVarsMax, |
int | nLevels, | ||
int | fVerbose, | ||
int | fVeryVerbose | ||
) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Allocates the don't-care manager.]
Description [The parameters are the max number of cut variables, the number of fanout levels used for the ODC computation, and verbosiness.]
SideEffects []
SeeAlso []
Definition at line 162 of file abcOdc.c.
void Abc_NtkDontCareClear | ( | Odc_Man_t * | p | ) |
Function*************************************************************
Synopsis [Clears the manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 242 of file abcOdc.c.
Function*************************************************************
Synopsis [Recursively computes the pair of cofactors.]
Description []
SideEffects []
SeeAlso []
Definition at line 738 of file abcOdc.c.
int Abc_NtkDontCareCompute | ( | Odc_Man_t * | p, |
Abc_Obj_t * | pNode, | ||
Vec_Ptr_t * | vLeaves, | ||
unsigned * | puTruth | ||
) |
Function*************************************************************
Synopsis [Computes ODCs for the node in terms of the cut variables.]
Description [Returns the number of don't care minterms in the truth table. In particular, this procedure returns 0 if there is no don't-cares.]
SideEffects []
SeeAlso []
Definition at line 1033 of file abcOdc.c.
int Abc_NtkDontCareCountMintsWord | ( | Odc_Man_t * | p, |
unsigned * | puTruth | ||
) |
void Abc_NtkDontCareFree | ( | Odc_Man_t * | p | ) |
int Abc_NtkDontCareQuantify | ( | Odc_Man_t * | p | ) |
Function*************************************************************
Synopsis [Quantifies the branch variables.]
Description []
SideEffects []
SeeAlso []
Definition at line 781 of file abcOdc.c.
int Abc_NtkDontCareSimulate | ( | Odc_Man_t * | p, |
unsigned * | puTruth | ||
) |
Function*************************************************************
Synopsis [Computes the truth table of the care set.]
Description [Returns the number of ones in the simulation info.]
SideEffects []
SeeAlso []
Definition at line 982 of file abcOdc.c.
Function*************************************************************
Synopsis [Computes the truth table.]
Description []
SideEffects []
SeeAlso []
Definition at line 952 of file abcOdc.c.
int Abc_NtkDontCareSimulateBefore | ( | Odc_Man_t * | p, |
unsigned * | puTruth | ||
) |
Function*************************************************************
Synopsis [Computes the truth table of the care set.]
Description [Returns the number of ones in the simulation info.]
SideEffects []
SeeAlso []
Definition at line 1003 of file abcOdc.c.
void Abc_NtkDontCareSimulateSetElem | ( | Odc_Man_t * | p | ) |
void Abc_NtkDontCareSimulateSetElem2 | ( | Odc_Man_t * | p | ) |
void Abc_NtkDontCareSimulateSetRand | ( | Odc_Man_t * | p | ) |
int Abc_NtkDontCareTransfer | ( | Odc_Man_t * | p | ) |
Function*************************************************************
Synopsis [Transfers the window into the AIG package.]
Description []
SideEffects []
SeeAlso []
Definition at line 688 of file abcOdc.c.
Function*************************************************************
Synopsis [Transfers the window into the AIG package.]
Description []
SideEffects []
SeeAlso []
Definition at line 649 of file abcOdc.c.
Function*************************************************************
Synopsis [Simulates one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 912 of file abcOdc.c.
int Abc_NtkDontCareWinAddMissing | ( | Odc_Man_t * | p | ) |
Function*************************************************************
Synopsis [Adds to the window nodes and leaves in the TFI of the roots.]
Description []
SideEffects []
SeeAlso []
Definition at line 450 of file abcOdc.c.
Function*************************************************************
Synopsis [Recursively adds missing nodes and leaves.]
Description []
SideEffects []
SeeAlso []
Definition at line 418 of file abcOdc.c.
void Abc_NtkDontCareWinCollectRoots | ( | Odc_Man_t * | p | ) |
Function*************************************************************
Synopsis [Collects the roots of the window.]
Description [Roots of the window are the nodes that have at least one fanout that it not in the TFO of the leaves.]
SideEffects []
SeeAlso []
Definition at line 397 of file abcOdc.c.
Function*************************************************************
Synopsis [Recursively collects the roots.]
Description []
SideEffects []
SeeAlso []
Definition at line 364 of file abcOdc.c.
int Abc_NtkDontCareWindow | ( | Odc_Man_t * | p | ) |
Function*************************************************************
Synopsis [Computes window for the node.]
Description []
SideEffects []
SeeAlso []
Definition at line 477 of file abcOdc.c.
void Abc_NtkDontCareWinSweepLeafTfo | ( | Odc_Man_t * | p | ) |
Function*************************************************************
Synopsis [Marks the TFO of the collected nodes up to the given level.]
Description []
SideEffects []
SeeAlso []
Definition at line 344 of file abcOdc.c.
Function*************************************************************
Synopsis [Marks the TFO of the collected nodes up to the given level.]
Description []
SideEffects []
SeeAlso []
Definition at line 315 of file abcOdc.c.
Function*************************************************************
Synopsis [Finds node by structural hashing or creates a new node.]
Description []
SideEffects []
SeeAlso []
Definition at line 565 of file abcOdc.c.
|
inlinestatic |
|
inlinestatic |
Function*************************************************************
Synopsis [Checks if the given name node already exists in the table.]
Description []
SideEffects []
SeeAlso []
Definition at line 533 of file abcOdc.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Boolean OR.]
Description []
SideEffects []
SeeAlso []
Definition at line 613 of file abcOdc.c.
Function*************************************************************
Synopsis [Boolean XOR.]
Description []
SideEffects []
SeeAlso []
Definition at line 629 of file abcOdc.c.