Forum Discussion
Altera_Forum
Honored Contributor
7 years agoThe main use for timing constraints is to guide the Fitter to place and route the design to meet your timing requirements, so you have to accurately describe the properties of your clocks. You have to provide, at a minimum, constraints for all clocks and for all I/O in the design. The Fitter takes this information to make decisions about how to place and route the internal design. Timing analysis will show you what the Fitter may be able to achieve (if you look at a post-map netlist) and what it actually does achieve (if you look at a post-fit netlist).
For the base clock constraint you've specified, it simply needs to be: create_clock -period 10.000 [get_ports {clk_100M}] -waveform is only needed if the clock is not 50% duty cycle (is your clock really high for 5.1 ns and low for 4.9 ns?) or if it is phase shifted with respect to another clock (usually used for source synchronous interfaces). -name is only needed if the name of the clock should be different from the targeted port. See this online training and its follow-on courses for details: https://www.altera.com/support/training/course/odsw1115.html