Altera Quartus II Scripting User Manual

Page 344

Advertising
background image

3–214

Chapter 3: Tcl Packages & Commands

project

Quartus II Scripting Reference Manual

© July 2013

Altera Corporation

set target [get_name_info -info full_path $name_id]

# Set multicycle assignment
set_multicycle_assignment -to $target 2

# Set location assignment
set_location_assignment -to $target Pin_E22

}
# Search for nodes of any post-Fitter node type with name length <= 5
# The default node type is "all"
set name_ids [get_names -filter ????? -observable_type post_fitter]
foreach_in_collection name_id $name_ids {

# Print the name id
puts $name_id

# Print the node type
puts [get_name_info -info node_type $name_id]

# Print the full path (which excludes the current
# focus entity from the path)
puts [get_name_info -info full_path $name_id]

}
# Search for nodes of any post-Fitter node type that end in "eed".
# The default node type is "all"
set name_ids [get_names -filter *eed -observable_type post_fitter]
foreach_in_collection name_id $name_ids {

# Print the name id
puts $name_id

# Print the node type
puts [get_name_info -info node_type $name_id]

# Print the full path (which excludes the current
# focus entity from the path)
puts [get_name_info -info full_path $name_id]

}

Advertising