• 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. Custom IC SKILL
  3. layout instances name connected in a selected net.

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 144
  • Views 16999
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

layout instances name connected in a selected net.

marbs
marbs over 15 years ago

Hello All,

How to display all the layout instances name in CIW that is connected

in the selected net in layout  ?  

 For example, if I select a net25 in the layout, in CIW, output will be,

net25 is connected in Q1-c , Q2b, Q3e .

 

Thanks in advance,

 

Marbs 

 

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 15 years ago
    Assuming you have a shape on the net selected, and the layout has connectivity information (eg was done with Virtuoso Layout XL), then:

    foreach(fig geGetSelSet()
    net=fig~>net
    when(net
    printf("net %s is connected to\n" net~>name)
    foreach(instTerm net~>instTerms
    printf("%s.%s " instTerm~>inst~>name instTerm~>name)
    )
    printf("\n")
    )
    )

    Something like that. I didn't test it fully because I typed it on a mobile device.

    Andrew
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • strotta
    strotta over 6 years ago in reply to Andrew Beckett

    Hi Andrew!

    Is there any way to obtain the devices connected on a net from the schematic view?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • strotta
    strotta over 6 years ago in reply to Andrew Beckett

    Hi Andrew!

    Is there any way to obtain the devices connected on a net from the schematic view?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to strotta
    strotta said:
    Is there any way to obtain the devices connected on a net from the schematic view?

    Please read the Forum Guidelines. You've asked a question in a 9 year old thread which is about layout instances, and you're asking about instances on a schematic. So that's at least two of the forum guidelines broken. I suggest you start a new post.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Marben
    Marben over 6 years ago in reply to strotta

    Hi Sttrotta,

    Something like these.


    /*============================================================================================================
    Purpose       : Displays devices lists that are connected in a selected net or wire  in the schematic
                    and higlights all its connection. It can be use for tracing connections in schematic.
    Process       : Any process
    Environment   : VXL schematic editor , this skill file can also be run in VXL layout editor.
    How to run       : 1.Enter  in CIW. load("/home/marben/SKILL_VXL/net_selected.il")
                                 2.Select a portion of net or wire in the schematic window, then move the cursor in the
                                    CIW, then press 2 in the keyboard.
                                 3.All devices connected to that net will be automatically displayed in a text file,
                                    netConnection_layout.txt will be automatically created in user's VXl directory.
    Function Name : net_selected()
    Language      : SKILL
    Date created  : February 17, 2010
    Author        : Marben F. Orallo  

    =============================================================================================================*/






    ;hiSetBindKey("Command Interpreter" "<Key>2" "net_selected() ")


    hiSetBindKey("Layout" "<Key>2" "net_selected()")
    hiSetBindKey("Schematics" "<Key>2" "net_selected()" )









    procedure(select_side()


          foreach(fig geGetSelSet()
                  net=fig~>net
                  
                  )
                  
          foreach(fig net~>figs geSelectFig(fig))
         )              





    procedure(net_selected()


    csh("touch ./netConnection_layout.txt")
        outPort = outfile("./netConnection_layout.txt")




          foreach(fig geGetSelSet()
                  net=fig~>net
                  when(net
                      printf("net %s is connected to\n" net~>name)
                      foreach(instTerm net~>instTerms
                      printf("%s.%s " instTerm~>inst~>name instTerm~>name)      
          
                          )
                      printf("\n")
         
                  )
         
         
         
         
         
          fprintf(outPort "     Net %s schematic connection are :\n\n" net~>name )
          ;fprintf(outPort "net %s is connected to\n" net~>name)  
           
           foreach(fig geGetSelSet()
                  net=fig~>net
                   when(net      
                      foreach(instTerm net~>instTerms
                          fprintf(outPort "     Pin %s of instance name %s , cellname = %s \n"  instTerm~>name instTerm~>inst~>name instTerm~>inst~>cellName)
          
          
          
                       )
         
         
         
         
                   )
         
         
          
          )
          )

          







    ; start of outport
     
     
     
     
     
     
        fprintf(outPort "    \n\n\n        <<<------------------------------------------>>>" )
     
        fprintf(outPort "    \n\n               End of schematic net connection list . " )
     
        fprintf(outPort "    \n\n        <<<------------------------------------------>>>" )
     
     
     
       close( outPort)
        ;view("./netConnection_layout.txt" list(0:0 500:500) "SCHEMATIC NET CONNECTION")
        ; edit("./netConnection_layout.txt")
        ;hiRegTimer("system("open_net_selected")" 100)
        sleep(3)
        system("gedit netConnection_layout.txt &")
     
      ; End of outport
     


    select_side()


      )

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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