It looks like you're new here. If you want to get involved, click one of these buttons!
Hi @Matthias ,
Klayout can export GDS to DEF file? If it is possible so how to do it?
I tried to use "save as" but it is not success because in "write option dialog box" has not DEF format.
Thank you,
dai
Comments
Hi @dai,
we tried doing GDS to DEF export, but that is impossible in the general case.
First, you need net information. You can get that if you have an extraction script which is basically LVS without without the netlist compare part.
But then it is very difficult, if not impossible, to generate DXF geometry from that. GDS is polygon-based while DEF is wire-based. It may be possible in some cases, to do the translation, but those are rare cases. A generic GDS is DEF conversion is not feasible. Plus there are topics like hierarchy etc.
Matthias
I understand.
Thank you, @Matthias
dai
Hi Matthias,
I am working on extracting GDS to an RC file, and I initially tried using OpenRoad (openRCX) for this purpose. However, since this tool requires a DEF file as input, I researched further and found that the Magic tool might be more suitable for this task.
However, I encountered an issue when using Klayout to open a GDS file and saving it as a .mag (Magic format), I noticed that several elements in my layout were missing when I re-open it on klayout.
Could you help me understand why this might be happening?
Thank you,
Dai
Could you provide a test case?
AFAIK, .mag files cannot represent everything that GDS has. I assume you're trying to convert something that cannot be translated.
Do you see any warnings in the log view (File/Log Viewer)?
Matthias
Hi @Matthias
You are right.
My lambda is not match with coordinates in GDS layout file(see attached picture). I changed my lambda so it saved now.
If you can show me how to map layer in gds with layer in tech file of magic tool?
Thank you very much,
dai
I am not sure, but maybe it is easier to import GDS into Magic?
Matthias
Thank you, @Matthias
I think I should do a macro for this.
dai