Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 12/13/2021

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents 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>.
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

# 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

Did you find the information on this page useful?

Characters remaining:

Feedback Message