
Go to the source code of this file.
Classes | |
| struct | Rtl_Lib_t_ |
| struct | Rtl_Ntk_t_ |
Macros | |
| #define | MAX_LINE 1000000 |
| DECLARATIONS ///. | |
| #define | MAX_MAP 32 |
| #define | CELL_NUM 8 |
| #define | WIRE_NUM 5 |
| #define | TEMP_NUM 5 |
| #define | CONST_SHIFT 99 |
| #define | Rtl_NtkForEachAttr(p, Par, Val, i) |
| #define | Rtl_NtkForEachWire(p, pWire, i) |
| #define | Rtl_NtkForEachCell(p, pCell, i) |
| #define | Rtl_NtkForEachCon(p, pCon, i) |
| #define | Rtl_CellForEachAttr(p, pCell, Par, Val, i) |
| #define | Rtl_CellForEachParam(p, pCell, Par, Val, i) |
| #define | Rtl_CellForEachConnect(p, pCell, Par, Val, i) |
| #define | Rtl_CellForEachInput(p, pCell, Par, Val, i) |
| #define | Rtl_CellForEachOutput(p, pCell, Par, Val, i) |
Typedefs | |
| typedef struct Rtl_Ntk_t_ | Rtl_Ntk_t |
Enumerations | |
| enum | Rtl_Type_t { RTL_NONE = 0 , RTL_MODULE , RTL_END , RTL_INPUT , RTL_OUTPUT , RTL_INOUT , RTL_UPTO , RTL_SIGNED , RTL_OFFSET , RTL_PARAMETER , RTL_WIRE , RTL_CONNECT , RTL_CELL , RTL_WIDTH , RTL_ATTRIBUTE , RTL_UNUSED } |
| #define MAX_LINE 1000000 |
DECLARATIONS ///.
CFile****************************************************************
FileName [wln.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Word-level network.]
Synopsis []
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - September 23, 2018.]
Revision [
]
| #define Rtl_CellForEachAttr | ( | p, | |
| pCell, | |||
| Par, | |||
| Val, | |||
| i ) |
| #define Rtl_CellForEachConnect | ( | p, | |
| pCell, | |||
| Par, | |||
| Val, | |||
| i ) |
| #define Rtl_CellForEachInput | ( | p, | |
| pCell, | |||
| Par, | |||
| Val, | |||
| i ) |
| #define Rtl_CellForEachOutput | ( | p, | |
| pCell, | |||
| Par, | |||
| Val, | |||
| i ) |
| #define Rtl_CellForEachParam | ( | p, | |
| pCell, | |||
| Par, | |||
| Val, | |||
| i ) |
| #define Rtl_NtkForEachAttr | ( | p, | |
| Par, | |||
| Val, | |||
| i ) |
| #define Rtl_NtkForEachCell | ( | p, | |
| pCell, | |||
| i ) |
| #define Rtl_NtkForEachCon | ( | p, | |
| pCon, | |||
| i ) |
| #define Rtl_NtkForEachWire | ( | p, | |
| pWire, | |||
| i ) |
| typedef struct Rtl_Ntk_t_ Rtl_Ntk_t |
| enum Rtl_Type_t |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
| Enumerator | |
|---|---|
| RTL_NONE | |
| RTL_MODULE | |
| RTL_END | |
| RTL_INPUT | |
| RTL_OUTPUT | |
| RTL_INOUT | |
| RTL_UPTO | |
| RTL_SIGNED | |
| RTL_OFFSET | |
| RTL_PARAMETER | |
| RTL_WIRE | |
| RTL_CONNECT | |
| RTL_CELL | |
| RTL_WIDTH | |
| RTL_ATTRIBUTE | |
| RTL_UNUSED | |
Definition at line 408 of file wlnRead.c.
|
extern |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 676 of file abcDar.c.


Definition at line 2077 of file cecSatG2.c.


Definition at line 2462 of file wlnRead.c.

Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 2743 of file wlnRead.c.


| int Gia_ManFindFirst | ( | Rtl_Ntk_t * | p, |
| int * | pnOuts ) |
Definition at line 2423 of file wlnRead.c.

