• 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. cant pass the parameters to a pcell ?

Stats

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

cant pass the parameters to a pcell ?

Mohellayali82
Mohellayali82 over 14 years ago

dear all,

i have an issue with a skill code, i am newbie actually, so the example is simple

 


pcDefinePCell(
        list(ddGetObj("test_pcell") "first_example" "layout")

        (
                (www 3.0)
        )
        let(
                ((cv pcCellView))

                cellId = dbOpenCellViewByType( "cmos065_rf" "plvtlp_rf" "layout")
                inst = dbCreateParamInst(
                        cv cellId nil list(1 1) "R0" 1
                        list(
                                list( "w" "float" 3.0)
                                list( "nfing" "integer" 4)
                         )
                )

        ); let
);;

 

 

so in my pcell first_example, i instanciate another pcell (plvtlp_rf), and i hard coded (for now) the 2 parameters that i pass to it w and nfing

but when i instanciate the master pcell (first_example) , the values are not passed to the sub pcell, and i have instead the default values of this cell.

what is strange is when i descend into hierarchy , and i do q in the subcell, in the edit properties i see that the parameters of the pcell are those that i passed w=3 , nfing =4 , but visually they dont appear

 

can somebody help me please by telling me what i did wrong

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    A couple of possible problems - you've either given the wrong parameter names, or the wrong type. Look at the pcell parameters by doing:

    cv=dbOpenCellViewByType("pdkLibName" "plvtlp_rf" "layout)
    cv~>parameters~>value~>name
    cv~>parameters~>value~>valueType

    The last two lines will list the parameter names and types, in the same order. So you can match them one for one.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    A couple of possible problems - you've either given the wrong parameter names, or the wrong type. Look at the pcell parameters by doing:

    cv=dbOpenCellViewByType("pdkLibName" "plvtlp_rf" "layout)
    cv~>parameters~>value~>name
    cv~>parameters~>value~>valueType

    The last two lines will list the parameter names and types, in the same order. So you can match them one for one.

    Regards,

    Andrew.

    • 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