• 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 16995
  • 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
  • Quek
    Quek over 15 years ago
    Hi Marbs

    If you are using IC614, a skillscript is actually not required. It can be done as follows:

    a. Switch to vls-XL mode
    b. In navigator, select a net and do a right mouse click
    c. In the mouse menu, go to "Select->All instances on net"
    d. The instances connected to the net will be highlighted in navigator and will also be selected in the layout

    Best regards
    Quek
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Quek
    Quek over 15 years ago

    Hi Marbs

    If you are using IC614, you can find the instances on the net as follows:
    a. In navigator, right mouse click on the net
    b. Go to "Select->Instances on net"

    The instances will be highlighted in both navigator and layout. When posting questions, it would be good to state the version of Virtuoso which you are using:

    linux>icfb -W
    linux>virtuoso -W

    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • marbs
    marbs over 15 years ago

    Hi Quek,

    I am using Icfb version 5.10.41.500.5.109.  I am sorry for not specifying

    my icfb version. How to make a SKILL file to display all the instances name

    that is connected to a particular net in the layout ? for my version.

     

    Thanks in advance,

    Marbs 

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • 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
  • marbs
    marbs over 15 years ago

    Hi Andrew,

    Thank you for the code, but what I want to display are only the layout instances name

    that are presently connected in the selected wires(M, SM, TM ), not all its complete

    connection as it is stated in schematic.

    For example:

    net 94 schematic connection is |Q23.B , |Q23.C , |Q24.B and |Q25.C

     but in my layout :

    net 94 is only connected to |Q23.B and |Q24.B  

    If I select the wire in layout  presently connected to  |Q23.B and |Q24.B

    The output in CIW must be : The selected net net 94 is presently connected to |Q23.B and |Q24.B . Wire in layout

                                              not yet complete .

     

     

    I am sorry for  not clearing my first message.

    Please help.   

     

    Regards,

    Marbs 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 15 years ago

     I'm afraid I don't know of a way of accessing this kind of information from Virtuoso Layout XL - it's known internally. In IC613/IC614 you could probably inspect the markers used by the annotation browser for showing incomplete nets, maybe.

    Otherwise you'd probably have to use some dbGetOverlaps() type function to see if the pin figures associated with the terminal associated with each instTerm on the net are covered by a shape which is on the same net. Even then, it wouldn't tell you whether there are gaps in the routing - in that case, how would you decide which are connected and which aren't?

    Regards,

    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
  • 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