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 from Fixed Point Format

Block

Block

Mask

Mask

Parameters

Type of numerical formatSpecifies if the signal will be interpreted as Signed or Unsigned.
Total number of bitsSpecifies the total number of bits of the fixed-point format.
Number of fractional bitsSpecifies 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

INTThis signal is the input signal, in the fixed-point numerical format. It is assumed that 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.

Outputs

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

Characteristics and Limitations

The total number of bits of the input 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
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter