| Author |
Message |
Thomas
Joined: 02 Dec 2005
Posts: 7
|
Posted:
Sat Dec 03, 2005 10:42 am Post subject:
How to get an instantiated cellview in CDF |
|
|
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?
|
|
| Back to top |
|
 |
Jimka
Guest
|
Posted:
Sun Dec 04, 2005 9:10 pm Post subject:
Re: How to get an instantiated cellview in CDF |
|
|
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:
| Quote: | 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? |
|
|
| Back to top |
|
 |
Thomas
Joined: 02 Dec 2005
Posts: 7
|
Posted:
Mon Dec 05, 2005 4:22 am Post subject:
Re: How to get an instantiated cellview in CDF |
|
|
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.
| Jimka wrote: | 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
|
|
|
| Back to top |
|
 |
Bernd Fischer
Guest
|
Posted:
Mon Dec 05, 2005 9:10 am Post subject:
Re: How to get an instantiated cellview in CDF |
|
|
Wat do you want ot do with the orientation in the CDF callback?
Bernd
Thomas wrote:
| Quote: | 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?
|
|
|
| Back to top |
|
 |
Thomas
Joined: 02 Dec 2005
Posts: 7
|
Posted:
Mon Dec 05, 2005 11:32 am Post subject:
Re: How to get an instantiated cellview in CDF |
|
|
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 row. The two parameters' CDF prompts are Columns and Rows separately. While an instance is placed with a rotation of 90 degree, Columns becomes Rows and Rows becomes Columns. It seems that the prompt of a CDF parameter is not allowed to be changed, so I set up a pair of shadow parameters: col_r and row_r. They should be displayed olny when the instance has a rotation (R90 R270 MXR90 MYR90) and their corresponding promts are Columns and Rows, 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 Fischer wrote: | Wat do you want ot do with the orientation in the CDF callback?
Bernd
|
|
|
| Back to top |
|
 |
Bernd Fischer
Guest
|
Posted:
Mon Dec 05, 2005 5:10 pm Post subject:
Re: How to get an instantiated cellview in CDF |
|
|
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:
| Quote: | 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
|
|
|
| Back to top |
|
 |
Andrew Beckett
Guest
|
Posted:
Tue Dec 06, 2005 1:10 am Post subject:
Re: How to get an instantiated cellview in CDF |
|
|
On Mon, 05 Dec 2005 14:57:18 +0100, Bernd Fischer
<""bernd.fischer\"@xignal-A%&HY%$v#&G=.de"> wrote:
| Quote: |
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. |
|
| Back to top |
|
 |
|
|
|
|