Altera Quartus II Scripting Manuel d'utilisateur Page 335

  • 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 334
Chapter 3: Tcl Packages & Commands 3–205
project
© July 2013 Altera Corporation Quartus II Scripting Reference Manual
get_assignment_info
Usage
get_assignment_info [-entity] [-from] [-get_tcl_command] [-name] [-section_id] [-tag]
[-to] [-value] <asgn_id>
Options
-entity: Option to get the assignment entity
-from: Option to get the assignment source
-get_tcl_command: Option to get the tcl command that sets the assignment
-name: Option to get the assignment name
-section_id: Option to get the assignment section id
-tag: Option to get the assignment tag
-to: Option to get the assignment destination
-value: Option to get the assignment value
<asgn_id>: Assignment id
Description
Returns information for the assignment id based on the specified option.
The assignment id is obtained from the "get_all_assignments" Tcl command.
Example
## View all the instance assignments
foreach_in_collection asgn_id [get_all_assignments -type instance -name \
*] {
set from [get_assignment_info $asgn_id -from]
set to [get_assignment_info $asgn_id -to]
set name [get_assignment_info $asgn_id -name]
set value [get_assignment_info $asgn_id -value]
set entity [get_assignment_info $asgn_id -entity]
set tag [get_assignment_info $asgn_id -tag]
puts "$entity: $name ($from -> $to) = $value"
}
Vue de la page 334
1 2 ... 330 331 332 333 334 335 336 337 338 339 340 ... 633 634

Commentaires sur ces manuels

Pas de commentaire