ACT Library
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ActBody_Conn Class Reference

This is used to record a connection in the input design file. More...

#include <body.h>

Inheritance diagram for ActBody_Conn:
ActBody

Public Member Functions

 ActBody_Conn (int line, ActId *id1, AExpr *ae)
 
 ActBody_Conn (int line, AExpr *id1, AExpr *id2)
 
void Print (FILE *fp)
 
void Expand (ActNamespace *, Scope *)
 
ActBodyClone ()
 
- Public Member Functions inherited from ActBody
 ActBody (int line)
 
virtual ~ActBody ()
 
void Append (ActBody *b)
 
void insertNext (ActBody *b)
 
ActBodyTail ()
 
ActBodyNext ()
 
virtual ActBodyClone ()
 
virtual void Expand (ActNamespace *, Scope *)
 
void Expandlist (ActNamespace *, Scope *)
 
virtual void Print (FILE *)
 
void updateInstType (list_t *namelist, InstType *it)
 
int getLine ()
 

Private Attributes

union {
   struct {
      ActId *   lhs
 
      AExpr *   rhs
 
   }   basic
 
   struct {
      AExpr *   lhs
 
      AExpr *   rhs
 
   }   general
 
u
 
unsigned int type:1
 

Additional Inherited Members

- Protected Attributes inherited from ActBody
int _line
 saved away line number information
 

Detailed Description

This is used to record a connection in the input design file.

Constructor & Destructor Documentation

◆ ActBody_Conn() [1/2]

ActBody_Conn::ActBody_Conn ( int  line,
ActId id1,
AExpr ae 
)
inline

Record a connection between an identifier and an array expression

Parameters
lineis the line number
id1is the LHS
aeis the array expression

◆ ActBody_Conn() [2/2]

ActBody_Conn::ActBody_Conn ( int  line,
AExpr id1,
AExpr id2 
)
inline

Record a connection between two array expressions

Parameters
lineis the line number
id1is the LHS array expression
id2is the RHS array expression

Member Function Documentation

◆ Clone()

ActBody * ActBody_Conn::Clone ( )
virtual
Returns
a deep copy of the body item list

Reimplemented from ActBody.

◆ Expand()

void ActBody_Conn::Expand ( ActNamespace ,
Scope  
)
virtual

Expand out the current body item, updating the necessary data structures as the expansion process proceeds.

Reimplemented from ActBody.

◆ Print()

void ActBody_Conn::Print ( FILE *  )
virtual

Print the body item list to the specified file

Reimplemented from ActBody.

Member Data Documentation

◆ 

struct { ... } ActBody_Conn::basic

◆ 

struct { ... } ActBody_Conn::general

◆ lhs [1/2]

ActId* ActBody_Conn::lhs

◆ lhs [2/2]

AExpr* ActBody_Conn::lhs

◆ rhs

AExpr * ActBody_Conn::rhs

◆ type

unsigned int ActBody_Conn::type
private

0 = basic, 1 = general

◆ 

union { ... } ActBody_Conn::u

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