Creating cyclic field etc in the parameters section of a pcell propertyeditor form

Discussion in 'Cadence' started by Suresh Jeevanandam, Dec 9, 2004.

  1. 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
     
    Suresh Jeevanandam, Dec 9, 2004
    #1
  2. 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
     
    Bernd Fischer, Dec 9, 2004
    #2
  3. 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
     
    Suresh Jeevanandam, Dec 10, 2004
    #3
  4. 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
     
    Bernd Fischer, Dec 10, 2004
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.