If I place my Pcell by hand the cell works fine. Sizes are what I expect them to be.
Gen from source gives me small values that can't be laid out.
The symbol though has "90n M" which doesn't match other tech files I've worked with "90n"
I've tried two different ways of doing the CDF:
cdfCreateParam( cdfId ?name "w" ?prompt "width" ?defValue "0.2n" ?parseAsNumber "yes" ?type "string" ?units "lengthMetric" )
I've also tried the following default value:
?defValue sprintf(nil "%g" minMosWidth)
Neither gives me the desired result. Any thoughts?
Well, turns out there is still an issue with the size of the Pcell.
If I places the nsoi Pcell thru layoutXL gen from source I get the correct size transitors.
If I instanciate the pcell from my layout cell I get very large transistors. This makes sence in the way I've changed the Pcell code to get it to work with the gen from source.
; Define formal parameter name-value pairs. ( ( w "0.2" ) ( l "0.09" )....
these lines work with gen from source.
These lines work when pcell is instanciated.
; width = cdfParseFloatString(w); length = cdfParseFloatString(l)
I currently don't have any call back called.
There is the CDF code:
;;; Parameters cdfCreateParam( cdfId ?name "w" ?prompt "width" ?defValue "0.2" ?parseAsNumber "yes" ?type "string" ?units "lengthMetric"; ?callback "nsoiCB('w)" ) cdfCreateParam( cdfId ?name "l" ?prompt "length" ?defValue "0.09" ?parseAsNumber "yes" ?type "string" ?units "lengthMetric"; ?callback "nsoiCB('l)" )
Anyone got any thoughts about where the conversion should take place from schematic to layout?