In my design there are 4000 flops. I need to sort them on the basis of endpoint slack value.
I wrote this script in encounter:
set paths [report_timing -collection -from [all_registers -clock_pins] -to [all_register -data_pins] -max_points 10000 -nworst 1]
set sorted_paths [sort_collection $paths slack]
This is sorting the paths but all instances are coming twice because of the pins SI and D. I need only one of the pin slack which ever is critical slack.
How can i filter my collection so that i get each flop only once.?