Contents

Fixed-Point to Fixed-Point Conversion

This example shows how to convert from one fixed-point data type to another fixed-point data type. In this case the conversion is between sfix32_En2 and ufix8_En1, meaning:

  • a signed 32-bit quantity with 2 bits to the right of the binary point

  • an unsigned 8-bit quantity with 1 bit to the right of the binary point

Was this topic helpful?