Export_database=<directory, Generate_bottom_up_scripts[=on|off, Overview – Altera Quartus II Scripting User Manual

Page 32

Advertising
background image

2–6

Chapter 2: Command-line Executables

quartus_cdb

Quartus II Scripting Reference Manual

© July 2013

Altera Corporation

## Compile the HardCopy II revision
quartus_sh --flow compile myproject -c myproject_hc

--disable_auto_global_promotion_in_bottom_up_scripts[=on|off]

When this option is enabled, generated Tcl scripts contain commands that disable auto global signal
promotion in the lower levels.

This option is enabled by default. Add the flag
--disable_auto_global_promotion_in_bottom_up_scripts=off to disable.

--export_database=<directory>

Option to export the project database to version-compatible database files. These files are placed in the
specified directory.

The following are the supported version-compatible database files to which the project database is
exported:

Post-synthesis files
<directory>/<revision name>.map.atm
<directory>/<revision name>.map.hdbx

Post-fitting files
<directory>/<revision name>.cmp.atm
<directory>/<revision name>.cmp.hdbx
<directory>/<revision name>.cmp.rcf

Generic files
<directory>/<revision name>.cmp.xml
<directory>/<revision name>.db_info

--generate_bottom_up_scripts[=on|off]

Overview

This tool is designed for use with a top-level project containing incremental compilation design partitions.
When run, it generates scripts and makefiles which allow an easy conversion from top-down design
methodology (all partitions in one project) to a bottom-up design methodology (separate projects for each
partition).

One Tcl script is generated for each partition. The Tcl script will contain all top-level assignments relevant
to the given partition, and optionally contains commands to create the lower-level project for the partition
if it does not exist. The scripts also contain optionally generated commands that can help guide the
lower-level placement so that better results can be achieved when exporting to the top-level project. You
can customize the content of the Tcl scripts by using any of the options described later.

In addition to generating Tcl scripts, you can also generate makefiles that can be used to create the
lower-level projects with the auto-generated Tcl scripts and maintain them as source files change. The tool
also builds a 'master_makefile' which builds all lower-level projects, exports the results to the top-level
project and performs a top-level compilation. The makefiles are auto-generated and are designed for use
with GNU make. The makefiles also support parallel compilation of the the lower-level projects by using
the '-j' option of GNU make on systems with multiple processors.

Advertising