• 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 read label inside a particular instance and check...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 144
  • Views 14978
  • 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 read label inside a particular instance and check its connectivity with the label of another instance

Garima M
Garima M over 7 years ago

Say, there are 2 instances with their terminals connected together using metal routing. There are labels placed over terminals in metal layer. Eg: "G" on GATE terminal, but there is no pin  over the terminals.
I want to read labels over those two connected terminals with their instance names & dump into a file.

Eg:   I1(Instance)  "G"(Label)  connected to I2(Instance)  "D"(Label)

I am new to assura, so I am looking for a code to implement above logic using assura. Please help with the same.

  • Cancel
  • mbracht
    mbracht over 7 years ago

    Hi Garima, I don't quite understand what you mean - if you connect to instances then this metal routing connects the pin figures in the instances master cells.

    And what about those labels - are they in the instances master cells or in the current level? And in which way are they related to the instances?

    Can you please elaborate or provide an example...

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Garima M
    Garima M over 7 years ago in reply to mbracht


    The instance which I am using is just some set of layers or pcell, It does not have any schematic.
    Labels are placed in that instance master cell to identify gate, source and drain area.
    Those labels are in metal layer and I will be defining connectivity of metal text with corresponding metal layer in geomConnect.
    If any net is connecting those two labels of different instances, I want to read label name and corresponding instance names.

    As of now there is no pin in instance master, If pins can ease the purpose I can place pins in instance master.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mbracht
    mbracht over 7 years ago in reply to Garima M

    Hi Garima, You may use dbGetOverlaps(..) to get at the shapes in the master cell that are overlapped by your metal routing, the below SKILL expression returns a list of those shapes:

    (foreach mapcar sl (dbGetOverlaps cv routingRect~>bBox '("Metal1" "drawing") 1:1) (cadr sl))

    Assuming there is the parent/child relation between label and shape you can then get at the corresponding labels with the shapes children attribute.

    This approach works for a routing shape which is a rectangle only - in case of more complicated shapes like pathes or polygons you'd have to turn those shapes into rectangles (dbLayerTile() does that...) first and then do the above for each resulting rectangle.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Amar Kumar
    Amar Kumar over 7 years ago

    Hi Garima,

    To be very clear , you are searching for a command or algorithm in ASSURA RULE WRITING to find whether 2 pins(not exactly pins,only the labels are placed over the routing layer) are connected not?

    You can find the direct command in ASSURA RULE WRITING to trace the connectivity for a label, but am not sure if there is any command or algorithm to find the connection between two labels with routing layer.

    If anyone can help, it will be very helpful for me too.

    Thanks & Regards,

    Amar

    • 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