Displaying CDF parameter based on cell type?

P

Paul Shepherd

Guest
I have a cell with layout and schematic views. In the layout view, I
have some boolean properties that define whether it automatically
connects the gates for you on a multi-fingered transistor. Since I
have these defined as CDF data, they appear when using the schematic
view of the cell as well. I would like to change the "Display
Condition" in the Edit CDF dialog box to evaluate as 'nil' when the
viewtype is not a layout one. Can anyone suggest a skill function to
query the current cellview type to do a logical compare on this?

Thanks,
Paul
 
On May 26, 10:52 am, Paul Shepherd <psh...@gmail.com> wrote:
I have a cell with layout and schematic views. In the layout view, I
have some boolean properties that define whether it automatically
connects the gates for you on a multi-fingered transistor. Since I
have these defined as CDF data, they appear when using the schematic
view of the cell as well. I would like to change the "Display
Condition" in the Edit CDF dialog box to evaluate as 'nil' when the
viewtype is not a layout one. Can anyone suggest a skill function to
query the current cellview type to do a logical compare on this?

Thanks,
Paul
hiGetCurrentWindow()~>cellView~>cellViewType == "maskLayout"
 
On May 29, 10:06 am, Dennis Higgins <imir...@gmail.com> wrote:
On May 26, 10:52 am, Paul Shepherd <psh...@gmail.com> wrote:

I have a cell with layout and schematic views. In the layout view, I
have some boolean properties that define whether it automatically
connects the gates for you on a multi-fingered transistor. Since I
have these defined as CDF data, they appear when using the schematic
view of the cell as well. I would like to change the "Display
Condition" in the Edit CDF dialog box to evaluate as 'nil' when the
viewtype is not a layout one. Can anyone suggest a skill function to
query the current cellview type to do a logical compare on this?

Thanks,
Paul

hiGetCurrentWindow()~>cellView~>cellViewType == "maskLayout"
It did the trick. Thanks!
Paul
 

Welcome to EDABoard.com

Sponsor

Back
Top