Altera Quartus II Scripting Manuale Utente Pagina 342

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 634
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 341
3–212 Chapter 3: Tcl Packages & Commands
project
Quartus II Scripting Reference Manual © July 2013 Altera Corporation
Example
# Get the name id of the current focus entity
set current_focus_entity_id [get_top_level_entity]
# The full path name of the current focus entity
# is empty because the full path excludes the
# current focus entity
set msg "Full path of the current focus entity => ("
append msg [get_name_info -info full_path $current_focus_entity_id]
append msg ")"
puts $msg
puts ""
# Get the node type of the current focus entity
# The node type should be a hierarchy type
set msg "Node type of the current focus entity => ("
append msg [get_name_info -info node_type $current_focus_entity_id]
append msg ")"
puts $msg
Info Type Description
parent_name_id The name id for the node's parent.
base_name The node name, which consists of an entity name and/or an instance name separated by a
colon if necessary.
entity_name The entity name.
instance_name The instance name.
full_path The full hierarchy path name, which consists of entity name(s) and/or the instance name(s).
This path name excludes the current focus entity. If there is nothing shown, the name id is the
current focus entity's name id.
short_full_path The short full hierarchy path name, which consists of the instance name(s). This path name
excludes the current focus entity. If nothing is shown, the name id is the current focus entity's
name id.
node_type The node type, which can be one of the types supported by "get_names", namely, "input",
"output", "bidirectional", "register", "combinational", "hierarchy", "memory", or "bus". If "pin" type
was specified for "get_names" command, the node type shown here is expanded to be "input",
"output", or "bidirectional". Node type value of "qsf" indicates name originates from qsf settings
file.
creator The creator of the node, which is either "user_entered" or "compiler_generated".
signaltapii If this node can be connected to a SignalTap®II embedded logic analyzer, 1 is shown.
Otherwise, 0 is shown.
file_location The source file location. For example, the source file location for the entity chiptrip is
"chiptrip.v". To get the full path to the source file, use the command "resolve_file_path" which
exists only in version 4.0 or later of ::quartus::project package.
Vedere la pagina 341
1 2 ... 337 338 339 340 341 342 343 344 345 346 347 ... 633 634

Commenti su questo manuale

Nessun commento