iic-jku / IIC-OSIC-TOOLS

IIC-OSIC-TOOLS is an all-in-one Docker image for SKY130/GF180/IHP130-based analog and digital chip design. AMD64 and ARM64 are natively supported.
Apache License 2.0
302 stars 51 forks source link

GDS files empty in magic when edited with klayout #6

Closed w32agobot closed 1 year ago

w32agobot commented 1 year ago

Describe the bug GDS files can not be viewed with magic if they were edited with klayout

To Reproduce Preparation:

Check if gds can be opened with magic

Force issue:

Check again if gds can be opened with magic

Expected behavior Magic can open the modified gds file

Environment:

Additional context

hpretl commented 1 year ago

This might be related to this issue, to be further investigated: https://github.com/KLayout/klayout/issues/1279

w32agobot commented 1 year ago

I tiried to workaround by: copy /headless/.klayout/tech/sky130 in 2022.12 paste /headless/.klayout/tech/sky130 in latest

The warning is gone but magic still can't display the modified gds file.

In 2022.12 the folder /headless/.klayout/tech/sky130 with sky130.lyp exists, but in latest it does not. I suspect there's information about the sky130 path embedded in the openLane-generated gds file (see file - layout properties and tools - manage technologies), therefore klayout still searches for sky130.lyp despite the command line option

hpretl commented 1 year ago

I think I have found the issue, will try a patch of the klayout techfiles.

hpretl commented 1 year ago

Closed, for explanation see here https://github.com/RTimothyEdwards/magic/issues/221