Documentation Home Page ◇ HYPERSIM Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.
Example | OP4810-IO/OP4815-IO with OP48H10
Page Contents
Location
This example model is available in the software under the “IO Interfaces” category, with the file name: OP4810_OP4815_Generic_Integration.ecf.
Description
This example project demonstrates how to use the OPAL-RT Board interface to interact with Analog, Static Digital, and Pulse Width Modulation (PWM) signals provided by an OP48XX-IO FPGA expansion chassis, such as the OP4810-IO or OP4815-IO. For this example, a OP48H10 Fast I/O type H Module must be installed in slot 1 of the FPGA expansion chassis.
More information can be found in the Hardware Products Documentation about OPAL-RT hardware products:
To execute this example project, you will need:
One OPAL-RT Simulator, that supports I/O expansion chassis.
One OP48XX expansion chassis, with a OP48H10 in slot 1.
One PCIe cable, between the OPAL-RT Simulator and the OP48XX expansion chassis.
Two Ethernet cables:
One between the OPAL-RT Simulator and the Windows Host network.
One between the OP48XX expansion chassis and the Windows Host network or with the OPAL-RT Simulator.
Two DB37 loop back cables.
OP48XX-IO Expansion Chassis
Connect the OP48XX-IO chassis to a real-time simulator using the PCIe cable.
Connect the OPAL-RT simulator to the same network as the host using an Ethernet cable.
Connect the OP48XX-IO chassis to the network, or to a local network with the OPAL-RT simulator, using an Ethernet cable.
An OP48XX chassis has two H-factor mezzanine module slots. For this example, slot 1 should have an OP48H10 I/O Module installed.
OP48H10 Module Loop Backs
The OP48H10 module supports 16 analog outputs, 16 analog inputs and 32 configurable digital I/Os. Digital and analog loop backs are used in the example model to test the functionality of the system.
For digital I/O’s: connect between P1 and P2 of slot 1.
For analog outputs: connect between P3 and P4 of slot 1.
I/O Interface Configuration
All OPAL-RT Board configurations are performed via HYPERSIM's GUI, under the “I/O Interface” section of the project.
Before starting the simulation, configure the following chassis information:
Chassis type: Only
OP4810 (Versal)orOP4815 (Versal)are supported.IP address and Chassis ID: Available on the OP48XX chassis LCD screen.
(Optional) Chassis name: Displayed on the OP48XX chassis LCD screen.
You can also get this information by running the flashupdate -enumRemote command in an SSH session on the OPAL-RT real-time simulator.
flashupdate command
Simulation and Results
The example model includes designs for different I/O type supported by the OP48H10 modules:
Analog I/Os
Static Digital I/Os
Pulse Width Modulated I/Os
After the simulation is started, Inputs and Outputs signals can be inspected and compared using the ScopeView tool. A predefined template file named OP40810_OP4815_Generic_Integration.svt is available in the example project directory.
Analog I/O’s
Each OP48H10 module has 4 banks of eight analog I/O channels:
Two banks are analog outputs:
Aout channel 0-7 (connector P3)
Aout channels 8-15 (connector P3)
Two banks are analog inputs:
Ain Channels 0-7 (connector P4)
Ain channels 8-15 (connector P4)
This example model defines sixteen reference analog signals that are sent to the two analog output banks.
The ScopeView page AIO displays the 16 analog inputs for slot 1. Each graph shows one analog input and its associated reference analog output.
Static Digital I/O’s
The OP48H30 module has four banks of eight configurable digital I/O channels. Two of these banks are configured as static digital I/Os:
Dio channels 0-7: static digital inputs (connector P1)
Dio channels 16-23: static digital outputs (connector P2)
This example model defines eight random binary reference signals that are sent into the static digital output bank.
The ScopeView page DIO displays all static digital inputs, from channels 0 to 7. Each graph shows one static digital input and its associated reference random binary output.
Pulse Width Modulated I/O’s
The OP48H30 module has four banks of eight configurable digital I/O channels. Two of these groups are configured as Pulse Width Modulated I/Os:
Dio channels 8-15: PWM digital inputs (connector P1)
Dio channels 24-31: PWM digital outputs (connector P2)
This example model defines eight frequencies (from 100 Hz to 800 Hz) and eight duty cycle ratios (from 0.1 to 0.8) that are sent to the PWM digital output bank.
The ScopeView page PWM displays the eight frequencies and the eight duty cycle ratios detected from the PWM digital input channels. Each graph shows the frequency or duty cycle ratio detected for an input channel and the associated reference value.