Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17237 Discussions

Understanding timing constraints in timing analyzer

abhishek_nallur
Beginner
1,527 Views

Hi all,

I am quite new to timing constraints. I took an example code to understand and apply the constraints from FPGA Academy website.

https://fpgacademy.org/tutorials.html

Using the Quartus Prime Timing Analyzer VHDL code.

I am using Quartus prime lite 24.1 edition. FPGA 10M08DAF484C8G. I dont have any board.

As per tutorial i have added this constraint. 4ns = 250mhz clock

abhishek_nallur_0-1751970512823.png

abhishek_nallur_1-1751970637859.png

abhishek_nallur_2-1751970648599.png

abhishek_nallur_3-1751970666871.pngabhishek_nallur_4-1751970677113.png

Still there is setup violations. How can i solve this?

I reduced the clock from 250 to 125 then the violation disappered. 

What if i had a clock osc from outside the board with fixed 250mhz? Then how would i resolve the violations?

How to remove unconstrained i/o port paths also?

 

Any example codes, tutorials, explanation will be grateful.

 

Thank you

 

Labels (1)
0 Kudos
5 Replies
sstrell
Honored Contributor III
1,437 Views

A number of things here but the main thing is that you need to fully constrain the design first before you can rely on any timing reports.  This training discusses the creation of I/O timing constraints: https://learning.intel.com/Developer/learn/courses/841/intelr-quartusr-prime-pro-software-timing-analysis-part-4-io-interfaces

Once your design is fully constrained, then you can run setup and hold summary reports to verify whether the design meets timing.

0 Kudos
RichardTanSY_Altera
1,235 Views

Thank you sstrell for answering.


Hi OP,

I believe sstrell has answered your inquires, do you able to close timing with your project?


Regards,

Richard Tan


0 Kudos
FvM
Honored Contributor II
1,196 Views

Hi,
I agree that the design should be fully constrained so that timing analyzer doesn't report unconstrained pathes any more.
It's however rather unlikely that reported timing violations are caused by unconstrained IO. Consider a design with only asynchronous IO, it doesn't need specific IO constraints other than setting all IO to false_path. FPGA core logic will still violate timing if combinational delay between registers is too large. It can be only solved by restructuring logic, e.g. adding pipeline registers. Even in a partly unconstrained design, timing analyzer can show you why certain pathes fail timing closure.

0 Kudos
sstrell
Honored Contributor III
1,137 Views

Agreed.

Another solution may be to just create virtual pin assignments for all I/O.  Then the design is basically self contained in the device.

0 Kudos
RichardTanSY_Altera
300 Views

Hi OP,


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/s/?language=en_US, 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.

 

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


0 Kudos
Reply