Hello everyone. I'm new to the open pdk (skywater130 pdk) technology and I'm currently facing some s...
e

Emmanuel Innocent

over 2 years ago
Hello everyone. I'm new to the open pdk (skywater130 pdk) technology and I'm currently facing some simulation issues. After installation I tried designing a simple CMOS inverter(screenshot of the schematics is attached) to get used to the software commands and interface. When I tried simulation I got this error message:
Error: 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.