abc-master
|
Go to the source code of this file.
Variables | |
static ABC_NAMESPACE_IMPL_START int | CacheOperNum = 4 |
static int | CacheLogRatioDefault [4] |
static int | CacheSize [4] |
CloudNode* Cloud_bddAnd | ( | CloudManager * | dd, |
CloudNode * | f, | ||
CloudNode * | g | ||
) |
Function********************************************************************
Synopsis [Performs the AND or two BDDs]
Description []
SideEffects []
SeeAlso []
Definition at line 489 of file cloud.c.
CloudNode* Cloud_bddOr | ( | CloudManager * | dd, |
CloudNode * | f, | ||
CloudNode * | g | ||
) |
Function********************************************************************
Synopsis [Performs the OR or two BDDs]
Description []
SideEffects []
SeeAlso []
Definition at line 511 of file cloud.c.
void Cloud_bddPrint | ( | CloudManager * | dd, |
CloudNode * | Func | ||
) |
Function********************************************************************
Synopsis [Prints the BDD as a set of disjoint cubes to the standard output.]
Description []
SideEffects []
Definition at line 866 of file cloud.c.
void Cloud_bddPrintCube | ( | CloudManager * | dd, |
CloudNode * | bCube | ||
) |
Function********************************************************************
Synopsis [Prints one cube.]
Description []
SideEffects []
Definition at line 900 of file cloud.c.
CloudNode* Cloud_bddXor | ( | CloudManager * | dd, |
CloudNode * | f, | ||
CloudNode * | g | ||
) |
Function********************************************************************
Synopsis [Performs the XOR or two BDDs]
Description []
SideEffects []
SeeAlso []
Definition at line 536 of file cloud.c.
void Cloud_CacheAllocate | ( | CloudManager * | dd, |
CloudOper | oper, | ||
int | logratio | ||
) |
Function********************************************************************
Synopsis [This optional function allocates operation cache of the given size.]
Description [Cache for each operation is allocated independently when the first operation of the given type is performed. The user can allocate cache of his/her preferred size by calling Cloud_CacheAllocate before the first operation of the given type is performed, but this call is optional. Argument "logratio" gives the binary logarithm of the ratio of the size of the unique table to that of cache. For example, if "logratio" is equal to 3, and the unique table will be 2^3=8 times larger than cache; so, if unique table is 2^23 = 8,388,608 nodes, the cache size will be 2^3=8 times smaller and equal to 2^20 = 1,048,576 entries.]
SideEffects []
SeeAlso []
Definition at line 195 of file cloud.c.
int Cloud_DagCollect | ( | CloudManager * | dd, |
CloudNode * | n | ||
) |
Function********************************************************************
Synopsis [Counts the number of nodes in a DD.]
Description [Counts the number of nodes in a DD. Returns the number of nodes in the graph rooted at node.]
SideEffects []
SeeAlso []
Definition at line 772 of file cloud.c.
|
static |
Function********************************************************************
Synopsis [Performs the recursive step of Cloud_DagSize.]
Description [Performs the recursive step of Cloud_DagSize. Returns the number of nodes in the graph rooted at n.]
SideEffects [None]
Definition at line 741 of file cloud.c.
int Cloud_DagSize | ( | CloudManager * | dd, |
CloudNode * | n | ||
) |
CloudNode* Cloud_GetOneCube | ( | CloudManager * | dd, |
CloudNode * | bFunc | ||
) |
Function********************************************************************
Synopsis [Returns one cube contained in the given BDD.]
Description []
SideEffects []
Definition at line 817 of file cloud.c.
CloudManager* Cloud_Init | ( | int | nVars, |
int | nBits | ||
) |
FUNCTION DEFINITIONS ///.
FUNCTION DECLARATIONS ///.
Function********************************************************************
Synopsis [Starts the cloud manager.]
Description [The first arguments is the number of elementary variables used. The second arguments is the number of bits of the unsigned integer used to represent nodes in the unique table. If the second argument is 0, the package assumes 23 to represent nodes, which is equivalent to 2^23 = 8,388,608 nodes.]
SideEffects []
SeeAlso []
Definition at line 70 of file cloud.c.
CloudNode* Cloud_MakeNode | ( | CloudManager * | dd, |
CloudVar | v, | ||
CloudNode * | t, | ||
CloudNode * | e | ||
) |
Function********************************************************************
Synopsis [Returns or creates a new node]
Description [Checks the unique table for the existance of the node. If the node is present, returns the node. If the node is absent, creates a new node.]
SideEffects []
SeeAlso []
Definition at line 254 of file cloud.c.
void Cloud_PrintHashTable | ( | CloudManager * | dd | ) |
void Cloud_PrintInfo | ( | CloudManager * | dd | ) |
void Cloud_Quit | ( | CloudManager * | dd | ) |
Function********************************************************************
Synopsis [Stops the cloud manager.]
Description [The first arguments tells show many elementary variables are used. The second arguments tells how many bits of the unsigned integer are used to represent regular nodes in the unique table.]
SideEffects []
SeeAlso []
void Cloud_Restart | ( | CloudManager * | dd | ) |
int Cloud_SharingSize | ( | CloudManager * | dd, |
CloudNode ** | pn, | ||
int | nn | ||
) |
Function********************************************************************
Synopsis [Counts the number of nodes in an array of DDs.]
Description [Counts the number of nodes in a DD. Returns the number of nodes in the graph rooted at node.]
SideEffects []
SeeAlso []
Definition at line 796 of file cloud.c.
CloudNode* Cloud_Support | ( | CloudManager * | dd, |
CloudNode * | n | ||
) |
Function********************************************************************
Synopsis [Finds the variables on which a DD depends.]
Description [Finds the variables on which a DD depends. Returns a BDD consisting of the product of the variables if successful; NULL otherwise.]
SideEffects [None]
SeeAlso []
Definition at line 618 of file cloud.c.
int Cloud_SupportSize | ( | CloudManager * | dd, |
CloudNode * | n | ||
) |
Function********************************************************************
Synopsis [Counts the variables on which a DD depends.]
Description [Counts the variables on which a DD depends. Returns the number of the variables if successful; Cloud_OUT_OF_MEM otherwise.]
SideEffects [None]
SeeAlso []
Definition at line 658 of file cloud.c.
CloudNode* cloudBddAnd | ( | CloudManager * | dd, |
CloudNode * | f, | ||
CloudNode * | g | ||
) |
Function********************************************************************
Synopsis [Performs the AND or two BDDs]
Description []
SideEffects []
SeeAlso []
Definition at line 343 of file cloud.c.
|
inlinestatic |
Function********************************************************************
Synopsis [Performs the AND or two BDDs]
Description []
SideEffects []
SeeAlso []
Definition at line 470 of file cloud.c.
|
static |
Function********************************************************************
Synopsis [Internal cache allocation.]
Description []
SideEffects []
SeeAlso []
|
static |
|
static |
Function********************************************************************
Synopsis [Performs the recursive step of Cloud_DagSize.]
Description [Performs the recursive step of Cloud_DagSize. Returns the number of nodes in the graph rooted at n.]
SideEffects [None]
Definition at line 694 of file cloud.c.
|
static |
FUNCTION DECLARATIONS ///.
Function********************************************************************
Synopsis [Returns or creates a new node]
Description [Checks the unique table for the existance of the node. If the node is present, returns the node. If the node is absent, creates a new node.]
SideEffects []
SeeAlso []
Definition at line 283 of file cloud.c.
|
static |
Function********************************************************************
Synopsis [Performs the recursive step of Cloud_Support.]
Description [Performs the recursive step of Cloud_Support. Performs a DFS from f. The support is accumulated in supp as a side effect. Uses the LSB of the then pointer as visited flag.]
SideEffects [None]
SeeAlso []
Definition at line 594 of file cloud.c.
|
static |
|
static |
CFile****************************************************************
FileName [cloudCore.c]
PackageName [Fast application-specific BDD package.]
Synopsis [The package core.]
Author [Alan Mishchenko alanm] i@ec e.pdx .edu
Affiliation [ECE Department. Portland State University, Portland, Oregon.]
Date [Ver. 1.0. Started - June 10, 2002.]
Revision [
]