| Author |
Message |
Suresh Jeevanandam
Guest
|
Posted:
Thu Dec 09, 2004 2:55 pm Post subject:
Creating cyclic field etc in the parameters section of a pce |
|
|
Hi andrew and all,
Whats the procedure to define a pcell so that I can ,
- define cyclic field, boolean button, radio button etc to display on
the property editor form's parameter section.
- add form fields dynamically when the user presses a button.
In the cds doc, the examples for skill pcells have images showing this
kind of boolean/radio buttons, but when we use the code you do not get
the properties as shown in the images.
( Look at doc/pcellref/chap15.html
Example 1: A Thin-Film Capacitor
Example 2: Pcells within a Pcell
)
Thanks and regards,
Suresh
|
|
| Back to top |
|
 |
Bernd Fischer
Guest
|
Posted:
Thu Dec 09, 2004 10:03 pm Post subject:
Re: Creating cyclic field etc in the parameters section of a |
|
|
Hi,
just out of my mind without any test.
You have to do this with CDF parameters.
E.g. CDF parameter section for a cyclic field.
cdfCreateParam( cdfId
?name "tap"
?prompt "Bottom metal tap"
?defValue "Right"
?choices '("Right" "Right/Left")
?type "cyclic"
?display "cdfgData->otherParameter->value"
?parseAsCEL "yes"
)
Where otherParameter has to be a boolean button or some what to switch
tap on or off
Bernd
Suresh Jeevanandam wrote:
| Quote: | Hi andrew and all,
Whats the procedure to define a pcell so that I can ,
- define cyclic field, boolean button, radio button etc to
display on the property editor form's parameter section.
- add form fields dynamically when the user presses a button.
In the cds doc, the examples for skill pcells have images showing this
kind of boolean/radio buttons, but when we use the code you do not get
the properties as shown in the images.
( Look at doc/pcellref/chap15.html
Example 1: A Thin-Film Capacitor
Example 2: Pcells within a Pcell
)
Thanks and regards,
Suresh |
|
|
| Back to top |
|
 |
Suresh Jeevanandam
Guest
|
Posted:
Fri Dec 10, 2004 10:33 am Post subject:
Re: Creating cyclic field etc in the parameters section of a |
|
|
Bernd,
Thanks for the response.
I looked at the cds documentation for the cdf. I could not make out.
Could you please explain given a layout pcell code, how to attach these
cdf parameters.
Regards,
Suresh
Bernd wrote:
| Quote: | Hi,
just out of my mind without any test.
You have to do this with CDF parameters.
E.g. CDF parameter section for a cyclic field.
cdfCreateParam( cdfId
?name "tap"
?prompt "Bottom metal tap"
?defValue "Right"
?choices '("Right" "Right/Left")
?type "cyclic"
?display "cdfgData->otherParameter->value"
?parseAsCEL "yes"
)
Where otherParameter has to be a boolean button or some what to switch
tap on or off
Bernd
Suresh Jeevanandam wrote:
Hi andrew and all,
Whats the procedure to define a pcell so that I can ,
- define cyclic field, boolean button, radio button etc to
display on the property editor form's parameter section.
- add form fields dynamically when the user presses a button.
In the cds doc, the examples for skill pcells have images showing this
kind of boolean/radio buttons, but when we use the code you do not get
the properties as shown in the images.
( Look at doc/pcellref/chap15.html
Example 1: A Thin-Film Capacitor
Example 2: Pcells within a Pcell
)
Thanks and regards,
Suresh |
|
|
| Back to top |
|
 |
Bernd Fischer
Guest
|
Posted:
Fri Dec 10, 2004 3:10 pm Post subject:
Re: Creating cyclic field etc in the parameters section of a |
|
|
First of a this is no PCell code, it is CDF (Cell Description Format)
you can define cell parameters with it, not only for PCells also
for symbols ect..
The best is use the SKILL command 'cdfDump' for a
cell from a Cadence sample library, e.g. 'analogLib'
or any other which has CDF information.
Then modify the code to your needs, substitute
the cell and library name and parameter as you need
it for your cell.
And the load the so modified file back with the 'load'
command.
If you did it right you will see the effect.
The CDF parameters a like a layer above your PCell
parameters for the cell, where you can define such
fancy things like cyclic fields etc.
Bernd
Suresh Jeevanandam wrote:
| Quote: | Bernd,
Thanks for the response.
I looked at the cds documentation for the cdf. I could not make out.
Could you please explain given a layout pcell code, how to attach
these cdf parameters.
Regards,
Suresh
|
|
|
| Back to top |
|
 |
|
|
|
|