Documentation Home Page ◇ RT-XSG Toolbox Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.
LoadOut
Block
Mask
Description
This block represents the output data link from the FPGA through the PCIe bus. Data may be going to the target PC (RT-LAB CPU model) or to another FPGA board in a multiple chip design (only RT-LAB CPU models are supported in this version).
A maximum of thirty-two output ports is provided to the user for data samples and control signal transfers. One of the functions of this block is to do data conversion from the Xilinx System Generator UFix or Fix format to the uint32 data format.
This block is linked to the output ports of the OpCtrl ReconfigurableIO block found in the RT-LAB CPU model: port #1 of the OpCtrlReconfigurableIO block corresponds to Cfg_OUT1, port #2 to Cfg_OUT2, etc.
Two modes are available. When in FIFO mode, all data sent to the DataOUT block between two data acquisition synchronization signal pulses is transmitted. When in Register mode, the last data before the synchronization signal pulse is transmitted. Note: Data arriving synchronously with the synchronization signal belongs to the ending timestep.
Parameters
Number of ports | Allows the user to use multiple data ports to communicate information with parallel processors. When the number of ports is changed, the length of the “Transfer Mode” string is updated accordingly. |
---|---|
Buffering type | Allows a user to choose whether to buffer the information in a single register where only one data sample can be transferred per calculation step or in a FIFO buffer-based mode where up to 254 samples can be transferred per calculation step. For example, a value of 010000000000101 in this field sets a FIFO on DataOUT ports 1 and 3 and 15 (MSB to LSB port representation). In FIFO mode, the number of samples stored is determined by the number of 10 ns pulses (one FPGA clock cycle) on bit 32 (MSB) of the port in FIFO mode per calculation step. |
Inputs
Cfg_OUT{1,...,32} | Each of these ports is in the UFix33_0 format where the first 32 bits represent the data and bit 33 (the most significant bit) is the valid signal indicating when the data is ready. Bit 33 can be seen as a write signal to the buffer, whether it be a register or a FIFO, in the DataOUT block. Each of those buffers is emptied and transferred to the CPU model at the beginning of each calculation step. |
---|
Outputs
Cfg_OUT | This is a vector of signals in the uint32 format (with a length equal to the number of ports). Each one of these signals represents an output port on the OpCtrlReconfigurableIO block in the RT-LAB CPU model. This port is used for offline simulation only. |
---|
Characteristics and Limitations
This block has no special characteristics.
Direct Feedthrough | N/A |
---|---|
Discrete sample time | N/A |
XHP support | N/A |
Work offline | YES (No for ports set in FIFO mode) |
OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter