UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 39135

Design Assistant for XST How to infer DSP blocks

Description

Please refer to this answer record for help inferring DSP blocks

Note: This Answer Record is a part of the Xilinx Solution Center for XST (Xilinx Answer 38927). The Xilinx Solution Center for XST is available to address all questions related to XST. Whether you are starting a new design or troubleshooting a problem, use the Solution Center for XST to guide you to the right information.

Solution

XST can infer DSP blocks when inferring the following blocks:

By default, XST will not infer DSP blocks for adders or subtractors. The USE_DSP constraint must be used to force XST to infer DSP blocks. Please see (Xilinx Answer 39749) for help applying the USE_DSP constraint.

By default, XST will infer DSP blocks for Multipliers, Multiply-Add, and Multiply-Accumulate macros. XST will not infer a DSP block for these macros when the port widths of their operands are small. If the port widths are small, then XST may infer regular fabric logic to implement the logic. The minimum size of the operands will depend on the target device. A Spartan-6 FPGA will have a smaller threshold than Virtex-6 FPGA. The USE_DSP constraint must be used to force XST to infer DSP blocks when the ports are too small. Please see (Xilinx Answer 39749) for help applying the USE_DSP constraint.

To improve the performance of the DSP block, make sure to pipeline. The DSP block will have much higher performance when the resultant is pipelined. Please refer to the DSP block documentation to find the optimal stages of pipelining.

If XST infers more DSP blocks than the device contains, then be sure to use DSP_UTILIZATION_RATIO option that XST offers. XST can also use the USE_DSP option globally. If the USE_DSP option is set to "automax", then XST will make sure to only infer additional DSP blocks if there are DSP blocks available for that device.

Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
38927 Xilinx Solution Center for XST N/A N/A

Associated Answer Records

Answer Number Answer Title Version Found Version Resolved
39079 Design Assistant for XST - Help with inference issues N/A N/A
AR# 39135
Date Created 03/15/2011
Last Updated 12/15/2012
Status Active
Type General Article