Get_top_level_entity, Usage, Options – Altera Quartus II Scripting User Manual

Page 348: Description, Example, Get_top_level_entity –218

Advertising
background image

3–218

Chapter 3: Tcl Packages & Commands

project

Quartus II Scripting Reference Manual

© July 2013

Altera Corporation

get_top_level_entity

Usage

get_top_level_entity

Options

None

Description

Returns the name id for the current focus entity.

Example

# Get the name id of the current focus entity
set current_focus_entity_id [get_top_level_entity]

# Print out the entity name of the current focus entity
set msg "Entity name of the current focus entity => ("
append msg [get_name_info -info entity_name $current_focus_entity_id]
append msg ")"
puts ""
puts $msg

Advertising