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.

Convert Double to Single Floating Point FPGA

Block

Block

Mask

Mask

Description

This block converts a standard double input from Simulink to a single floating-point (FPGA) number for use in RT-XSG.

It takes a double as the input and returns a uint32.

Parameters

This block has no parameter.

Inputs

DBLReceives a signal in the double format from Simulink.

Outputs

SFPThis is an output signal, in the uint32 format. The first bit is for the sign, then there are 8 bits for the exponent and 23 bits for the significand.

Characteristics and Limitations

Vectors are not supported by this block.

Direct FeedthroughN/A
Discrete sample timeYES
XHP supportYES
Work offlineYES

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