21.11.21 set_prg_name

Description

This Tcl command changes the user name of a programmer. Enter the new programmer name in the Programmer window to rename the programmer. By default, the programmer name is the same as the programmer ID.

set_prg_name -name { name } -new_name { new_name }

Arguments

ParameterTypeDescription
namestringIdentifies the old programmer name.
new_namestringSpecifies the new programmer name.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneParameter 'param_name' is not defined. Valid command formatting is set_prg_name -name "name" -new_name "new_name"
NoneRequired parameter 'new_name' is missing.
NoneThe programmer with name 'some_device_name' does not exist.

Supported Families

PolarFire®
SmartFusion® 2

Example

The following example changes the name of the programmer 'FP300086' to 'FP3Prg2':

set prj_name "FP300086"
set_prg_name -name "$prj_name" -new_name {FP3Prg2}