Forum Discussion

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

Clocking directly vs logic "distortion"

Hi,

Say you have a perfect theoretical clock source, and divide it with logic to a clock source/data chunk. How would you estimate the distortion caused by this process, given the transistor side of the PGA chip is the main focal point?

7 Replies

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

    You don't. Logic generated clocks are not recommended in fpgas.

    With your pll driven clock (or direct from a crystal) you can use time quest to work out all the delays for you.

    Never ever use logic clocks.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    You don't. Logic generated clocks are not recommended in fpgas.

    With your pll driven clock (or direct from a crystal) you can use time quest to work out all the delays for you.

    Never ever use logic clocks.

    --- Quote End ---

    Ok, Excellent.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    You don't. Logic generated clocks are not recommended in fpgas.

    With your pll driven clock (or direct from a crystal) you can use time quest to work out all the delays for you.

    Never ever use logic clocks.

    --- Quote End ---

    Thanks for the sharing.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I'm running into this again, and still I get this nagging feeling.

    What if it's a mode register and it's a low priority burst. Wouldn't it be wasting usefull pll resources?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    I'm running into this again, and still I get this nagging feeling.

    What if it's a mode register and it's a low priority burst. Wouldn't it be wasting usefull pll resources?

    --- Quote End ---

    Why not use a clock enable?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Ok thanks, I will look into that. "And have for a bit".

    But I don't really understand. The way I visualize it, (and have modules doing sound like this) internally the data starts out at some point. And gets pushed along a chain of events, all getting the master clock from the main source. And gets toggled when a master clock derived latch tells it to toggle. And eventually if it's done within the sample period, the registers are set and i'm happy. Say if i'm shy of the time it takes to execute a function I get no results, If all the functions did execute results are gotten. Does this mean i'm trying to use the FPGA in a way, the compiler attempts to help me with? (No, but the placer likes to place and deskew it, as i knew already too) <- not my area of expertise tho, so correct me if im wrong. :D

    Also, how is sending a one bit square wave along with data worse than the data being sent. Doesn't this devalue the data?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    It actually answered itself, was getting late.. I should have gotten this already. :P

    There's no need here to clock with logic, since it's redundant.