• 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. merging nets

Stats

  • State Verified Answer
  • Replies 4
  • Subscribers 161
  • Views 2808
  • Members are here 0
More Content

merging nets

masamasa
masamasa 9 months ago

hello:

 

i have a design already made by someone.

 

now i have to merge net a and net b as net c on the design. 

 

what would be the easiest way to merge two nets where shapes, clines, vias, symbols are already assigned as net a and net b?

 

regards

masa

  • Sign in to reply
  • Cancel
  • mahimag
    +1 mahimag 9 months ago

    Hello masamasa , You can use Logic > Net Logic to create or assing new nets. I have also written a sample code few days back, see if this helps you:

    axlCmdRegister("merge_net" '_RBG_change_shape_net ) defun( _RBG_change_shape_net () let( list(old_netname new_netname l_shapes shape_count)
    old_netname = "LED1" ;name of net to remove
    new_netname = "0" ;name of combined nets
    obj_count = 0
    axlClearSelSet()
    axlSetFindFilter(?enabled '(noall "shapes" "vias" "pins") ?onButtons
    '("shapes" "vias" "pins"))
    axlAddSelectAll()
    l_obj = axlGetSelSet()
    axlClearSelSet()
    foreach(obj l_obj
    if(obj->parent->net->name == old_netname then axlChangeNet(obj new_netname) obj_count++ );this if will work for shapes and vias
    if(obj->net->name == old_netname then axlChangeNet(obj new_netname) obj_count++ );this if will work for pins
    );end foreach
    if(obj_count>0 then
    printf("%n objects changed from %s to %s.\n" obj_count old_netname
    new_netname)
    else
    printf("No obj found connected to net %s\n"
    old_netname)
    );endif
    );end let
    );end defun

    ; you need to change the old_netname and new_netname based on your design.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • excellon1
    0 excellon1 9 months ago

    Hi Masa,

    When creating the new netlist un check the option " Allow etch removal during eco"

    Best Regards.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • edahub
    0 edahub 9 months ago

    May be placing a zero ohm resistor in between can help

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • masamasa
    0 masamasa 9 months ago in reply to mahimag

    thank u very much.

     

    it works perfectly.

     

    i did not know that the net name is case sensitive, though.

     

    regards

    masa

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