Altera Quartus II Scripting Manual de usuario Pagina 339

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 634
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 338
Chapter 3: Tcl Packages & Commands 3–209
project
© July 2013 Altera Corporation Quartus II Scripting Reference Manual
get_instance_assignment
Usage
get_instance_assignment [-entity <entity_name>] [-from <source>] [-front] -name <name>
[-section_id <section id>] [-tag <data>] [-to <destination>]
Options
-entity <entity_name>: Entity to which assignment belongs
-from <source>: Source of assignment
-front: Option to return the first assignment if there is more than one assignment found
-name <name>: Assignment name
-section_id <section id>: Section id
-tag <data>: Option to tag data to this assignment
-to <destination>: Destination of assignment
Description
Returns the value of the instance assignment.
The "-name" option is not case sensitive. The "-entity", "-to", and "-from" options are case sensitive.
For entity-specific assignments, use the "-entity" option to retrieve the assignment from the specified
entity. If the "-entity" option is not specified, the value for the FOCUS_ENTITY_NAME assignment is
used. If the FOCUS_ENTITY_NAME value is not found, the revision name is used.
Example
## Get the TSU_REQUIREMENT from mypin to any register
set value \
[get_instance_assignment -from "mypin" -to * -name TSU_REQUIREMENT]
puts "TSU_REQUIREMENT(mypin->*) = $value"
Vista de pagina 338
1 2 ... 334 335 336 337 338 339 340 341 342 343 344 ... 633 634

Comentarios a estos manuales

Sin comentarios