design::import_partition (::quartus::design)

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

Tcl Package and Version

Belongs to ::quartus::design 1.0

Syntax design::import_partition [-h | -help] [-long_help] -file <QDB file name> [-no_overwrite]
<Partition to be imported>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-file <QDB file name> File name of the QDB archive.
-no_overwrite Don't delete existing snapshots when importing partition
<Partition to be imported> Partition name at which the imported IP will be rooted.
Import a partition into the current design.
Example Usage
# You need to run design::export_partition from a source design
# so that there's a partition to import from

project_open onewire_nf 
design::export_partition root_partition -snapshot synthesized -file ip.qdb

# The imported DB file can be used as root_partition

project_open onewire_nf
design::import_partition root_partition -file ip.qdb

# Or non-root_partition

project_open onewire_nf
design::import_partition ip_sub -file ip.qdb
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: The specified archive <string> does not exist.