How to get an instantiated cellview in CDF

T

Thomas

Guest
I create a pcell with SKILL. Now I want to know the orient of the
instantiated cell in its CDF callbacks,
so I must first get the ID of the instance. But how?
 
If you are placing an instance rather than editing one, then there is
not yet an instance at all. which instance do you want to
get in this case in your CDF callback?

-jim


Thomas wrote:
I create a pcell with SKILL. Now I want to know the orient of the
instantiated cell in its CDF callbacks,
so I must first get the ID of the instance. But how?
 
Wat do you want ot do with the orientation in the CDF callback?

Bernd

Thomas wrote:
I create a pcell with SKILL. Now I want to know the orient of the
instantiated cell in its CDF callbacks,
so I must first get the ID of the instance. But how?
 
When I am creating one instance, the ID must be
nil and I can simply use the default
orientation.
Then if I edit the parameter of the cell, I need to know the ID of the
instance.

Jimkawrote:
If you are placing an instance rather than editing one, then there
is
not yet an instance at all. which instance do you want to
get in this case in your CDF callback?

-jim
 
Just for display.
I shall give a description of my pcell. It is a MOS capacitor array
include two of the following parameters:
col and
[i:d757e1d54a]row[/i:d757e1d54a]. The two parameters' CDF prompts are
Columns and
[b:d757e1d54a]Rows[/b:d757e1d54a] separately. While an instance is
placed with a rotation of 90 degree,
[b:d757e1d54a]Columns[/b:d757e1d54a] becomes
[b:d757e1d54a]Rows[/b:d757e1d54a] and
[b:d757e1d54a]Rows[/b:d757e1d54a] becomes
[b:d757e1d54a]Columns[/b:d757e1d54a]. It seems that the prompt of a
CDF parameter is not allowed to be changed, so I set up a pair of
shadow parameters: [i:d757e1d54a]col_r[/i:d757e1d54a] and
[i:d757e1d54a]row_r[/i:d757e1d54a]. They should be displayed olny
when the instance has a rotation (R90 R270 MXR90 MYR90) and their
corresponding promts are [b:d757e1d54a]Columns[/b:d757e1d54a] and
[b:d757e1d54a]Rows[/b:d757e1d54a], while the first two parameters are
made to appear only when the instance without any rotation. The
value of these parameters are synchronized with callbacks but the
instance ID is needed to determine its orientation.
My intention is simply to make my pcell a little more perfect.

Bernd Fischerwrote:
Wat do you want ot do with the orientation in the CDF callback?

Bernd
 
geGetSelSet( ) returns a list of dbId's of selected sets including
instances.
But that's the point form my perspective, what about if
the user selects two ore more instances of the PCell and want to modify
the parameter for all together (this is possible in the edit prop
form with the Common option)???
Then you need to process more than one instance dbId's, in a CDF callback
.... hmm?

In my opinion a user should be smart enough to know if the orientation is 90^
that rows are columns etc..


Bernd

Thomas wrote:
Just for display.
I shall give a description of my pcell. It is a MOS capacitor array
include two of the following parameters:
col and
[i:d757e1d54a]row[/i:d757e1d54a]. The two parameters' CDF prompts are
Columns and
[b:d757e1d54a]Rows[/b:d757e1d54a] separately. While an instance is
placed with a rotation of 90 degree,
[b:d757e1d54a]Columns[/b:d757e1d54a] becomes
[b:d757e1d54a]Rows[/b:d757e1d54a] and
[b:d757e1d54a]Rows[/b:d757e1d54a] becomes
[b:d757e1d54a]Columns[/b:d757e1d54a]. It seems that the prompt of a
CDF parameter is not allowed to be changed, so I set up a pair of
shadow parameters: [i:d757e1d54a]col_r[/i:d757e1d54a] and
[i:d757e1d54a]row_r[/i:d757e1d54a]. They should be displayed olny
when the instance has a rotation (R90 R270 MXR90 MYR90) and their
corresponding promts are [b:d757e1d54a]Columns[/b:d757e1d54a] and
[b:d757e1d54a]Rows[/b:d757e1d54a], while the first two parameters are
made to appear only when the instance without any rotation. The
value of these parameters are synchronized with callbacks but the
instance ID is needed to determine its orientation.
My intention is simply to make my pcell a little more perfect.


Bernd Fischerwrote:

Wat do you want ot do with the orientation in the CDF callback?

Bernd
 
On Mon, 05 Dec 2005 14:57:18 +0100, Bernd Fischer
<""bernd.fischer\"@xignal-A%&HY%$v#&G=.de"> wrote:

geGetSelSet( ) returns a list of dbId's of selected sets including
instances.
But that's the point form my perspective, what about if
the user selects two ore more instances of the PCell and want to modify
the parameter for all together (this is possible in the edit prop
form with the Common option)???
Then you need to process more than one instance dbId's, in a CDF callback
... hmm?

In my opinion a user should be smart enough to know if the orientation is 90^
that rows are columns etc..


Bernd
And also the original question that Jim asked - before you create an instance,
there is no instance yet; the default orientation is not going to be valid if
you're choosing to place it rotated. I personally think it would be very
confusing to have the rows and columns keep changing... especially if it didn't
do it consistently.

Andrew.
 

Welcome to EDABoard.com

Sponsor

Back
Top