list of all lpps

J

Jimka

Guest
Does anyone know how to get a list of all layer-purpose-pairs which are
exist
in a given tech file? I.e., the list of all valid lpps that can be
given to dbCreateRect for
example?

-jim
 
d_techFileId = techGetTechFile( ddGetObj( t_techLibName) )

;; filter the list of layers defined in the technology file for layers
;; with the attribute valid equals true
l_validLayersObjList = setof(
d_layerObjId
d_techFileId~>lps
d_layerObjId~>valid
)

You can further proceed the list and filter what ever you want. I guess.
Is this what you wanted to know? ;-) ?


Bernd

Jimka wrote:
Does anyone know how to get a list of all layer-purpose-pairs which are
exist
in a given tech file? I.e., the list of all valid lpps that can be
given to dbCreateRect for
example?

-jim
 
great thanks... what does it mean for a layer to exist but not be
valid? can i create
temporary shapes in non-valid existing lpps?

-jim


Bernd Fischer wrote:
d_techFileId = techGetTechFile( ddGetObj( t_techLibName) )

;; filter the list of layers defined in the technology file for layers
;; with the attribute valid equals true
l_validLayersObjList = setof(
d_layerObjId
d_techFileId~>lps
d_layerObjId~>valid
)

You can further proceed the list and filter what ever you want. I guess.
Is this what you wanted to know? ;-) ?


Bernd

Jimka wrote:
Does anyone know how to get a list of all layer-purpose-pairs which are
exist
in a given tech file? I.e., the list of all valid lpps that can be
given to dbCreateRect for
example?

-jim
 
what does it mean for a layer to exist but not be
valid? can i create
temporary shapes in non-valid existing lpps?
I'm not quite sure but I think so, try it!
"g_valid
Indicates whether the layer-purpose pair appears in the layer selection
window (LSW)."
Source: Technology File and Display Resource File ASCII Syntax Reference Manual.

At least valid layers can be visible in the layout cellview, because of
the argument "visible", why shouldn't you not to be able using them for
the creation of shapes?
"g_visible
Indicates whether the layer-purpose pair is visible in the display device."

Bernd
 
You can create whatever you like using db functions. The "valid" status affects
the user interface - it won't let you create shapes on that layer, since you
can't select them from the LSW, for example.

Andrew.

On 21 Nov 2006 11:44:33 -0800, "Jimka" <jimka@rdrop.com> wrote:

great thanks... what does it mean for a layer to exist but not be
valid? can i create
temporary shapes in non-valid existing lpps?

-jim


Bernd Fischer wrote:
d_techFileId = techGetTechFile( ddGetObj( t_techLibName) )

;; filter the list of layers defined in the technology file for layers
;; with the attribute valid equals true
l_validLayersObjList = setof(
d_layerObjId
d_techFileId~>lps
d_layerObjId~>valid
)

You can further proceed the list and filter what ever you want. I guess.
Is this what you wanted to know? ;-) ?


Bernd

Jimka wrote:
Does anyone know how to get a list of all layer-purpose-pairs which are
exist
in a given tech file? I.e., the list of all valid lpps that can be
given to dbCreateRect for
example?

-jim

--
Andrew Beckett
Principal European Technology Leader
Cadence Design Systems, UK.
 

Welcome to EDABoard.com

Sponsor

Back
Top