User Tools

Site Tools


geda:faq-simulation

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
geda:faq-simulation [2012/03/10 15:34]
vzh Spelling + fix quotes
geda:faq-simulation [2014/04/18 08:18] (current)
vzh Add links to translations
Line 1: Line 1:
 +//​Translations of this page are also available in the following languages://​ [[faq-simulation.fr|Français]],​ [[faq-simulation.ru|Русский]].
 +
 ====== Simulation ====== ====== Simulation ======
  
Line 14: Line 16:
  
 As it turns out, this goal was partially met – with tclspice you can indeed do something like this: As it turns out, this goal was partially met – with tclspice you can indeed do something like this:
-<​code>#​! tclsh  +<​code>#​! tclsh 
-package require spice  +package require spice 
-spice::​codemodel /​usr/​local/​src/​tclspice-0.2.12/​src/​xspice/​icm/​spice2poly.cm ​+spice::​codemodel /​usr/​local/​src/​tclspice-0.2.12/​src/​xspice/​icm/​spice2poly.cm
  
 spice::​source netlistname.cir spice::​source netlistname.cir
Line 31: Line 33:
 There are only very few open source models made available by enthusiasts. This is why there is no extensive library of models included in the gnucap or ngspice package. If you rolled your own and feel like contributing to the project, this would be an excellent opportunity (hint, hint...). There are only very few open source models made available by enthusiasts. This is why there is no extensive library of models included in the gnucap or ngspice package. If you rolled your own and feel like contributing to the project, this would be an excellent opportunity (hint, hint...).
  
-Although many manufacturers provide SPICE models free of charge, they keep the license proprietary. This means, that the models can't be distributed with the gEDA suite. In addition, different implementations of SPICE have slightly different ideas about the correct syntax. As a consequence,​ some models as supplied by the manufacturer need to be tweaked to work with specific implementation. ​+Although many manufacturers provide SPICE models free of charge, they keep the license proprietary. This means, that the models can't be distributed with the gEDA suite. In addition, different implementations of SPICE have slightly different ideas about the correct syntax. As a consequence,​ some models as supplied by the manufacturer need to be tweaked to work with specific implementation.
  
 Spicelib provides a way to receive models tweaked for gnucap and ngspice. It is a set of scripts that will fetch vendors'​ models directly from the source, solving the redistribution problem. Then it will patch them for compatibility with gnucap and ngspice. You can download spicelib from [[http://​www.h-renrew.de/​h/​spicelib/​doc/​index.html]]. Spicelib provides a way to receive models tweaked for gnucap and ngspice. It is a set of scripts that will fetch vendors'​ models directly from the source, solving the redistribution problem. Then it will patch them for compatibility with gnucap and ngspice. You can download spicelib from [[http://​www.h-renrew.de/​h/​spicelib/​doc/​index.html]].
geda/faq-simulation.txt · Last modified: 2014/04/18 08:18 by vzh