• 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. Detect highlight and optional remove dangling/floating ...

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 144
  • Views 3558
  • 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

Detect highlight and optional remove dangling/floating layout

mfaisal
mfaisal over 4 years ago

Anyone have a good skill approach to detecting and removing floating or dangling layout. 

I using this command but the result its delete all layout.

cvId=geGetEditCellView()

shapeList = setof( x cvId~>shapes !x~>NetName )

foreach( shapes shapeList dbDeleteObject(shapes)

);foreach

my idea to select and delete all layer without connection(floating)

Thanks

Faisal

  • Cancel
Parents
  • mbracht
    mbracht over 4 years ago

    Hi Faisal,

    There is no database object by the name of NetName. It needs to be net.

    shapeList = setof( x cvId~>shapes !x~>net )

    Max

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • LakshmanQual
    LakshmanQual over 3 years ago in reply to mbracht

    Hi Max,

    Thanks for the code.

    But this code is finding the nets which dont have connectivity also. But how to find nets which are not connected to any devices as well?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to LakshmanQual

    Probably:

    shapeList=setof(x cvId~>shapes !x->net || !(x->net->instTerms))

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • LakshmanQual
    LakshmanQual over 3 years ago in reply to Andrew Beckett

    Hi Andrew, this is working good in same hierarchy. But what if we want to get till lower hierarchies also?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to LakshmanQual

    It's not that clear what you want, but you'd need to write some code that traversed the hierarchy and did similar checks at each level, presumably. There are many, many examples of showing recursive hierarchy traversal approaches on this forum.

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to LakshmanQual

    It's not that clear what you want, but you'd need to write some code that traversed the hierarchy and did similar checks at each level, presumably. There are many, many examples of showing recursive hierarchy traversal approaches on this forum.

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Children
  • LakshmanQual
    LakshmanQual over 3 years ago in reply to Andrew Beckett

    Thanks Andrew for the suggestion and quick response!!

    • 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