I wrote a SKILL script that returns all the pins in a net. However, I would like to have the order of these pins in that net.
- if I have a net NET_X with 4 pins p_1, p_2, p_3, p_4
- if there is a Cline between p_1 => p_3, Cline between p_3 => p_2, Cline between p_2 => p_4
The output of the script should be [p_1, p_3, p_2, p_4].