Emmanuel Innocent
04/22/2023, 4:08 AMError: Could not find include file ../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__tt.pm3.spice
Error: Could not find include file ../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__res_generic_nd.model.spice
Error: Could not find include file ../../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__special_nfet_latch__mismatch.corner.spice
Note: Compatibility modes selected: hs
Circuit: ** sch_path: /home/emmanuel-innocent/designs/examples/inverter.sch
Error: unknown subckt: xm1 inv_out vin 0 0 sky130_fd_pr__nfet_01v8 l=0.15 w=1 nf=1 ad={int((nf+1)/2)*w/nf*0.29} as={int((nf+2)/2)*w/nf*0.29} pd={2*int((nf+1)/2)*(w/nf+0.29)} ps={2*int((nf+2)/2)*(w/nf+0.29)} nrd={0.29/w} nrs={0.29/w} sa=0 sb=0 sd=0 mult=1 m=1
Simulation interrupted due to error!
After I got the message I decided to check the spice subfolder in the skywater130 primitive device folder through the path /usr/local/share/pdk/libs.ref/sky130_fd_pr/spice and I discovered that the spice sub-folder that's suppose to be in the sky130_fd_pr folder is missing.
Maybe that's why ngspice raised the "could not find include file" error.
This seems to have been caused perhaps because one step or the other was skipped during installation of the pdk. But I can say for sure I did not make any mistake during installation because I followed the instructions from the open PDK website ( Open_PDKs ) to compile and install from source.
In fact, I've correctly uninstalled and re-installed the pdk about 3 times now. But I still get similar error. Even when I tried running the pdk simulation examples I still get similar error with model or spice file not being found.
Please I need your assistance to get this problem solved so I can start working with the PDK.
Thank you.Stefan Schippers
04/22/2023, 7:26 AM./configure --enable-sky130-pdk doing make two times before sudo make install fixes the missing paths/files.Mitch Bailey
04/22/2023, 10:10 AMPDK_ROOT is set to a absolute path and not a relative path. Normally, the directory would look like /usr/local/share/pdks/sky130A/libs.ref/sky130_fd_pr. There should be a technology between thee PDK_ROOT and libs.ref.Emmanuel Innocent
04/22/2023, 11:12 AM/usr/local/share/pdks/sky130A/libs.ref/sky130_fd_pr contained only 2 sub-folder (namely mag, and gds). The folders spice , model etc were missing.dlmiles
05/04/2023, 7:51 PMbash-4.2$ bash /data/work/open_pdks/sources/sky130-pdk/env/downloads/Miniconda3-latest-Linux-x86_64.sh -p /data/work/open_pdks/sources/sky130-pdk/env/conda -b -f
PREFIX=/data/work/open_pdks/sources/sky130-pdk/env/conda
Unpacking payload ...
bash-4.2$ echo $?
1
### The exit status here is non-zero causing Make to fail ?
Has someone reported this issue ? The issue being, the installer shell archive has a non-zero exit status without displaying a reason.dlmiles
05/04/2023, 11:23 PMmake more than once, can they confirm if mkdir $HOME/.conda command works without error and that $HOME is writable.
I'd be intested to see the ./configure ... and make ..., command lines and outputs for the scenario it is failing. Thanksdlmiles
05/04/2023, 11:31 PM