21.3.98 update_component_version

Description

This Tcl command allows to update a component of an instance with another version. Connections of the instance will be kept.

update_component_version -component_name {"comp_name"} -new_version {"version"} [-download_core]

Arguments

ParameterTypeDescription
component_namestringName of the component for which version needs to be replaced.
new_versionstring

New version of a component that will be used as a replacement. This argument supports regexp syntax.

If the specified version is 2.1.*, latest version that starts with 2.1 will be used as a replacement.

download_coreflagThis argument specifies whether core can be searched on the remote repositories or not. This is an optional argument.

If it is set and appropriate version of the core is not found in the local vault, it will be searched and downloaded (if any) from the remote repository.

Error Codes

Error CodeTypeDescription
NoneErrorUpdate version failed. The specified core version \'%sCore\' v\%sVersion\ is neither available in your vault, nor available remotely for download in any of the repositories.
NoneError Component \'%sComponent\' doesn't exist in the project.
NoneInfoComponent \'%sComponent\' was successfully updated to \'%sCore\' core version \'%sVersion\'.
NoneInfoVersion of the \'%sCore\' core of the \'%sComponent\' component is already \'%sVersion\'.
NoneInfoComponent \'%sComponent\' is already using core \'%sCore\' v\%sVersion\, which is the latest accessible version of the core that matches '\%sWildCard\' expression.

Supported Families

Supported Families
PolarFire®
PolarFire SoC
RTG4
SmartFusion® 2
IGLOO® 2

Example

update_component_version -component_name {COREJTAGDEBUG_C1} -new_version {3.1.100}
update_component_version -component_name {COREJTAGDEBUG_C0} -new_version {4.*} -download_core