Creating cyclic field etc in the parameters section of a pce
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Creating cyclic field etc in the parameters section of a pce

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence
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 Reply with 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
Bernd Fischer
Guest





Posted: Thu Dec 09, 2004 10:03 pm    Post subject: Re: Creating cyclic field etc in the parameters section of a Reply with 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:
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 Reply with 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

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 Reply with quote

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
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Contact Us
Powered by phpBB