21.3.66 organize_constraints

Description

This Tcl command organizes the constraint files in your project. The Organize Constraint Files dialog box enables you to set the constraint file and order in the Libero SoC.

organize_constraints [-file "filename" ] \
                     [-mode "new | add | remove" ] \
                     [-designer_view "designer view" ] \
                     [-module "module" ] \
                     -tool "value"

Arguments

ParameterTypeDescription
filestringSpecifies the name of the file to which you want to associate your stimulus files.
modestringSpecifies whether you are creating a new stimulus association, adding or removing; possible values are:
  • new - creates a new stimulus file association.
  • add - adds a stimulus file to an existing association.
  • remove - removes a stimulus file association.
designer_viewstringSets the name of the Designer View in which you wish to add the constraint file, where name is the name of the view (such as impl1).
modulestringSets the module, where value is the name of the module.
toolstringIdentifies the intended use for the file, possible values are:
  • synthesis - file to be used for synthesis.
  • designer - file to be used in Designer.
  • phsynth - file to be used in physical synthesis.

Error Codes

Error Code

Description

None

Required parameter 'tool' is missing.

None

Parameter 'module' has illegal value.

None

Parameter 'designer_view' has illegal value.

None

Parameter 'param_name' is not defined. Valid command formatting is 'organize_constraints [-file "file"]* [-mode "new | add | remove"] [-designer_view "designer view"] [-module "module"] -tool "synthesis | designer | physynth | timing | compilenetlist | pnr"'.

Supported Families

Supported Families
PolarFire®
RTG4
SmartFusion® 2
IGLOO® 2

Example

The example adds the constraint file delta.vhd in the Designer View impl2 for the Designer tool.

organize_constraints -file "delta.vhd" -mode "new" \
                     -designer_view "impl2" \
                     -module "constraint_tool" \
                     -tool "designer"

See Also