Forum Discussion

fgh3982's avatar
fgh3982
Icon for New Contributor rankNew Contributor
5 years ago

multiple clocks from 1 pin dedicated clock

Hello everyone.

In my board i have 3V3 oscillator connect wints pin clk0 of my cyc3 fpga.

For example : Oscillator is 33mhz SG5032CAN here : https://fr.farnell.com/epson/x1g0044510006-sg5032can-33-mhz-tjga/oscillateur-spxo-sg5032can-33/dp/2442988RL?st=oscillateur%2033mhz

I want use it to generate multiple clocks

I try a simple counter divider and i try pll

I'm learning at some documentions, i see a doc with tff toggle or with a " inverter dff and not "

i need multiple clocks with different speeds in my design

After a lot of testing / compilation there are often functions that not operational. Is random !

Can you give me a solution?

Thanks in advance.

Regard.

15 Replies

  • sstrell's avatar
    sstrell
    Icon for Super Contributor rankSuper Contributor

    There's no need to do this. Just enable a second PLL output and use it as a pass-through, matching the properties of the input clock.

    • fgh3982's avatar
      fgh3982
      Icon for New Contributor rankNew Contributor

      Thank you Sstrell .

      Please, can you give me a example shematic or where can i find an example ?

      I allow myself to specify that it takes sources of clocks with 4 or 5 different frequencies
      (frequencies ranging from 3 to 50 mhz)
      One source (4 or 8 mhz ) will be connected to around 40 or more receiving functions.
      The other clocks will be connected to about 20 receiver functions.
      Regard .
      • sstrell's avatar
        sstrell
        Icon for Super Contributor rankSuper Contributor

        I'm not sure I understand what you're saying. But what I'm saying is to go into the IP Parameter Editor for the PLL and enable additional clock outputs there. So you'd have the c0 like you have in the schematic but also a c1, which can be independently configured.

    • fgh3982's avatar
      fgh3982
      Icon for New Contributor rankNew Contributor

      Hello an thanks for following up on this discussion.

      I use Quartus 9.0 in an old PC ant i try "classic timming analyser" and "Timequest timming analyser"

      It's difficult to set up any clock node.

      In my design i have 8 baseds clocks 33, 8, 4, ..... to 1 Mhz . Fmax are 33Mhz.

      I have trouble to set up parameters for Quartus to take them into account .

      After compiling , with classic timming i have this message :

      Warning: Can't achieve minimum setup and hold requirement clk33 along 8752 path(s). See Report window for details .


      I imagine this warning indicates that signals are not connected?

      clk33 are pin input clock clk0, my FPGA are ep3c10c8n. I use ~80% of cell and combinations fuctional and ~2500 logic registers

      When i use timequest timming analyser there is apparently no error , is this normal in your opinion ?

      Thank in advance.

      Regards.

      • corestar's avatar
        corestar
        Icon for Contributor rankContributor

        >> I imagine this warning indicates that signals are not connected?

        No, it probably means your "clocks" are not on global clock networks as @sstrell explained. The point of global and regional clocks is to provide a low-skew path to a large amount of logic.

        >> When i use timequest timming analyser there is apparently no error , is this normal in your opinion ?

        If you don't setup any constraints, you won't get any errors. Did you set the input clock frequency in your constraints. Also, you should put derive_pll_clocks in your .sdc file.I never understood why that was not the default, but without it the tools seem to assume the output clocks are the same frequency as the input clock.

        Altera had some great free online training that would probably benefit you greatly. I think one was called something like "Becoming an FPGA Designer in 4 hours".

  • KhaiChein_Y_Intel's avatar
    KhaiChein_Y_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi,

    We do not receive any response from you to the previous question/reply/answer that I have provided. This thread will be transitioned to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you

    Best regards,

    KhaiY



    • fgh3982's avatar
      fgh3982
      Icon for New Contributor rankNew Contributor

      Hello

      Excuse my delay

      I 'm learning Quartus documentation.

      if you ask me I will keep you posted on my progress on this subject.
      I managed with 2 CLKLOCK functions, a prioris it takes a PLL resource from my FPGA

      Best regards