Using the Squarer in the UltraScale DSP Block - 2025.2 English - UG901

Vivado Design Suite User Guide: Synthesis (UG901)

Document ID
UG901
Release Date
2025-12-05
Version
2025.2 English

The UltraScale DSP block (DSP48E2) primitive can compute the square of an input or the output of the pre-adder.

Download the coding example files from Coding Examples.

The following are examples of the square of a difference; this can be used to efficiently replace calculations on absolute values of differences.

It fits into a single DSP block and runs at full speed. The previously mentioned coding example files include an accumulator of the square of differences, which fits into a single DSP block for the UltraScale architecture.