ErenYagar
New Contributor
3 years agoHow to calculate Setup slack and Hold slack?
I'm having trouble understanding how to calculate Setup slack and Hold slack correctly. According to the Intel Quartus Timing Analysis manual, Setup slack is calculated as Data Required Time (Setup) minus Data Arrival Time, and Hold slack is calculated as Data Arrival Time minus Data Required Time (Hold).
However, no matter how I calculate it, my results never seem to match up. I've been spending a lot of time trying to figure out the concept of hold and setup, but it's been challenging. Is it normal to find these concepts difficult to grasp? Can someone explain the correct algorithm for calculating Setup slack and Hold slack?
I've referred to the following articles as my reference:
I would greatly appreciate any help or insights. Thank you in advance!
Your screenshots are not showing the whole picture (scroll to the bottom to get the data arrival and data required times; you've highlighted the clock edges, not the arrival and required times). Look at the Waveform tab in the timing analyzer reports. They show where the data arrival and data required times are located. Then correlate that to the numbers in the path reports in the Data Path tab.
Also check out this training: https://cdrdv2.intel.com/v1/dl/getContent/653046