List of all members.
Public Member Functions |
| CGenvar (CSymbol *symbol, Coord_t *aLoc) |
| Create a genvar declaration.
|
virtual CDecl * | Clone (CObstack *heap) |
| Create a clone of this declaration.
|
virtual NodeType_t | GetNodeType (void) |
| Get node type of declaration.
|
virtual INT32 | GetWidth (void) |
| Get width of declaration.
|
virtual int | IsWidthEvaluateable () |
| Determine if width is evaluateable.
|
virtual int | IsWidthConstant (void) |
| Determine if packed width of declaration is constant, ie dependent upon only constants and parameters.
|
virtual int | IsWidthVolatile (void) |
| Determine if packed width of declaration is volatile, ie depend upon parameters or variables.
|
virtual CNode * | GetWidthExp () |
| Get expression representing genvar width.
|
virtual void | Dump (FILE *f) |
| Dump genvar info to file descriptor.
|
Protected Member Functions |
void | Copy (CObstack *heap, CGenvar &d) |
| Deep copy of declaration.
|
Detailed Description
Declaration object for genvars.
Constructor & Destructor Documentation
Create a genvar declaration.
- Parameters:
-
| symbol | name of declaration. |
| aLoc | file coordinates of declaration. |
Member Function Documentation
Create a clone of this declaration.
- Parameters:
-
| heap | heap to use for allocation. |
- Returns:
- new declaration.
Implements CDecl.
Deep copy of declaration.
- Parameters:
-
| heap | heap to use for allocation. |
| d | declaration to copy. |
virtual void CGenvar::Dump |
( |
FILE * |
f |
) |
[virtual] |
Dump genvar info to file descriptor.
- Parameters:
-
Reimplemented from CDecl.
virtual NodeType_t CGenvar::GetNodeType |
( |
void |
|
) |
[inline, virtual] |
Get node type of declaration.
- Returns:
- node type, always signed vector.
Reimplemented from CDecl.
virtual INT32 CGenvar::GetWidth |
( |
void |
|
) |
[inline, virtual] |
Get width of declaration.
- Returns:
- node width, always 32.
virtual CNode* CGenvar::GetWidthExp |
( |
void |
|
) |
[inline, virtual] |
Get expression representing genvar width.
- Returns:
- width expression.
Reimplemented from CDecl.
virtual int CGenvar::IsWidthConstant |
( |
void |
|
) |
[inline, virtual] |
Determine if packed width of declaration is constant, ie dependent upon only constants and parameters.
- Returns:
- non-zero of packed width of declaration is constant.
virtual int CGenvar::IsWidthEvaluateable |
( |
void |
|
) |
[inline, virtual] |
Determine if width is evaluateable.
- Returns:
- always return TRUE.
Reimplemented from CDecl.
virtual int CGenvar::IsWidthVolatile |
( |
void |
|
) |
[inline, virtual] |
Determine if packed width of declaration is volatile, ie depend upon parameters or variables.
- Returns:
- non-zero of packed width of declaration is volatile.
The documentation for this class was generated from the following file:
- /net/fileserver/nas/home/mdh/vrq/src/cgenvar.h