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

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

3.1.2.1.1. 18 × 19 Multiplication Summed with 36-Bit Input Mode

Agilex™ 5 variable precision DSP blocks support one 18 × 19 multiplication summed to a 36-bit input.

The 18 × 19 multiplication summed with 36-bit input mode uses the equations:
  • resulta = (ax * ay) + bx to sum the 18 x 19 multiplication with 36-bit input.
  • resulta = (ax * ay) - bx to subtract the 18 x 19 multiplication with 36-bit input.

Use the upper multiplier to provide the input for an 18 × 19 multiplication, while the bottom multiplier is bypassed. The bx[35..0] signals the 36-bit input operand.

Use the SUB dynamic control signal to control the adder to perform addition or subtraction operation.

Figure 24. One 18 x 19 Multiplication Summed with 36-Bit Input Mode for Agilex™ 5 Devices

In this figure, the variable is defined as follows:

  • n = 19 for 18 × 19 signed operands
  • n = 18 for 18 × 18 unsigned operands