• 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. Get hierarchical shape net names for the current cellvi...

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 143
  • Views 15210
  • 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

Get hierarchical shape net names for the current cellview

TobiasMrks
TobiasMrks over 5 years ago

How to get the net name of an Instance with Skill in Virtuoso Layout in the context of the current cellview?

I tried

instance->master->shapes

Then select a shape and readout:

shape->net->name

But now the net name is in context of the instance or Pcell instance and not the net name corresponding in the cellview.

Is there a way to get the in the cellview given connectivity for a shape inside an instance or pcell?

Thank you for your responses

  • Cancel
Parents
  • mbracht
    mbracht over 5 years ago

    There is not "one" single net an instance is on - an instance is usually connected to more than just one net - here's how you get at the net names:

    instance->instTerms~>net~>name

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • TobiasMrks
    TobiasMrks over 5 years ago in reply to mbracht

    Ok, but is there a way to get the corresponding net name from a shape inside the instance?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to TobiasMrks

    Well, it depends on whether the shape has got connectivity or not - many shapes inside PCells will not have connectivity - typically only the pins have connectivity. Assuming the shape does have connectivity, you're only going to get the higher level net name if it's actually a shape on the same net as the terminal (terminal is the logical, pin is the physical). So for a shape inside the PCell, knowing shape~>net~>terminal~>name, and then if you looked over instance~>instTerms~>name for the same terminal name, you could look at the instance~>instTerms~>net~>name to find the corresponding net at the level above.

    Sorry if that was a bit poorly described - it's hard to know precisely what you're doing in terms of processing the design.

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • mbracht
    mbracht over 5 years ago in reply to TobiasMrks

    master = instance->master

    (foreach mapcar instTerm instance->instTerms
             (list instTerm~>name (setof shape master~>shapes shape~>net~>name==instTerm~>term~>net~>name))
    )

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Reply
  • mbracht
    mbracht over 5 years ago in reply to TobiasMrks

    master = instance->master

    (foreach mapcar instTerm instance->instTerms
             (list instTerm~>name (setof shape master~>shapes shape~>net~>name==instTerm~>term~>net~>name))
    )

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Children
No Data

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