21.8.34 remove_clock
(Ask a Question)Description
Removes the specified clock constraint from the current timing scenario. If the specified name does not match a clock constraint in the current scenario, or if the specified ID does not refer to a clock constraint, this command fails.
Do not specify both the clock and port names and the constraint ID.
remove_clock -name clock_name | -id constraint_ID
Arguments
Parameter | Type | Description |
---|---|---|
name | string | Specifies the name of the clock constraint to remove from the current scenario. Specify
either a clock name or an ID. Note: Specify clock
name as {CLK}, not [get_clocks {CLK}]. |
id | integer | Specifies the ID of the clock constraint to remove from the current scenario. Specify either an ID or a clock name that exists in the current scenario. |
Error Codes
Error Code | Description |
---|---|
None | Invalid clock name argument. |
None | Only one argument is needed. |
Supported Families
PolarFire® |
PolarFire SoC |
SmartFusion® 2 |
IGLOO® 2 |
RTG4™ |
Exceptions
You cannot use wildcards when specifying a clock names.
Example
The following example removes the clock constraint named my_user_clock
.
remove_clock -name my_user_clock
The following example removes the clock constraint using its ID.
set clockId [create_clock –name my_user_clock –period 2]
remove_clock –id $clockId