Forum Discussion

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

FPGA without clock?

Hello everyone:),

I want to use FPGA simply as a glue logic as I can't think of enough I/O pins available in my CPLD. I don't want to give any clock to the FPGA as the clock is not there

in the application board. Will my FPGA still work without clock? What will happen if I use my FPGA keeping the clock pins afloat? Is it mandatory to use the clock if I want something to do that doesn't involve clock at all? Please clarify.

thanks

5 Replies

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

    Clock signals are not mandatory, so you may decide to use the FPGA as you used the CPLD before. But be sure that an asynchronous design is enough reliable for your system. Every time a synchronous solution is more reliable and more stable compared to an asynchronous one. So, if you have a chance to introduce a clock, I would suggest you to use it. Otherwise, go on with your asynchonous design and check the result.

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

    Sure, an FPGA works without a clock. Be sure to handle all pins according to what Quartus tells you in the pin file.

    Have you looked at the MaxII device family? There are members with more than 250 user I/O! Not enough for you?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    MAX II also has an internal clock oscillator, that can be used for simple synchronous designs, if the clock isn't required for timing purposes.

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

    1 - The clock pins on the FPGA only have significance if you actually use them. The fact that they are labeled as dedicated clock pins does NOT mean that you must connect a clock to them or the FPGA will cease to work. The FPGA will do whatever you tell it to do.

    2 -If you truly do not have a clock, you are of course forced into an asynchronous design. This is fine but asynchronous logic design has it's own caveats that must not be ignored particularly when constraining timing.

    3 - You can provide a clock to the FPGA on a pin other than the dedicated clock pins. The dedicated pins are ideal because the internal circuitry has been designed to provide the cleanest possible clock via the dedicated pins. You obviously have some pins connected between the CPLD and the FPGA. You could therefore dedicate one of these pins to be a clock (assuming your CPLD has a clock). Then the CPLD could provide the clock to the FPGA.

    4 - If you really are only going to use the FPGA for combinatorial or asynchronous logic, then you have no need for a clock in the first place. If however you are trying to figure out how you can accomplish what you need without a clock simply because you forgot to give it one in the first place, then go back and provide a clock.

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

    Hey friends...

    I want to thank all of u who replied to my worry. jakobjones,FvM,Harald,OrchestraDirector, I thank you all because

    now I can go for the design undoubtedly.

    regards:)

    abhishek