ESD Interface Attributes
The built-in attributes of an esys interface are listed in the following table.
Table 50: Esys Interface Built-In Attributes
| Name | Data Type |
|---|---|
| comment | string |
| dimension | integer |
| direction | enum |
| name | string |
| type | enum |
comment
This attribute is a user-defined description of the esys interface.
| Editing | Simulation | |
|---|---|---|
| Data Type | string | string |
| Access | read/write | read |
| Default Value | 0 | |
| Units | elements | |
| Constraints | None |
dimension
This attribute specifies the number of elements for an esys interface. The default value of 0 identifies a simple esys interface. A value of 1 or greater indicates that the interface is a vector interface with the specified number of elements.
| Editing | Simulation | |
|---|---|---|
| Data Type | integer | integer |
| Access | read/write | read |
| Default Value | 0 | |
| Units | elements | |
| Constraints | None |
direction
This attribute specifies the direction in which information flows through the esys interface. The possible directions are
- Modeler to Cosim
- Cosim to Modeler
- Bidirectional
- Not connected
| Editing | Simulation | |
|---|---|---|
| Data Type | enumerated | enumerated |
| Access | read/write | read |
| Default Value | “OPNET to Cosim” | |
| Units | elements | |
| Constraints | see Description |
name
This attribute is a user-assigned identification for the esys interface. It can be used to refer to the interface during simulation.
| Editing | Simulation | |
|---|---|---|
| Data Type | string | string |
| Access | read/write | read |
| Default Value | “in”; n >= 0 | |
| Units | None | |
| Constraints | unique in external system description; no dots |
type
This attribute specifies the type of the data to be contained on the esys interface. Available data types include most of the standard C/C++ data types, though additional data types may be available depending on the connector software installed.
The built-in data types for interfaces are
- integer double
- string boolean
- stdlogic bit
- character pointer
- undefined
| Editing | Simulation | |
|---|---|---|
| Data Type | enumerated | enumerated |
| Access | read/write | read |
| Default Value | integer | |
| Units | None | |
| Constraints | None |