vrq

CGenvar Class Reference

Declaration object for genvars. More...

#include <cgenvar.h>

Inheritance diagram for CGenvar:
CDecl CObject

List of all members.

Public Member Functions

 CGenvar (CSymbol *symbol, Coord_t *aLoc)
 Create a genvar 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 CNode * GetWidthExp ()
 Get expression representing genvar width.
virtual void Dump (FILE *f)
 Dump genvar info to file descriptor.

Detailed Description

Declaration object for genvars.


Constructor & Destructor Documentation

CGenvar::CGenvar ( CSymbol *  symbol,
Coord_t *  aLoc 
)

Create a genvar declaration.

Parameters:
symbol name of declaration.
aLoc file coordinates of declaration.

Member Function Documentation

virtual void CGenvar::Dump ( FILE *  f  )  [virtual]

Dump genvar info to file descriptor.

Parameters:
f file descriptor.

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.

Reimplemented from CDecl.

virtual CNode* CGenvar::GetWidthExp ( void   )  [inline, virtual]

Get expression representing genvar width.

Returns:
width expression.

Reimplemented from CDecl.

virtual int CGenvar::IsWidthEvaluateable ( void   )  [inline, virtual]

Determine if width is evaluateable.

Returns:
always return TRUE.

Reimplemented from CDecl.


The documentation for this class was generated from the following file:

Generated on 7 Nov 2009 for vrq by  doxygen 1.6.1