Forum Discussion

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

hold time violation

hi,

when i tried to make a timing analysis for my design, i get a hold time violation between two nodes.. i attached a screenshot of the error. actually it is not an error, but probably it is the cause of the bad behavior of my design.. i don't have a big knowledge about timing analysis. but i would ask if there are ideas or solutions to eliminate this hold time violation between the indicated nodes..

thank you

3 Replies

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

    --- Quote Start ---

    hi,

    when i tried to make a timing analysis for my design, i get a hold time violation between two nodes.. i attached a screenshot of the error. actually it is not an error, but probably it is the cause of the bad behavior of my design.. i don't have a big knowledge about timing analysis. but i would ask if there are ideas or solutions to eliminate this hold time violation between the indicated nodes..

    thank you

    --- Quote End ---

    Your clock appears to be generated internally with logic cells. Hold time violations are exactly what you will get in an FPGA when you attempt to use this technique (called 'gated clocks'). The solution is to use the clock input pin as the clock to all; generate clock enable logic inputs rather than using a gated clock.

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

    hi,

    actually i'm using two clocks in my design..but those two clocks are generated by the FPGA boad(i'm using cyclone II which provides two frequency values :28MHz and 50MHz), so i'm not using gated clocks.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The clk_50 path in your screenshot reads: PIN_AD15, lcff_xxx, CLKCTRL_G8, lccomb_xxxx.

    Somehow, you have some logic between the clock input pin and the use clock signal.