cellview selection in CDF
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
cellview selection in CDF

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence
Author Message
Gerd
Guest





Posted: Mon Oct 10, 2005 4:10 pm    Post subject: cellview selection in CDF Reply with quote

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

Back to top
Andrew Beckett
Guest





Posted: Mon Oct 10, 2005 8:10 pm    Post subject: Re: cellview selection in CDF Reply with quote

Hi Gerd,

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

Quote:
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.
Back to top
Gerd
Guest





Posted: Tue Oct 11, 2005 8:10 am    Post subject: Re: cellview selection in CDF Reply with quote

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.

Back to top
Andrew Beckett
Guest





Posted: Tue Oct 11, 2005 12:10 pm    Post subject: Re: cellview selection in CDF Reply with quote

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

Quote:
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.

Quote:
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.
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Contact Us
Powered by phpBB