21.3.86 set_as_target
(Ask a Question)Description
This Tcl command sets a SDC, PDC file as the target file to receive and store new constraints. To set *.sdc *.pdc files as target, click the Manage Constraints tool name from Design Flow.
set_as_target [-type { constraint_file_type to associate } ] \
-file { file to set as target }Arguments
| Parameter | Type | Description |
|---|---|---|
| type | string | Specifies the file type: sdc, io_pdc or fp_pdc. |
file | string | Specifies the file which shoukd be set as target. |
Error Codes
Error Code | Description |
|---|---|
None | Required parameter 'file' is missing. |
None | -file option can't be empty.Please specify a valid path |
None | Invalid argument passed to -type option, the valid values are io_pdc/fp_pdc/sdc |
None | Parameter 'param_name' is not defined. Valid command formatting is 'set_as_target [-type "type to associate"] -file "file to set as target"' . |
Supported Families
| Supported Families |
|---|
| PolarFire® |
| RTG4™ |
| SmartFusion® 2 |
| IGLOO® 2 |
Example
This command sets the SDC file project_folder /constraints/user.sdc as the target to receive and store new SDC commands.
set_as_target -type {sdc} -file {./constraint/user.sdc}This command sets the PDC file project_folder /constraints/user.pdc as the target to receive and store new PDC commands.
set_as_target -type {pdc} -file {./constraint/user.pdc}