Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 10/04/2021

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents get_active_clocks (::quartus::sdc_ext)

The following table displays information for the get_active_clocks Tcl command:

Tcl Package and Version

Belongs to ::quartus::sdc_ext

Syntax get_active_clocks [-h | -help] [-long_help]
Arguments -h | -help Short help
  -long_help Long help with examples and possible return values

Returns the collection of active clocks for timing analysis. The active clocks are the clocks specified in the most recent call to set_active_clocks, or all clocks if set_active_clocks has not been called.

Example Usage
# Set some active clocks
set_active_clocks [get_clocks {clk1 clk2 sysclk*}]

# Update the active clocks to exclude clk1
set_active_clocks [remove_from_collection [get_active_clocks] [get_clocks clk1]]
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: Timing netlist does not exist. Use create_timing_netlist to create a timing netlist.