[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-user: geda-spice problem
Hello there,
I have installed the geda-spice in my /usr/share/gEDA/models/
$ ls /usr/share/gEDA/models/
AnalogDevices diodes LinearTech t2n3904.inc ua741.inc
bjt jfets MakeLTCModels.pl MakeLTCSubckts.pl mos
t2n3906.inc
I created a schematic to try out whether these models work or not by
following an online tutorial.
however it is not working fine with ngspice
see my my_schematic.sch, it is attached to this mail!
$ gnetlist -g spice my_schematic.sch
(since spice-sdb is not working)
$cat output.net
* Spice netlister for gnetlist
R2 2 1 100K
UOA1 0 2 5 4 1 UA741
R1 3 2 10K
Vcc 5 0 DC 12V
Vin 3 0 sin 0 1 1KHZ
Vee 4 0 DC -12V
.END
$ngspice output.net
[...] I got this
Circuit: * Spice netlister for gnetlist
Error on line 3 : uoa1 0 2 5 4 1 ua741
unable to find definition of model 4 - default assumed
unknown parameter (ua741)
i don't know what is wrong, perhaps someone can point it to me.
regards,
nano
v 20061020 1
C 40000 40000 0 0 0 title-B.sym
C 48400 42800 1 0 0 resistor-1.sym
{
T 48700 43200 5 10 0 0 0 0 1
device=RESISTOR
T 48600 43100 5 10 1 1 0 0 1
refdes=R2
T 48400 42800 5 10 1 0 0 0 1
value=100K
T 48400 42800 5 10 1 0 0 0 1
model=RES
}
C 46700 46000 1 0 0 resistor-1.sym
{
T 47000 46400 5 10 0 0 0 0 1
device=RESISTOR
T 46900 46300 5 10 1 1 0 0 1
refdes=R1
T 46700 46000 5 10 1 0 0 0 1
value=10K
T 46700 46000 5 10 1 0 0 0 1
model=RES
}
C 44800 46400 1 270 0 vsin-1.sym
{
T 45450 45700 5 10 1 1 270 0 1
refdes=Vin
T 45650 45700 5 10 0 0 270 0 1
device=vsin
T 45850 45700 5 10 0 0 270 0 1
footprint=none
T 45250 45700 5 10 1 1 270 0 1
value=sin 0 1 1KHZ
}
C 49000 48200 1 180 0 vdc-1.sym
{
T 48300 47550 5 10 1 1 180 0 1
refdes=Vee
T 48300 47350 5 10 0 0 180 0 1
device=VOLTAGE_SOURCE
T 48300 47150 5 10 0 0 180 0 1
footprint=none
T 48300 47750 5 10 1 1 180 0 1
value=DC -12V
}
C 48400 44500 1 0 0 vdc-1.sym
{
T 49100 45150 5 10 1 1 0 0 1
refdes=Vcc
T 49100 45350 5 10 0 0 0 0 1
device=VOLTAGE_SOURCE
T 49100 45550 5 10 0 0 0 0 1
footprint=none
T 49100 44950 5 10 1 1 0 0 1
value=DC 12V
}
C 44300 46200 1 270 0 gnd-1.sym
C 47700 46600 1 270 0 gnd-1.sym
C 48800 48600 1 180 0 gnd-1.sym
C 48600 44000 1 0 0 gnd-1.sym
N 48200 46100 47600 46100 4
N 46000 46100 46700 46100 4
N 44800 46100 44600 46100 4
N 48000 46500 48200 46500 4
N 48700 45700 48700 45900 4
N 48700 44300 48700 44500 4
N 48400 42900 47800 42900 4
N 47800 42900 47800 46100 4
N 49300 42900 50100 42900 4
N 50100 42900 50100 46300 4
N 50100 46300 49200 46300 4
N 48700 46700 48700 47000 4
N 48700 48200 48700 48300 4
C 48200 45900 1 0 0 aop-spice-1.sym
{
T 49250 46050 5 8 0 0 0 0 1
device=AOP-Standard
T 48900 46700 5 10 1 1 0 0 1
refdes=UOA1
T 48200 45900 5 10 1 0 0 0 1
file=/usr/share/gEDA/models/ua741.inc
T 48200 45900 5 10 1 0 0 0 1
model-name=UA741.inc
T 48200 45900 5 10 1 0 0 0 1
value=UA741
T 48200 45900 5 10 0 1 0 0 1
netname=
}
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user