• 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. Ultra pcell - pcell with variable of pcell in it.

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 142
  • Views 2521
  • 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

Ultra pcell - pcell with variable of pcell in it.

kb how
kb how over 12 years ago

Hi All,

Is there possible for us to create a ultra pcell where the pcell within the pcell is a variable, not fixed.

Example: I have a dummy pcell which is ultra pcell, and i want to make it flexible enough to have n number of dummy1 pcell in it, with different CDF param value. If it is possible, it will be great if you could share some example,

Thanks.

 

  • Cancel
  • skillUser
    skillUser over 12 years ago

    Hi How,

    Yes, I'm sure this is possible but first I must ask why an Ultra PCell ?  These are graphical PCells that instantiate other (possibly also graphical) PCells.  Have you considered doing this as a SKILL PCell instead?  These are better supported and much easier to debug. In a SKILL PCell you can use dbCreateParamInst() or dbCreateParamInstByMasterName() to instantiate a PCell within a PCell.

    Hopefully this will help?

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • kb how
    kb how over 11 years ago

    Thanks Lawrence. Good day.

    Ya, im writing in SKILL pcell.
    I'm trying to code a skill pcell which instantiate another skill pcell. Where the top pcell and inherit the sub pcell's parameters.

    It will be good if you have any example. =)

     -How-

     

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

    Hi How,

    Inside the pcDefinePCell, you'd have something like:

          inst=dbCreateParamInstByMasterName(
                pcCellView
                srcLib
                srcCell
                "layout"
                ""
                0.0:0.0
                "R0"
                1
                list(
                    list("l" "string" sprintf(nil "%g" lMic*1e-6))
                    list("w" "string" sprintf(nil "%g" wMic*1e-6))
                    list("cCols" "string" cCols)
                    list("segments" "string" segments)
                    list("segSp" "string" segSp)
                    list("connection" "string" connection)
                )
              )

    In this particular case, cCols, segments segSp and connection were parameters for the pcell and were all string types. The lMic and wMic were computed within the pcell code, and were originally derived from other parameters passed in.

    That's the idea - it's not very complicated. Not a complete example, but hopefully sufficient to get you moving?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • kb how
    kb how over 11 years ago

    Hi Adrew amd Lawrence,

    Thanks a lot, man.

    Let me give it a try. 

    • 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