Open olisnr opened 1 year ago
the problem is gdsfactory.types are changed to gdsfactory.typings... we have to change this in the python code
this fixes this python module name change & the XML-error in sky130A/libs.tech/klayout/pymacros/sky130.lym
if i try to start klayout using the sky130a PDK i get an error:
i can get this error also if i try to run the python code form
/ALL/pdk/sky130A/libs.tech/klayout/tech/sky130A.lyp
it then gives:
`Output exceeds the size limit. Open the full output data in a text editor
ModuleNotFoundError Traceback (most recent call last) Cell In[1], line 9 6 technology_macros_path = os.path.dirname(os.path.abspath(file)) 7 sys.path.insert(0, technology_macros_path) ----> 9 from cells import sky130 11 # Instantiate and register the library 12 sky130()
File /ALL/pdk/sky130A/libs.tech/klayout/pymacros/cells/init.py:21 2 # Copyright 2022 Mabrains LLC 3 # 4 # Licensed under the Apache License, Version 2.0 (the "License"); (...) 17 # ---------------- Pcells Generators for Klayout of sky ---------------- 18 #============================================================================ 20 import pya ---> 21 from cells.vias import vias_gen 23 from .fet import 24 from .diode import
File /ALL/pdk/sky130A/libs.tech/klayout/pymacros/cells/vias.py:20 1 # Copyright 2022 Mabrains LLC 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); ... (...) 35 36 ) -> gf.Component():
ModuleNotFoundError: No module named 'gdsfactory.types'`