Home > Community > Forums > Custom IC SKILL > Ultra pcell - pcell with variable of pcell in it.

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Ultra pcell - pcell with variable of pcell in it. 

Last post Tue, Mar 25 2014 6:03 PM by kb how. 4 replies.
Started by kb how 14 Aug 2013 10:06 PM. Topic has 4 replies and 496 views
Page 1 of 1 (5 items)
Sort Posts:
  • Wed, Aug 14 2013 10:06 PM

    • kb how
    • Top 100 Contributor
    • Joined on Thu, May 5 2011
    • Melaka, Melaka
    • Posts 79
    • Points 1,075
    Ultra pcell - pcell with variable of pcell in it. Reply

    Hi All,

    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,

    Thanks.

     

    -How-
    • Post Points: 20
  • Thu, Aug 15 2013 7:44 AM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,598
    • Points 16,075
    Re: Ultra pcell - pcell with variable of pcell in it. Reply

    Hi How,

    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?

    Regards,

    Lawrence.

    • Post Points: 20
  • Mon, Mar 24 2014 11:40 PM

    • kb how
    • Top 100 Contributor
    • Joined on Thu, May 5 2011
    • Melaka, Melaka
    • Posts 79
    • Points 1,075
    Re: Ultra pcell - pcell with variable of pcell in it. Reply

    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. =)

     -How-

     

    -How-
    • Post Points: 20
  • Tue, Mar 25 2014 5:30 AM

    Re: Ultra pcell - pcell with variable of pcell in it. Reply

    Hi 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?

    Regards,

    Andrew.

    • Post Points: 20
  • Tue, Mar 25 2014 6:03 PM

    • kb how
    • Top 100 Contributor
    • Joined on Thu, May 5 2011
    • Melaka, Melaka
    • Posts 79
    • Points 1,075
    Re: Ultra pcell - pcell with variable of pcell in it. Reply

    Hi Adrew amd Lawrence,

    Thanks a lot, man.

    Let me give it a try. 

    -How-
    • Post Points: 5
Page 1 of 1 (5 items)
Sort Posts:
Started by kb how at 14 Aug 2013 10:06 PM. Topic has 4 replies.