-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LEF/DEF import mixes up layers #700
Comments
@antonblanchard Thanks for the test case. I actually don't see any layer mapping from LEF/DEF to GDS layers inside the tech file. The layer numbers are auto-assigned and 11 is simple the next available layer. To fix this, the tech file needs a LEF/DEF reader layer mapping. This will tell the reader how to translate a layer name/purpose combination from LEF/DEF into GDS layer/datatype. I have attached an enhanced version of the .lyt file, but that's only halfway done. I just included the metal and via layers as far as I could identify them. I assume you took that from somewhere so maybe you can feedback this enhancement request there. The LEF/DEF input layer map is found in the technology manager under "Reader Options", "Layer Mapping" at the bottom of the LEF/DEF tab. Matthias |
@klayoutmatthias thank you for the detailed response, the issue makes sense to me now. The file came from |
I think this is not a KLayout bug, so I'll close this topic for now. Thanks, Matthias |
The following test case shows the
met4
layer ascldntm.mask
: klayout-def-layer-issue.tar.gzIt looks like klayout is truncating the layer numbers and
met4
71 is getting mapped tocldntm.mask
11. If I removecldntm.mask
from the layer properties file,met4
is shown correctly.The text was updated successfully, but these errors were encountered: