It looks like you're new here. If you want to get involved, click one of these buttons!
Hi:
I load a gds file with klayout, the layer shows gds number. I need a layer properties file to get the layer name, but how to create such a layer properties file?
I have the layermap file for Virtuoso, where defines the map between layer name/purpose and gds number, like showing below:
M1 drawing 15 0 OASISLayerName:M1 # M1
Is here an automatic way to generate .lyp file? I don't care about the color/strippe/style, just want to get layer name instead of gds number.
Thanks.
Comments
"Creating" the .lyp is just (with an imported layout)
File>Save Layers (or some such - away from the
machines with klayout at present).
Making it all pretty and orderly is a hand editing
job, using either the layer window context / right-click,
or sometimes the Edit>Layers menu branch.
Tedious but only necessary once, to do. I have for a
couple, using the Brand X techfile content and a lot
of cut-n-paste.
A clean import that made the layers "look and feel"
same-same, from Big Iron tools' layer info, would
be sweet (but low leverage, one time like I said).
But I usually mess with foundry layers display
anyway, preferring my own consistent appearance
for various common layers to the "salad" that many
PDKs (made by non-designers, non-layout-people
by all appearances) deliver.
There is a package 'tf_import' that imports a Cadence techfile and creates layer properties based on that data. It also takes in the layermap and display.drf.
You can also download from here:
https://sourceforge.net/projects/klayoutmatthias-tf-import/
Once you've created the layer properties you just need to save them to a '.lyp' file
There are also few posts about this - you can search 'tf_import' in the forum and find them.
Hope this helps.
Hi @blueman_44,
thanks for pointing that out! I need to add that the techfile should be an exported ones. "Hand-written" techfiles are sometimes enhanced with Skill code the script can't digest.
Matthias
@blueman_44, @Matthias:
Thanks for the great solution, I have tried the tf_import package.
But unfortunately, it doesn't work out of box due to some unrecognized characters in the techfile.
I am working on it.
I am working in a company in Global Foundry 22 technology, so I can't share/discuss more details regarding the techfile, sorry for this.
BRs,
Cwings
Like Matthias mentioned, you should be able to dump the techfile through Cadence's technology file manager tool. It will give you the option to select which sections of the techfile to dump. In this case you only need the layerDefinitions dumped (includes techLayers and techDisplays).
Hope this helps.