set_input_delay (::quartus::project)
The following table displays information for the set_input_delay Tcl command:
Tcl Package and Version |
Belongs to ::quartus::project 5.0 |
|||
Syntax |
set_input_delay [-h | -help] [-long_help]
[-clk_ref
<clock>
]
[-clock_fall]
[-comment
<comment>
]
[-disable]
[-fall]
[-max]
[-min]
[-remove]
[-rise]
[-tag
<data>
]
-to
<input_pin>
[ <value> ] |
|||
Arguments | -h | -help | Short help | ||
-long_help | Long help with examples and possible return values | |||
-clk_ref <clock> | Reference clock name | |||
-clock_fall | Option to specify that delay is relative to falling edge of reference clock | |||
-comment <comment> | Comment | |||
-disable | Option to disable assignment | |||
-fall | Option applies to falling edge | |||
-max | Option to set maximum delay | |||
-min | Option to set minimum delay | |||
-remove | Option to remove input delay requirement | |||
-rise | Option applies to rising edge | |||
-tag <data> | Option to tag data to this assignment | |||
-to <input_pin> | Input pin name or input assignment group | |||
<value> | Input delay value after rise of reference clock | |||
Description |
Specifies the required minimum or maximum delay on the input pin or input assignment group as specified by the "-to" option. The Quartus Prime(R) timing analysis propagates this delay and checks it against the actual delay. For more information about assignment groups, type "assignment_group -h". The "assignment_group" command replaces the deprecated "timegroup" command in ::quartus::project, version 5.0. If both "-min" and "-max" options are not used, then the assignment is set for both minimum and maximum delay. The "-clock_fall" option specifies that the input delay is relative to the falling edge of the reference clock. The rising edge of the reference clock is the default. The <value> is the input delay after the rise or fall of the reference clock. If you do not specify the "-clk_ref" option, all clocks are assumed to be reference clocks by default. The format of <value> is "<numerical value><time unit>", for example, "7.55ns". The following table shows the available time units: Time Unit Description ---------------------- ------------------ s second(s) ms millisecond(s) us microsecond(s) ns nanosecond(s) ps picosecond(s) fs femtosecond(s) Hz Hertz KHz KiloHertz MHz MegaHertz GHz GigaHertz |
|||
Example Usage |
## 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 |
|||
Return Value | Code Name | Code | String Return | |
TCL_OK | 0 | INFO: Operation successful | ||
TCL_ERROR | 1 | ERROR: Can't find active revision name. Make sure there is an open, active revision name. | ||
TCL_ERROR | 1 | ERROR: Entity does not exist or uses illegal name characters: <string>. Specify a legal entity name. | ||
TCL_ERROR | 1 | ERROR: Can't set revision: <string>. Make sure there is an open, active revision name. | ||
TCL_ERROR | 1 | ERROR: You must open a project before you can use this command. | ||
TCL_ERROR | 1 | ERROR: Revision does not exist: <string>. Specify a legal revision name using the -<string> option. |