Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
750 Views

[TCL] query_collection -> why not working?

Hi All,  

 

I'm working on the following example: 

https://www.altera.com/support/support-resources/design-examples/design-software/tcl/all_virtual_pin... 

 

Here is the script: 

load_package flow proc make_all_pins_virtual {} { execute_module -tool map set name_ids foreach_in_collection name_id $name_ids { set pin_name post_message "Making VIRTUAL_PIN assignment to $pin_name" set_instance_assignment -to $pin_name -name VIRTUAL_PIN ON } export_assignments } 

 

The script itself works without problems.  

 

But, when I try to list as the contents of the created collection using the query_collection command, I receive the following error message: 

> query_collection 

Error:ERROR: Quartus Prime Tcl command "query_collection" is only available for use in the following executables: 

Error: quartus_fit 

Error: quartus_sta 

Error: while executing 

Error:"query_collection _collection0" 

 

 

Why? What's the problem? How can I list the created collection of the pins?  

 

Thank you!
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
32 Views

Any response? Any help?

Reply