Example – Altera Quartus II Scripting User Manual
Page 625

Chapter 3: Tcl Packages & Commands
3–495
timing_assignment
© July 2013
Altera Corporation
Quartus II Scripting Reference Manual
Example
## Specify the required minimum and maximum input
## delays on the input pin named "ipin" relative to
## the rising edge of the reference clock named "clk1"
set_input_delay 2ns -to "ipin" -clk_ref "clk1"
## Or, equivalently,
set_input_delay 2ns -to "ipin" -clk_ref "clk1" -min -max
## Specify the required minimum input delay on
## the input pin named "ipin" relative to the
## falling edge of the reference clock named "clk1"
set_input_delay 2ns -to "ipin" -clk_ref "clk1" -min -clock_fall
## Specify the required maximum input delay on
## input pins with names that start with "i"
## except those that start with "ibus"
assignment_group "input_pins" -add_member "i*" -add_exception "ibus*"
set_input_delay 2ns -to "input_pins" -max
MHz
MegaHertz
GHz
GigaHertz
Time Unit
Description