abc-master
|
Go to the source code of this file.
Typedefs | |
typedef typedefABC_NAMESPACE_HEADER_START struct Nm_Man_t_ | Nm_Man_t |
INCLUDES ///. More... | |
Functions | |
Nm_Man_t * | Nm_ManCreate (int nSize) |
MACRO DEFINITIONS ///. More... | |
void | Nm_ManFree (Nm_Man_t *p) |
int | Nm_ManNumEntries (Nm_Man_t *p) |
char * | Nm_ManStoreIdName (Nm_Man_t *p, int ObjId, int Type, char *pName, char *pSuffix) |
void | Nm_ManDeleteIdName (Nm_Man_t *p, int ObjId) |
char * | Nm_ManCreateUniqueName (Nm_Man_t *p, int ObjId) |
char * | Nm_ManFindNameById (Nm_Man_t *p, int ObjId) |
int | Nm_ManFindIdByName (Nm_Man_t *p, char *pName, int Type) |
int | Nm_ManFindIdByNameTwoTypes (Nm_Man_t *p, char *pName, int Type1, int Type2) |
Vec_Int_t * | Nm_ManReturnNameIds (Nm_Man_t *p) |
INCLUDES ///.
CFilextern e****************************************************************
FileName [nm.h]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Name manager.]
Synopsis [External declarations.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]PARAMETERS ///BASIC TYPES ///
Nm_Man_t* Nm_ManCreate | ( | int | nSize | ) |
MACRO DEFINITIONS ///.
FUNCTION DECLARATIONS ///
MACRO DEFINITIONS ///.
CFile****************************************************************
FileName [nmApi.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Name manager.]
Synopsis [APIs of the name manager.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Allocates the name manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 45 of file nmApi.c.
char* Nm_ManCreateUniqueName | ( | Nm_Man_t * | p, |
int | ObjId | ||
) |
Function*************************************************************
Synopsis [Finds a unique name for the node.]
Description [If the name exists, tries appending numbers to it until it becomes unique. The name is not added to the table.]
SideEffects []
SeeAlso []
Definition at line 175 of file nmApi.c.
void Nm_ManDeleteIdName | ( | Nm_Man_t * | p, |
int | ObjId | ||
) |
Function*************************************************************
Synopsis [Creates a new entry in the name manager.]
Description [Returns 1 if the entry with the given object ID already exists in the name manager.]
SideEffects []
SeeAlso []
Definition at line 149 of file nmApi.c.
int Nm_ManFindIdByName | ( | Nm_Man_t * | p, |
char * | pName, | ||
int | Type | ||
) |
Function*************************************************************
Synopsis [Returns ID of the object if its name is known.]
Description [This procedure may return two IDs because POs and latches may have the same name (the only allowed case of name duplication).]
SideEffects []
SeeAlso []
Definition at line 219 of file nmApi.c.
int Nm_ManFindIdByNameTwoTypes | ( | Nm_Man_t * | p, |
char * | pName, | ||
int | Type1, | ||
int | Type2 | ||
) |
Function*************************************************************
Synopsis [Returns ID of the object if its name is known.]
Description [This procedure may return two IDs because POs and latches may have the same name (the only allowed case of name duplication).]
SideEffects []
SeeAlso []
Definition at line 239 of file nmApi.c.
char* Nm_ManFindNameById | ( | Nm_Man_t * | p, |
int | ObjId | ||
) |
Function*************************************************************
Synopsis [Returns name of the object if the ID is known.]
Description []
SideEffects []
SeeAlso []
Definition at line 199 of file nmApi.c.
void Nm_ManFree | ( | Nm_Man_t * | p | ) |
int Nm_ManNumEntries | ( | Nm_Man_t * | p | ) |
Function*************************************************************
Synopsis [Returns the number of objects with names.]
Description []
SideEffects []
SeeAlso []
Function*************************************************************
Synopsis [Return the IDs of objects with names.]
Description []
SideEffects []
SeeAlso []
Definition at line 261 of file nmApi.c.
char* Nm_ManStoreIdName | ( | Nm_Man_t * | p, |
int | ObjId, | ||
int | Type, | ||
char * | pName, | ||
char * | pSuffix | ||
) |
Function*************************************************************
Synopsis [Creates a new entry in the name manager.]
Description [Returns 1 if the entry with the given object ID already exists in the name manager.]
SideEffects []
SeeAlso []
Definition at line 112 of file nmApi.c.