|
| CNet (CSymbol *symbol, Coord_t *aLoc, Wire_t wireType, CDataType *dataType, int undefined) |
| Create a net declaration. More...
|
|
virtual CDecl * | Clone (CObstack *heap) |
| Create a clone of this declaration. More...
|
|
void | PortDir (CPortDir *p) |
| Set portdir associated with net. More...
|
|
CPortDir * | PortDir () |
| Get portdir associated with net. More...
|
|
void | SetDelay (CNode *aExp) |
| Set net delay. More...
|
|
CNode * | GetDelay (void) |
| Get net delay. More...
|
|
int | GetUndefined (void) |
| Get undefined attribute. More...
|
|
void | SetUndefined (int value) |
| Set undefined attribute. More...
|
|
StrengthPair_t | GetStrength () |
| Get drive strength. More...
|
|
void | SetStrength (StrengthPair_t s) |
| Set drive strength. More...
|
|
virtual void | SetVectored (int v) |
| Set vectored attribute. More...
|
|
virtual int | GetVectored () |
| Get vectored attribute. More...
|
|
virtual void | SetScalared (int v) |
| Set scalared attribute. More...
|
|
virtual int | GetScalared () |
| Get scalared attribute. More...
|
|
virtual void | Dump (FILE *f) |
| Dump net info to file descriptor. More...
|
|
virtual void | SetDataType (CDataType *dt) |
| Set declartion's data type property. More...
|
|
virtual CDataType * | GetDataType () |
| Get declartion's data type property. More...
|
|
virtual void | SetWireAttr (Wire_t v) |
| Set declaration's wire attribute. More...
|
|
virtual Wire_t | GetWireAttr () |
| Get declartion's wire type property. More...
|
|
virtual int | IsWidthConstant (void) const |
| Determine if packed width of declaration is constant, ie dependent upon only constants and parameters. More...
|
|
virtual int | IsWidthVolatile (void) const |
| Determine if packed width of declaration is volatile, ie depend upon parameters or variables. More...
|
|
virtual int | IsWidthEvaluateable (void) const |
| Determine if packed width of declaration can be evaluated. More...
|
|
virtual INT32 | GetWidth (void) const |
| Evaluate packed width of declaration. More...
|
|
virtual CNode * | GetWidthExp (void) const |
| Get expression representing width of declaration. More...
|
|
virtual CNode * | GetMsb () const |
| Get expression for declaration's msb. More...
|
|
virtual CNode * | GetLsb () const |
| Get expression for declaration's lsb. More...
|
|
virtual int | WidthDirection (void) const |
| Evaluate current decl width direction. More...
|
|
virtual INT32 | GetNumberOfUnpackedDimensions (void) |
| Get number of unpacked dimensions of declaration. More...
|
|
virtual CNode * | GetUnpackedMsi (INT32 dim) |
| Get expression tree for upper limit of given packed array dimension. More...
|
|
virtual CNode * | GetUnpackedLsi (INT32 dim) |
| Get expression tree for lower limit of unpacked array dimension. More...
|
|
virtual void | SetNumberOfUnpackedDimensions (INT32 dim) |
| Set number of unpacked dimensions for declaration. More...
|
|
virtual CNode * | GetUnpackedRange (INT32 dim) |
| Get expression for range of array for dimension. More...
|
|
virtual void | SetUnpackedRange (INT32 dim, CNode *v) |
| Set expression for range of unpacked array for declaration. More...
|
|
virtual void | SetConstAttr (int v) |
| Set declaration's const attribute. More...
|
|
virtual int | GetConstAttr () |
| Get declaration's const attribute. More...
|
|
virtual void | SetVarAttr (int v) |
| Set declaration's var attribute. More...
|
|
virtual int | GetVarAttr () |
| Get declaration's var attribute. More...
|
|
virtual void | SetAutomatic (int v) |
| Set declaration's automatic property. More...
|
|
virtual int | GetAutomatic () |
| Get declaration's automatic property. More...
|
|
void | SetAttributes (CNode *attr) |
| Set declarations's attributes. More...
|
|
CNode * | GetAttributes () |
| Get declaration's attributes. More...
|
|
int | HasAttribute (char *name, CNode *n=NULL, int init=1) |
| Determine if declaration has the given attribute. More...
|
|
NodeType_t | GetNodeType (void) |
| Get node type of decl. More...
|
|
Decl_t | GetClass (void) |
| Get class of declaration. More...
|
|
void | SetDeclStatementCreated (void) |
| Set declaration statement created attribute. More...
|
|
int | DeclStatementCreated (void) |
| Get declaration statement create attibute. More...
|
|
Decl_t | GetType (void) |
| Get declaration type. More...
|
|
void | SetCoord (Coord_t *aLoc) |
| Set declaration coordinate. More...
|
|
Coord_t * | GetCoord (void) |
| Get file coordinates for declaration. More...
|
|
virtual void | DumpDeclInfo (FILE *f) |
| Dump declaration name, type and location to file descriptor. More...
|
|
const char * | GetName (void) |
| Shortcut to get declaration's name. More...
|
|
void | SetSymbol (CSymbol *aSymbol) |
| Set declaration's symbol. More...
|
|
CSymbol * | GetSymbol (void) |
| Get declaration's symbol. More...
|
|
void | SetPragmas (CNode *p) |
| Set declaration pragmas. More...
|
|
CNode * | GetPragmas () |
| Get declaration pragmas. More...
|
|
virtual void | PreVisit1 (int(*func)(CNode *, void *), void *data) |
|
virtual void | PostVisit1 (void(*func)(CNode *, void *), void *data) |
|
virtual void | PostSubVisit1 (CNode *(*func)(CNode *, void *), void *data) |
|
void * | operator new (size_t size, CObstack *stack) |
| Allocate object on CObstack heap. More...
|
|
void | operator delete (void *object) |
| Destroy object. More...
|
|
Declaration object for nets.