A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: reference_TCL_tcl_pkg_design_ver_1_0_cmd_design__extract_metadata
Ixiasoft
Visible to Intel only — GUID: reference_TCL_tcl_pkg_design_ver_1_0_cmd_design__extract_metadata
Ixiasoft
4.1.6.9. design::extract_metadata (::quartus::design)
The following table displays information for the design::extract_metadata Tcl command:
Tcl Package and Version | Belongs to ::quartus::design |
||
Syntax | design::extract_metadata [-h | -help] [-long_help] -dir <dir> -file <file> [-overwrite] -type <type> | ||
Arguments | -h | -help | Short help | |
-long_help | Long help with examples and possible return values | ||
-dir <dir> | The extraction directory. This directory must exist prior to invoking this command. | ||
-file <file> | The Partition Database File (.qdb) holding the metadata to be extracted. | ||
-overwrite | Attempt to overwrite any existing files in the extraction directory. | ||
-type <type> | The type of QDB metadata to be extracted. Legal QDB metadata types include <quartus|user|all>. | ||
Description | Extracts the specified metadata from the given Partition Database File (.qdb) file to the provided extraction directory. |
||
Example Usage | # Create a Partition Database File (.qdb) with Quartus Metadata using the "synthesized" snapshot. project_open onewire_nf design::export_design -file onewire.qdb -snapshot synthesized -quartus_metadata all project_close # Create the extraction directory. file mkdir "extract/dir" # Extract all the Quartus Metadata from "onewire.qdb" to the extraction directory located at "extract/dir". design::extract_metadata -file onewire.qdb -type quartus -dir "extract/dir" |
||
Return Value | Code Name | Code | String Return |
TCL_OK | 0 | INFO: Operation successful |