Hello everyone. I'm trying klayout tutorial with ...
# klayout
y
Hello everyone. I'm trying klayout tutorial with simple inverter layout. DRC is done. Now I want to run LVS, but error message in photo happened. 〇Error Message NameError: uninitialized constant MyMacro::MinedaLVS /home/harada/.klayout/salt/OpenRule1um/tech/tech/macros/get_reference.lym6️⃣in '<module:MyMacro>' /home/harada/.klayout/salt/OpenRule1um/tech/tech/macros/get_reference.lym2️⃣in '<main>' I searched MinedaLVS but no articles are found. Does anyone know how to fix it?
a
@Yomei Harada How did you setup your PDK?
y
@Amro Tork Hello Amro. I did git command at ~/.klayout/salt git clone https://github.com/mineda-support/OpenRule1um.git After that, I activated klayout, and executed "DRC for OpenRule1um" from Tools/DRC. It looks executed and output some errors. Next, I execute "LVS for OpneRule1um" from Tools/LVS. It didn't work like lvs_result.png.
a
y
@Amro Tork Thank you for your reply. I used OpenRule1um because tutorial HP used it. I tried sky130A from volare. But klayout said another error as image. I have already installed gdsfactory, but ModuleNotFoundError happends. Do you know why this happened?
a
Please check with @Mitch Bailey
m
@Yomei Harada Not many people here ask about the mineda pdk. Can you share your klayout gds file and I’ll see if I can duplicate the error.
y
@Mitch Bailey Thank you for your reply. Now I use sky130A pdk instead of Mineda pdk. So could you support to fix gdsfactory error?
m
I don’t know if klayout is using python or python3. Can you try this?
Copy code
pip install gdslayout
Copy code
klayout -y gdsfactory -yd
y
Thank you for your reply. I'm sorry that I didn't say that I had already tried pip install and package install. I tried klayout -y gdsfactory -yd klayout says same error even if I tried to install package. And log message said that error happened in python code. After I made test code for gdsfactory, no error happed in third photo. klayout uses python inside. Doesn't it work?
m
Can you upgrade python and recompile klayout? I don’t know what else to suggest.
y
I got it. Thank you.
👍 1