Visible to Intel only — GUID: reference_TCL_tcl_pkg_sdc_ver_1_5_cmd_get_clocks
Ixiasoft
Visible to Intel only — GUID: reference_TCL_tcl_pkg_sdc_ver_1_5_cmd_get_clocks
Ixiasoft
3.1.27.9. get_clocks (::quartus::sdc)
The following table displays information for the get_clocks Tcl command:
Tcl Package and Version | Belongs to ::quartus::sdc |
||
Syntax | get_clocks [-h | -help] [-long_help] [-include_generated_clocks] [-nocase] [-nowarn] [-of_objects <object_collection> ] [ <filter> ] | ||
Arguments | -h | -help | Short help | |
-long_help | Long help with examples and possible return values | ||
-include_generated_clocks | Includes generated clocks derived from the matched clocks | ||
-nocase | Specifies the matching of node names to be case-insensitive | ||
-nowarn | Do not issue warning messages when querying for clocks | ||
-of_objects <object_collection> | Returns all clocks that target (defined on) or drive (determine data frequency of) the nodes in the collection. | ||
<filter> | Valid destinations (string patterns are matched using Tcl string matching) | ||
Description | Returns a collection of clocks in the design. Use a clock collection as the -from/to argument of a command (such as set_multicycle_path) to refer to all nodes driven by the clocks in the collection. # The following multicycle constraint applies to all paths ending at registers # driven by clk set_multicycle_path -to [get_clocks clk] 2 If a filter, which is a Tcl list of wildcards and must follow standard Tcl or Timing Analyzer-extension substitution rules, is specified, then get_clocks returns all clocks whose names match the filter. See the help for use_timing_analyzer_style_escaping for filter rules. If the -of_objects option is used, then a collection of registers, ports, pins, or cells must be provided. get_clocks returns a collection of all the clocks that target these nodes, or if these nodes are not clock targets, all the clocks that drive these nodes. This option cannot be used along with the clock name filter. Refer to the long help for examples of using the -of_objects option. |
||
Example Usage | |
||
Return Value | Code Name | Code |