|
abc-master
|
#include "aig/gia/gia.h"#include "misc/extra/extra.h"#include "misc/util/utilNam.h"#include "misc/mem/mem.h"#include "misc/util/utilTruth.h"Go to the source code of this file.
Data Structures | |
| struct | Wlc_Obj_t_ |
| struct | Wlc_Ntk_t_ |
Macros | |
| #define | Wlc_NtkForEachObj(p, pObj, i) for ( i = 1; (i < Wlc_NtkObjNumMax(p)) && (((pObj) = Wlc_NtkObj(p, i)), 1); i++ ) |
| MACRO DEFINITIONS ///. More... | |
| #define | Wlc_NtkForEachObjVec(vVec, p, pObj, i) for ( i = 0; (i < Vec_IntSize(vVec)) && (((pObj) = Wlc_NtkObj(p, Vec_IntEntry(vVec, i))), 1); i++ ) |
| #define | Wlc_NtkForEachPi(p, pPi, i) for ( i = 0; (i < Wlc_NtkPiNum(p)) && (((pPi) = Wlc_NtkPi(p, i)), 1); i++ ) |
| #define | Wlc_NtkForEachPo(p, pPo, i) for ( i = 0; (i < Wlc_NtkPoNum(p)) && (((pPo) = Wlc_NtkPo(p, i)), 1); i++ ) |
| #define | Wlc_NtkForEachCi(p, pCi, i) for ( i = 0; (i < Wlc_NtkCiNum(p)) && (((pCi) = Wlc_NtkCi(p, i)), 1); i++ ) |
| #define | Wlc_NtkForEachCo(p, pCo, i) for ( i = 0; (i < Wlc_NtkCoNum(p)) && (((pCo) = Wlc_NtkCo(p, i)), 1); i++ ) |
| #define | Wlc_NtkForEachFf(p, pFf, i) for ( i = 0; (i < Vec_IntSize(&p->vFfs)) && (((pFf) = Wlc_NtkFf(p, i)), 1); i++ ) |
| #define | Wlc_ObjForEachFanin(pObj, iFanin, i) for ( i = 0; (i < Wlc_ObjFaninNum(pObj)) && (((iFanin) = Wlc_ObjFaninId(pObj, i)), 1); i++ ) |
| #define | Wlc_ObjForEachFaninReverse(pObj, iFanin, i) for ( i = Wlc_ObjFaninNum(pObj) - 1; (i >= 0) && (((iFanin) = Wlc_ObjFaninId(pObj, i)), 1); i-- ) |
Typedefs | |
| typedef struct Wlc_Obj_t_ | Wlc_Obj_t |
| BASIC TYPES ///. More... | |
| typedef struct Wlc_Ntk_t_ | Wlc_Ntk_t |
| #define Wlc_NtkForEachObj | ( | p, | |
| pObj, | |||
| i | |||
| ) | for ( i = 1; (i < Wlc_NtkObjNumMax(p)) && (((pObj) = Wlc_NtkObj(p, i)), 1); i++ ) |
| #define Wlc_NtkForEachObjVec | ( | vVec, | |
| p, | |||
| pObj, | |||
| i | |||
| ) | for ( i = 0; (i < Vec_IntSize(vVec)) && (((pObj) = Wlc_NtkObj(p, Vec_IntEntry(vVec, i))), 1); i++ ) |
| #define Wlc_ObjForEachFanin | ( | pObj, | |
| iFanin, | |||
| i | |||
| ) | for ( i = 0; (i < Wlc_ObjFaninNum(pObj)) && (((iFanin) = Wlc_ObjFaninId(pObj, i)), 1); i++ ) |
| #define Wlc_ObjForEachFaninReverse | ( | pObj, | |
| iFanin, | |||
| i | |||
| ) | for ( i = Wlc_ObjFaninNum(pObj) - 1; (i >= 0) && (((iFanin) = Wlc_ObjFaninId(pObj, i)), 1); i-- ) |
| typedef struct Wlc_Ntk_t_ Wlc_Ntk_t |
| typedef struct Wlc_Obj_t_ Wlc_Obj_t |
| enum Wlc_ObjType_t |
INCLUDES ///.
CFile****************************************************************
FileName [wlc.h]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Verilog parser.]
Synopsis [External declarations.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - August 22, 2014.]
Revision [
]PARAMETERS ///
Definition at line 43 of file wlc.h.
Function*************************************************************
Synopsis [Abstracts nodes by replacing their outputs with new PIs.]
Description [If array is NULL, abstract all multipliers.]
SideEffects []
SeeAlso []
Definition at line 137 of file wlcAbs.c.
| Wlc_Ntk_t* Wlc_NtkAlloc | ( | char * | pName, |
| int | nObjsAlloc | ||
| ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 405 of file wlcBlast.c.
Function*************************************************************
Synopsis [Collect IDs of the multipliers.]
Description []
SideEffects []
SeeAlso []
Definition at line 76 of file wlcAbs.c.
Definition at line 457 of file wlcNtk.c.
Function*************************************************************
Synopsis [Returns all pairs of uifable multipliers.]
Description []
SideEffects []
SeeAlso []
Definition at line 100 of file wlcAbs.c.
FUNCTION DECLARATIONS ///.
FUNCTION DECLARATIONS ///.
CFile****************************************************************
FileName [wlcAbs.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Verilog parser.]
Synopsis [Abstraction for word-level networks.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - August 22, 2014.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Check if two objects have the same input/output signatures.]
Description []
SideEffects []
SeeAlso []
| void Wlc_NtkPrintNodes | ( | Wlc_Ntk_t * | p, |
| int | Type | ||
| ) |
Definition at line 354 of file wlcNtk.c.
| void Wlc_NtkPrintStats | ( | Wlc_Ntk_t * | p, |
| int | fDistrib, | ||
| int | fVerbose | ||
| ) |
Function*************************************************************
Synopsis [Adds UIF constraints to node pairs and updates POs.]
Description []
SideEffects []
SeeAlso []
Definition at line 192 of file wlcAbs.c.
Definition at line 182 of file wlcNtk.c.
| int Wlc_ObjAlloc | ( | Wlc_Ntk_t * | p, |
| int | Type, | ||
| int | Signed, | ||
| int | End, | ||
| int | Beg | ||
| ) |
|
inlinestatic |
|
inlinestatic |
Definition at line 161 of file wlcNtk.c.
|
inlinestatic |
Definition at line 196 of file wlc.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
| char* Wlc_ObjName | ( | Wlc_Ntk_t * | p, |
| int | iObj | ||
| ) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 187 of file wlc.h.
|
inlinestatic |
Definition at line 193 of file wlc.h.
|
inlinestatic |
| Wlc_Ntk_t* Wlc_ReadVer | ( | char * | pFileName | ) |
Definition at line 1080 of file wlcReadVer.c.
| void Wlc_WriteVer | ( | Wlc_Ntk_t * | p, |
| char * | pFileName | ||
| ) |
Definition at line 354 of file wlcWriteVer.c.