Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 6/20/2022
Public

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

Document Table of Contents

3.1.7.2. design::convert_partition (::quartus::design)

The following table displays information for the design::convert_partition Tcl command:

Tcl Package and Version

Belongs to ::quartus::design

Syntax design::convert_partition [-h | -help] [-long_help] -infile <QDB file name> -outfile <QDB file name>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-infile <QDB file name> Input file name of the QDB archive (version-compatible format).
-outfile <QDB file name> Output file name of the QDB archive (current-version-only format).
Description
Convert a partition's QDB file in version-compatible ASCII format into a QDB file in BINARY format for current version of Quartus.
Example Usage
# The input QDB file is created by running design::export_partition 
# from compiled source design with Quartus of older or current version

project_open onewire_nf
design::export_partition core_ptn -snapshot synthesized -file src_ip.qdb -compatible
project_close

# Make sure you are using the same version of Quartus that will use to compile your design.

project_open onewire_nf
design::convert_partition -infile src_ip.qdb -outfile ip.qdb 
project_close
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: The specified archive <string> does not exist.