Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
14943 Discussions

[TCL] collections -> some questions

Altera_Forum
Honored Contributor I
851 Views

Hi All, 

 

In order to get a collection of the pins, I've run the following command:  

 

%> get_names -filter * -node_type pin 

%> _collection3 

 

Now how can I "echo" the collection? How can I see what elements does it include? 

 

Thank you!
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
64 Views

Any response? help?

SJand1
Beginner
64 Views

​I guess you search for this:

foreach_in_collection

 

documented here: https://www.intel.com/content/www/us/en/programmable/documentation/sbv1513989262284.html#hcl15481731...

 

example:

 

set accel_name_id [get_names -filter accel -node_type pin -observable_type post_fitter]

 

foreach_in_collection name_id $accel_name_id {

  # Get the full path name of the node

  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

 }

Reply