• 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. pPar not works for intiger CDF parameters

Stats

  • Locked Locked
  • Replies 17
  • Subscribers 145
  • Views 28738
  • 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

pPar not works for intiger CDF parameters

Sarvani
Sarvani over 13 years ago

 Hi all,

        Is pPar works for all CDF parameters? I need to pass intiger numbers (like no. of fingers) from top level to bottem level in schematic. But when I enter pPar(NF) through edit object properties options then it doesn't work's. How can I get this intiger values to bottom level? Let me know if any other set up is needed.

thankyou,

sarvani

  • Cancel
  • marcelpreda
    marcelpreda over 13 years ago

     Hi Sarvani,

     

    What means "it doesn't work" ?

    Error/warning message? is it ignored ?

     

    What is realy written in that field ?

    If I'm not wrong the syntax is pPar("NF") , not pPar(NF) .

    Also the parameter si cASeSenSiTIVe .

     

    Best Regards,

    Marcel 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Sarvani
    Sarvani over 13 years ago

    Hi marcel,

                  I have been getting below warning message. I have NF(no. of fingers) cdf parameter which is an intiger type. When I enter pPar(NF) as default value through TOOLS~>cdf~>edit then below warning message which I am getting. I have pmos width and length cdf parameters (which is type of srtings) which works well in passing parameters. I dont know much about this cdf parameters. Let me know is there any set up is needed? 

    *ERROR* The 'Default Value' is not specified for the following component parameter(s): NF

    'Default Value' is a mandatory field for component parameters.

    These component parameters will not be added to the CDF.


    *WARNING* Effective CDF parameter 'NF', cell 'nmos_5V', library 'DIG_CELLS',

    'defValue' field must be specified.

     Thank you,

    Sarvani

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Quek
    Quek over 13 years ago

    Hi Sarvani

    pPar works as follows:

    a. You have a schematic cellview ABC that contains an instance I1.
    b. In the properties form of the instance, you added the following expression for "nf" parameter:

    pPar("nf")

    c. Now instantiate cell ABC in another schematic (e.g. I2) and add a property named "nf" on this instance. Give it a value (e.g. 123). The value will now be passed down from I2 to I1.

    Please search for "pPar" in $CDSHOME/doc/anasimhelp/anasimhelp.pdf. When in doubt, you can always search for the word through all the pdf manuals in the documentation directory.


    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Sarvani
    Sarvani over 13 years ago

    Thank you Quek. It works now. Thank you very much for your support. I have converted type from int to string for cdf parameter and then selected YES options for parse as Cell and parse as Number. Now pPar("NF") passes to bottom level.

    Thank you,

    Sarvani

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Quek
    Quek over 13 years ago

    Hi Sarvani

    That's great. Thanks for the follow-up. : )

    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Sarvani
    Sarvani over 13 years ago

     Quek,

                How can I pass parameter from top to hierarchy level schematic for int type cdf parameters in hierarchy level (Passing of cdf parameters from top level to bottom level exists if cdf parameter in bottom level is type of string.)? Previously I had converted type from int to string for cdf parameter and then selected YES options for parse as Cell and parse as Number. Then it passes. But now I don't want to convert cdf parameter of cell from int to string( because it is the cell which is given by foundary.) . Let me know is there any solution for this.

    Thank you,

    sarvani

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

    Sarvani,

    You can only use pPar() on CDF parameters of type string, which have parseAsCEL set to Yes. You can only use expressions (including operators and math functions) on string fields, and if they are going to be interpreted, it has to know it should be treated as a component expression language (a.k.a. Analog Expression Language) expression. If the CDF parameter is defined as an int or a float, you can only set the value to be an int or a float; an expression would not be an int or a float and so it cannot be used.

    It's quite unusual for foundry PDKs to be using int or float parameters - it sounds as if something is incorrect with the setup and it hasn't been designed with ADE in mind.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Sarvani
    Sarvani over 13 years ago

     Yes that's correct. Then I should copy this cell to another library and convert this type from int to string. But I don't want any error's in simulation for schematic. Is there any error's we got if we change PDK cell from one library to another library? Any precautions needed? I should make sure these cells are same as PDK cells.

    thank you,

    sarvani

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

    Sarvani,

    It's hard to tell - it rather depends on whether the PDK has other things that depend on the parameters being integers. For example, there may be pcells which require the parameters to be integer (although that generally works OK because the parameters get cast to the right type), but I wouldn't like to say what the impact would be.

    There may be CDF callbacks which also assume the values are a specific type.

    Best would be to contact the foundry and ask them.You could also talk to customer support to discuss this in more detail with information as to which foundry you're using.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Sarvani
    Sarvani over 13 years ago

     Thank you Andrew. We will discuss on this topic on tomorrow. I need to go now. Good night :-)

    • 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