• 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. Pcell inherit child pCell parameter

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 142
  • Views 9221
  • 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

Pcell inherit child pCell parameter

yankunRen
yankunRen over 3 years ago

hi,

In IC616, use Skill to create PcellA and PcellB,

How to call child  PcellB in PcellA, and PcellA inherits the parameters in PcellB?

Which functions or methods need to be used? Wish there was an example

Thanks!

  • Cancel
  • mbracht
    mbracht over 3 years ago

    Hi,

    I take it that you want to create a hierarchical Pcell were PCellB should be an subinstance of PcellA right?
    Well you can easily do this by calling dbCreateParamInst(...) in the pcDefinePcell code that defines PcellA:

    pcDefinePCell(
       list(ddGetObj(<libName>) "PcellA" "layout")
       (
          (layerName string "Metal1")
          (width float 1.0)
          (length float 2.0))
       ....
       ....
       ...
       (dbCreateParamInst
          pcCellView
          (dbOpenCellViewByType <libName> "PcellB" "layout")
          "I0"
          (list 0 0)
          "R0"
          1
          (list (list "width" "float" width)
                (list "length" "float" length)
          )))

    So as you can see the PcellA parameters width and length are being passed on to the PcellB instance as the seventh argument of dbCreateParamInst(..). The cellview of PcellA in which you  place the PcellB instance is automatically available in the variable pcCellView - but I guess you know that anyway.

    regards
    Max

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

    I should also point out that this is really easy to do using Cadence PCell Designer!

    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