Altera Quartus II Scripting Manual do Utilizador Página 309

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 634
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 308
Chapter 3: Tcl Packages & Commands 3–179
misc
© July 2013 Altera Corporation Quartus II Scripting Reference Manual
load_package
Usage
load_package [-version <version number>] <package name>
Options
-version <version number>: Option to specify the Quartus II Tcl package version to load
<package name>: Name of Quartus II Tcl package to load
Description
Loads the specified Quartus®II Tcl package with the specified version number. If you do not specify the
"-version" option, the latest version is loaded by default.
The Quartus II Tcl package names have the "::quartus::" prefix, such as "::quartus::project". For
convenience, you can omit the "::quartus::" prefix when you use the <package name> argument.
This command is similar to the "package require" command. The advanatage of using "load_package" is
that you can alternate freely between different versions of the same package.
For example, if you loaded version 2.0, and now want to load version 1.0, you can type:
"load_package -version 1.0 <package name>".
Example
# Load version 1.0 of the ::quartus::project package
load_package project -version 1.0
# Load version 2.0 of the ::quartus::project package
load_package project -version 2.0
Vista de página 308
1 2 ... 304 305 306 307 308 309 310 311 312 313 314 ... 633 634

Comentários a estes Manuais

Sem comentários