Altera Quartus II Scripting Manuel d'utilisateur Page 305

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 634
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 304
1 2 ... 300 301 302 303 304 305 306 307 308 309 310 ... 633 634

Commentaires sur ces manuels

Pas de commentaire