• 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 Scripting - Skill
  3. how can I used skill to count unconnect (with NO_RAT)

Stats

  • Replies 2
  • Subscribers 18
  • Views 10812
  • Members are here 0
More Content

how can I used skill to count unconnect (with NO_RAT)

RobertWu
RobertWu over 5 years ago

Skill > miss=length(setof(net axlDBGetDesign()->nets net->unconnected>0))
1

but if I set net to NO_RAT  , it did't count
Net: SOCNDTRA_R has been selected.
Property NO_RAT added to 1 element(s).

Skill > miss=length(setof(net axlDBGetDesign()->nets net->unconnected>0))
0

How can I used skill to count NO_RAT net unconnect ?

Thank's

  • Cancel
  • Sign in to reply
  • B Bruekers
    B Bruekers over 5 years ago

    To check a complete design check for all net->branches with more than 2 entries.

    So something like this:

    miss=length(setof(net axlDBGetDesign()->nets cadr(net->branches)))

    A branch is:

    Is the set of all the etch objects—ppins, etch paths, shapes, and vias—associated with a particular signal name. Every net has a name which is its signal name. A net contains one or
    more branches. Each branch is a list of the etch objects that are physically connected among themselves. A branch can include ppins, etch paths, shapes, and vias. The number of branches in
    a net varies as Allegro PCB Editor connects or disconnects parts of the net. A completely connected net consists of one and only one branch.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • RobertWu
    RobertWu over 5 years ago in reply to B Bruekers
    B Bruekers said:
    A completely connected net consists of one and only one branch

    Thank You

    now can count correct

    • 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