Mon Jan 10 09:49:19 EST 2011
Let's try to get spice working. I have a schematic of a one-pole
variable lowpass filter I'd like to get simulated.
- Transistor / Diode models
- Voltage source specification
- Output meter?
For the models it seems spicelib is the appropriate tool: it
downloads spice models from manufacturer's sites and patches them to
work with ngspice.
So, how to install? The file geda-parts.scm is not installed on my
system. Seems like it's not in Debian and has to be installed
manually. Ah, it's in apha state. Here it goes:
tar xf spicelib-0.0.3.tar.gz
make # starts downloads
Then it fails at:
rm -rf model_library/nxp/diodes
mkdir -p model_library/nxp/diodes
cp unpack/nxp/diodes/* model_library/nxp/diodes
patch -d model_library/nxp/diodes/ -p1 < model_patches/nxp_diodes.patch
patching file BAS16H.prm
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file BAS16H.prm.rej
patching file BZV85-C33.prm
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
2 out of 2 hunks ignored -- saving rejects to file BZV85-C33.prm.rej
patching file PDZ4.7B.prm
make: *** [create_nxp_diodes] Error 1
Seems like this needs some more attention..