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

cannot fit the design in the device Cyclone V

AbdAllahMohamed
Beginner
1,461 Views

i synthesis my design at synplify pro and then i fetched the VQM netlist and start fitting the design at Quartus.  i got an error that there are two bits in a module at the design it can not be fit at the design i tried alot of fitting options but there is no solution 

 

 

FPGA is not fully utilized  and i didn't see anything wired at the two bits that the tool said

 

Thanks in advance

 

0 Kudos
16 Replies
AEsqu
Novice
1,445 Views

That Cyclone V (or Quartus) has so many problem to route signals ...

I never seen such routing issue with any other FPGA's ...

0 Kudos
ShengN_Intel
Employee
1,425 Views

Hi,

 

Check out these two previous similar forum issues probably can help you.

https://community.intel.com/t5/Programmable-Devices/While-running-the-cyclone-V-the-following-routing-problems-are/m-p/734484

https://community.intel.com/t5/Programmable-Devices/Fitter-can-t-fit-a-small-design-in-Cyclone-V-SE-that-fits-in-a/m-p/1315600

 

May check on the link below as well.

https://www.intel.com/content/www/us/en/programmable/quartushelp/current/index.htm#msgs/msgs/wvpr20k_vpr_no_route_suggestion_message.htm

CAUSE: The Fitter was unable to route the design because it requires too many device routing resources.

ACTION: There are multiple ways to diagnose or resolve a routing problem. Use one of the following methods to diagnose the routing problem:
  • View the Global Routing Wire Utilization Map in GUI for overall routing congestion.
  • View the Report Routing Utilization in Chip Planner for detailed routing congestion.
  • Investigate signals identified by the router.
  • Turn off timing optimization or alternatively just hold optimizations to see if timing constraints are the issue.
  • Investigate non-global large fanout nets.
Use one of the following methods to resolve the routing problem:
  • Reduce routing demand by modifying the design. Reduce the interconnect complexity by localizing routing as much as possible. For example, transform a cross-bar interconnect into a ring-style interconnect to reduce interconnect complexity and improve routability (at the cost of increasing latency).
  • If a global signal is unroutable, then delete global promotion of that signal.
  • Add or remove Logic Lock regions.
  • Reduce very aggressive timing constraints.
  • Cut timing paths on cross-clock transfers.
  • Change the Fitter Initial Placement Seed in the Advanced Fitter Settings dialog.
  • Enable the Fitter Aggressive Routability Optimizations logic option in the Advanced Fitter Settings dialog.
  • Reduce logic utilization.
  • Select a larger device.

 

Best Regards,

Sheng

p/s: If any answer from community or Intel support are helpful, please feel free to mark as solution and give Kudos.

 

0 Kudos
ShengN_Intel
Employee
1,378 Views

May I know any update? Do the suggestions help?


0 Kudos
AEsqu
Novice
1,368 Views

Still difficult to route using different actions like mentioned above but I can work with.

Either the Cyclone V has limited routing capabilities, either Quartus has a bug.

0 Kudos
ShengN_Intel
Employee
1,364 Views

Have you try with below compiler settings before:

 

OPTIMIZATION_TECHNIQUE AREA (Balanced to Area)

OPTIMIZATION_MODE "AGGRESSIVE AREA"

SYNCHRONIZATION_REGISTER_CHAIN_LENGTH 2 (3 to 2)

ALLOW_SHIFT_REGISTER_MERGING_ACROSS_HIERARCHIES ALWAYS (Auto to Always)

PHYSICAL_SYNTHESIS_REGISTER_DUPLICATION OFF (ON to OFF)

Allow Register Duplication (Off)

Remove Duplicate Registers (On)

Auto Register Duplication (Off)

Logic Cell Insertion - Logic Duplication (Off)

Perform Register Duplication for Performance (Off)

Fitter Aggressive Routability Optimizations (Always)

Auto Packed Registers (Minimize Area with Chains)

Optimize IOC Register Placement for Timing (Pack All IO Registers)

Perform Logic to Memory Mapping for Fitting (On)

 

Check also chip planner as well must be some place highly hotspot.

0 Kudos
AEsqu
Novice
1,355 Views

OPTIMIZATION_TECHNIQUE AREA (Balanced to Area) => tested already

OPTIMIZATION_MODE "AGGRESSIVE AREA" => tested already

SYNCHRONIZATION_REGISTER_CHAIN_LENGTH 2 (3 to 2) => NOT tested, will try it

