• 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. copy hierarchical layer to top level

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 15591
  • 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

copy hierarchical layer to top level

SonnyTang
SonnyTang over 10 years ago

Hi Sir:

    I need to copy one particular layer in instance to top level. For example, the "PAD" layer was drawn in the IO cells and instanced on the top level. I need to duplicate this "PAD" layer on the top level. Can any one help for the Cadence Skill code to do that?

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    How about this:

    Regards,

    Andrew.

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

    Dear Andrew:

           Thanks for your reply. In fact, I am using ICFB 5.10.41_USR5.90.69 and I can not find "getOpenCellView" can I use "geGetWindowCellView" in stead for CCSflattenAndMerge? In fact, after I change it as follows, it runs well but I did not find the PAD layer move to top level. Did I do something wrong? I am sorry, I am new for the skill code, I may ask something silly. Thanks

    src=geGetWindowCellView()

    dst=dbOpenCellViewByType(src~>libName src~>cellName "flattened" "maskLayout" "w")

    CCSflattenAndMerge(src dst '("PAD" "drawing"))

    Regards,

    Sonny

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

    Sonny,

    My apologies - there's a typo in the comments in my code. It should say src=geGetEditCellView() (or geGetWindowCellView would do unless you're using edit in place). Note that the code will copy the shapes into another cellView - so you should find that you have a view called "flattened" that got created with the PAD shapes in. You could copy these into your source cellView. Or I think you should be safe just using CCSflattenAndMerge(src src '("PAD" "drawing")) (without opening dst). You might want to check that the shapes ended up in the flattened view first before trying it outputting directly into your source cellView (I've not tested that myself).

    Regards,

    Andrew.

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

    Hi Andrew:

        I get it work, Thanks

    Regards,

    Sonny

    • 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