RE: gEDA-user: simulation advice

2007-04-04 Thread David Kerber
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DJ Delorie Sent: Tuesday, April 03, 2007 4:00 PM To: geda-user@moria.seul.org Subject: Re: gEDA-user: simulation advice I have enough problems with my word processor changing case when I don't want it to, I certainly don't need my

Re: gEDA-user: simulation advice

2007-04-04 Thread DJ Delorie
But I still don't understand why you would want your file system to see myapp.log as being a different file from myApp.log? foo.c is a C program foo.C is a C++ program Which does a Makefile choose first? And yes, gcc cares about case, so don't use wildcards. cvs is a program CVS is a

RE: gEDA-user: simulation advice

2007-04-04 Thread David Kerber
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DJ Delorie Sent: Wednesday, April 04, 2007 10:31 AM To: geda-user@moria.seul.org Subject: Re: gEDA-user: simulation advice But I still don't understand why you would want your file system

Re: gEDA-user: simulation advice

2007-04-04 Thread Samuel A. Falvo II
On 4/4/07, David Kerber [EMAIL PROTECTED] wrote: I guess I should stop arguing this; I can live and work with either one as long as I know what's expected, even if it's not how I would have designed it... It's strongly preferred that .cc be used for C++ programs instead of .C. Even so,

Re: gEDA-user: simulation advice

2007-04-04 Thread Dave McGuire
On Apr 4, 2007, at 10:54 AM, David Kerber wrote: But I still don't understand why you would want your file system to see myapp.log as being a different file from myApp.log? foo.c is a C program foo.C is a C++ program Which does a Makefile choose first? And yes, gcc cares about case, so don't

Re: gEDA-user: simulation advice

2007-04-04 Thread Dave McGuire
On Apr 4, 2007, at 11:21 AM, Samuel A. Falvo II wrote: I guess I should stop arguing this; I can live and work with either one as long as I know what's expected, even if it's not how I would have designed it... It's strongly preferred that .cc be used for C++ programs instead of .C.

RE: gEDA-user: simulation advice

2007-04-04 Thread David Kerber
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Samuel A. Falvo II Sent: Wednesday, April 04, 2007 11:21 AM To: gEDA user mailing list Subject: Re: gEDA-user: simulation advice On 4/4/07, David Kerber [EMAIL PROTECTED] wrote: I guess I

RE: gEDA-user: simulation advice

2007-04-04 Thread Peter Clifton
I agree here; it should keep whatever I type in for the case, and that's the way it has worked since at least windows 2000. What is extra-special annoying (and thank goodness I'm away from Windows now), is you can't rename a file to different case. Windows _refuses_ (because as far as its

RE: gEDA-user: simulation advice

2007-04-04 Thread David Kerber
To: gEDA user mailing list Subject: RE: gEDA-user: simulation advice I agree here; it should keep whatever I type in for the case, and that's the way it has worked since at least windows 2000. What is extra-special annoying (and thank goodness I'm away from Windows now), is you can't

Re: gEDA-user: simulation advice

2007-04-04 Thread DJ Delorie
Do you mix your C and C++ projects' source code together like that? I wouldn't. Me, I use *.cc for C++. But, as the creator of DJGPP, I have to deal with all the users who run GCC HELLO.C and can't figure out why it doesn't work right. cvs is a program CVS is a subdirectory for source

RE: gEDA-user: simulation advice

2007-04-04 Thread David Kerber
Thanks; I'm beginning what you're getting at. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DJ Delorie Sent: Wednesday, April 04, 2007 1:37 PM To: geda-user@moria.seul.org Subject: Re: gEDA-user: simulation advice Do you mix your C and C

Re: gEDA-user: simulation advice

2007-04-04 Thread al davis
On Wednesday 04 April 2007 10:54, David Kerber wrote: Do you mix your C and C++ projects' source code together like that?  I wouldn't. It is very common, mostly for using existing code. If you are using C++, there is no advantage in having part of it in C, but it does make sense as a way to

RE: gEDA-user: simulation advice

2007-04-04 Thread David Kerber
That makes sense; thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of al davis Sent: Wednesday, April 04, 2007 3:59 PM To: geda-user@moria.seul.org Subject: Re: gEDA-user: simulation advice On Wednesday 04 April 2007 10:54, David Kerber

