Hi All, thank you, <@U01819B63HP> for your respons...
# reram
e
Hi All, thank you, @Stefan Schippers for your response. I mean after cloning the https://github.com/barakhoffer/sky130_ngspice_reram and having the
<http://sky130_fd_pr_reram__reram_module.va|sky130_fd_pr_reram__reram_module.va>
sky130_fd_pr_reram__reram_module.osdi
in the pdk path in the path /home/eda_work/eman/hassan/share/pdk/sky130B/libs.tech/ngspice. Also, the current PKK_ROOT is: export PDK_ROOT=/home/eda_work/eman/hassan/share/pdk. However, I have still has the same error when I tried to simulate the tb_reram available in the path
sch_path: /home/eda_work/eman/hassan/share/pdk/sky130B/libs.tech/xschem/sky130_tests/tb_reram.sch
the error is as the following: Error opening osdi lib "/home/eda_work/eman/hassan/share/pdk/sky130b/libs.tech/ngspice/sky130_fd_pr_reram__reram_module.osdi": No such file or directory! Error: Library /home/eda_work/eman/hassan/share/pdk/sky130b/libs.tech/ngspice/sky130_fd_pr_reram__reram_module.osdi couldn't be loaded! Circuit: ** sch_path: /home/eda_work/eman/hassan/share/pdk/sky130b/libs.tech/xschem/sky130_tests/tb_reram.sch Error on line: n.xr1.n1 top 0 xr1.nfilament sky130_fd_pr_reram__reram_model could not find a valid modelname Simulation interrupted due to error!. I am not sure what I missed and how to fix the issue.
s
The error clearly states that ngspice can not read the osdi file.
/home/eda_work/eman/hassan/share/pdk/sky130b/libs.tech/ngspice/sky130_fd_pr_reram__reram_module.osdi
. Either the file is not there or the directory is not readable by ngspice.
If everything looks OK then ensure you have a very recent ngspice version (rel.40) and that the .osdi file is generated with openvaf on the same machine where you want to run the simulation.