P
Paul Shepherd
Guest
I am trying to build an extremely simple PDK and have run into an
issue which might be a bug. I'm looking for some feedback to figure
out if I have overlooked something.
I have built a graphical PCell for an NFET which has parameters
"width", "length", and "fingers". I have tested this on it's own, and
it works fine. Now I am creating a symbol and CDF data so that later I
will be able to run LVS checks and simulations. When I attempt to
instantiate the layout PCell, or edit the parameters in properties of
the symbol or layout PCell, the parameters always return to their
default values. The callback script is working, but something else is
forcing things to always be return to the default value whenever I hit
"OK" or "Apply".
Example of the skill code dumped for "w" parameter:
cdfCreateParam( cdfId
?name "w"
?prompt "w"
?units "lengthMetric"
?defValue "4u"
?type "string"
?use "t"
?display "t"
?editable "t"
?callback "cdfgData->width->value =
cdfParseFloatString( cdfgData->w->value )/1e-6"
?dontSave "nil"
?parseAsNumber "yes"
?parseAsCEL "yes"
)
Properties dumped from the CDF edit dialog:
cdfId->formInitProc = ""
cdfId->doneProc = ""
cdfId->buttonFieldWidth = 340
cdfId->fieldHeight = 35
cdfId->fieldWidth = 350
cdfId->promptWidth = 175
cdfId->instNameType = "schematic"
cdfId->instDisplayMode = "cellName"
cdfId->netNameType = "schematic"
cdfId->termSimType = "DC"
cdfId->termDisplayMode = "none"
cdfId->paramSimType = "DC"
cdfId->paramEvaluate = "t nil nil nil nil"
cdfId->paramDisplayMode = "parameter"
cdfId->paramLabelSet = "w l Fingers"
cdfSaveCDF( cdfId )
Thanks in advance!
issue which might be a bug. I'm looking for some feedback to figure
out if I have overlooked something.
I have built a graphical PCell for an NFET which has parameters
"width", "length", and "fingers". I have tested this on it's own, and
it works fine. Now I am creating a symbol and CDF data so that later I
will be able to run LVS checks and simulations. When I attempt to
instantiate the layout PCell, or edit the parameters in properties of
the symbol or layout PCell, the parameters always return to their
default values. The callback script is working, but something else is
forcing things to always be return to the default value whenever I hit
"OK" or "Apply".
Example of the skill code dumped for "w" parameter:
cdfCreateParam( cdfId
?name "w"
?prompt "w"
?units "lengthMetric"
?defValue "4u"
?type "string"
?use "t"
?display "t"
?editable "t"
?callback "cdfgData->width->value =
cdfParseFloatString( cdfgData->w->value )/1e-6"
?dontSave "nil"
?parseAsNumber "yes"
?parseAsCEL "yes"
)
Properties dumped from the CDF edit dialog:
cdfId->formInitProc = ""
cdfId->doneProc = ""
cdfId->buttonFieldWidth = 340
cdfId->fieldHeight = 35
cdfId->fieldWidth = 350
cdfId->promptWidth = 175
cdfId->instNameType = "schematic"
cdfId->instDisplayMode = "cellName"
cdfId->netNameType = "schematic"
cdfId->termSimType = "DC"
cdfId->termDisplayMode = "none"
cdfId->paramSimType = "DC"
cdfId->paramEvaluate = "t nil nil nil nil"
cdfId->paramDisplayMode = "parameter"
cdfId->paramLabelSet = "w l Fingers"
cdfSaveCDF( cdfId )
Thanks in advance!