Altera Quartus II Scripting Bedienungsanleitung Seite 305

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 634
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 304
1 2 ... 300 301 302 303 304 305 306 307 308 309 310 ... 633 634

Kommentare zu diesen Handbüchern

Keine Kommentare