Definition at line 2448 of file wlnRead.c.


Definition at line 2476 of file wlnRead.c.


| int * Rlt_NtkFindIOPerm | ( | Rtl_Ntk_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 618 of file wlnRead.c.


| Rtl_Lib_t * Rtl_LibAlloc | ( | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 309 of file wlnRead.c.

| void Rtl_LibBlast | ( | Rtl_Lib_t * | pLib | ) |
Definition at line 1977 of file wlnRead.c.

Definition at line 2229 of file wlnRead.c.


| void Rtl_LibBlastClean | ( | Rtl_Lib_t * | p | ) |
Definition at line 2790 of file wlnRead.c.

Definition at line 1449 of file wlnRead.c.

| int Rtl_LibFindModule | ( | Rtl_Lib_t * | p, |
| int | NameId ) |
| int Rtl_LibFindModule2 | ( | Rtl_Lib_t * | p, |
| int | NameId, | ||
| int | iNtk0 ) |
| int Rtl_LibFindTwoModules | ( | Rtl_Lib_t * | p, |
| int | Name1, | ||
| int | Name2 ) |
Definition at line 361 of file wlnRead.c.


| void Rtl_LibFree | ( | Rtl_Lib_t * | p | ) |
| void Rtl_LibMark_rec | ( | Rtl_Ntk_t * | pNtk | ) |
Definition at line 2215 of file wlnRead.c.


| void Rtl_LibNormRanges | ( | Rtl_Lib_t * | pLib | ) |
| void Rtl_LibOrderCells | ( | Rtl_Lib_t * | pLib | ) |
| void Rtl_LibOrderWires | ( | Rtl_Lib_t * | pLib | ) |
| void Rtl_LibPreprocess | ( | Rtl_Lib_t * | pLib | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 2303 of file wlnRead.c.

| void Rtl_LibPrint | ( | char * | pFileName, |
| Rtl_Lib_t * | p ) |
Definition at line 1132 of file wlnRead.c.

| void Rtl_LibPrintHieStats | ( | Rtl_Lib_t * | p | ) |
Definition at line 286 of file wlnRead.c.

| void Rtl_LibPrintStats | ( | Rtl_Lib_t * | p | ) |
Definition at line 386 of file wlnRead.c.

| Rtl_Lib_t * Rtl_LibReadFile | ( | char * | pFileName, |
| char * | pFileSpec ) |
Definition at line 1492 of file wlnRead.c.


| int Rtl_LibReadType | ( | char * | pType | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 467 of file wlnRead.c.


| void Rtl_LibReorderModules | ( | Rtl_Lib_t * | p | ) |
Definition at line 1477 of file wlnRead.c.


Definition at line 1436 of file wlnRead.c.


| int Rtl_LibReturnNtk | ( | Rtl_Lib_t * | p, |
| char * | pModule ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 2779 of file wlnRead.c.


| void Rtl_LibSetParents | ( | Rtl_Lib_t * | p | ) |
Definition at line 1430 of file wlnRead.c.


Definition at line 2260 of file wlnRead.c.


| void Rtl_LibSolve | ( | Rtl_Lib_t * | pLib, |
| void * | pNtk ) |
Definition at line 2343 of file wlnRead.c.


| void Rtl_LibUpdateBoxes | ( | Rtl_Lib_t * | p | ) |
Definition at line 1471 of file wlnRead.c.


| void Rtl_LibUpdateInstances | ( | Rtl_Ntk_t * | p | ) |
Definition at line 653 of file wlnRead.c.


FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 179 of file wlnRead.c.

Definition at line 1933 of file wlnRead.c.


Definition at line 2174 of file wlnRead.c.


| void Rtl_NtkBlast2_rec | ( | Rtl_Ntk_t * | p, |
| int | iBit, | ||
| int * | pDriver ) |
Definition at line 2137 of file wlnRead.c.


| int Rtl_NtkBlast2Spec | ( | Rtl_Ntk_t * | p, |
| int * | pCell, | ||
| int | iInput ) |
Definition at line 2103 of file wlnRead.c.


Definition at line 1803 of file wlnRead.c.


| int Rtl_NtkBlastCons | ( | Rtl_Ntk_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 2001 of file wlnRead.c.


Definition at line 1812 of file wlnRead.c.


Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 1775 of file wlnRead.c.

| void Rtl_NtkBlastMap | ( | Rtl_Ntk_t * | p, |
| int | nBits ) |
Definition at line 2062 of file wlnRead.c.


Definition at line 1880 of file wlnRead.c.


| void Rtl_NtkBlastPrepareInputs | ( | Rtl_Ntk_t * | p, |
| int * | pCell ) |
Definition at line 2122 of file wlnRead.c.


| int Rtl_NtkCellParamValue | ( | Rtl_Ntk_t * | p, |
| int * | pCell, | ||
| char * | pParam ) |
Definition at line 1863 of file wlnRead.c.

| int Rtl_NtkCheckConcatRange | ( | Rtl_Ntk_t * | p, |
| int * | pConcat ) |
|
extern |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 774 of file wlnRead.c.


| int Rtl_NtkCheckSliceRange | ( | Rtl_Ntk_t * | p, |
| int * | pSlice ) |
| int Rtl_NtkCheckWireRange | ( | Rtl_Ntk_t * | p, |
| int | NameId, | ||
| int | Left, | ||
| int | Right ) |
| void Rtl_NtkCollectConcatInfo | ( | Rtl_Ntk_t * | p, |
| int * | pConcat ) |
| void Rtl_NtkCollectConcatRange | ( | Rtl_Ntk_t * | p, |
| int * | pConcat ) |
| void Rtl_NtkCollectConstInfo | ( | Rtl_Ntk_t * | p, |
| int * | pConst ) |
| void Rtl_NtkCollectConstRange | ( | Rtl_Ntk_t * | p, |
| int * | pConst ) |
| int Rtl_NtkCollectOrComputeBit | ( | Rtl_Ntk_t * | p, |
| int | iBit ) |
Definition at line 846 of file wlnRead.c.

|
extern |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 1610 of file wlnRead.c.


|
extern |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 1668 of file wlnRead.c.


| void Rtl_NtkCollectSliceInfo | ( | Rtl_Ntk_t * | p, |
| int * | pSlice ) |
| void Rtl_NtkCollectSliceRange | ( | Rtl_Ntk_t * | p, |
| int * | pSlice ) |
| void Rtl_NtkCollectWireInfo | ( | Rtl_Ntk_t * | p, |
| int | NameId, | ||
| int | Left, | ||
| int | Right ) |
Definition at line 1581 of file wlnRead.c.

| void Rtl_NtkCollectWireRange | ( | Rtl_Ntk_t * | p, |
| int | NameId, | ||
| int | Left, | ||
| int | Right ) |
| int Rtl_NtkCountConcatRange | ( | Rtl_Ntk_t * | p, |
| int * | pConcat ) |
| void Rtl_NtkCountPio | ( | Rtl_Ntk_t * | p, |
| int | Counts[4] ) |
|
extern |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 723 of file wlnRead.c.


| int Rtl_NtkCountSliceRange | ( | Rtl_Ntk_t * | p, |
| int * | pSlice ) |
| int Rtl_NtkCountWireRange | ( | Rtl_Ntk_t * | p, |
| int | NameId ) |
| void Rtl_NtkFree | ( | Rtl_Ntk_t * | p | ) |
| void Rtl_NtkInitInputs | ( | Rtl_Ntk_t * | p | ) |
| int Rtl_NtkInsertConcatRange | ( | Rtl_Ntk_t * | p, |
| int * | pConcat, | ||
| int * | pLits, | ||
| int | nLits ) |
|
extern |
Definition at line 1713 of file wlnRead.c.


| int Rtl_NtkInsertSliceRange | ( | Rtl_Ntk_t * | p, |
| int * | pSlice, | ||
| int * | pLits, | ||
| int | nLits ) |
| int Rtl_NtkInsertWireRange | ( | Rtl_Ntk_t * | p, |
| int | NameId, | ||
| int | Left, | ||
| int | Right, | ||
| int * | pLits, | ||
| int | nLits ) |
Definition at line 1684 of file wlnRead.c.

| int Rtl_NtkMapConcatRange | ( | Rtl_Ntk_t * | p, |
| int * | pConcat, | ||
| int | iCell, | ||
| int | iBit ) |
|
extern |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 1553 of file wlnRead.c.


| int Rtl_NtkMapSliceRange | ( | Rtl_Ntk_t * | p, |
| int * | pSlice, | ||
| int | iCell, | ||
| int | iBit ) |
| int Rtl_NtkMapWireRange | ( | Rtl_Ntk_t * | p, |
| int | NameId, | ||
| int | Left, | ||
| int | Right, | ||
| int | iCell, | ||
| int | iBit ) |
Definition at line 1525 of file wlnRead.c.

| void Rtl_NtkMapWires | ( | Rtl_Ntk_t * | p, |
| int | fUnmap ) |
| void Rtl_NtkNormRanges | ( | Rtl_Ntk_t * | p | ) |
Definition at line 566 of file wlnRead.c.


| void Rtl_NtkOrderCells | ( | Rtl_Ntk_t * | p | ) |
Definition at line 935 of file wlnRead.c.


| void Rtl_NtkOrderWires | ( | Rtl_Ntk_t * | p | ) |
| void Rtl_NtkPrint | ( | Rtl_Ntk_t * | p | ) |
| void Rtl_NtkPrintBufOne | ( | Rtl_Lib_t * | p, |
| int | Lit ) |
Definition at line 1923 of file wlnRead.c.


| void Rtl_NtkPrintCell | ( | Rtl_Ntk_t * | p, |
| int * | pCell ) |
Definition at line 1098 of file wlnRead.c.


| void Rtl_NtkPrintCellOrder | ( | Rtl_Ntk_t * | p | ) |
Definition at line 902 of file wlnRead.c.
| void Rtl_NtkPrintConcat | ( | Rtl_Ntk_t * | p, |
| int * | pConcat ) |
| void Rtl_NtkPrintConnection | ( | Rtl_Ntk_t * | p, |
| int * | pCon ) |
| void Rtl_NtkPrintConst | ( | Rtl_Ntk_t * | p, |
| int * | pConst ) |
| void Rtl_NtkPrintHieStats | ( | Rtl_Ntk_t * | p, |
| int | nOffset ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 265 of file wlnRead.c.


| void Rtl_NtkPrintOpers | ( | Rtl_Ntk_t * | p | ) |
Definition at line 219 of file wlnRead.c.
|
extern |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 1075 of file wlnRead.c.


| void Rtl_NtkPrintSlice | ( | Rtl_Ntk_t * | p, |
| int * | pSlice ) |
| void Rtl_NtkPrintStats | ( | Rtl_Ntk_t * | p, |
| int | nNameSymbs ) |
| void Rtl_NtkPrintUnusedCells | ( | Rtl_Ntk_t * | p | ) |
| void Rtl_NtkPrintWire | ( | Rtl_Ntk_t * | p, |
| int * | pWire ) |
| int Rtl_NtkRangeWires | ( | Rtl_Ntk_t * | p | ) |
Function*************************************************************
Synopsis [There is no need to normalize ranges in Yosys.]
Description []
SideEffects []
SeeAlso []
Definition at line 542 of file wlnRead.c.

| int Rtl_NtkReadAttribute | ( | Rtl_Ntk_t * | p, |
| int | iPos ) |
| int Rtl_NtkReadAttribute2 | ( | Rtl_Lib_t * | p, |
| int | iPos ) |
Definition at line 1286 of file wlnRead.c.

| int Rtl_NtkReadCell | ( | Rtl_Ntk_t * | p, |
| int | iPos ) |
Definition at line 1308 of file wlnRead.c.


| int Rtl_NtkReadConcat | ( | Rtl_Ntk_t * | p, |
| int * | pPos ) |
Definition at line 1205 of file wlnRead.c.


| int Rtl_NtkReadConnect | ( | Rtl_Ntk_t * | p, |
| int | iPos ) |
| int Rtl_NtkReadConst | ( | Rtl_Ntk_t * | p, |
| char * | pConst ) |
Definition at line 1167 of file wlnRead.c.


Definition at line 996 of file wlnRead.c.


| int Rtl_NtkReadNtk | ( | Rtl_Lib_t * | pLib, |
| int | Mod ) |
Definition at line 1363 of file wlnRead.c.


|
extern |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 1221 of file wlnRead.c.


| int Rtl_NtkReadSlice | ( | Rtl_Ntk_t * | p, |
| char * | pSlice, | ||
| int | NameId ) |
Definition at line 1192 of file wlnRead.c.


| int Rtl_NtkReadType | ( | Rtl_Ntk_t * | p, |
| int | Type ) |
| int Rtl_NtkReadWire | ( | Rtl_Ntk_t * | p, |
| int | iPos ) |
Definition at line 1241 of file wlnRead.c.

| void Rtl_NtkReportUndefs | ( | Rtl_Ntk_t * | p | ) |
Definition at line 1389 of file wlnRead.c.

| int Rtl_NtkReviewCells | ( | Rtl_Ntk_t * | p | ) |
Definition at line 864 of file wlnRead.c.


| int Rtl_NtkReviewConnections | ( | Rtl_Ntk_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 1739 of file wlnRead.c.

| void Rtl_NtkSetConcatRange | ( | Rtl_Ntk_t * | p, |
| int * | pConcat, | ||
| int | Value ) |
| int Rtl_NtkSetParents | ( | Rtl_Ntk_t * | p | ) |
Definition at line 1413 of file wlnRead.c.


|
extern |
Definition at line 817 of file wlnRead.c.


| void Rtl_NtkSetSliceRange | ( | Rtl_Ntk_t * | p, |
| int * | pSlice, | ||
| int | Value ) |
| void Rtl_NtkSetWireRange | ( | Rtl_Ntk_t * | p, |
| int | NameId, | ||
| int | Left, | ||
| int | Right, | ||
| int | Value ) |
Definition at line 791 of file wlnRead.c.

| void Rtl_NtkUpdateBoxes | ( | Rtl_Ntk_t * | p | ) |
Definition at line 2650 of file wlnRead.c.


| char * Rtl_ShortenName | ( | char * | pName, |
| int | nSize ) |
Definition at line 1905 of file wlnRead.c.


| void Rtl_TokenRespace | ( | char * | p | ) |
| void Rtl_TokenUnspace | ( | char * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 979 of file wlnRead.c.


| void Wln_LibGraftOne | ( | Rtl_Lib_t * | p, |
| char ** | pModules, | ||
| int | nModules, | ||
| int | fInv, | ||
| int | fVerbose ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 2847 of file wlnRead.c.

| void Wln_LibMarkHierarchy | ( | Rtl_Lib_t * | p, |
| char ** | ppModule, | ||
| int | nModules, | ||
| int | fVerbose ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 2925 of file wlnRead.c.

|
extern |
DECLARATIONS ///.
CFile****************************************************************
FileName [wln.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Word-level network.]
Synopsis []
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - September 23, 2018.]
Revision [
] FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 44 of file wlnGuide.c.


| int Wln_ReadMatchEnd | ( | Rtl_Ntk_t * | p, |
| int | Mod ) |
Definition at line 2555 of file wlnRead.c.


| void Wln_SolveEqual | ( | Rtl_Lib_t * | p, |
| int | iNtk1, | ||
| int | iNtk2 ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 2385 of file wlnRead.c.


| void Wln_SolveInverse | ( | Rtl_Lib_t * | p, |
| int | iNtk1, | ||
| int | iNtk2 ) |
Definition at line 2500 of file wlnRead.c.


| void Wln_SolveProperty | ( | Rtl_Lib_t * | p, |
| int | iNtk ) |
| void Wln_SolveWithGuidance | ( | char * | pFileName, |
| Rtl_Lib_t * | p ) |
Definition at line 2581 of file wlnRead.c.
