Altera Quartus II Scripting Manual do Utilizador Página 347

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 634
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 346
Chapter 3: Tcl Packages & Commands 3–217
project
© July 2013 Altera Corporation Quartus II Scripting Reference Manual
get_project_revisions
Usage
get_project_revisions <project_name>
Options
<project_name>: Project name
Description
Returns a list of revisions included in the specified project. If the project name is not specified, the current
project name is used by default.
The first element in the list of revisions is the current revision and is the same as the return value for the
"get_current_revision" command.
Example
# Set the device family assignment to Stratix
# for all revisions
project_open chiptrip
set original_revision [get_current_revision]
foreach revision [get_project_revisions] {
puts "$revision"
set_current_revision $revision
set_global_assignment -name FAMILY Stratix
export_assignments
}
set_current_revision $original_revision
project_close
# Open the project with the first available revision
# and set the device family assignment to Stratix
set revision [lindex [get_project_revisions chiptrip] 0]
open_project -revision $revision chiptrip
set_global_assignment -name FAMILY Stratix
project_close
Vista de página 346
1 2 ... 342 343 344 345 346 347 348 349 350 351 352 ... 633 634

Comentários a estes Manuais

Sem comentários