Forum Discussion
Altera_Forum
Honored Contributor
12 years agoI took another look. It seems that the elements of the collection are not Tcl lists but are actually just references to the collection itself. You need to use get_assignment_info to retrieve the assignment properties. Unfortunately, in a non-GUI process, the get_all_global_assignments command returns a list!
<code> foreach_in_collection a [get_all_global_assignments -name SYSTEMVERILOG_FILE] { puts $outfile "[get_assignment_info -value $a]" } </code>