21.3.41 export_job_data
(Ask a Question)Description
This Tcl command configures the parameters for the Job Manager Data Container (JDC) file to be exported from Libero and used by Job Manager. The exported file has a *.jdc file name extension. All parameters are optional. Default values are used if parameters are omitted.
export_job_data \
         [-file_name "filename"] \
         [-export_dir {absolute or relative path of the exported file}] \
         [-components "SECURITY | FABRIC | ENVM"] \
         [-include_spi_flash "value"]Arguments
| Parameter | Type | Description | 
|---|---|---|
| file_name | string | Specifies the name of the file that will be exported. The default file name is the design name. | 
| export_dir | string | Specifies the directory location for the export. By default, the file is saved in the Libero projects/designer/<design_name>/export directory with *.jdc file extension. | 
| components | string | Specifies the components of the design that will be saved to the file. The value can be any one or a combination of SECURITY, FABRIC, SNVM, and ENVM if they are available in the design. If the parameter is omitted, all available components of the design will be saved. Important: The SECURITY component must be selected if user security is initialized for the current Libero® design.  | 
| include_spi_flash | boolean | Use the Configure Design Initialization Data and Memories tool to configure this option. Valid value is 0 and 1. Default is 0. | 
Error Codes
| Error Code | Description | 
|---|---|
| None | PolarFire®: No bitstream components or SPI Flash data are selected to include in exported programming data file. | 
| None | PolarFire: SPI Flash Memory is not configured. Use the Configure Design Initialization Data and Memories tool to configure it. | 
| None | IGLOO® 2, PolarFire: The eNVM component is not available in the current design. | 
| None | SmartFusion® 2: The eNVM component is not supported in the current design. | 
| None | PolarFire: Invalid argument value. Expecting SECURITY, FABRIC, SNVM, ENVM or FABRIC_SNVM. | 
| None | SmartFusion components: Invalid argument value. 'FABRIC_SNVM' (expecting SECURITY, FABRIC or ENVM) | 
| None | SmartFusion 2, IGLOO 2: Parameter 'include_spi_flash' is not defined. Valid command formatting is 'export_job_data [-file_name "file_name"] \ [-export_dir "export_dir"] \ [-components "[SECURITY | FABRIC | ENVM]+"] | 
| None | SmartFusion 2, IGLOO 2: There are no bitstream components to include in exported programming data file. | 
| None | IGLOO 2: Invalid argument value: 'FM' (expecting SECURITY, FABRIC or ENVM). | 
None  | include_spi_flash: Invalid argument value: 'value' (expecting TRUE, 1, true, FALSE, 0 or false).  | 
None  | Parameter 'param_name' is not defined. Valid command formatting is 'export_job_data [-file_name "file_name"] \ [-export_dir "export_dir"] \ [-components "[SECURITY | FABRIC | SNVM | ENVM | FABRIC_SNVM]+"] \ [-include_spi_flash "TRUE | FALSE"] '.  | 
Supported Families
| Supported Families | 
|---|
| PolarFire® | 
| RTG4™ | 
| SmartFusion® 2 | 
| IGLOO® 2 | 
Example
The following example exports Job Manager Data Container file (sd1.jdc) with FABRIC component.
export_job_data \ 
-file_name {sd1} \
-export_dir {D:\sd_prj\test3T\designer\sd1\export} \
-components {FABRIC}