21.3.66 organize_constraints
(Ask a Question)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
Parameter | Type | Description |
---|---|---|
file | string | Specifies the name of the file to which you want to associate your stimulus files. |
mode | string | Specifies whether you are creating a new stimulus association, adding or removing; possible values are:
|
designer_view | string | Sets 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). |
module | string | Sets the module, where value is the name of the module. |
tool | string | Identifies the intended use for the file, possible values are:
|
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"