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.

Rescale to Fixed Point Format

Block

Block

Mask

Mask

Description

This block performs the signal conversion and rescaling to an integer signal containing all bits representing the data in the FPGA, in an Unsigned or Signed fixed-point numerical format.

Parameters

Type of numerical formatUsed to specify signal shall be interpreted as Signed or Unsigned.
Total number of bitsUsed to specify the total number of bits of the fixed-point format.
Number of fractional bitsUsed to specify the number of fractional bits of the fixed-point format (the number of bits on the right-hand side of the binary point). This parameter sets the resolution of the signal.

Inputs

DBLThis signal is the floating-point signal, in the double format.

Outputs

INTThis signal is the output signal, in the fixed-point numerical format. This signal is in the Simulink uint32 format, and the effective signal corresponds to the LSBs of the integer, with the width specified in the appropriate block parameter.

Characteristics and Limitations

The total number of bits of the output signal is limited to 32 bits.

Direct FeedthroughN/A
Discrete sample timeN/A
XHP supportN/A
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