Knowledge Base
Welcome to OPAL-RT’s Knowledge Base
OPAL-RT offers a repository of support information for optimal use of its technology.
Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.
For optimal experience, use a desktop computer.
Reference Number: AA-01778// Views: AA-01778// Created: 2019-12-02 16:32:25// Last Updated: 2020-07-13 14:54:43 HYPERSIM How to Use "OPAL-RT Board" to Configure IOs in HYPERSIM: IO Interface Configuration (HYPERSIM 2019.1+) How to Use "Opal-RT Board" to Configure IOs in HYPERSIM: IO Interface Configuration (HYPERSIM 2019.1+) This procedure to configure IOs using the OPAL-RT board applies to HYPERSIM versions 2019.1+ 1.- Go toHypersim>I/O INTERFACE CONFIGURATION to start adding an to your HYPERSIM modelan “OPAL-RT Board”. 2.- Add an "OPAL-RT Board" by right clicking on “OPAL-RT Board>Add” 3.- Configure the parameters of the FPGA to be used, a) “Chassis Type”; b) “Chassis ID”; c)”Bitstream configuration path” , etc. Hover over the different configuration items for further details. After applying changes/clicking OK, the OPAL-RT Board (the left hand side panel) gets populated with the right number and type of IOcards configured in the selected bitstream. 4.- Once the OPAL-RT Board has been configured, the IOs will be available for assignation through the sensor form of the block of interest. Each IO subsection is comprised by 8 channels which can be individually selected by index number. 5.- Finally the below figure shows the different blocks, whose sensor form can be configured for driving or receiving the signals from the IO channels.
1.- Example for LoadIN / Load to Board Here is an example of LoadIN configuration in the IO interface in HYPERSIM. In the .opal file: In the IO interface: Here is the corresponding sensor mapping for this LoadIN in HYPERSIM. Note that the sensors connected must match the data type set in the IO configuration. So Data 1 must have an integer data type connected to it. Data 2[1:6] must be Float. The trigger is set to a constant 1. 2.- Example for Data IN / Data to Board Here is an example of Data IN. In the .opal file: In the IO interface, here is an example of data to transfer:
For sensor form - Notice that the block Float to Integer block is being used to make sure the data is in the proper type for the 'bit' format. |