Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

oagFpga::VerilogDesign::Primary Class Reference

An expression primary. More...

#include <oagFpgaVerilogDesign.h>

Collaboration diagram for oagFpga::VerilogDesign::Primary:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Type { UNKNOWN, NET, CONST, FUNCTION_CALL }

Public Member Functions

 Primary (const std::string &n)
 Primary (unsigned int v, unsigned int w)
 Primary (const std::string &n, Expression *i)
 Primary (const std::string &n, Expression *f, Expression *l)
 Primary (const std::string &n, std::list< Expression * > *args)
 ~Primary ()
 Destructor.

Public Attributes

Type type
std::string name
struct {
   bool   negative
   unsigned int   intValue
   int   bitWidth
   unsigned int   xMask
   unsigned int   zMask
number
struct {
   Expression *   start
   Expression *   stop
range
std::list< Expression * > * arguments

Detailed Description

An expression primary.

The primary can either be:

Definition at line 437 of file oagFpgaVerilogDesign.h.


Member Enumeration Documentation

enum oagFpga::VerilogDesign::Primary::Type
 

Enumeration values:
UNKNOWN 
NET 
CONST 
FUNCTION_CALL 

Definition at line 440 of file oagFpgaVerilogDesign.h.


Constructor & Destructor Documentation

oagFpga::VerilogDesign::Primary::Primary const std::string &  n  )  [inline]
 

Definition at line 462 of file oagFpgaVerilogDesign.h.

oagFpga::VerilogDesign::Primary::Primary unsigned int  v,
unsigned int  w
[inline]
 

Definition at line 467 of file oagFpgaVerilogDesign.h.

oagFpga::VerilogDesign::Primary::Primary const std::string &  n,
Expression i
[inline]
 

Definition at line 474 of file oagFpgaVerilogDesign.h.

oagFpga::VerilogDesign::Primary::Primary const std::string &  n,
Expression f,
Expression l
[inline]
 

Definition at line 479 of file oagFpgaVerilogDesign.h.

oagFpga::VerilogDesign::Primary::Primary const std::string &  n,
std::list< Expression * > *  args
[inline]
 

Definition at line 484 of file oagFpgaVerilogDesign.h.

oagFpga::VerilogDesign::Primary::~Primary  ) 
 

Destructor.

Definition at line 290 of file oagFpgaVerilogDesign.cpp.

References arguments, and range.


Member Data Documentation

std::list<Expression *>* oagFpga::VerilogDesign::Primary::arguments
 

Definition at line 460 of file oagFpgaVerilogDesign.h.

Referenced by ~Primary().

int oagFpga::VerilogDesign::Primary::bitWidth
 

Definition at line 451 of file oagFpgaVerilogDesign.h.

unsigned int oagFpga::VerilogDesign::Primary::intValue
 

Definition at line 450 of file oagFpgaVerilogDesign.h.

std::string oagFpga::VerilogDesign::Primary::name
 

Definition at line 446 of file oagFpgaVerilogDesign.h.

bool oagFpga::VerilogDesign::Primary::negative
 

Definition at line 449 of file oagFpgaVerilogDesign.h.

struct { ... } oagFpga::VerilogDesign::Primary::number
 

struct { ... } oagFpga::VerilogDesign::Primary::range
 

Referenced by ~Primary().

Expression* oagFpga::VerilogDesign::Primary::start
 

Definition at line 456 of file oagFpgaVerilogDesign.h.

Expression* oagFpga::VerilogDesign::Primary::stop
 

Definition at line 457 of file oagFpgaVerilogDesign.h.

Type oagFpga::VerilogDesign::Primary::type
 

Definition at line 444 of file oagFpgaVerilogDesign.h.

unsigned int oagFpga::VerilogDesign::Primary::xMask
 

Definition at line 452 of file oagFpgaVerilogDesign.h.

unsigned int oagFpga::VerilogDesign::Primary::zMask
 

Definition at line 452 of file oagFpgaVerilogDesign.h.


The documentation for this class was generated from the following files:
Generated on Mon Jul 9 14:17:23 2007 for OA Gear Fpga by  doxygen 1.3.9.1