Electronic – Quartus FPGA migration issues

intel-fpgaquartus-iivhdl

I have an FPGA design Quartus that compiles and works correctly for a cyclone IV EP4CE15F17C8 (42% used).

I'm trying to migrate same design to a smaller FPGA EP4CE10F17C8, but when changing FPGA device I get compilation errors related to a PLL Megafunction I have:

Error (176554): Can't place PLL "top_level_d9620:top_level_d9620_comp|pll25MHZ_b:G5|altpll:altpll_component|pll25MHZ_b_altpll:auto_generated|pll1" — I/O pin clock (port type INCLK of the PLL) is assigned to a location which is not connected to port type INCLK of any PLL on the device

I don't know how to avoid this error. Is there a workaround for this? Even if I remove the PLL, I get many errors like this:

Error (176337): Cell top_laser:top_laser_comp|gene_freq_dpi1:U35|retard_t40[0] fed by 5 non-global control signals — only 4 control signals may be non-global

Any ideas?

Best Answer

Looks like you might be using an input pin for the clock that isn't a clock capable pin. Take a look at the datasheet and make sure you're using a valid clock pin. This is one of the few things on an FPGA that you really have to watch out for specifically what pin you're using. Other signals can basically be placed wherever it is most convenient, but clocks must be connected to pins capable of driving the clock networks and PLLs.

Not sure about the second error, though. See: http://quartushelp.altera.com/13.0/mergedProjects/msgs/msgs/efsac_fsac_too_many_non_global_control_signals_for_lcell_ff.htm . Might be a clock routing issue if the clock is not going over the proper clock network.