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.
width = cdfParseFloatString(w)* 1e6
length = cdfParseFloatString(l)* 1e6
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?