User Tools

Site Tools


kicad:using_arbitrary_spice_engines_in_kicad_5

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
kicad:using_arbitrary_spice_engines_in_kicad_5 [2018/09/09 14:33] mithatkicad:using_arbitrary_spice_engines_in_kicad_5 [2018/10/17 15:22] mithat
Line 1: Line 1:
 ====== Using Arbitrary SPICE Engines in KiCad 5 ====== ====== Using Arbitrary SPICE Engines in KiCad 5 ======
  
-Simulation support in KiCad 5 has been significantly reworked to make it a better simulation platform. One casualty of this is that the OldWays no longer work((At least not on my Debian sid system)). In particular, when KiCad generates ''*cir'' files, it no longer prepends ''-PSPICE''/''-GNUCAP'' nor appends ''+PSPICE''/''+GNUCAP'' text blocks found on your schematic to the file. But it does add a ''.title'' directive to the file that my simulator doesn'understand and chokes on.+Simulation support in KiCad 5 has been significantly reworked to make it a better simulation platform. However, you might have a lot of SPICE projects that you created in KiCad 4, and reworking them to fit the way things work in KiCad 5 might be more work than you want to undertake. Also, you might be running KiCad on Debian system, which (as of this writing[[http://kicad-pcb.org/download/debian/#_build_from_source| doesn'have]] the new simulation support.
  
-I have a lot of simulations I built under KiCad 4 that I still want to use. So I hacked together a bash script that makes it relatively easy to convert KiCad 4 simulations to something that works in KiCad 5. I'm dumping the source code here for now but will probably be moving it to Git[lab|hub] soon.+The UI bits for the OldWays (//Generate netlist// dialog, //Spice// tab, //Run Simulator//) are still there in KiCad 5, but they no longer work the same way((At least not on my Debian sid system)). In particular, when KiCad generates ''*cir'' files, it no longer prepends ''-PSPICE''/''-GNUCAP'' nor appends ''+PSPICE''/''+GNUCAP'' text blocks found on your schematic to the file. But it does add a ''.title'' directive to the file that my simulator doesn't understand and chokes on. 
 + 
 +SoI hacked together a bash script that makes it relatively easy to convert KiCad 4 simulations to something that works in KiCad 5. I'm dumping the source code here for now but may move it to Git[lab|hub] soon.
  
 <file bash simulate.sh> <file bash simulate.sh>
kicad/using_arbitrary_spice_engines_in_kicad_5.txt · Last modified: 2019/01/04 21:41 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki