Description
Returns an object representing the clock(s) that match those specified in the current timing scenario. Wildcards can be used to select multiple clocks at once. If no objects match the criteria, the empty string is returned.get_clocks pattern
Arguments
Parameter | Type | Description |
---|
pattern | string | Mandatory. Specifies the pattern to match to the SmartTime on which a clock constraint has been set. |
Return Type | Description |
---|
object | Returns an object representing the clock(s) that match those specified in the pattern argument. |
Error Codes
Error Code | Description |
---|
None | Required parameter _AtclParam0_ is missing. |
Supported
Families
PolarFire® |
PolarFire SoC |
SmartFusion® 2 |
IGLOO® 2 |
RTG4™ |
Example
The following example sets maximum delay constraining all paths from datal port to ck1 clock with a delay less then 2 ns.
set_max_delay -from [get_ports datal] -to [get_clocks ck1]
Related Examples on GitHub