21.3.4 add_profile
(Ask a Question)Description
This Tcl command enables you to add new profile in your project and specified a Software IDE tool in your Tools profile. This command sets the same values as the Add or Edit Profile dialog box. The newly added profile becomes the active tool profile for the specified type of tool. You must provide a unique name.
add_profile -name profilename \
-type value \
-tool profiletool \
-location tool_location \
[-args tool_parameters ] \
[-batch value ] \
[-license license_information ] \
[-32bit value ]
Arguments
Parameter | Type | Description |
---|---|---|
name | string | Specifies the unique 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. It is mandatory. |
location | string | Full pathname to the location of the tool you are adding to the profile. It is mandatory. |
args | list of strings | Tool parameters (if any). |
batch | boolean | Runs the tool in batch mode (if TRUE). Possible values are:
|
license | string | License information. |
32bit | boolean | Valid values are: 1, 0. |
Return Type | Description |
---|---|
None | None |
Error Codes
Error Code | Description |
---|---|
None | Unable to add profile: user Profile with same name already exists. |
None | Required parameter 'tool' is missing. |
None | Required parameter 'location' is missing. |
None | Parameter 'location' has illegal value. |
None | Required parameter 'name' is missing. |
None | Parameter 'name' has illegal value. |
None | type: Invalid argument value: 'value' (expecting synthesis, simulation, stimulus, coreconfig, identifydebugger or sw_ide). |
None | Required parameter 'type' is missing. |
None | Parameter 'tool' has illegal value. |
None | Required parameter 'tool' is missing. |
None | Parameter 'param_name' is not defined. Valid command formatting is 'add_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"] |
Supported Families
Supported Families |
---|
PolarFire® |
RTG4™ |
SmartFusion® 2 |
IGLOO® 2 |
Example
Create a new FlashPro tool profile called 'myflashpro' linked to a FlashPro installation in my "c:\programs\bin" directory:
add_profile -name "myflashpro" -type "synthesis" \
-tool flashpro.exe -location {c:\programs\bin\flashpro.exe} \
-batch FALSE
Create a new Synthesis tool profile called 'synpol' linked to a Synplify Pro ME installation in my /sqatest/bin directory:
add_profile -name "synpol" -type synthesis -tool "Synplify Pro ME" \
-location "/sqatest9/bin/synplify_pro" -batch FALSE