Altera Quartus II Scripting Manuale Utente Pagina 305

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 634
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la 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
Vedere la pagina 304
1 2 ... 300 301 302 303 304 305 306 307 308 309 310 ... 633 634

Commenti su questo manuale

Nessun commento