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 1.0

Syntax get_active_clocks [-h | -help] [-long_help]
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
Description
Returns the collection of active clocks for timing
analysis. The active clocks are the the clocks
specified in the most recent call to
set_active_clocks, or all clocks if set_active_clocks
has not been called.

Avoid using the get_active_clocks command if your
design targets a HardCopy series device or if you plan
to migrate your design to a HardCopy series device.
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.