schematic/symbol CDF parameter question

Discussion in 'Cadence' started by rick, Jul 24, 2010.

  1. rick

    rick Guest

    I have a generic logic gate that the device inherit their parameters
    from the symbol (L, W, F, M) and would
    like to have one button that will change all 4 devices form F to M
    (fingers to multiplier). The devices already
    have M and F so this would be a hook on the symbol. The current
    implementation uses pPar("name").....

    pPar("fingers_x") where _x is the device so there are 4 in
    total.

    option 1

    Fingers count can be manually set to a value
    Multiplier not editable and reset to 1

    option 2
    Fingers not editable and reset to 1
    Multiplier is set to 2

    Is this possible?

    Thanks

    Rick
     
    rick, Jul 24, 2010
    #1
  2. rick wrote, on 07/24/10 00:09:
    Yes. This would be done with appropriate CDF callbacks in the CDF for the logic
    gate.

    You would need to have callbacks for the editable field for each of the fingers
    and multiplier parameters which returned t/nil appropriately based on the value
    of the "option" parameter.

    Also, you'd want a CDF callback on the "option" parameter which did the
    resetting of the finger/multipler parameters to 1 as appropriate.

    Regards,

    Andrew.
     
    Andrew Beckett, Jul 27, 2010
    #2
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.