It looks like you're new here. If you want to get involved, click one of these buttons!
I'm getting the following messages
Warning: No mapping for layer 'met2', purpose 'FILL' - layer is ignored
Warning: No mapping for layer 'met3', purpose 'FILL' - layer is ignored
Warning: No mapping for layer 'met4', purpose 'FILL' - layer is ignored
Warning: No mapping for layer 'met5', purpose 'FILL' - layer is ignored
I am trying to figure out the right syntax to use in the lyt's
<reader-options>
<lefdef>
<layer-map>
section. I tried
'met2.fill : 69/28'
'met2.fills : 69/28'
'met2.FILL : 69/28'
'met2.FILLS : 69/28'
but none worked. What is the right magic?
I can make a test case if needed but I'm hoping its obvious what I'm doing wrong.
Thanks!
Comments
This bit is supposed to follow "lyt's" above:
It looks like produce_fills & fills_datatype are the controls I need. The message could give more guidance.
Hi @mliberty,
I suggest that maybe you use a .map file. That is much easier to use than the layer map specification inside the .lyt file. The original idea was to supply some pattern-based layer generation with additional translation, but I guess I messed it up. It is definitely not good for easy authoring.
To use the map file feature, place a ".map" file next to the ".lyt" file (in my case "lefdef.map") listing the layer/purpose to layer/datatype mappings, like the example from here: https://github.com/KLayout/klayout/blob/master/testdata/lefdef/mapfile/all.map.
Then use a .lyt specification of that form:
without a path, the file is looked up relative to the technology file.
Here is a brief description taken from the buddy tool's help text:
Hope this helps.
Matthias
This looks more like a layertable, I like it. Probably a better
thing for PDK which wants to control what layers are and aren't
picked up from a layout (no auto-add or multiple entries sharing
layer & purpose generated by opening a file).
Are there warnings emitted when layers not enumerated,
are found & discarded?
Can a .map be generated from a opened .lyp (other than by
retyping it all)??
Hi @dick_freebird,
unlike the .lyp, the mapping file is based on LEF/DEF layer/purpose pairs, so there is no direct way to translate .lyp to the mapping file.
And yes, a warning is issued if layers are encountered that are not listed in the file.
Matthias