DSP Builder for Intel® FPGAs (Advanced Blockset): Handbook

ID 683337
Date 5/27/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

4.3.5.1. The Convert Block and Real-world Values

The Convert block converts a data type to preserve the real-word value and optionally rounds and saturates the data type when not possible. Convert blocks can sign extend or discard bits as necessary. Similarly you can convert the same number of bits while preserving the real world value (as far as possible, subject to rounding and saturation).
Figure 21. Convert Block Changing Data Type while preserving real-world value
Figure 22. Convert Block Using Same Number of Bits while preserving real-world value