Is there possible for us to create a ultra pcell where the pcell within the pcell is a variable, not fixed.
Example: I have a dummy pcell which is ultra pcell, and i want to make it flexible enough to have n number of dummy1 pcell in it, with different CDF param value. If it is possible, it will be great if you could share some example,
Yes, I'm sure this is possible but first I must ask why an Ultra PCell ? These are graphical PCells that instantiate other (possibly also graphical) PCells. Have you considered doing this as a SKILL PCell instead? These are better supported and much easier to debug. In a SKILL PCell you can use dbCreateParamInst() or dbCreateParamInstByMasterName() to instantiate a PCell within a PCell.
Hopefully this will help?
In reply to skillUser:
Thanks Lawrence. Good day.
Ya, im writing in SKILL pcell.I'm trying to code a skill pcell which instantiate another skill pcell. Where the top pcell and inherit the sub pcell's parameters.
It will be good if you have any example. =)
In reply to kb how:
Inside the pcDefinePCell, you'd have something like:
inst=dbCreateParamInstByMasterName( pcCellView srcLib srcCell "layout" "" 0.0:0.0 "R0" 1 list( list("l" "string" sprintf(nil "%g" lMic*1e-6)) list("w" "string" sprintf(nil "%g" wMic*1e-6)) list("cCols" "string" cCols) list("segments" "string" segments) list("segSp" "string" segSp) list("connection" "string" connection) ) )
In this particular case, cCols, segments segSp and connection were parameters for the pcell and were all string types. The lMic and wMic were computed within the pcell code, and were originally derived from other parameters passed in.
That's the idea - it's not very complicated. Not a complete example, but hopefully sufficient to get you moving?
In reply to Andrew Beckett:
Hi Adrew amd Lawrence,
Thanks a lot, man.
Let me give it a try.