• 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. Open pCell for Edit Keeping pCell's Parameters

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 143
  • Views 2653
  • 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

Open pCell for Edit Keeping pCell's Parameters

ahamlett
ahamlett over 15 years ago

When opening a pcell with dbOpenCellViewByType(), the pcell's parameters are set to the default values.

If the pcell is instanced in another cell, you can open that pcell with cell~>instances~>master and the pcell's shapes will reflect any changes that were made on the pcell's parameter values. However, the pcell will be opened for read-only.

How do I open the pcell for write and also keep the pcell's parameters that could have been changed in the instancing cell?

Is there an equivalent function to dbCreateParamInst() which would open the cell, such as dbOpenParamCellViewByType()?

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 15 years ago
    Alan,

    This doesn't really make sense. You can't write to a pcell submaster, because it would no longer be a pcell. So why would you want to do this?

    You can use dbCopyCellView to copy the submaster of a specific instance (e.g. inst~>master) to another cellview - then it would become a fixed layout, and you can edit it as much as you like.

    Regards,

    Andrew
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ahamlett
    ahamlett over 15 years ago

     Thanks Andrew. I wanted to use dbFlattenInst() but I see that I should first check if the master is a pcell and handle it differently.

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

    Alan,

    You don't need to check whether a master is a pcell before you call dbFlattenInst. There's an argument to dbFlattenInst to control whether it will flatten pcells or leave them as pcells - but if you specify t, it will flatten it regardless of whether it is a pcell or not.

    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