Home > Community > Forums > Custom IC Design > Using Inherited Parameters in PCells

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: *

 Using Inherited Parameters in PCells  

Last post Tue, Apr 10 2012 8:45 AM by Andrew Beckett. 4 replies.
Started by msharma 05 Apr 2012 09:32 PM. Topic has 4 replies and 2209 views
Page 1 of 1 (5 items)
Sort Posts:
  • Thu, Apr 5 2012 9:32 PM

    • msharma
    • Not Ranked
    • Joined on Fri, Apr 6 2012
    • Posts 8
    • Points 100
    Using Inherited Parameters in PCells Reply

     Friends,

     I am creating a custom pcell, through the graphical layout method. The custom pcell layout contains an instance of a pdk pcell. I have inherited a parameter 'width' among others from the pdk pcell to my custom pcell. In my custom pcell, I need to repeat contacts based on the value of width. But, it is not possible to use parameter 'width' in repetition expressions. The software gets confused, and assigns 'width' as a new parameter.

     

    Do you know how to reference the inherited 'width' parameter in my custom pcell, without confusing the software? Any responses are appreciated.

     

    Thanks,

    Mohit

    Filed under:
    • Post Points: 20
  • Fri, Apr 6 2012 8:40 AM

    Re: Using Inherited Parameters in PCells Reply

    Mohit,

    Well, it works for me - so I assume you must be doing something wrong. Have you set up the instance of the pdk pcell to have an inherited parameter using Pcell->Inherited Parameters? I just did that, and assigned my instance to inherit from a parameter called "width" and then also used width in my repetition expression - and also used Parameters->Edit to set the default value of width.

    From what you describe you're expecting the parent pcell to inherit from the child instance, which doesn't make sense - how would the child pcell know what values to use?

    If this doesn't help, I think you're going to have to post some pictures and a more detailed explanation, or contact customer support.

    Regards,

    Andrew.

    • Post Points: 35
  • Fri, Apr 6 2012 12:23 PM

    • msharma
    • Not Ranked
    • Joined on Fri, Apr 6 2012
    • Posts 8
    • Points 100
    Re: Using Inherited Parameters in PCells Reply
    Andrew, thanks for the reply. I tried this one more time, and still no success. Therefore, I have attached some screenshots Error when using PCell in a new layoutError messgae from CDS.logPCell master layout

    layout_failed

    CDSlog

    layout

    ModifyRepeat_inX

    Define-ModifyInheritedParameters

    Edit Parameters

    This is my first time with images on the forum, so I hope you can see the images.

    Mohit
    Filed under: ,
    • Post Points: 5
  • Mon, Apr 9 2012 11:14 AM

    • msharma
    • Not Ranked
    • Joined on Fri, Apr 6 2012
    • Posts 8
    • Points 100
    Re: Using Inherited Parameters in PCells Reply

     Andrew,

     

    I posted the screenshots of the PCell creation on Flickr. You can see them here:

    http://www.flickr.com/photos/78766415@N02/with/7051464299/

     

    As for  your question:

    "From what you describe you're expecting the parent pcell to inherit from the child instance, which doesn't make sense - how would the child pcell know what values to use?"

     

    It seems the Cadence software passes the value assigned to width to the inherited PCell. I was able to verify that when using this hierarchical PCell, the width changes to the avlue assigned to each instance. It's when using the parameter width for repetition that the PCell breaks down.

     

    Thanks,

    Mohit

    • Post Points: 20
  • Tue, Apr 10 2012 8:45 AM

    Re: Using Inherited Parameters in PCells Reply

    Mohit,

    From looking at your pictures, it's failing because when the instantiation of the child pcell is happening, it is expecting a string, not a float - although the error message appears to say that it's expecting 2e-12 (not sure why that is). I see that the length is being passed as a string - so I'd have expected the width to be the same type. 

    So my guess (without seeing the actual data) is that you should change the type of width to be a string, and then make your stepping distance in the repetitions equal to cdfParseFloatString(width)/2 .

    If this doesn't help - I'd suggest going via customer support - this kind of thing is much easier if we can see the actual data. As a colleague of mine used to say - "a picture is worth a thousand words, but a database is worth a million"

    Regards,

    Andrew. 

    • Post Points: 5
Page 1 of 1 (5 items)
Sort Posts:
Started by msharma at 05 Apr 2012 09:32 PM. Topic has 4 replies.