• 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. How to highlight the net which does not contains the alphanumeric...

Stats

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

How to highlight the net which does not contains the alphanumeric number in the pins?

krthik15
krthik15 over 6 years ago

Hi All,

In my design has two components COMP1 and COMP2 . COMP1 pin number is only number (1,2,3..) . COMP2 pin number is only alphanumeric(A1,A2...) . i want to find out the net which is connected to only COMP1.

How to highlight the net which does not contains the alphanumeric number in the net pins?

procedure( _nname()

axlSetFindFilter(?enabled list("noall"))

axlSetFindFilter(?enabled "Nets" ?onButtons "Nets")

axlSelect()

net = car(axlGetSelSet())

foreach(branch, net ->branches

foreach(child, branch ->children

when(child ->objType == "pin"
pins= cons(child, pins)
)

pin_nums = ()

foreach(one pins

pin_num = one->number

pin_nums = cons(pin_num pin_nums)

)
)
)
)

*pin_nums = ( "458" "H5" "1" "71" "76" "79" "84" "86" "90" "95" "98" "103" "108" "113" "116" "121" "127" "132" "135" "140" "K1" )

Regards,

karthik

  • Sign in to reply
  • Cancel
Parents
  • eDave
    eDave over 6 years ago

    defun( HighlightMyNets ()
    comp1 = axlDBFindByName('refdes "COMP1")
    comp1nets = comp1 ->pins ~>net

    comp2 = axlDBFindByName('refdes "COMP2")
    comp2nets = comp2 ->pins ~>net

    nets = setof(net, comp1nets, !member(net, comp2nets))
    axlHighlightObject(nets)
    )

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • eDave
    eDave over 6 years ago

    defun( HighlightMyNets ()
    comp1 = axlDBFindByName('refdes "COMP1")
    comp1nets = comp1 ->pins ~>net

    comp2 = axlDBFindByName('refdes "COMP2")
    comp2nets = comp2 ->pins ~>net

    nets = setof(net, comp1nets, !member(net, comp2nets))
    axlHighlightObject(nets)
    )

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
  • krthik15
    krthik15 over 6 years ago in reply to eDave

    Thanks Dave!

    • 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