Intel® Quartus® Prime Pro Edition User Guide: Power Analysis and Optimization

ID 683174
Date 6/22/2022
Public

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

Visible to Intel only — GUID: jnk1519933009053

Ixiasoft

Document Table of Contents

2.4.8. DSP Implementation

When you maximize the packing of DSP blocks, you reduce Logic Utilization, power consumption, and increase efficiency. The HDL coding style grants you control of the DSP resources available in the FPGA.

Implement Multiplier + Accumulator in 1 DSP

always @ (posedge clk) begin if (ena) begin dataout <= dataa * datab + datac * datad; end end

Implement multiplication in 2 DSPs and the adder in LABs

always @ (posedge clk) begin if (ena) begin mult1 <= dataa * datab; mult2 <= datac * datad; end end always @(posedge clk) begin if (ena) begin dataout <= mult1 + mult2 end end