Forum Discussion

okhajut's avatar
okhajut
Icon for New Contributor rankNew Contributor
1 year ago

Why does TimeQuest show data arriving after the latch edge?

Here is the waveform from Quartus Prime TimeQuest:

I know that the design meets timing since the fmax is more than 100MHz which is the target clock. So this question is specifically about why the waveform looks wrong. The waveform shows that the data arrival and data required are after the latch edge. Both of these are supposed to be before the latch edge isn't it?

3 Replies

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

    It’s not necessary for both the DAT and DRT to occur before the latch edge.

    Essentially, we focus on the setup/hold slack, which depends on the both the Data Arrival Path (DAT) and the Data Required Path (DRT). For setup, the DAT must be > DRT. For Hold, DRT > DAT.


    For further details, you can check out this YouTube video:

    https://www.youtube.com/watch?v=6D-w8mOttnE


    We also have a video series on Timing Analyzer.

    https://learning.intel.com/developer/learn/learning-plans/244/timing-analysis-with-the-intelr-quartusr-prime-pro-software


    Additionally, TimeQuest User Guide:

    https://web02.gonzaga.edu/faculty/talarico/CP430/LEC/TimeQuest_User_Guide.pdf


    Regards,

    Richard Tan


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

    To further clarify, the launch and latch edges shown in the waveform view are when the clock source initiates those edges, not when they arrive at the register/logic being clocked. So you can see the Data Required Time, represented by the dashed line as 3.467 ns after the clock source initiated the latch edge. As such (and as mentioned above) everything is based on the data required time, not when the clock source initiated the clock pulse. As long as the data arrives early enough before that time (launch edge + 3.467 ns) to meet the setup timing requirement of the logic, the path will meet timing.

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

    We noticed that we haven't received a response from you regarding the latest previous question/reply/answer, and will now transitioning your inquiry to our community support. We apologize for any inconvenience this may cause and we appreciate your understanding.


    If you have any further questions or concerns, please don't hesitate to reach out. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support.


    The community users will be able to help you on your follow-up questions.


    Thank you for reaching out to us!


    Best Regards,

    Richard Tan