21.3.28 edit_profile
(Ask a Question)Description
This Tcl command enables you to edit profile in your project. You can edit profile from or right-click tool name and select Edit Profile.
edit_profile -name profilename \
             [-type value] \
             [-tool {profile tool} ] \
             [-location {profile location} ] \
             [-args "profile tool parameters" ] \
             [-batch "TRUE|FALSE" ] \
             [-new_name "new profile name" ]Arguments
| Parameter | Type | Description | 
|---|---|---|
| name | string | Specifies the name of your new profile. | 
| type | string | Specifies your profile type, where value is one of the following: 
  | 
| tool | string | Name of the tool you are adding to the profile. | 
| location | string | Full pathname to the location of the tool you are adding to the profile. | 
| args | list of strings | Profile tool parameters (if any). | 
| batch | string | Runs the tool in batch mode (if TRUE). Possible values are: 
  | 
| new_name | string | Specifies new name of profile. | 
Error Codes
Error Code  | Description  | 
|---|---|
None  | Required parameter 'name' is missing.  | 
None  | Parameter 'name' has illegal value.  | 
None  | Parameter 'tool' has illegal value.  | 
None  | Parameter 'location' has illegal value.  | 
None  | Parameter 'new_name' has illegal value.  | 
None  | type: Invalid argument value: '' (expecting synthesis, simulation, stimulus, coreconfig, identifydebugger or sw_ide).  | 
None  | batch: Invalid argument value: 'value' (expecting TRUE, 1, true, FALSE, 0 or false).  | 
None  | Parameter 'param_name' is not defined. Valid command formatting is 'edit_profile -name "profile name" [-type "synthesis | simulation | stimulus | coreconfig | identifydebugger | sw_ide"] [-tool "profile tool"] [-location "profile tool location"] [-args "profile tool parameters"] [-batch "TRUE | FALSE"] [-license "profile License parameters"] [-32bit "TRUE | FALSE"] [-new_name "new profile name"]'.  | 
Supported Families
| Supported Families | 
|---|
| PolarFire® | 
| RTG4™ | 
| SmartFusion® 2 | 
| IGLOO® 2 | 
Example
To edit a FlashPro tool profile called 'mySynplify' linked to a new SynplifyPro installation in my c:\programs\actel\SynplifyPro\bin directory, change the name to updated_synplifypro.
edit_profile -name {mySynplify} -type synthesis \
             -tool {Synplify.exe} \
             -location "c:\programs\actel\SynplifyPro\bin\synplify_pro" \
             -batch FALSE -new_name "updated_synplifypro"