cellview selection in CDF

G

Gerd

Guest
Hello,

I have the case where i want be able to select the name of an
instantiated cellview in the CDF description. For example, i have one
cell 'pmos' with two underlying cellviews called 'layout' and
'rflayout'. Both are pcells generated from skill and they have some
common and some non-common parameters. To make some distinction between
these parameters upon instantiation of cell 'pmos' in a layout, i'm
writing 'pmos' CDF on top of these pcells, but i can't seem to
correctly display parameters for 'layout' or 'rflayout' instances. I'm
thinking i can't use
?display "deGetViewType()==\"maskLayout\""

because both are of type 'maskLayout', so i used
?display "deGetCellView()->viewName==\"layout\""
?display "deGetCellView()->viewName==\"rfayout\""

but this doesn't work either (only the "layout" parameters are
displayed). Is this because deGetCellView() refers to the top level
cell (which is "layout") and not to the instance?
Does anyone have a solution for this?

thanks,
Gerd
 
Hi Gerd,

On 10 Oct 2005 06:07:07 -0700, "Gerd" <gerdbeeckman@yahoo.com> wrote:

Hello,

I have the case where i want be able to select the name of an
instantiated cellview in the CDF description. For example, i have one
cell 'pmos' with two underlying cellviews called 'layout' and
'rflayout'. Both are pcells generated from skill and they have some
common and some non-common parameters. To make some distinction between
these parameters upon instantiation of cell 'pmos' in a layout, i'm
writing 'pmos' CDF on top of these pcells, but i can't seem to
correctly display parameters for 'layout' or 'rflayout' instances. I'm
thinking i can't use
?display "deGetViewType()==\"maskLayout\""

because both are of type 'maskLayout', so i used
?display "deGetCellView()->viewName==\"layout\""
?display "deGetCellView()->viewName==\"rfayout\""

but this doesn't work either (only the "layout" parameters are
displayed). Is this because deGetCellView() refers to the top level
cell (which is "layout") and not to the instance?
Does anyone have a solution for this?

thanks,
Gerd
You can't reliably do this, because when you're doing an Add Instance, the
instance doesn't exist yet - so there is nothing to refer to. Whilst
potentially you might be able to get the view name from the form, this is not
safe either, since the form data structure is not necessarily available (in the
same way, at least) from all different methods (schematic and layout, add
instance, and edit properties).

There is a PCR (at least one) asking for a callback on the
libName/cellName/viewName fields of the form - which might potentially allow you
to do this.

Anyway, I can't think of a clean way of doing this which doesn't end up being a
hack. Whilst I don't generally recommend CDF callbacks for deriving data, these
are for display purposes only - but even so, I don't think it's that easy to do.

Regards,

Andrew.
 
Thanks, Andrew.
What do you mean by PCR?
Anyhow, i think i'll end up making a separate cell for the rf layout.

regards,
Gerd.
 
On 11 Oct 2005 01:03:06 -0700, "Gerd" <gerdbeeckman@yahoo.com> wrote:

Thanks, Andrew.
What do you mean by PCR?
Product Change Request. It's our internal system used to track change requests
in the products.

Andrew.

Anyhow, i think i'll end up making a separate cell for the rf layout.

regards,
Gerd.
Yes, that's probably what I'd do.

Andrew.
 

Welcome to EDABoard.com

Sponsor

Back
Top