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

oagFpga::VerilogSynthesis::LvalRef Class Reference

This represents the destination of a left-hand assignment. More...

#include <oagFpgaVerilogSynthesis.h>

List of all members.

Public Member Functions

 LvalRef (string c, int b)
 Constructs an Lval for a function variable.
 LvalRef (oa::oaModBitNet *n)
 Constructs an Lval that is an unconditional assignment.
 LvalRef ()
 Constructs an Lval that is a conditional assignment.
void addConditional (oa::oaModBitNet *n, MultiRef c)
 Adds another conditional assignment.

Public Attributes

LvalType type
oa::oaModBitNet * unconditionalLval
list< ConditionalLvalRefconditionalLval
string functionLvalName
int functionLvalBit


Detailed Description

This represents the destination of a left-hand assignment.

Definition at line 125 of file oagFpgaVerilogSynthesis.h.


Constructor & Destructor Documentation

oagFpga::VerilogSynthesis::LvalRef::LvalRef string  c,
int  b
 

Constructs an Lval for a function variable.

Parameters:
c the identifier of the function variable to assign
b the bit of the variable to assign

Definition at line 4166 of file oagFpgaVerilogSynthesis.cpp.

References functionLvalBit, functionLvalName, and type.

oagFpga::VerilogSynthesis::LvalRef::LvalRef oa::oaModBitNet *  n  ) 
 

Constructs an Lval that is an unconditional assignment.

Parameters:
n the net to be assigned

Definition at line 4181 of file oagFpgaVerilogSynthesis.cpp.

References type, and unconditionalLval.

oagFpga::VerilogSynthesis::LvalRef::LvalRef  ) 
 

Constructs an Lval that is a conditional assignment.

The nets and conditions for assignment are supplied in subsequent calls to addConditional.

Definition at line 4196 of file oagFpgaVerilogSynthesis.cpp.

References type.


Member Function Documentation

void oagFpga::VerilogSynthesis::LvalRef::addConditional oa::oaModBitNet *  n,
MultiRef  c
 

Adds another conditional assignment.

Parameters:
n the net to be conditionally assigned
c the condition under which it is to be assigned

Definition at line 4211 of file oagFpgaVerilogSynthesis.cpp.

References conditionalLval, and type.


Member Data Documentation

list<ConditionalLvalRef> oagFpga::VerilogSynthesis::LvalRef::conditionalLval
 

Definition at line 130 of file oagFpgaVerilogSynthesis.h.

Referenced by addConditional().

int oagFpga::VerilogSynthesis::LvalRef::functionLvalBit
 

Definition at line 132 of file oagFpgaVerilogSynthesis.h.

Referenced by LvalRef().

string oagFpga::VerilogSynthesis::LvalRef::functionLvalName
 

Definition at line 131 of file oagFpgaVerilogSynthesis.h.

Referenced by LvalRef().

LvalType oagFpga::VerilogSynthesis::LvalRef::type
 

Definition at line 127 of file oagFpgaVerilogSynthesis.h.

Referenced by addConditional(), and LvalRef().

oa::oaModBitNet* oagFpga::VerilogSynthesis::LvalRef::unconditionalLval
 

Definition at line 129 of file oagFpgaVerilogSynthesis.h.

Referenced by LvalRef().


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