Description
The Static Digital Out functionality of the OPAL-RT Board driver provides the simulation the possibility of outputting "on/off" logic through the digital output channels of the OP5354 or OP5360-2 modules installed in the simulator.
In the case of the OP4200 chassis, the OP5360-2 used is incorporated into the I/O cassette with ID OP4260-1.
Digital output is referred to as static when the data sent from the simulation is directly related to the physical values outputted by the simulator: a logical "true" or "on" (seen as a value of 1 in the HYPERSIM model) translates to a high voltage, whereas "false" or "off" (seen as a value of 0 in the HYPERSIM model) represents a low voltage.
Usage
Once the bitstream configuration file has been parsed, the location of the digital output modules becomes visible to the user. The channels of the modules are grouped into bunches of 8. By clicking on each group of 8, the user has access to the configurable options of the group.
Bitstreams generated with an RT-XSG version of 3.1.2 or later offer the possibility of using the selectable digital input-output feature (SDIO).
The SDIO feature gives the user the option to switch between the type of functionality (either static, PWM or Event Generator) for a group of channels.
The user will know if the bitstream offers the feature as soon as its configuration is loaded in the main section of the current board's configuration page.
Verifying that a bitstream is SDIO-capable is done in the channel group configuration section. If the bitstream has the feature then a drop-down list will be present to choose the functionality. If it does not, the functionality will be displayed as a non-editable field (i.e. grayed out).
Channel group configuration
- Name
The name of the channel group denotes the physical channels of the digital output module the current configuration will be applied to. - Enable
Checking this box will enable the transmission of static digital data for the channels in the group once the simulation has started, provided that the type of functionality is set to Static (see item below for more detail).
Clicking on Enable also makes the connection points of the group of 8 channels available in HYPERSIM.
In order to output data, connections must be made between points in the model and the static digital output connectable points. - Digital type
In case the bitstream is SDIO-capable, this field will take the form of a drop-down list. This list provides the user the choices for the type of functionality to be applied for the current group of 8 digital output channels.
To send static digital outputs, the option Static must be chosen.
Otherwise, if the bitstream is not SDIO-capable, this field will be seen as non-editable. This means that the 8 channels in the current group can only operate with the functionality described in the grayed-out field. For sending static digital outputs, please verify that the field displays Static.
Signals Configuration
Channels in static digital output groups do not have any parameters to configure.
Characteristics and limitations
For the connector pin assignments, the user should refer to the carrier documentation.
The current version of the static digital output functionality of the OPAL-RT Board driver has the following limitations:
- Limitations will be added as they are found