Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17120 Discussions

Trouble with register packing in DSPs

Steven_H
Beginner
606 Views

I'm developing a utility with MATLAB - HDL Coder to characterize DSP mapping behavior and timing with Intel devices. However, I noticed some strange behavior compared to Xilinx/AMD devices.

I thought with Quartus Prime Pro (targeting Stratix 10) the preference was to have synchronous resets on registers now, but synchronous reset registers do not get packed into DSPs. Instead, asynchronous reset registers do.

Additionally, registers with clock enable signals (clock gating) do not get packed into DSPs. This is not a problem with Xilinx/AMD devices.

I've attached two zip files with synthesis TCL scripts to observe when registers get packed (without_ce.zip) vs when registers aren't packed (with_ce.zip). The script can be run with the command "quartus_sh -t Synthesis.tcl".

I prefer to ensure these registers are packed in a DSP (in BlockSubsystem.vhd) while also having optimal behavior when they are not packed (like the registers in toplevel_Characterization.vhd).

  1. Is this all expected behavior?
  2. What is the general guidance when using both Quartus Prime Standard and Quartus Prime Pro? Or are there even finer differences based on the device family?

Thanks,

Steven

Labels (1)
0 Kudos
2 Replies
TingJiangT_Intel
Employee
462 Views

Hi there, if you want your logic be inferred to DSP, you need to follow some coding style recommended.

Please follow the following steps to get the template:

1,You can open Quartus, create a new Verilog HDL file.

2,Right click on the blank area and choose 'insert template'

3,In the opened window choose 'Verilog HDL' -'Full design' - 'Arithmetic' - 'DSP Feature' - Choose Corresponding Template you need.

Please check if your code follows this coding style.

Thanks



0 Kudos
TingJiangT_Intel
Employee
405 Views

No response from the customer after the answer being provided: As we do not receive any response from you on the previous question/reply/answer that we have provided. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


0 Kudos
Reply