• 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. How to find instances connected to specific pin

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 145
  • Views 16701
  • 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

How to find instances connected to specific pin

narendra046
narendra046 over 12 years ago

Hi All,

In my schematic, test<0:10> pin is there. I need which instances(instance id's) connected to test<3> net. 

It will be useful me in some other scricpts. Please help me on this by skill code.

 

Thanks in Advance,

Narendra 

 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Navendra,

    I don't have any code to do this to hand, but if you can use IC616, you can probe the net using the probe command in the schematic editor, and then use the probes assistant to see what it is connected to. The Probes Assistant is new in IC616. You can also export a CSV file of everything that it is connected to.

    Probing you can do in any release though.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • NiallDuncan
    NiallDuncan over 12 years ago

     Hi Navendra,

     

    You could try something like this:

     

    targetPinName = "test<3>"

    cvId = geGetEditCellView()
    list_instId = list()

    foreach( instId cvId~>instances
      if( instId~>objType=="inst" && instId~>purpose=="cell" then
        connectionFound = 0
        foreach( connId instId~>conns
          if( connId~>net~>name==targetPinName then
            connectionFound = 1
          )
        )
        if( connectionFound==1 then list_instId=append(list_instId list(instId)) )
      )
    )

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • narendra046
    narendra046 over 12 years ago

    Hi NiallDuncan,

    Thanks for your response. 

    If schematic have pins like, POR, EN, Edge, OT<3> , Test<0:5>.

    Your scricpt will works for only to find instances for POR, EN, Edge, OT<3>. This can't find for Test<3> or Test<2> etc.

    As per your basic thought, I modified this to work perfectly is--

    :***********************************************

    reqinstlist=nil

    targetpinname="Test<3>"

    cvId=geGetEditCellView()

    foreach(instId cvId~>instances

    if(instId~>objType=="inst" && instId~>purpose=="cell" then
    kk = nil
    kk1 = nil
    conn_names=nil
    conn_names = instId~>conns~>net~>name
    foreach(conn_name conn_names
    index= length(parseString(conn_name "<"))
    if(index >= 2 then
    kk = dbProduceMemName(conn_name)
    kk1=append(kk kk1)
    conn_names = remove(conn_name conn_names)
    ))
    conn_names = append(conn_names kk1)

    foreach(conn_name conn_names
    when(conn_name==targetpinname

    reqinstlist=cons(instId reqinstlist)
    )
    )
    )
    )
     

    ;**********************************************************

    Thank you 

    Narendra

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • SRNAYAK
    SRNAYAK over 10 years ago

    hi andrew,

             i was searching for a skill code that will

        ---- that will search all input and output pin/ports of a schematic .. and then checks each pins/ports are conneced to an instance (antenna diode) or not ?

           ( ex ::-- if a schematic have 10 inputs then each should have an anteenna diode in schematic .....if not flag message while check and save)

    --- check an instance (EX :antenna diode) , which is connected to each input and output pins/ports of a schematic..

         ----- if designer forgot to add  antenna diode in any pin .. it should be warned by a message when he will check and save ..

         -----in this way designer can not leave any input or output that is connected to diode .....

       . ----- please provide a code to do it

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • SRNAYAK
    SRNAYAK over 10 years ago
    hi andrew,

    i was searching for a skill code that will

    ---- that will search all input and output pin/ports of a schematic .. and then all pins/ports are conneced to an instance (antenna diode) or not ?

    ( ex ::-- if a schematic have 10 inputs then each should have an anteenna diode in schematic .....if not flag message while check and save)

    --- check an instance (EX :antenna diode) , which is connected to each input and output pins/ports of a schematic..

    ----- if designer forgot to add antenna diode in any pin .. it should be warned by a message when he will check and save ..

    -----in this way designer can not leave any input or output that is connected to diode .....

    . ----- please provide a code to do it
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    SRNAYAK said:
    . ----- please provide a code to do it

    I'm sorry, but I respond to posts in this forum in my spare time. Implementing this very specific check is nothing something I have already written, and nor is it something I have the bandwidth to do right now (I suspect it will need some back and forth to refine the specification if things are unclear).

    I'm sure that we (Cadence) would be happy to implement something like this for you as a service - please contact your account team (your sales executive, for example) who can discuss the requirement with you in more detail.

    Kind Regards,

    Andrew.

    • 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