CNet Class Reference
Declaration object for net types:
- eWIRE
- eTRI
- eWAND
- eTRIAND
- eWOR
- eTRIOR
- eTRI1
- eTRI0
- eTRIREG
- eSUPPLY0
- eSUPPLY1.
More...
#include <cnet.h>
List of all members.
Detailed Description
Declaration object for net types:
- eWIRE
- eTRI
- eWAND
- eTRIAND
- eWOR
- eTRIOR
- eTRI1
- eTRI0
- eTRIREG
- eSUPPLY0
- eSUPPLY1.
Constructor & Destructor Documentation
Create a net declaration.
- Parameters:
-
| symbol | declaration name. |
| aLoc | file descriptor. |
| type | declaration type. |
| undefined | non-zero if net is not explicitly defined in source. |
CNet::CNet |
( |
const CNet & |
net |
) |
|
Create a net and copy contents from the given net.
- Parameters:
-
| net | net declaration to copy. |
Member Function Documentation
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 NodeType_t CNet::GetNodeType |
( |
void |
|
) |
[inline, virtual] |
Get node type.
- Returns:
- node type.
Reimplemented from CDecl.
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