[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: newbie opamp blues
No, I didn't look there, I didn't know it existed. But I have since
looked, and although it seems to give a systematic explanation of each
attribute, I'm still unsure what I need to specify in order to get my
opamp to work. When I run gnetlist, I get:
================================================================================
[djlogan@server chapter3]$ gnetlist -g spice-sdb z.sch -o z.cir
Command line passed = gnetlist -g spice-sdb -o z.cir z.sch
gEDA/gnetlist version 20041228
gEDA/gnetlist comes with ABSOLUTELY NO WARRANTY; see COPYING for more
details.
This is free software, and you are welcome to redistribute it under certain
conditions; please see the COPYING file for more details.
Loading schematic [z.sch]
Missing Attributes (refdes and pin number)
Missing Attributes (refdes and pin number)
Missing Attributes (refdes and pin number)
Missing Attributes (refdes and pin number)
Missing Attributes (refdes and pin number)
Missing Attributes (refdes and pin number)
Missing Attributes (refdes and pin number)
Missing Attributes (refdes and pin number)
Missing Attributes (refdes and pin number)
Missing Attributes (refdes and pin number)
Missing Attributes (refdes and pin number)
Missing Attributes (refdes and pin number)
Using SPICE backend by SDB -- Version of 10.9.2004
schematic-type = normal schematic
================================================================================
and my resulting circuit file is:
================================================================================
[djlogan@server chapter3]$ cat z.cir
* gnetlist -g spice-sdb -o z.cir z.sch
*********************************************************
* Spice file generated by gnetlist *
* spice-sdb version 10.9.2004 by SDB -- *
* provides advanced spice netlisting capability. *
* Documentation at http://www.brorson.com/gEDA/SPICE/ *
*********************************************************
U1 unknown
Vl1 5 0 DC -15V
Vr1 4 0 DC 15V
Vin1 3 0 DC 2V
R2 3 2 10k
R1 2 1 20k
.END
================================================================================
The pins themselves aren't numbered on the "opamp-1.sym" part in analog.
But obviously it's not set up to be the opamp standard, I have to
specify that. I just don't know how to specify that.
When I tried using another opamp part that seemed to be more complete, I
got less errors, but still got errors. If I replace the "opamp-1" with
"aop-std", and I run gnetlist, I get:
================================================================================
[djlogan@server chapter3]$ gnetlist -g spice-sdb z.sch -o z.cir
Command line passed = gnetlist -g spice-sdb -o z.cir z.sch
gEDA/gnetlist version 20041228
gEDA/gnetlist comes with ABSOLUTELY NO WARRANTY; see COPYING for more
details.
This is free software, and you are welcome to redistribute it under certain
conditions; please see the COPYING file for more details.
Loading schematic [z.sch]
Using SPICE backend by SDB -- Version of 10.9.2004
schematic-type = normal schematic
Invalid wanted_pin passed to get-nets [unknown]
Invalid wanted_pin passed to get-nets [unknown]
================================================================================
and my circuit file is:
================================================================================
[djlogan@server chapter3]$ cat z.cir
* gnetlist -g spice-sdb -o z.cir z.sch
*********************************************************
* Spice file generated by gnetlist *
* spice-sdb version 10.9.2004 by SDB -- *
* provides advanced spice netlisting capability. *
* Documentation at http://www.brorson.com/gEDA/SPICE/ *
*********************************************************
U1 0 2 5 unknown
Vl1 5 0 DC -15V
Vr1 4 0 DC 15V
Vin1 3 0 DC 2V
R2 3 2 10k
R1 2 1 20k
.END
================================================================================
I know I'm failing to do something correctly, but what would that
something be? In pspice, whatever it is is already done. I just poke in
the opamp, and everything comes out. In that software though, I have to
specify an actual opamp, such as a ua741, which I have been unable to
find in the geda parts list.
David Logan
Stuart Brorson wrote:
Hi David --
Did you look here? --
http://www.geda.seul.org/docs/current/index.html
Look at the bottom of the page for info about attributes.
BTW: Which "it" tells you that you have missing attributes?
Gnetlist?
For "refdes" double click on the part and edit U? to read U1, or
something like that.
For "pinnumber", you need to edit the symbol so that it has
pinnumbers. However, not all netlisters need the pinnumber (IIRC), so
I am curious what command -- and what command flags -- you are using
to get the error message.
Stuart
Good morning.
How do I find out what to specify in gschem or after a gnetlist so that
I may use the opamp? It tells me
"Missing Attributes (refdes and pin number)"
a whole bunch of times. But so far, I have had no luck in finding any
documentation that explains how to specify what I need to specify.
David Logan