I build the PDK through caravel_user_project_examp...
# sky130
z
I build the PDK through caravel_user_project_example by running the make pdk command, but the mag folder is empty after successful MAKE? Any suggestions why is this so? pdks/sky130A/libs.ref/sky130_fd_sc_hd/mag
t
I'm not sure. I just made a fairly big update to open_pdks yesterday, but I think that the user project example Makefile pulls a specific version of open_pdks, not the latest one. But I'm not sure. There should be a file
pdks/sky130A/.config/nodeinfo.json
. Can you please post it? If you can find where the source code for open_pdks was put, there should be a file
sky130A_make.log
which is probably too big (and too messy) to be worth posting, but may have some clues as to why the layout was not generated.
z
Ya sure posting it here
sky130A_make.log
At the end of the file I can see some python script errors like
Copy code
Warning:  No LEF files found in /home/merl-lab/mpw-two/open_pdks/sky130/sky130A/libs.ref/sky130_sram_macros/lef
Traceback (most recent call last):
  File "../common/foundry_install.py", line 430, in <module>
    sourcedir = option[1]
IndexError: list index out of range
t
Your problem is that your version of magic is a year and a half out of date and predates the entire SkyWater process support. You need to compile magic from source from the git repository, current version 8.3.176. Do not use precompiled versions of magic.
❤️ 1
👀 1
z
Thank you man
Whats this vector font? I didn't find it on google, and I think this is stopping me to make & install magic from source
make.log
t
According to the make.log file, it appears to have completed without issues. Vector fonts would require the libglu library (see the prerequistes on the web page for magic), but is only applicable for OpenGL.
z
So, I installed the vector fonts using this command
Copy code
apt-get install libglu1-mesa libxi-dev libxmu-dev libglu1-mesa-dev
the issue is resolved and I have the magic version $magic --version 8.3.176
t
Great!