EDAboard.com | EDAboard.eu | EDAboard.de | EDAboard.co.uk | RTV forum PL | NewsGroups PL

schematic/symbol CDF parameter question

elektroda.net NewsGroups Forum Index - Cadence - schematic/symbol CDF parameter question

rick
Guest

Sat Jul 24, 2010 2:09 am   



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

Andrew Beckett
Guest

Tue Jul 27, 2010 10:36 am   



rick wrote, on 07/24/10 00:09:
Quote:
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

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.

elektroda.net NewsGroups Forum Index - Cadence - schematic/symbol CDF parameter question

Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
RTV map EDAboard.com map News map EDAboard.eu map EDAboard.de map EDAboard.co.uk map Opony