21.8.5 clone_scenario

Description

Creates a timing scenario with the new_scenario_name, which includes a copy of all constraints in the original scenario. The new scenario is then added to the list of scenarios. You must provide a unique name (that is, it cannot already be used by another timing scenario).
Note: It is recommended to use the organize_tool_files command instead of clone_scenario.
clone_scenario original new_scenario_name

Arguments

ParameterTypeDescription
originalstringSpecifies the name of the source timing scenario to clone (copy). The source must be a valid, existing timing scenario.
new_scenario_namestringSpecifies the name of the new scenario to be created.

Supported Families

PolarFire®
PolarFire SoC
SmartFusion® 2
IGLOO® 2
RTG4

Example

The following example creates a new timing scenario with the name my_new_scenario by duplicating an existing one (primary).

clone_scenario primary my_new_scenario

See Also

Related Examples on GitHub