• 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. How to call a Pcell?

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 143
  • Views 16937
  • 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

How to call a Pcell?

Vignesh054
Vignesh054 over 16 years ago

Hi,

 Can sombody tell me how to call a pcell?

 Thanks,

Vignesh T K 

  • Cancel
Parents
  • dmay
    dmay over 16 years ago

    http://sourcelink.cadence.com/docs/files/Release_Info/Docs/skdfref/skdfref07.02/chap2.html

    The list of parameters depends on the parameters available on the pcell you are placing. If it is your own pcell, then you should know what these parameters are. If you want to know what parameters are available on a pcell, do the following:

    1. Place an instance of a pcell in Virtuoso
    2. Select that one instance. In your CIW, css() will give you the "car of the selected set" which is essentially the database object of what you just selected.
    3. From this database ID, you can find all of the parameters:
    To get all the attributes and values of each parameter for the master of this instance:
    css()~>master~>parameters~>value~>??
    To just see the parameter names:
    css()~>master~>parameters~>value~>name
    To just see the current values:
    css()~>master~>parameters~>value~>value
    To just see the valueTypes:
    css()~>master~>parameters~>value~>valueType

    Now, you can construct your l_params (list of parameters) for dbCreatParamInst using any of the parameters found in the previous step. You'll need to know the name, valueType and value you wish to set. You only need to include parameters whose default you wish to change.

    Example:
        master=dbOpenCellViewByType("myLib" "myPcell" "layout")
        paramList = list(
            list("w" "float" 10.0)
            list("h" "float" 5.0)
        )
        dbCreateParamInst(geGetEditCellView master nil 0:0 "R0" 1  paramList)

    Derek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • dmay
    dmay over 16 years ago

    http://sourcelink.cadence.com/docs/files/Release_Info/Docs/skdfref/skdfref07.02/chap2.html

    The list of parameters depends on the parameters available on the pcell you are placing. If it is your own pcell, then you should know what these parameters are. If you want to know what parameters are available on a pcell, do the following:

    1. Place an instance of a pcell in Virtuoso
    2. Select that one instance. In your CIW, css() will give you the "car of the selected set" which is essentially the database object of what you just selected.
    3. From this database ID, you can find all of the parameters:
    To get all the attributes and values of each parameter for the master of this instance:
    css()~>master~>parameters~>value~>??
    To just see the parameter names:
    css()~>master~>parameters~>value~>name
    To just see the current values:
    css()~>master~>parameters~>value~>value
    To just see the valueTypes:
    css()~>master~>parameters~>value~>valueType

    Now, you can construct your l_params (list of parameters) for dbCreatParamInst using any of the parameters found in the previous step. You'll need to know the name, valueType and value you wish to set. You only need to include parameters whose default you wish to change.

    Example:
        master=dbOpenCellViewByType("myLib" "myPcell" "layout")
        paramList = list(
            list("w" "float" 10.0)
            list("h" "float" 5.0)
        )
        dbCreateParamInst(geGetEditCellView master nil 0:0 "R0" 1  paramList)

    Derek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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