Archive, Usage, Available options – Altera Quartus II Scripting User Manual

Page 85: How to use the -fix_qsf option, Archive –59

Advertising
background image

Chapter 2: Command-line Executables

2–59

quartus_sh

© July 2013

Altera Corporation

Quartus II Scripting Reference Manual

Help Topic

Page

Tcl ........................................................................................................................................................... 2–103
arguments ............................................................................................................................................... 2–93
makefiles.................................................................................................................................................. 2–93
return_codes ........................................................................................................................................... 2–95

--archive

Option to generate a Quartus II Archive File (.qar) for your project that contains specific sets of files.

Usage

quartus_sh --archive [<options>] <project name>

Available options

How to use the -fix_qsf option

The -fix_qsf option performs the following:

1. Performs necessary Analysis & Elaboration

-use_file_set <value>

Specify the archive file set ID to use. By default, the "basic" file set ID is used. Use the
-list_file_sets option to view the list of possible file sets.

-list_file_sets

List available archive file sets.

-list_files

List files to be archived. If not specified, a Quartus II Archive file is generated.

-ascii <file name>

When combined with -list_files, this option generates the specified <file name>
containing a newline-delimited list of files to be archived.

-no_discover

Option not to run Analysis & Elaboration. By default, Analysis & Elaboration is run
unless the compiler database already exists for the revision.

-force

Forces the archiver to run Analysis & Elaboration and overwrite the compiler
database for the revision.

-include_export

Include version-compatible database files.

-export

Export version-compatible database and include it in the archive file.

-include_output

Include full compilation database and output files.

-output <value>

Specify the output file name. By default, <revision name>.qar is used. If the file
already exists, it is overwritten.

-input <value>

Specify the input file name containing a new-line delimited list of files to archive. This
option can only be combined with the -output option.

-readme

Display the readme file.

-self_test

Run a short test on the Quartus II Archive (.qar) file after it is created. The test
ensures that the .qar file contains a valid, complete and compilable design.

-fix_qsf

Modify the <revision>.qsf file to include all the necessary files in order to properly
archive, restore and compile the design. A <revision>.archive.qip file is generated and
specified in the <revision>.qsf file.

-all_revisions

Create an archive (named <revision>.qar) for each revision in the project.

-revision <value>

Specify the revision name. By default, the current project revision is archived.

<project name>

Specify the project name.

Advertising