Hello,
I am new to KiCad and have been following the tutorial for KiCad Schematic and the ngspice simulation for the OPA1641 op amp.
I found the model library as suggested on TI’s website. The current version is in “sbom627d.zip”
When I run the simulation I keep getting the following error -
Error on line:
a.xu1.x_s1.as_s1 %gd xu1.n2992267 xu1.clamp %gd xu1.n2992267 xu1.clamp xu1.x_s1:a_s1
MIF-ERROR - unable to find definition of model xu1.x_s1:a_s1
After searching the web I found that others had the same problem with KiCad 7 as described below (between the lines of asterisks) -
@DonHaig-k9b
I have been following your tutorials. Thank you for posting them! When I get to the transient simulation in this tutorial it throws the following error: Error on line 0 : a.xu1.x_s1.as_s1 %gd xu1.n2992267 xu1.clamp %gd xu1.n2992267 xu1.clamp xu1.x_s1:a_s1 MIF-ERROR - unable to find definition of model xu1.x_s1:a_s1 Error: circuit not parsed. Error: vector time not found! Error: vector time not found! As I am new to using this tool, I am at a loss. What am I missing? (KiCad 8 on Ubuntu 22.04) Thanks again.
@DonHaig-k9b
For others who may run into this issue. I upgraded from KiCad 7 to Kicad 8 using: sudo add-apt-repository ppa:kicad/kicad-8.0-releases sudo apt update sudo apt install kicad The following commands resolved the issue: sudo apt remove “ngspice” sudo apt install kicad Thank you to dsa-t on the KiCad Info Forum for the answer
@yusufferhatyilman6962
@DonHaig-k9b ran into the same issue, this fixed the problem. thx
Seems the problem was fixed in KiCad 8. The version I am using is the latest -
Version: 9.0.4-9.0.4-0~ubuntu24.04.1, release build
Has the fix in V8 not been applied to V9?
Any help will be appreciated to get past this stumbling block and build confidence in the use of KiCad.
Thanks.