Altera_Forum
Honored Contributor
7 years agoTiming Analysis: express frequency uncertainty of external oscillator
An external oscillator is connected to my FPGA. Its signal is used as a clock. There is an uncertainty of the oscillator frequency. The minimum frequency is 20 MHz and the maximum frequency is 25 MHz. How can I respect this uncertainty in my *.sdc file for time analysis?
Is the following correct and reasonable? # maximum frequency 25 MHz -> period duration = 40 ns# minimum frequency 20 MHz -> period duration = 50 ns# ==> period duration = 45 ns +/- 5 ns create_clock -name {osc} -period 45 [get_ports {osc}] set_clock_uncertainty -from osc -to osc 5 Are the results the same, if the *.sdc file contains the following? create_clock -name {osc} -period 40 [get_ports {osc}] create_clock -name {osc} -period 50 [get_ports {osc}] -add Is there a better or simpler way to respect this uncertainty?