Documentation Home Page RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

OpFcn XSG Send

Block

Mask

Description

The functionality block OpFcnXSGRSend is used to transfer data to the DataIn ports of a bitstream generated with Xilinx SystemGenerator (XSG). This functionality block must be used in the same model as an OpCtrlReconfigurableIO block, and the option 'UseExternal Send/Recv blocks' must be checked in the OpCtrlReconfigurableIO block.

Presently, only the OP5130 boards can be programmed with XSG bitstreams, so the OpCtrlReconfigurable IO block must have selected this board type. The communication between the OP5130 board and the target computer is performed via the SignalWire communication link. At each calculation step, transfer of the data to the inports of the XSG bitstream is performed after all MdlOutputs() functions are executed, so these data can be obtained from the OpFcnXSGSend blocks even if these blocks are executed after the OpCtrlReconfigurableIO block.

Parameters

Controller NameEach functionality block such as the OpFcnXSGSend block must refer to an OpCtrlReconfigurableIO block that will manage the data transfer with the bitstream generated with XSG. The binding between OpFcn and OpCtrl blocks is performed via the use of the Controller name that each OpCtrl block uniquely defines. This binding is checked during the initialization phase of the model. If no OpCtrl block is found that defines the same Controller Name as this OpFcnXSGSend block, the OpFcnXSGSend block is simply disabled.
Selection of ChannelsThe block will transfer to the XSGboard the data values for the DataIn port numbers (or channels) listed here. The user must refer to the XSG model in order to select the right channel numbers. It is presently recommended to use only one OpFcnXSGSend block for each channel.

Inputs

The block has one inport for each channel of the list of selected channels. All inports can have different widths, depending on how many data values are expected to be transferred to each DataInport of the XSG bitstream. The actual data width of the DataIn ports of the XSG bitstream is fixed during the preparation of the XSG model.

Outputs

This block has no outputs.

Characteristics and Limitations

Direct FeedthroughNo
Discrete sample timeYes
XHP supportYes
Work offlineNo

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323