set_output_delay (::quartus::project)
The following table displays information for the set_output_delay Tcl command:
Tcl Package and Version |
Belongs to ::quartus::project 5.0 |
|||
Syntax | set_output_delay [-h | -help] [-long_help] [-clk_ref <clock> ] [-clock_fall] [-comment <comment> ] [-disable] [-fall] [-max] [-min] [-remove] [-rise] [-tag <data> ] -to <output_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 output delay requirement | |||
-rise | Option applies to rising edge | |||
-tag <data> | Option to tag data to this assignment | |||
-to <output_pin> | Output pin name or output assignment group | |||
<value> | Delay value after rise of reference clock | |||
Description |
Specifies the required minimum or maximum delay on the output pin or output 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 output 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 output 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 displays 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 output ## delays on the output pin named "opin" relative to ## the rising edge of the reference clock named "clk1" set_output_delay 2ns -to "opin" -clk_ref "clk1" ## Or, equivalently, set_output_delay 2ns -to "opin" -clk_ref "clk1" -min -max ## Specify the required minimum output delay on ## the output pin named "opin" relative to the ## falling edge of the reference clock named "clk1" set_output_delay 2ns -to "opin" -clk_ref "clk1" -min -clock_fall ## Specify the required maximum output delay on ## output pins with names that start with "o" ## except those that start with "obus" assignment_group "output_pins" -add_member "o*" -add_exception "obus*" set_output_delay 2ns -to "output_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. |