21.3.4 add_profile

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

ParameterTypeDescription
namestringSpecifies the unique name of your new profile.
typestringSpecifies your profile type, where value is one of the following:
  • synthesis - new profile for a synthesis tool. The default synthesis tool included with Libero SoC is Synplify Pro ME.
  • simulation - new profile for a simulation tool. The default simulator tool included with Libero SoC is ModelSim AE.
  • stimulus - new profile for a stimulus tool. Default not specified. Stimulus tool included with Libero SoC is WFL.
  • identifydebugger - new identify debugger tool profile. The default identify debugger tool included with Libero SoC is Identify Debugger.
  • coreconfig
  • sd_ide
toolstringName of the tool you are adding to the profile. It is mandatory.
locationstringFull pathname to the location of the tool you are adding to the profile. It is mandatory.
argslist of stringsTool parameters (if any).
batchbooleanRuns the tool in batch mode (if TRUE). Possible values are:
  • TRUE | 1 - runs the profile in batch mode.
  • FALE | 0 - Does not run the profile in batch mode.
licensestringLicense information.
32bitbooleanValid values are: 1, 0.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneUnable to add profile: user Profile with same name already exists.
NoneRequired parameter 'tool' is missing.
NoneRequired parameter 'location' is missing.
None

Parameter 'location' has illegal value.

None

Required parameter 'name' is missing.

None

Parameter 'name' has illegal value.

Nonetype: 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 

See Also