Altera Quartus II Scripting Manual de usuario Pagina 305

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 634
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 304
Chapter 3: Tcl Packages & Commands 3–175
misc
© July 2013 Altera Corporation Quartus II Scripting Reference Manual
get_collection_size
Usage
get_collection_size <collection>
Options
<collection>: Collection
Description
Returns the size of a collection.
Unlike a Tcl list, a collection is a container specific to the Quartus®II software, whose elements can be
accessed by using the "foreach_in_collection" command.
Example
## Displays the number of global assignments
project_open chiptrip
set num_global_asgns [get_collection_size \
[get_all_global_assignments -name {*}]]
puts $num_global_asgns
project_close
Vista de pagina 304
1 2 ... 300 301 302 303 304 305 306 307 308 309 310 ... 633 634

Comentarios a estos manuales

Sin comentarios