Altera Quartus II Scripting User Manual

Page 304

Advertising
background image

3–174

Chapter 3: Tcl Packages & Commands

misc

Quartus II Scripting Reference Manual

© July 2013

Altera Corporation

set file_location [get_name_info -info file_location $name_id]

## Now, display information about the name
puts "Parent Name Id ($parent_name_id)"
puts "Base Name ($base_name)"
puts "Entity Name ($entity_name)"
puts "Instance Name ($instance_name)"
puts "Full Path ($full_path)"
puts "Short Full Path ($short_full_path)"
puts "Node Type ($node_type)"
puts "Creator ($creator)"
puts "Signaltapii ($signaltapii)"
puts "File location ($file_location)"

}

# Display the members of a particular assignment group named "tg1"
foreach_in_collection member [assignment_group "tg1" -get_members] {

# Print the name of the member
puts $member

}

# Display the exception to a particular assignment group named "tg1"
foreach_in_collection exception [assignment_group "tg1" -get_exceptions] \
{

# Print the name of the exception
puts $exception

}

Advertising