I'm having problems following the instructions wit...
# openlane
m
I'm having problems following the instructions with open_pdk
image.png
image.png
a
Hi @Matt Venn, according to the instructions in the readme of openlane, you should have both open_pdks and skywater-pdk under pdks so the structure should be as follows:
Copy code
openlane_working_dir
├── pdks
   ├── skywater-pdk
   ├── open_pdks
├── openlane
then all you have to do is go inside open_pdks and run
Copy code
make
make install-local
m
thanks
trying now
gets a bit further I think, but ends with an error (and loads of warnings)
image.png
I run make install-local anyway, which succeeds.
Then in the docker I can run ./flow.tcl -design spm
and that finishes with 10k warnings but no errors
so maybe it's ok that the makefile fails?
a
This is normal because it tries to search for all variants and all types of cells, while for example in the screen you see it can't find the sky130_fd_io library cells. That's because this library hasn't been added yet to the skywater-pdk. Also if you only installed one library/pdk-variant from the skywater-pdk it will still look for others and will not find them, which is normal. We will work on that on later versions of open_pdks and try to make the Makefile more targeted. However, as long as under open_pdks/sky130/sky130A/libs.ref/lib/<library name>/ you find the .lib files, then it probably finished successfully
Can you show me an example of the warnings?
m
yes I only installed 1 variant
re warnings, anything in particular? looks like they are spread between 7 directories
a
@User: I assume you're referring to:
Copy code
Extracting spm into spm.ext:
Completed 5%
Completed 10%
Completed 16%
Completed 21%
Completed 26%
Completed 31%
Completed 36%
Completed 41%
Completed 47%
Completed 52%
Completed 57%
Completed 62%
Completed 67%
Completed 72%
Completed 78%
Completed 83%
Completed 88%
Completed 93%
Completed 98%
Completed 100%
spm: 12417 warnings
Total of 12417 warnings.
Those are very verbose magic warnings; as long as there are no fatal errors, there's nothing to worry about.
👍 1
n
Hi @Matt Venn.. can u share a snap of ur "docker run" command? Just want to verify the mount volumes. My pdks volume seems empty.
m
hi @Nickson Jose - is this what you wanted?
n
Hi @Matt Venn..this is from inside the container right? Can u send me the snap of "docker run" command which u executed from the linux terminal?
m
I just copied this exactly from the instructions
n
And u executed the above command from ~/openlane_working_dir/ path?
m
yes, so I have the openlane directory and the pdks directory
I guess your directory structure isn't correct
n
Had initially suspected that..but the structure seems fine..hope the below pic is clear
IMG_20200724_144401__01.jpg
m
image.png
did you do make install-local in open_pdks?
n
Yeah
m
sanity check
maybe something went wrong with git cloning the submodules for the pdk inside open_pdks?
sorry, I'm a newbie myself. I'd probably try trashing it all and following the instructions again
n
@Matt Venn..thanks a lot.. I can see huge difference in file count compared to urs..I will try implementing the flow once again
IMG_20200724_145406__01.jpg
m
well that's not too much of a difference!