21.3.30 export_as_link
(Ask a Question)Description
This Tcl command exports a file to another directory and links to the file.
export_as_link -file {absoulte or relative path and name of the file} \
               -path link_pathArguments
| Parameter | Type | Description | 
|---|---|---|
| file | string | Specifies absolute or relative path and name of the file you want to export as a link. | 
| path | string | Path of the link. | 
Error Codes
| Error Code | Description | 
|---|---|
| None | 'c.v' must not be part of a component and must be local to the project. | 
None  | Required parameter 'file' is missing.  | 
None  | Parameter 'file' has illegal value.  | 
None  | Required parameter 'path' is missing.  | 
None  | Parameter 'param_name' is not defined. Valid command formatting is 'export_as_link -file "file" -path "link path" '.  | 
Supported Families
| Supported Families | 
|---|
| PolarFire® | 
| RTG4™ | 
| SmartFusion® 2 | 
| IGLOO® 2 | 
Example
Export the file hdl1.vhd as a link to c:\Microchip\link_source.
export_as_link -file hdl1.vhd -path {c:\Microchip\link_source}