Re: gEDA-user: simulation advice

2007-04-03 Thread Patrick Doyle
With gnucap you can use fault, modify, param to interactively change component values. You can also sweep them with the DC command. Spice can sweep sources. Gnucap can sweep any single value. How about .. R1 (2 4) foo param foo=10k op param foo=47l That sounds _exactly_ like what I was

Re: gEDA-user: simulation advice

2007-04-03 Thread al davis
On Tuesday 03 April 2007 09:51, Patrick Doyle wrote: With gnucap you can use fault, modify, param to 1) How would I model a switch? The switch device? Type S. (Same as Spice) 2) Did I forget a switch when I built Gnucap that would enable an X windows plot, or does Gnucap only support

Re: gEDA-user: simulation advice

2007-04-03 Thread Patrick Doyle
3) I fetched the spice model for an MMBT3640 from Fairchild, and saw that my simple circuit loaded up in ngspice, but when I attempt to load it in Gnucap, I get: * gnetlist -g spice-sdb -s -o mictest.ckt mictest.sch .MODEL MMBT3640 PNP LEVEL = 1 IS= 1.41E-15 ISE

Re: gEDA-user: simulation advice

2007-04-03 Thread al davis
On Tuesday 03 April 2007 11:17, Patrick Doyle wrote: ok, attached (perhaps) is a tarball of my work-in-progress directory, including my gschem schematic, my models directory, my Makefile that runs gnetlist (and ngspice).  I just checked before I packaged it up, and my version of Gnucap still

Re: gEDA-user: simulation advice

2007-04-03 Thread Patrick Doyle
The reason it works with ng-spice and not gnucap is that it was written for ng-spice not gnucap. Gnucap doesn't have levels for the BJT unless you use plugins. You uncovered a bug that came about with the plugins -- in how it handles that. The old version would just ignore the level keyword.

Re: gEDA-user: simulation advice

2007-04-03 Thread al davis
On Tuesday 03 April 2007 14:08, al davis wrote:  It still gets a warning on the NK parameter, and ignores it.  That is the same in gnucap or ngspice, or in gnucap with spice3f5 of ngspice models. Actually, it is a one-liner to add the parameter. I don't know what it does. It is probably

Re: gEDA-user: simulation advice

2007-04-03 Thread Patrick Doyle
On 4/3/07, al davis [EMAIL PROTECTED] wrote: On Tuesday 03 April 2007 14:08, al davis wrote: It still gets a warning on the NK parameter, and ignores it. That is the same in gnucap or ngspice, or in gnucap with spice3f5 of ngspice models. Actually, it is a one-liner to add the parameter. I

Re: gEDA-user: simulation advice

2007-04-03 Thread al davis
One more point ... Node names are case sensitive. I suppose I should change it, but that part of the code is planned for major rework anyway, and Verilog is supposed to be case sensitive. ___ geda-user mailing list geda-user@moria.seul.org

Re: gEDA-user: simulation advice

2007-04-03 Thread Patrick Doyle
On 4/3/07, al davis [EMAIL PROTECTED] wrote: One more point ... Node names are case sensitive. I suppose I should change it, but that part of the code is planned for major rework anyway, and Verilog is supposed to be case sensitive. I'm a 20 year Unix veteran. I prefer case sensitivity :-)

RE: gEDA-user: simulation advice

2007-04-03 Thread David Kerber
To: gEDA user mailing list Subject: Re: gEDA-user: simulation advice On 4/3/07, al davis [EMAIL PROTECTED] wrote: One more point ... Node names are case sensitive. I suppose I should change it, but that part of the code is planned for major rework anyway, and Verilog is supposed

Re: gEDA-user: simulation advice

2007-04-03 Thread Patrick Doyle
On 4/3/07, David Kerber [EMAIL PROTECTED] wrote: As a windows user who does java programming (which is case-sensitive), I can understand being used to it, but why would you actually prefer it? habit, comfort, discipline, golly I've never really thought too much about it before. --wpd

Re: gEDA-user: simulation advice

2007-04-03 Thread al davis
On Tuesday 03 April 2007 15:02, Patrick Doyle wrote: I'm a 20 year Unix veteran.  I prefer case sensitivity :-) The issue here is not preference but conformance to a published standard (Verilog) or to an unwritten understanding in Spice. Actually, early versions of Spice (in Fortran) were case

