CDF Parameter Position

Discussion in 'Cadence' started by Johannes Blouwer, Sep 18, 2003.

  1. Hi Newsgroup

    I am a relatively new user of Composer and am struggling desperately to do
    something quite basic.

    I use a resistor from the analogLib and fill in the fields for ModelName,
    Length and Width and want to display these field in the schematic. When I
    enable the display option the fields appear in the schematic as expected.
    I want to position the information below the reference designator instead
    of above and to the left on the reference designator. How do I do this?

    Thanks in advance.
    JNB
     
    Johannes Blouwer, Sep 18, 2003
    #1
  2. Hi,

    I suggest you to don't use the display option in the
    CDF parameter section of the Edit Properties Form.

    Rather than that, you can use the 'Component Display'.
    This was renamed by Cadence, so it might be that in
    older version it's called Label Display.
    But for 4.4.6 and 5.0 go to 'Edit->Component Display...'.
    Then select your instance.
    In the form:
    Select Label X parameters
    Apply To X instance
    X parameter
    Display value only -> choose here model, w, and l.

    You'll see the parameters will be displayed on the right
    side of your resistor.
    If you open the symbol cellview for the resistor you'll see
    a label called cdsParam(n) these is the variable where you
    params will be placed, so if you want an other location move these
    variable, you must have write permission to analogLib.

    I unfortunately do not know on which system layer the CDF Pramas will
    be displayed if you use the display option in the Edit Properties Form.

    Regards Bernd
     
    Bernd Fischer, Sep 19, 2003
    #2
  3. Hi Bernd

    Thank you what you described does the trick.

    I seem to be on a roll here so let me try my luck once more.

    How and where do I write the 'callback' to calculate the resistance
    automatically from L & W.

    Regards
    JNB
     
    Johannes Blouwer, Sep 19, 2003
    #3
  4. This is not explained in brief, look in the docs for cdfgData or callback.
    cdfgData is the global variable to get and set cdf params in SKILL
    procedures.

    e.g.

    n_w = cdfgData->w->value
    n_l = cdfgData->l->value

    calculate r with n_w and n_l,
    set r

    cdfgData->r->value = n_r

    But that's not that trivial, and maybe not that easy for
    a beginner in Cadence DFII.

    I'm on a jump because it Friday evening here in Europe.

    Bernd
     
    Bernd Fischer, Sep 19, 2003
    #4
  5. Thanks again. Again you provided enough information for to me to solve my
    problem.

    JNB
     
    Johannes Blouwer, Sep 19, 2003
    #5
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.