abc-master
|
#include "fraigInt.h"
Go to the source code of this file.
void Fraig_CollectXors | ( | Fraig_Node_t * | pNode1, |
Fraig_Node_t * | pNode2, | ||
int | iWordLast, | ||
int | fUseRand, | ||
unsigned * | puMask | ||
) |
Function*************************************************************
Synopsis [Compares two pieces of simulation info.]
Description [Returns 1 if they are equal.]
SideEffects []
SeeAlso []
Definition at line 478 of file fraigTable.c.
int Fraig_CompareSimInfo | ( | Fraig_Node_t * | pNode1, |
Fraig_Node_t * | pNode2, | ||
int | iWordLast, | ||
int | fUseRand | ||
) |
Function*************************************************************
Synopsis [Compares two pieces of simulation info.]
Description [Returns 1 if they are equal.]
SideEffects []
SeeAlso []
Definition at line 351 of file fraigTable.c.
int Fraig_CompareSimInfoUnderMask | ( | Fraig_Node_t * | pNode1, |
Fraig_Node_t * | pNode2, | ||
int | iWordLast, | ||
int | fUseRand, | ||
unsigned * | puMask | ||
) |
Function*************************************************************
Synopsis [Compares two pieces of simulation info.]
Description [Returns 1 if they are equal.]
SideEffects []
SeeAlso []
Definition at line 451 of file fraigTable.c.
int Fraig_FindFirstDiff | ( | Fraig_Node_t * | pNode1, |
Fraig_Node_t * | pNode2, | ||
int | fCompl, | ||
int | iWordLast, | ||
int | fUseRand | ||
) |
Function*************************************************************
Synopsis [Find the number of the different pattern.]
Description [Returns -1 if there is no such pattern]
SideEffects []
SeeAlso []
Definition at line 390 of file fraigTable.c.
Fraig_HashTable_t* Fraig_HashTableCreate | ( | int | nSize | ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Allocates the hash table.]
Description []
SideEffects []
SeeAlso []
Definition at line 46 of file fraigTable.c.
void Fraig_HashTableFree | ( | Fraig_HashTable_t * | p | ) |
Function*************************************************************
Synopsis [Deallocates the supergate hash table.]
Description []
SideEffects []
SeeAlso []
Definition at line 70 of file fraigTable.c.
void Fraig_HashTableInsertF0 | ( | Fraig_Man_t * | pMan, |
Fraig_Node_t * | pNode | ||
) |
Function*************************************************************
Synopsis [Insert the entry in the functional hash table.]
Description [Unconditionally add the node to the corresponding linked list in the table.]
SideEffects []
SeeAlso []
Definition at line 237 of file fraigTable.c.
Fraig_Node_t* Fraig_HashTableLookupF | ( | Fraig_Man_t * | pMan, |
Fraig_Node_t * | pNode | ||
) |
Function*************************************************************
Synopsis [Insert the entry in the functional hash table.]
Description [If the entry with the same key exists, return it right away. If the entry with the same key does not exists, inserts it and returns NULL. ]
SideEffects []
SeeAlso []
Definition at line 136 of file fraigTable.c.
Fraig_Node_t* Fraig_HashTableLookupF0 | ( | Fraig_Man_t * | pMan, |
Fraig_Node_t * | pNode | ||
) |
Function*************************************************************
Synopsis [Insert the entry in the functional hash table.]
Description [If the entry with the same key exists, return it right away. If the entry with the same key does not exists, inserts it and returns NULL. ]
SideEffects []
SeeAlso []
Definition at line 193 of file fraigTable.c.
int Fraig_HashTableLookupS | ( | Fraig_Man_t * | pMan, |
Fraig_Node_t * | p1, | ||
Fraig_Node_t * | p2, | ||
Fraig_Node_t ** | ppNodeRes | ||
) |
Function*************************************************************
Synopsis [Looks up an entry in the structural hash table.]
Description [If the entry with the same children does not exists, creates it, inserts it into the table, and returns 0. If the entry with the same children exists, finds it, and return 1. In both cases, the new/old entry is returned in ppNodeRes.]
SideEffects []
SeeAlso []
Definition at line 90 of file fraigTable.c.
void Fraig_TablePrintStatsF | ( | Fraig_Man_t * | pMan | ) |
Function*************************************************************
Synopsis [Prints stats of the structural table.]
Description []
SideEffects []
SeeAlso []
Definition at line 537 of file fraigTable.c.
void Fraig_TablePrintStatsF0 | ( | Fraig_Man_t * | pMan | ) |
Function*************************************************************
Synopsis [Prints stats of the structural table.]
Description []
SideEffects []
SeeAlso []
Definition at line 566 of file fraigTable.c.
void Fraig_TablePrintStatsS | ( | Fraig_Man_t * | pMan | ) |
Function*************************************************************
Synopsis [Prints stats of the structural table.]
Description []
SideEffects []
SeeAlso []
Definition at line 504 of file fraigTable.c.
int Fraig_TableRehashF0 | ( | Fraig_Man_t * | pMan, |
int | fLinkEquiv | ||
) |
Function*************************************************************
Synopsis [Rehashes the table after the simulation info has changed.]
Description [Assumes that the hash values have been updated after performing additional simulation. Rehashes the table using the new hash values. Uses pNextF to link the entries in the bins. Uses pNextD to link the entries with identical hash values. Returns 1 if the identical entries have been found. Note that identical hash values may mean that the simulation data is different.]
SideEffects []
SeeAlso []
Definition at line 604 of file fraigTable.c.
|
static |
Function*************************************************************
Synopsis [Resizes the table.]
Description []
SideEffects []
SeeAlso []
Definition at line 303 of file fraigTable.c.
|
static |
DECLARATIONS ///.
CFile****************************************************************
FileName [fraigTable.c]
PackageName [FRAIG: Functionally reduced AND-INV graphs.]
Synopsis [Structural and functional hash tables.]
Author [Alan Mishchenko alanm] i@ee cs.be rkel ey.ed u
Affiliation [UC Berkeley]
Date [Ver. 2.0. Started - October 1, 2004]
Revision [
]
Function*************************************************************
Synopsis [Resizes the table.]
Description []
SideEffects []
SeeAlso []
Definition at line 259 of file fraigTable.c.