• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. SKILL script to get the pins sequence for a particular ...

Stats

  • Replies 2
  • Subscribers 159
  • Views 13016
  • Members are here 0
More Content

SKILL script to get the pins sequence for a particular net

Klaap
Klaap over 13 years ago

Hi,

 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.

For example:

- 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].

 Thanks,

Palak. 

  • Sign in to reply
  • Cancel
  • eDave
    eDave over 13 years ago

    A branch should return the pins in order:

    pinDBID ->branch ->children ~>number 

    Otherwise take a look at axlDBGetConnect. With a bit of logic you should be able to derive the sequence.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Klaap
    Klaap over 13 years ago

    Hi Dave,

    Thanks, your advice was very helpful!

    I was able to get the sequence using axlDBGetConnect and by looking for Pin object among the connected elements.

    Palak. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information