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 1.0 |
|||
Syntax |
set_output_delay [-h | -help] [-long_help]
[-clk_ref
<clock>
]
[-clock_fall]
[-comment
<comment>
]
[-disable]
[-max]
[-min]
[-remove]
-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 | |||
-max | Option to set maximum delay | |||
-min | Option to set minimum delay | |||
-remove | Option to remove output delay requirement | |||
-to <output_pin> | Output pin name or output timegroup | |||
<value> | Delay value after rise of reference clock | |||
Description |
Specifies the required minimum or maximum delay on the output pin or output 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 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 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 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" timegroup "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. |