Variable Precision DSP Blocks User Guide: Agilex™ 5 FPGAs and SoCs

ID 813968
Date 9/20/2024
Public
Document Table of Contents

3.2.1.4. FP32 Vector One Mode

This mode performs floating-point multiplication followed by floating-point addition or subtraction with the chainin input from the previous variable DSP Block. Input fp32_adder_a is directly fed into chainout.

Table 16.  Equations Applied to FP32 Vector One Mode
Chainin Parameter Vector One with Floating-point Addition Vector One with Floating-point Subtraction
Disable

fp32_result = fp32_mult_a * fp32_mult_b

fp32_chainout = fp32_adder_a

fp32_result = fp32_mult_a * fp32_mult_b

fp32_chainout = fp32_adder_a

Enable

fp32_result = (fp32_mult_a * fp32_mult_b) + fp32_chainin

fp32_chainout = fp32_adder_a

fp32_result = (fp32_mult_a * fp32_mult_b) - fp32_chainin

fp32_chainout = fp32_adder_a

The FP32 vector one mode supports the following exception flags:
  • fp32_mult_invalid
  • fp32_mult_inexact
  • fp32_mult_overflow
  • fp32_mult_underflow
  • fp32_adder_invalid
  • fp32_adder_inexact
  • fp32_adder_overflow
  • fp32_adder_underflow
Figure 36. Vector One Mode