ALLOW_SHIFT_REGISTER_MERGING_ACROSS_HIERARCHIES ALWAYS (Auto to Always) => NOT tested, will try it. Note that my main netlist is from Synplify .vqm and that the congestion is in the cortex M33 in that netlist.

PHYSICAL_SYNTHESIS_REGISTER_DUPLICATION OFF (ON to OFF) => tested already

Allow Register Duplication (Off) => tested already

Remove Duplicate Registers (On) => tested already

Auto Register Duplication (Off) => tested already

Logic Cell Insertion - Logic Duplication (Off) => tested already

Perform Register Duplication for Performance (Off) => tested already

Fitter Aggressive Routability Optimizations (Always) => tested already

Auto Packed Registers (Minimize Area with Chains) => tested already

Optimize IOC Register Placement for Timing (Pack All IO Registers) => NOT tested, will try it

Perform Logic to Memory Mapping for Fitting (On) => NOT tested, will try it

0 Kudos
AEsqu
Novice
1,355 Views

BTW, is there a way to tell Quartus to directly use the max optimization effort?

I use standard fit already.

It is never able to fit on first run, so I would like the tool to use the second strat immediately.

 

0 Kudos
ShengN_Intel
Employee
1,347 Views

There is only optimization mode.

Also, may be you can use larger capacity cyclone v device with more ALMs, Total I/Os, GPIOs, Memory Bits, DSP Blocks.


0 Kudos
AEsqu
Novice
1,338 Views

Hi,

What do you mean by "There is only optimization mode."

We already use the biggest Cyclone V and we won't change it anyway.

0 Kudos
AEsqu
Novice
1,315 Views

These are the closest .qsf accepted values I found for the Cyclone V and Quartus 21.1.0 std version:

set_global_assignment -name CYCLONEII_OPTIMIZATION_TECHNIQUE AREA
set_global_assignment -name OPTIMIZATION_MODE "AGGRESSIVE AREA"
set_global_assignment -name SYNCHRONIZATION_REGISTER_CHAIN_LENGTH 2
set_global_assignment -name ALLOW_SHIFT_REGISTER_MERGING_ACROSS_HIERARCHIES ALWAYS
set_global_assignment -name PHYSICAL_SYNTHESIS_REGISTER_DUPLICATION OFF
set_global_assignment -name ALLOW_REGISTER_DUPLICATION OFF
set_global_assignment -name REMOVE_DUPLICATE_REGISTERS ON
set_global_assignment -name ROUTER_REGISTER_DUPLICATION OFF
set_global_assignment -name ROUTER_LCELL_INSERTION_AND_LOGIC_DUPLICATION OFF
set_global_assignment -name FITTER_AGGRESSIVE_ROUTABILITY_OPTIMIZATION ALWAYS
set_global_assignment -name QII_AUTO_PACKED_REGISTERS "MINIMIZE AREA WITH CHAINS"
set_global_assignment -name OPTIMIZE_IOC_REGISTER_PLACEMENT_FOR_TIMING "PACK ALL IO REGISTERS"
set_global_assignment -name INFER_RAMS_FROM_RAW_LOGIC ON

 

0 Kudos
ShengN_Intel
Employee
1,298 Views

Hi,


Could you provide the .fit.rpt for taking a look?


Thank you,

Sheng


0 Kudos
AEsqu
Novice
1,275 Views

Let me know how to send it in private.

0 Kudos
ShengN_Intel
Employee
1,270 Views

You could provide the fitter report personally to me via this email id qi.sheng.ng@intel.com


0 Kudos
ShengN_Intel
Employee
1,259 Views

After going through the fitter report, looks like still not that extremely compact yet should be not a problem for routing.

Btw, glad to know that you have successfully route the design after a retry.


Thank you,

Sheng


0 Kudos
AEsqu
Novice
1,248 Views

In the logic lock region in blue , when it fails to route the Cortex M33, there are high wire utilization.

CM33_wire_usage_Cyclone_V.png

0 Kudos
ShengN_Intel
Employee
1,240 Views

The Compiler's messages contain information about average and peak interconnect usage. Peak interconnect usage over 75%, or average interconnect usage over 60%, can indicate difficulties fitting your design. Similarly, peak interconnect usage over 90%, or average interconnect usage over 75%, show increased chances of not getting a valid fit.


Based on the picture, I think your design should be no problem at routing for the time being.

Do let me know if you need any further help on this.


Thank you,

Sheng



0 Kudos
Reply