Forum Discussion

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

Worst case Tpd value changing

My simple programme tpd value is different from my previous compilation.

Im using the same code and device family but dnt knw wats the cause of this variation.

Previously had 5ns. Now im getting 8.8ns.

Pls help...:(

4 Replies

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

    You may well see different results each time thanks to the way Quartus can use random seeds for compilation. More importantly, have you constrained your design? Quartus will aim to achieve the timing you require, providing you've supplied it. How important is the worst case tpd if the design meets your requirements?

    Regards,

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

    The design is without constraints. If the tpd is unstable, don't that mean the design have problems?

    Since functional sim is not real life implementation.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The fact that some timing delays are unstable doesn't mean that your design has problems per se, as long as they are all within your tolerances. The problem is that if you don't constrain your project, Quartus has no idea what kind of timing performance you require, so will try to make some educated guesses. As it uses a pseudo-random algorithm for the fitting part, as Alex just said, it can generate completely different results from even a tiny change in the design. If you need more timing stability, and to be sure that your design will run within your timing requirements, you need to constrain your project.

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

    Try to use a sdc file to constraint you clock (assuming you have one) in your design. I think you'll see more stable results.