Hi folks,
is there a way to convert LTspice .sub files to .lib or .mod files for usage in the kicad spice simulator?
I'm particularly interested in the LT3042.sub as I couldn't find any .lib or .mod files for the LT3042.
is there a way to convert LTspice .sub files to .lib or .mod files for usage in the kicad spice simulator?
I'm particularly interested in the LT3042.sub as I couldn't find any .lib or .mod files for the LT3042.
KiCad should be happy enough with a .sub file. If it doesn't work including it through the GUI, try putting a
.include
line in a text item on the schematic.Hi Jeff,
thanks for your quick reponse!
just quickly tried this and there seems to be a change. Got the error:
Error: ngspice.dll cannot recover and awaits to be detached
******
** ngspice-36 shared library
** Creation Date: Sat Jan 1 18:54:42 UTC 2022
******
Does this mean that kicad is searching for the ngspice.dll, which will obviously fail under linux?
thanks for your quick reponse!
just quickly tried this and there seems to be a change. Got the error:
Error: ngspice.dll cannot recover and awaits to be detached
******
** ngspice-36 shared library
** Creation Date: Sat Jan 1 18:54:42 UTC 2022
******
Does this mean that kicad is searching for the ngspice.dll, which will obviously fail under linux?
No, that means it found ngspice.dll (KiCad has one built in), but the dll crashed.
ngspice is currently on 39, though it just came out in the last couple of days. There were crash fixes in 37 and 38, so it might help to update.
You could also archive your project (under the File menu in the project window) and then post it in a new issue on GitLab. https://gitlab.com/kicad/code/kicad/-/issues
I could take a look in more detail then...
ngspice is currently on 39, though it just came out in the last couple of days. There were crash fixes in 37 and 38, so it might help to update.
You could also archive your project (under the File menu in the project window) and then post it in a new issue on GitLab. https://gitlab.com/kicad/code/kicad/-/issues
I could take a look in more detail then...
Thanks for your help so far!
I have currently several projects that I'm actively working on so a RC version is out of the question just to fool around with the simulator 🙂
But I just build ngspice 39 from source, how can I replace the dll that comes with kicad?
I have currently several projects that I'm actively working on so a RC version is out of the question just to fool around with the simulator 🙂
But I just build ngspice 39 from source, how can I replace the dll that comes with kicad?
Well, now that's a good question, but I don't have a clue. Try asking on Kicad.info; I know Holger is active there but other folks may know too.... (And there might even be a FAQ for it; dunno.)
To launch nightly version of a kicad’s binaries, you have to add "-nightly" to the command name:
kicad → kicad-nightly
pcbnew → pcbnew-nightly
eeschema → eeschema-nightly
Does this mean that the nightly build install gracefully besides the stable builds?
If so I would give the nightly builds a try...
- Home
- Design & Build
- Software Tools
- convert LTSpice .sub file to .lib for usage in kicad?