• 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. Dangling Via Report

Stats

  • State Suggested Answer
  • Replies 11
  • Answers 3
  • Subscribers 162
  • Views 8606
  • Members are here 0
More Content

Dangling Via Report

karthikeyank
karthikeyank over 2 years ago

HI,

i want to find out the dangling via location by using cadence skill program. Can anyone please help me out.

prog;

procedure(chk()
axlClearSelSet()
axlSetFindFilter(?enabled `("NOALL" "VIAS") ?onButtons `("VIAS"))
via_data = axlGetSelSet(axlAddSelectAll())
foreach(via_data_lp via_data
                     if(via_data_lp->unconnected then
                       print(via_data_lp->net->name)
                       print(via_data_lp->xy)
                      )
)
)

  • Sign in to reply
  • Cancel
  • eDave
    0 eDave 10 months ago in reply to karishma

    Try this:

    foreach(via, l_vias
    n = length(axlDBGetConnect(via))
    when(n < 2 ; Fewer than two clines are connected to a via
    viaPads = setof(pad, via ->pads, car(parseString(pad ->layer, "/")) == "ETCH" && pad ->type == "REGULAR")
    viaPadsInPlanes = setof(pad, viaPads, exists(shp, axlDBGetShapes(pad ->layer), shp ->net == via ->net && axlGeoPointInShape(via ->xy, shp)))
    n = n + length(viaPadsInPlanes)
    when(n < 2; Fewer than two clines or etch shapes are connected to a via
    pins = axlPinsOfNet(via ->net, 'pin)
    viaPads = setof(pad, viaPads, !member(pad, viaPadsInPlanes))
    viaPadsInPinPads = setof(viaPad, viaPads, exists(pin, pins, axlGeoPointInShape(via ->xy, car(axlPolyFromDB(pin, ?layer viaPad ->layer, ?padType "REGULAR")))))
    n = n + length(viaPadsInPinPads)
    when(n < 2; Fewer than two clines, etch shapes or pins are connected to a via
    printf("Found Via with one connection at %L on a net %L \n", via->xy, via->net->name)
    ;fprintf(repfile "Found Via with one connection at %L on a net %L \n", via->xy, via->net->name)
    )
    )
    );end when
    );end foreach

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • 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