List of all members.
Detailed Description
Declaration object for nets.
Constructor & Destructor Documentation
Create a net declaration.
- Parameters:
-
| symbol | declaration name. |
| aLoc | file descriptor. |
| wireType | wire type. |
| dataType | net data type |
| undefined | non-zero if net is not explicitly defined in source. |
Member Function Documentation
Create a clone of this declaration.
- Parameters:
-
| heap | heap to use for allocation. |
- Returns:
- new declaration.
Implements CDecl.
void CNet::Copy |
( |
CObstack * |
heap, |
|
|
const CNet & |
net | |
|
) |
| | [protected] |
Create a deep copy of given declaration.
- Parameters:
-
| heap | heap to use for allocation. |
| net | declaration to copy from. |
virtual void CNet::Dump |
( |
FILE * |
f |
) |
[virtual] |
Dump net info to file descriptor.
- Parameters:
-
Reimplemented from CDecl.
CNode* CNet::GetDelay |
( |
void |
|
) |
[inline] |
Get net delay.
- Returns:
- net delay expression.
virtual int CNet::GetScalared |
( |
|
) |
[inline, virtual] |
Get scalared attribute.
- Returns:
- non-zero if net is scalared.
Reimplemented from CDecl.
Get drive strength.
- Returns:
- drive strength.
int CNet::GetUndefined |
( |
void |
|
) |
[inline] |
Get undefined attribute.
- Returns:
- non-zero if net is undeclared in source code.
virtual int CNet::GetVectored |
( |
|
) |
[inline, virtual] |
Get vectored attribute.
- Returns:
- non-zero if net is vectored.
Reimplemented from CDecl.
Get portdir associated with net.
- Returns:
- portdir associated with net.
void CNet::PortDir |
( |
CPortDir * |
p |
) |
[inline] |
Set portdir associated with net.
- Parameters:
-
void CNet::SetDelay |
( |
CNode * |
aExp |
) |
[inline] |
Set net delay.
- Parameters:
-
| aExp | net delay expression. |
virtual void CNet::SetScalared |
( |
int |
v |
) |
[inline, virtual] |
Set scalared attribute.
- Parameters:
-
| v | non-zero if net is scalared. |
Reimplemented from CDecl.
Set drive strength.
- Parameters:
-
void CNet::SetUndefined |
( |
int |
value |
) |
[inline] |
Set undefined attribute.
- Parameters:
-
| value | non-zero if net is undeclared in source code. |
virtual void CNet::SetVectored |
( |
int |
v |
) |
[inline, virtual] |
Set vectored attribute.
- Parameters:
-
| v | non-zero if net is vectored. |
Reimplemented from CDecl.
The documentation for this class was generated from the following file:
- /net/fileserver/nas/home/mdh/vrq/src/cnet.h