I'm trying to read a GDS file in magic and I see t...
# magic
j
I'm trying to read a GDS file in magic and I see the following error. Error while reading cell "sky130_fd_sc_hd__a22oi_4" (byte position 202288): Unknown layer/datatype in boundary, layer=236 type=0. Could someone help?
m
@Janani Aravind There appear to be layers in the standard cell library GDS that are not defined in the magic GDS import rules. Even though it says
Error ...
, it is actually a warning and is ignored. You can check the layers actually used at https://skywater-pdk.readthedocs.io/en/latest/rules/layers.html (search for
Layout Data Name & GDSII No.
) Layer 236:0 is not defined. @Tim Edwards is there any way to add these unknown layers to the magic tech file to avoid the warnings?
j
@Mitch Bailey Thank you. I will check
t
@Mitch Bailey: Yes, there is, but I have never added that one because SkyWater has never documented it.
For the record, though, the "cifinput" section just needs to have, say, "ignore UNKNOWN" at the top and "calma UNKNOWN 236 0" at the bottom, where "UNKNOWN" is just an arbitrary name given to the layer:purpose pair.
j
@Tim Edwards Thank you. This helps a lot