abc-master
|
Go to the source code of this file.
Macros | |
#define | NUMBER1 3716960521u |
DECLARATIONS ///. More... | |
#define | NUMBER2 2174103536u |
#define NUMBER1 3716960521u |
DECLARATIONS ///.
CFile****************************************************************
FileName [giaUtil.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Scalable AIG package.]
Synopsis [Various utilities.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]
char* Gia_FileNameGenericAppend | ( | char * | pBase, |
char * | pSuffix | ||
) |
int Gia_ManCheckCoPhase | ( | Gia_Man_t * | p | ) |
void Gia_ManCheckMark0 | ( | Gia_Man_t * | p | ) |
void Gia_ManCheckMark1 | ( | Gia_Man_t * | p | ) |
void Gia_ManCleanLevels | ( | Gia_Man_t * | p, |
int | Size | ||
) |
Function*************************************************************
Synopsis [Prepares copies for the model.]
Description []
SideEffects []
SeeAlso []
Definition at line 470 of file giaUtil.c.
void Gia_ManCleanMark0 | ( | Gia_Man_t * | p | ) |
void Gia_ManCleanMark01 | ( | Gia_Man_t * | p | ) |
void Gia_ManCleanMark1 | ( | Gia_Man_t * | p | ) |
void Gia_ManCleanPhase | ( | Gia_Man_t * | p | ) |
void Gia_ManCleanTruth | ( | Gia_Man_t * | p | ) |
Function*************************************************************
Synopsis [Prepares copies for the model.]
Description []
SideEffects []
SeeAlso []
Definition at line 487 of file giaUtil.c.
void Gia_ManCleanValue | ( | Gia_Man_t * | p | ) |
Function*************************************************************
Synopsis [Testing the speedup due to grouping POs into batches.]
Description []
SideEffects []
SeeAlso []
Definition at line 1444 of file giaUtil.c.
Function*************************************************************
Synopsis [Collects PO Ids into one array.]
Description []
SideEffects []
SeeAlso []
Definition at line 863 of file giaUtil.c.
unsigned* Gia_ManComputePoTruthTables | ( | Gia_Man_t * | p, |
int | nBytesMax | ||
) |
Definition at line 1464 of file giaUtil.c.
Function*************************************************************
Synopsis [Compute slacks measured using the number of AIG levels.]
Description []
SideEffects []
SeeAlso []
Definition at line 663 of file giaUtil.c.
int* Gia_ManCreateMuxRefs | ( | Gia_Man_t * | p | ) |
Function*************************************************************
Synopsis [Assigns references.]
Description []
SideEffects []
SeeAlso []
Definition at line 746 of file giaUtil.c.
void Gia_ManCreateRefs | ( | Gia_Man_t * | p | ) |
Function*************************************************************
Synopsis [Assigns references.]
Description []
SideEffects []
SeeAlso []
void Gia_ManCreateValueRefs | ( | Gia_Man_t * | p | ) |
int Gia_ManCrossCut | ( | Gia_Man_t * | p, |
int | fReverse | ||
) |
Definition at line 820 of file giaUtil.c.
Definition at line 798 of file giaUtil.c.
Function*************************************************************
Synopsis [Computes the maximum frontier size.]
Description []
SideEffects []
SeeAlso []
Definition at line 774 of file giaUtil.c.
void Gia_ManFillValue | ( | Gia_Man_t * | p | ) |
Function*************************************************************
Synopsis [Returns the array containing the first fanout of each object.]
Description []
SideEffects []
SeeAlso []
Definition at line 1635 of file giaUtil.c.
Function*************************************************************
Synopsis [Assigns levels using CI level information.]
Description []
SideEffects []
SeeAlso []
Definition at line 546 of file giaUtil.c.
Function*************************************************************
Synopsis [Returns 1 if AIG has dangling nodes.]
Description []
SideEffects []
SeeAlso []
Definition at line 1224 of file giaUtil.c.
Function*************************************************************
Synopsis [Proving multi-output properties.]
Description []
SideEffects []
SeeAlso []
Definition at line 1763 of file giaUtil.c.
int Gia_ManHasChoices_very_old | ( | Gia_Man_t * | p | ) |
Function*************************************************************
Synopsis [Returns 1 if AIG has choices.]
Description []
SideEffects []
SeeAlso []
Definition at line 1671 of file giaUtil.c.
int Gia_ManHasDangling | ( | Gia_Man_t * | p | ) |
void Gia_ManIncrementTravId | ( | Gia_Man_t * | p | ) |
void Gia_ManInvertConstraints | ( | Gia_Man_t * | pAig | ) |
void Gia_ManInvertPos | ( | Gia_Man_t * | pAig | ) |
float Gia_ManLevelAve | ( | Gia_Man_t * | p | ) |
int Gia_ManLevelNum | ( | Gia_Man_t * | p | ) |
Function*************************************************************
Synopsis [Assigns levels.]
Description []
SideEffects []
SeeAlso []
int Gia_ManMarkDangling | ( | Gia_Man_t * | p | ) |
void Gia_ManMarkFanoutDrivers | ( | Gia_Man_t * | p | ) |
int Gia_ManPoMffcSize | ( | Gia_Man_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 1849 of file giaUtil.c.
Definition at line 1380 of file giaUtil.c.
Definition at line 1357 of file giaUtil.c.
void Gia_ManPrintCone | ( | Gia_Man_t * | p, |
Gia_Obj_t * | pObj, | ||
int * | pLeaves, | ||
int | nLeaves, | ||
Vec_Int_t * | vNodes | ||
) |
Definition at line 1368 of file giaUtil.c.
Definition at line 1392 of file giaUtil.c.
unsigned Gia_ManRandom | ( | int | fReset | ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Creates a sequence or random numbers.]
Description []
SideEffects []
SeeAlso [http://www.codeproject.com/KB/recipes/SimpleRNG.aspx]
Definition at line 49 of file giaUtil.c.
void Gia_ManRandomInfo | ( | Vec_Ptr_t * | vInfo, |
int | iInputStart, | ||
int | iWordStart, | ||
int | iWordStop | ||
) |
Function*************************************************************
Synopsis [Creates random info for the primary inputs.]
Description []
SideEffects []
SeeAlso []
Definition at line 80 of file giaUtil.c.
Function*************************************************************
Synopsis [Compute required levels.]
Description []
SideEffects []
SeeAlso []
Definition at line 639 of file giaUtil.c.
Function*************************************************************
Synopsis [Compute reverse levels.]
Description []
SideEffects []
SeeAlso []
Definition at line 595 of file giaUtil.c.
Function*************************************************************
Synopsis [Save/load value from file.]
Description []
SideEffects []
SeeAlso []
Definition at line 1605 of file giaUtil.c.
void Gia_ManSetMark0 | ( | Gia_Man_t * | p | ) |
void Gia_ManSetMark1 | ( | Gia_Man_t * | p | ) |
void Gia_ManSetPhase | ( | Gia_Man_t * | p | ) |
void Gia_ManSetPhase1 | ( | Gia_Man_t * | p | ) |
void Gia_ManSwapPos | ( | Gia_Man_t * | p, |
int | i | ||
) |
int Gia_ObjIsMuxType | ( | Gia_Obj_t * | pNode | ) |
Function*************************************************************
Synopsis [Returns 1 if the node is the root of MUX or EXOR/NEXOR.]
Description []
SideEffects []
SeeAlso []
Definition at line 885 of file giaUtil.c.
Function*************************************************************
Synopsis [Verbose printing of the AIG node.]
Description []
SideEffects []
SeeAlso []
Definition at line 1258 of file giaUtil.c.
Function*************************************************************
Synopsis [Recognizes what nodes are control and data inputs of a MUX.]
Description [If the node is a MUX, returns the control variable C. Assigns nodes T and E to be the then and else variables of the MUX. Node C is never complemented. Nodes T and E can be complemented. This function also recognizes EXOR/NEXOR gates as MUXes.]
SideEffects []
SeeAlso []
Definition at line 959 of file giaUtil.c.
Definition at line 1036 of file giaUtil.c.