abc-master
|
Go to the source code of this file.
Macros | |
#define | NUMBER1 3716960521u |
#define | NUMBER2 2174103536u |
char* Aig_FileNameGenericAppend | ( | char * | pBase, |
char * | pSuffix | ||
) |
int Aig_ManChoiceNum | ( | Aig_Man_t * | p | ) |
void Aig_ManCleanCioIds | ( | Aig_Man_t * | p | ) |
void Aig_ManCleanData | ( | Aig_Man_t * | p | ) |
void Aig_ManCleanMarkA | ( | Aig_Man_t * | p | ) |
void Aig_ManCleanMarkAB | ( | Aig_Man_t * | p | ) |
void Aig_ManCleanMarkB | ( | Aig_Man_t * | p | ) |
void Aig_ManCleanNext | ( | Aig_Man_t * | p | ) |
int Aig_ManCounterExampleValueLookup | ( | Aig_Man_t * | pAig, |
int | Id, | ||
int | iFrame | ||
) |
Function*************************************************************
Synopsis [Returns the value of the given object in the given timeframe.]
Description [Should be called to probe the value of an object with the given ID (iFrame is a 0-based number of a time frame - should not exceed the number of timeframes in the original counter-example).]
SideEffects []
SeeAlso []
Definition at line 1392 of file aigUtil.c.
Function*************************************************************
Synopsis [Starts the process of retuning values for internal nodes.]
Description [Should be called when pCex is available, before probing any object for its value using Aig_ManCounterExampleValueLookup().]
SideEffects []
SeeAlso []
Definition at line 1313 of file aigUtil.c.
void Aig_ManCounterExampleValueStop | ( | Aig_Man_t * | pAig | ) |
Function*************************************************************
Synopsis [Procedure to test the above code.]
Description []
SideEffects []
SeeAlso []
Definition at line 1409 of file aigUtil.c.
void Aig_ManDump | ( | Aig_Man_t * | p | ) |
Function*************************************************************
Synopsis [Write speculative miter for one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 712 of file aigUtil.c.
void Aig_ManDumpBlif | ( | Aig_Man_t * | p, |
char * | pFileName, | ||
Vec_Ptr_t * | vPiNames, | ||
Vec_Ptr_t * | vPoNames | ||
) |
Function*************************************************************
Synopsis [Writes the AIG into a BLIF file.]
Description []
SideEffects []
SeeAlso []
Definition at line 733 of file aigUtil.c.
void Aig_ManDumpVerilog | ( | Aig_Man_t * | p, |
char * | pFileName | ||
) |
Function*************************************************************
Synopsis [Writes the AIG into a Verilog file.]
Description []
SideEffects []
SeeAlso []
Definition at line 848 of file aigUtil.c.
int Aig_ManHasNoGaps | ( | Aig_Man_t * | p | ) |
ABC_NAMESPACE_IMPL_START void Aig_ManIncrementTravId | ( | Aig_Man_t * | p | ) |
DECLARATIONS ///.
CFile****************************************************************
FileName [aigUtil.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [AIG package.]
Synopsis [Various procedures.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - April 28, 2007.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Increments the current traversal ID of the network.]
Description []
SideEffects []
SeeAlso []
Definition at line 44 of file aigUtil.c.
void Aig_ManInvertConstraints | ( | Aig_Man_t * | pAig | ) |
int Aig_ManLevels | ( | Aig_Man_t * | p | ) |
Function*************************************************************
Synopsis [Collects muxes.]
Description []
SideEffects []
SeeAlso []
Definition at line 1460 of file aigUtil.c.
Function*************************************************************
Synopsis [Dereferences muxes.]
Description []
SideEffects []
SeeAlso []
Definition at line 1483 of file aigUtil.c.
Function*************************************************************
Synopsis [References muxes.]
Description []
SideEffects []
SeeAlso []
Definition at line 1513 of file aigUtil.c.
void Aig_ManPrintControlFanouts | ( | Aig_Man_t * | p | ) |
void Aig_ManPrintVerbose | ( | Aig_Man_t * | p, |
int | fHaig | ||
) |
Function*************************************************************
Synopsis [Prints node in HAIG.]
Description []
SideEffects []
SeeAlso []
Definition at line 685 of file aigUtil.c.
unsigned Aig_ManRandom | ( | int | fReset | ) |
GLOBAL VARIABLES ///.
Function*************************************************************
Synopsis [Creates a sequence of random numbers.]
Description []
SideEffects []
SeeAlso [http://www.codeproject.com/KB/recipes/SimpleRNG.aspx]
Definition at line 1157 of file aigUtil.c.
word Aig_ManRandom64 | ( | int | fReset | ) |
void Aig_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 1200 of file aigUtil.c.
void Aig_ManRandomTest1 | ( | ) |
Function*************************************************************
Synopsis [Creates a sequence of random numbers.]
Description []
SideEffects []
SeeAlso [http://www.codeproject.com/KB/recipes/SimpleRNG.aspx]
Definition at line 1124 of file aigUtil.c.
void Aig_ManRandomTest2 | ( | ) |
Function*************************************************************
Synopsis [Creates a sequence of random numbers.]
Description []
SideEffects []
SeeAlso [http://en.wikipedia.org/wiki/LFSR]
Definition at line 1094 of file aigUtil.c.
void Aig_ManResetRefs | ( | Aig_Man_t * | p | ) |
void Aig_ManSetCioIds | ( | Aig_Man_t * | p | ) |
void Aig_ManSetPhase | ( | Aig_Man_t * | pAig | ) |
void Aig_ObjCleanData_rec | ( | Aig_Obj_t * | pObj | ) |
Function*************************************************************
Synopsis [Detects multi-input gate rooted at this node.]
Description []
SideEffects []
SeeAlso []
Definition at line 289 of file aigUtil.c.
Function*************************************************************
Synopsis [Detects multi-input gate rooted at this node.]
Description []
SideEffects []
SeeAlso []
Definition at line 267 of file aigUtil.c.
Function*************************************************************
Synopsis [Procedure used for sorting the nodes in increasing order of IDs.]
Description []
SideEffects []
SeeAlso []
int Aig_ObjIsMuxType | ( | Aig_Obj_t * | pNode | ) |
Function*************************************************************
Synopsis [Returns 1 if the node is the root of MUX or EXOR/NEXOR.]
Description []
SideEffects []
SeeAlso []
Definition at line 307 of file aigUtil.c.
Function*************************************************************
Synopsis [Prints Eqn formula for the AIG rooted at this node.]
Description [The formula is in terms of PIs, which should have their names assigned in pObj->pData fields.]
SideEffects []
SeeAlso []
Definition at line 519 of file aigUtil.c.
void Aig_ObjPrintVerbose | ( | Aig_Obj_t * | pObj, |
int | fHaig | ||
) |
Function*************************************************************
Synopsis [Prints Verilog formula for the AIG rooted at this node.]
Description [The formula is in terms of PIs, which should have their names assigned in pObj->pData fields.]
SideEffects []
SeeAlso []
Definition at line 566 of file aigUtil.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 387 of file aigUtil.c.