Re: gEDA-user: simulation advice

2007-04-03 Thread Dave McGuire
On Apr 3, 2007, at 3:25 PM, David Kerber wrote: As a windows user who does java programming (which is case- sensitive), I can understand being used to it, but why would you actually prefer it? I can tell you why *I* prefer case-sensitivity. It makes sense. 'A' is simply not the same

Re: gEDA-user: simulation advice

2007-04-03 Thread DJ Delorie
I have enough problems with my word processor changing case when I don't want it to, I certainly don't need my file system doing it too. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

Re: gEDA-user: simulation advice

2007-04-03 Thread Ryan Seal
Dave McGuire wrote: On Apr 3, 2007, at 3:25 PM, David Kerber wrote: As a windows user who does java programming (which is case-sensitive), I can understand being used to it, but why would you actually prefer it? I can tell you why *I* prefer case-sensitivity. It makes sense. 'A' is

Re: gEDA-user: simulation advice

2007-04-03 Thread ldoolitt
On Tue, Apr 03, 2007 at 04:00:24PM -0400, DJ Delorie wrote: I have enough problems with my word processor changing case when I don't want it to, I certainly don't need my file system doing it too. It recently took me five minutes to sweet-talk openoffice into letting me type MHz correctly.

Re: gEDA-user: simulation advice

2007-04-03 Thread Dave McGuire
On Apr 3, 2007, at 4:28 PM, Ryan Seal wrote: As a windows user who does java programming (which is case- sensitive), I can understand being used to it, but why would you actually prefer it? I can tell you why *I* prefer case-sensitivity. It makes sense. 'A' is simply not the same thing

RE: gEDA-user: simulation advice

2007-04-03 Thread David Kerber
Subject: Re: gEDA-user: simulation advice On Tue, Apr 03, 2007 at 04:00:24PM -0400, DJ Delorie wrote: I have enough problems with my word processor changing case when I don't want it to, I certainly don't need my file system doing it too. It recently took me five minutes to sweet-talk

Re: gEDA-user: simulation advice

2007-04-03 Thread ldoolitt
David - On Tue, Apr 03, 2007 at 04:52:52PM -0400, David Kerber wrote: There's a much shallower option to add [MHz] to the dictionary, so it will even correct it next time... Openoffice didn't just show it with a red squiggly underline, it actively changed it as soon as I typed it. How could

Re: gEDA-user: simulation advice

2007-04-03 Thread Patrick Doyle
Since you mentioned it, and I didn't think of it before, it is easy to change it, so I did .. Here's the patch .. in the file d_bjt.model Find: public_keys { NPN polarity=pN; PNP polarity=pP; } Change it to: public_keys { NPN polarity=pN; PNP polarity=pP; NPN1

Re: gEDA-user: simulation advice

2007-04-03 Thread al davis
On Tuesday 03 April 2007 17:05, Patrick Doyle wrote: Speaking of patches, features, and recompiles... I just typed edit at the Gnucap prompt for a somewhat modified, but basically the same netlist as I gave you previously, was rewarded with the netlist showing up in my emacs,  exited out, and

Re: gEDA-user: simulation advice

2007-04-03 Thread Dan McMahill
al davis wrote: On Tuesday 03 April 2007 15:02, Patrick Doyle wrote: I'm a 20 year Unix veteran. I prefer case sensitivity :-) The issue here is not preference but conformance to a published standard (Verilog) or to an unwritten understanding in Spice. Actually, early versions of Spice

Re: gEDA-user: simulation advice

2007-04-03 Thread Michael Sokolov
[EMAIL PROTECTED] wrote: It recently took me five minutes to sweet-talk openoffice into letting me type MHz correctly. Yet another reason to use vi and troff instead of OO. Good thing for me I rarely use word processors of any kind. I'm a TeXhead from way back. So why were you using OO

Re: gEDA-user: simulation advice

2007-04-02 Thread al davis
On Monday 02 April 2007 21:54, Patrick Doyle wrote: OK, now that I have the slightest inkling of an idea of what I'm doing, I thought I would ask for some direction... I want to model a fairly simple circuit consisting of a handful of R's and C's, a transistor, a diode, a couple of