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.
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 .
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.
Hi SarvanipPar 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 regardsQuek
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.
Hi SarvaniThat's great. Thanks for the follow-up. : )Best regardsQuek