import_database (::quartus::database_manager)

The following table displays information for the import_database Tcl command:

Tcl Package and Version

Belongs to ::quartus::database_manager 1.0

Syntax import_database [-h | -help] [-long_help] [-timing_analysis_mode]
 
<directory>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-timing_analysis_mode Import the design for Timing Analysis. User will not be able to generate programming file after importing design with this option. See -timing_analysis_mode option description below.
<directory> Directory of version-compatible database files from which to read
Description
Imports the project database from version-compatible database 
files that reside in the specified directory.

-------------------
OPTIONS DESCRIPTION
-------------------

-timing_analysis_mode

    Import the design for Timing Analysis. This option disables legality checks 
    for certain configuration rules which may have changed from prior versions 
    of Quartus Prime. 
    Use this option only if you were unable to successfully import your design 
    without this option. After a design has been imported in timing analysis mode, 
    the imported database will not be able to be used to generate programming files.
Example Usage
## Open the project, import from version-compatible
## database files, and run the Timing Analyzer
load_package database_manager
load_package flow
set project chiptrip
project_open $project
import_database backup
execute_module -tool sta
project_close $project
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: Can't find active revision name. Make sure there is an open, active revision name.
TCL_ERROR 1 ERROR: You must open a project before you can use this command.