Forum Discussion

sgannava's avatar
sgannava
Icon for Occasional Contributor rankOccasional Contributor
1 year ago

Collection does not exist error while using Timing Analyzer with Intel Quartus Prime Pro 23.3

Hi Team,

I have the timing query tcl script. If I run the tcl script in the timing analyzer of Intel Quartus Prime Pro 23.3, I am getting the below error

Error (23035): Tcl error: can't read "slack": no such variable

###Tcl script

create_timing_netlist
read_sdc
update_timing_netlist
report_timing -append
set worst_path [get_timing_paths -npaths 1 -setup]
foreach_in_collection path $worst_path {
set slack [get_path_info $path -slack] }

puts $slack

Few times I got below error also

Error(23035): Tcl error: ERROR: Collection does not exist with name (:internal collection). Specify the collection name returned by a Tcl command that supports "foreach_in_collection." Note a valid collection name can become invalid if the variable holding the collection goes out of scope, as well as a result of some built-in TCL commands, for example, 'string length.'

Thanks

Sai G

2 Replies

  • ShengN_altera's avatar
    ShengN_altera
    Icon for Super Contributor rankSuper Contributor

    Hi,

    I try to run the script without problem check screenshot:

    I try to run each command separately without problem check screenshot:

    I think make sure that each previous command can be executed successfully from your side.

    Thanks,

    Regards,

    Sheng