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 2.0 |
|||
Syntax |
set_input_delay [-h | -help] [-long_help]
[-clk_ref
<clock>
]
[-clock_fall]
[-comment
<comment>
]
[-disable]
[-max]
[-min]
[-remove]
-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 | |||
-max | Option to set maximum delay | |||
-min | Option to set minimum delay | |||
-remove | Option to remove input delay requirement | |||
-to <input_pin> | Input pin name or input timegroup | |||
<value> | Input delay value after rise of reference clock | |||
Description |
Specifies the required minimum or maximum delay on the input pin or input timegroup 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 timegroups, type "timegroup -h". 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 Assignments created or modified by using this Tcl command are not saved to the Quartus Prime Settings File (.qsf) unless you explicitly call one of the following two Tcl commands: 1) export_assignments 2) project_close (unless "-dont_export_assignments" is specified) These two Tcl commands reside in the ::quartus::project Tcl package. You must save assignment changes before you run Quartus Prime command-line executables. Note, however, that the Tcl commands "execute_flow" and "execute_module" (part of the ::quartus::flow Tcl package) automatically call "export_assignments" before they run command-line executables. |
|||
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" timegroup "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. |