--- Quote Start ---
Hi!
In the process of learning TimeQuest Timing Analyzer,I found that there are so many intricate conceptions.such as "setup A","setup B","Hold check A1","Hold check A2".I spend a lot of time to comprehend that,but failed.
Is there anybody knows the "souce clock","destination clock" ,"setup A" and what the relationship between them?
thank you in advance!
--- Quote End ---
Hi,
before I go to your picture an explanation of the two timing parameters:
setup time
The length of time for which data that feeds a register via its data or enable input(s) must be present at an input pin before the clock signal that clocks the register is asserted at the clock pin.
hold time
The minimum length of time for which data that feeds a register via its data or enable input(s) must be retained at an input pin after the clock signal that clocks the register is asserted at the clock pin.
I assume that the rising edge of your source clock is the active edge, means the data will change after the rising edge.
Look to the first rising edge of the source clock. In front of this edge you have a rising edge of the destination clock. What needs to be check ? You have to check whether the source data is long enough stable ( Hold check A1). But that is not all to be checked regarding the first rising of the source clock. The next rising edge of the destination clock occurs before the next rising edge of the source clock. What needs to be checked ? You have to check whether the source data is long enough stable in front of the second rising edge of the destination clock (Setup A). When we go further in your diagramm the second
rising edge of the source code occurs. Again you have to check the hold time now for the second rising edge of the destination clock ( nearest rising edge of destination clock in front of the source clock) (Hold check A2). The next rissing edge of the source clock occurs before the rising edge of the destination clock, therefore an additional Hold check for the second rising edge of the destination clock is required ( Hold check B1) and so on ...
Kind regards
GPK