Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

What is mean of rhis critical warning and how to handle it?

When I compile my design which use two plls in a EP4CE55F device, I have a cirtical warning as following:

Critical Warning (176598): PLL "DSP_System:dsp_system|HistoComputeScene:histocomputescene|PLL_25MHZ_50MHZ:pll_25mhz_50mhz|altpll:altpll_component|PLL_25MHZ_50MHZ_altpll:auto_generated|pll1" input clock inclk[0] is not fully compensated because it is fed by a remote clock pin "Pin_T21"

If someone has confronted the same problem, what is mean of this? And how to handle it?

15 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    You should look at the warning message and then review the handbook for the FPGA. Look at the PLLs that Quartus is trying to use, and then confirm that the CLKIN pin available cannot be used by one or more of your PLLs. That way you understand the synthesis error. You may not be able to do anything about the error, but you will know to avoid this problem when designing your own hardware.

    The board is just a bunch of headers, you could always supply another clock source.

    If the clock frequency is not that high, you could also drive a PLL output to a pin then jumper that pin over to another CLKIN input.

    You can also cascade PLLs; use a PLL reference clock that is the output of another PLL on the FPGA. You may get warnings regarding jitter, but if you are just testing ideas, then that may not matter.

    And finally, why do you need so many clocks?

    Cheers,

    Dave

    --- Quote End ---

    Thanks for your suggestions, Dave. Actually I can use two plls instead of three. In my design, I need to design a control module and it needs to generate several different rate clocks for an custom design image sensor. And the real-time processing is done in FPGA too. I need another pll to generate double rate clock from basic clock to compute histogram. So generally I need at least 4 clocks from PLL. Other slow clocks will be generated through counter.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Actually I can use two plls instead of three.

    --- Quote End ---

    Great! Does that help with the synthesis error?

    --- Quote Start ---

    In my design, I need to design a control module and it needs to generate several different rate clocks for an custom design image sensor. And the real-time processing is done in FPGA too. I need another pll to generate double rate clock from basic clock to compute histogram. So generally I need at least 4 clocks from PLL. Other slow clocks will be generated through counter.

    --- Quote End ---

    Why can't these four clocks be generated from a single FPGA? If they are all relative to a common reference, then one PLL should be enough. If you have two different clock sources, and the FPGA needed to use a higher clock frequency phase-locked to the two clock sources, then of course you would need two PLLs.

    Cheers,

    Dave
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Great! Does that help with the synthesis error?

    /QUOTE]

    I don't have synthesis error when I use three plls but I have critical warning. And the design does not work as I expect when I did onboard debugging. After I remove one pll to use two, there is still crtical warning, the warning changed from the 3rd pll to 2nd pll. But when I debug the design onboard, the design works well as I expect.

    --- Quote Start ---

    Why can't these four clocks be generated from a single FPGA? If they are all relative to a common reference, then one PLL should be enough. If you have two different clock sources, and the FPGA needed to use a higher clock frequency phase-locked to the two clock sources, then of course you would need two PLLs.

    Cheers,

    Dave

    --- Quote End ---

    EP4CE55F chip I used in my design, have 4 plls. And each pll can only generated 3 clocks. But I need 4 different clocks although all of them come from same basic clock. This is why I use 2 plls.

    How can I know the location of PLL I used inside FPGA chip?

    Thanks very much.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    I don't have synthesis error when I use three plls but I have critical warning. And the design does not work as I expect when I did onboard debugging. After I remove one pll to use two, there is still crtical warning, the warning changed from the 3rd pll to 2nd pll. But when I debug the design onboard, the design works well as I expect.

    --- Quote End ---

    That sounds like progress! :)

    --- Quote Start ---

    EP4CE55F chip I used in my design, have 4 plls. And each pll can only generated 3 clocks. But I need 4 different clocks although all of them come from same basic clock. This is why I use 2 plls.

    --- Quote End ---

    I see.

    These three clocks don't have an integer relationship that you can use to create an enable pulse instead of one of the clocks?

    --- Quote Start ---

    How can I know the location of PLL I used inside FPGA chip?

    --- Quote End ---

    I haven't needed to look, so can't give you exact guidelines. Look in the fitter report. There should be a table in there. The same information will be in the files generated by Quartus You can probably also see it in the technology viewer (GUI).

    Cheers,

    Dave
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    No, they don't have integer relationship, otherwise I will use counter. Thanks very much, I will check whether how see that table.