[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[Fwd: Re: gEDA-user: gschem/gnetlist question]




Ales Hvezda wrote:

Hi,



I am trying to learn how to use gschem and gnetlist but I can not get them to work even for a simple
RLC circuit. Running
gnetlist -g drc rlc.sch -o rlc.txt
on the schematics rlc.sch gives the following output




      I think the first question I need to ask is what do you want to
do with gschem and gnetlist.  That particular command that you are running
(drc or drc2) is running the design rule checker and it seems to be working
okay.



I would like to simulate the workings of a passive filter for a 2-way speaker design.
So, use gschem to produce a schematics of a filter. Use gnetlist to produce a netlist file
in order to use spice. This is my first experience with the geda suite and its various components.
I have to say that I read a whole bunch of tutorials and could not see a single complete example
which did not produce errors when I ran gnetlist -g drc ...
When you say drc or drc2 seems to be working, what do you get for the output when you
execute gnetlist -g drc rlc.sch -o rlc.txt? I get a whole bunch of errors.
I would appreciate if you send me your output file for the circuit rlc.sch.


Both drc and drc2 are in the man file for gnetlist.
I included the output file in the attachment (rlc.txt). Perhaps someone can decipher it for me, to whom I will be grateful.
I can not quite understand which attributes to specify for various components to get my schematics to work.
Does anyone have an example of a simple RLC circuit that works? Or even better, can someone point the mistakes
in the rlc.sch which I include in the attachment?



What do you mean by works? Do you mean simulate? If so, then really should read the spice-sdb tutorial at:




Yes, I mean simulate or produce output without errors. Simulate is perhaps too early to use because
I have yet to get to using spice. I actually read this tutorial. The examples of errors that are given in the tutorial that
one may get using gnetlist are different from the ones I get in my rlc.sch example so I do not know how to proceed.
Thank you for your reply. Hopefully you will be able to answer a few more questions that I asked above.
I feel, if I can just get started with a very simple example than I will be able to consider more complex examples
and eventually simulate my filter.
Zoran



http://www.brorson.com/gEDA/SPICE/t1.html

								-Ales