stefanjones
d2ae47441b
Initial revision
2002-11-26 10:11:59 +00:00
pnenzi
a7e1405208
Windows port of Ngspice (Holger Vogt) (part 2)
2002-01-03 22:47:29 +00:00
pnenzi
937e3db647
Holger Vogt Windows port for Ngspice.
2002-01-03 22:44:21 +00:00
pnenzi
6696aac9e6
Updated changelogs
2001-12-14 18:42:56 +00:00
pnenzi
7583d1849e
Applied another bunch of patches sent by CDHW (Charles D.H. Williams). The patches
...
are aimed to close some leaks in the parser.
2001-12-14 18:29:08 +00:00
pnenzi
df54ab497e
Fixed a bug that added a spurios character to vector names like in vxxxx#branch when
...
HAVE_ASPRINTF is not defined.
2001-12-07 21:08:53 +00:00
rouat
d55d6bbc04
misc updates
2001-12-06 19:15:50 +00:00
pnenzi
5347790036
Renamed conflicting functions min,max and d as vecmin, vecmax and vecd
2001-12-06 12:38:10 +00:00
rouat
8385b33bea
Removed useless GNU getopt handlinf in autoconf
2001-12-05 21:33:25 +00:00
rouat
45e21263c1
Fixed bug in gnu getopt handling
...
Made doc more readable
2001-12-04 19:37:56 +00:00
pnenzi
dee7afbfcc
Added --enable-ftedebug option to configure, fixed a bug in configure.in, now HAVE_ASPRINTF
...
gets defined when the function exists, added a comment in postcoms.c
2001-12-02 20:12:56 +00:00
pnenzi
65392b77ff
Modified printnum function to avoid printing bugs and memory leaks.
2001-12-02 10:03:11 +00:00
pnenzi
8fa2d2f361
Cleaned up the code (no more parentheses warning).
2001-12-01 15:14:41 +00:00
pnenzi
6013fda3ba
Fixed a typo. Thanks Charles.
2001-11-27 10:29:51 +00:00
pnenzi
e2e71a7e4d
Applied patches from Charles Williams. The patched code makes error reporting
...
more verbose. In inperror.c makes use of errMsg.
2001-11-27 10:26:25 +00:00
pnenzi
633f489e4c
Update of Changelog file to reflect bsim4 code cleanups.
2001-11-26 16:22:52 +00:00
pnenzi
7fae91cd5f
Some code cleanups and conformed to ngspice device interface.
2001-11-26 16:17:31 +00:00
pnenzi
402eff28a2
Removed EXPERIMENTAL_CODE #define. The code masked by the define was what spice33 manual reproduces what spice3 manual says about TMAX. The old code was simply wrong.
2001-11-25 19:19:05 +00:00
pnenzi
4baa8b0dcf
Applied patch from Richard McRoberts: A bug that most users probably wouldn't
...
encounter occurs in an ac analysis using a linear sweep with only one point.
A rather pathological case.) The original code in acan.c uses a frequency
ncrement of "HUGE" (infinity) which causes a crash when stepping to the second
point. Fixed by making the increment zero, which is tested for in the sweep,
ausing it to terminate correctly after the first point.
2001-11-25 18:28:20 +00:00
rouat
c6d2a20b8f
Changed handling of GNU getopt
2001-11-25 18:11:44 +00:00
pnenzi
7a57ec7b4a
Applied patch: http://newton.ex.ac.uk/teaching/CDHW/Electronics2/userguide/patches10.txt
...
This patch fix a bug that make spice crash if the "where" command is issued
when there are no unconvered nodes to report. While I never had such problem in ngspice,I have applied this, because this version of the function make the output of "where" better.
2001-11-25 17:57:58 +00:00
rouat
84c3d3fbc0
Updated BSIM4 model to latest version (BSIM4.2.1)
2001-11-25 17:56:26 +00:00
pnenzi
fc8956b08c
Added min, max and d(iff) to vectors from code submitted by Routoure.
2001-11-23 18:01:38 +00:00
pnenzi
5cc15682eb
Removed some garbage introduced by CVS.
2001-11-23 08:13:58 +00:00
pnenzi
79bc909c05
Added patch to avoid segfault.
2001-11-22 20:50:14 +00:00
pnenzi
9f2d0d2324
Added patches to fix segfaults
2001-11-22 20:43:36 +00:00
pnenzi
29f5d62f0a
Added patches to fix inital segfault.
2001-11-22 20:25:09 +00:00
pnenzi
4eeeed70fc
Changed seconds unit from S to s (to lower case). Patch from Steven Borley.
2001-06-05 18:02:49 +00:00
pnenzi
609f57ba00
Applied first patch from Steven Borley that fixes memory leaks and errors while reading input decks.
2001-06-05 18:00:28 +00:00
pnenzi
08deeb54f5
Bug fix: braces around wrong subexpression
2001-05-26 14:47:44 +00:00
pnenzi
5ccc72f182
Added Steven patch which consists of a bug fix (= instead of ==) and a new feature (substring search).
2001-05-21 11:33:19 +00:00
pnenzi
0685cf4bb8
EKV support: added a line I forgot in the previous commits.
2001-05-17 20:15:17 +00:00
pnenzi
b8393421a6
Added reference to the www site for ekv model
2001-05-13 18:01:30 +00:00
pnenzi
3d557b762b
First commit for EKV model support (as a not source model).
2001-05-13 13:24:12 +00:00
pnenzi
c099f63794
CKThead structure now allocated dynamically.
2001-05-05 09:54:41 +00:00
pnenzi
e96628b7bd
Linked stag model to the simulator
2001-05-02 20:33:10 +00:00
pnenzi
9332fc213f
Added stag 26 model (as level 62 and M type)
2001-05-02 20:31:09 +00:00
pnenzi
0dae4607a0
Added a patch to csw and sw from Jon Engelbert dealing with negative histeresys
2001-04-25 18:28:20 +00:00
pnenzi
07b5fae7d8
PREDICTOR code works after addeing a varialbe previously removed during code cleaning.
2001-04-25 18:22:20 +00:00
pnenzi
8401f16c5a
Now PREDICTOR code works again, two variables were removed but they were needed for PREDICTOR code.
2001-04-25 18:19:03 +00:00
pnenzi
dff063fd56
Corrected an error in instance structure. Now should work.
2001-04-25 18:15:17 +00:00
pnenzi
01186f3556
Reimported mos9 after running dos2unix, there were some ^M inherited
...
from dos.
2001-04-25 18:01:55 +00:00
pnenzi
b07e35d150
Linked the new devices (mesa hfet1 hfet2) into the ngspice simulator
2001-04-25 17:58:59 +00:00
pnenzi
a2ba74bcac
Added three new devices from macspice3f4 (A. Wilson). These devices are not yet in a usable state. They seems to be partial porting.
2001-04-25 17:50:50 +00:00
pnenzi
913b715c51
This damn dependence hidden in the source. Have modifed the max number of devices
2001-04-22 12:31:57 +00:00
pnenzi
1b7c9386fe
Bug fixes from previous commit.
2001-04-22 10:08:46 +00:00
pnenzi
8551caa8e9
Code to link mos9 and bjt2 and some fixes from last Alan's code.
2001-04-20 07:31:30 +00:00
pnenzi
34d9855db1
bjt2 model import (bjt2 is bjt Modified by Alan Gillespie)
2001-04-20 07:14:04 +00:00
pnenzi
dba228e7dc
Imported mo9 (mos3 modified by Alan Gillespie)
2001-04-20 07:08:08 +00:00
pnenzi
e515e01ede
Second step of the solaris/sparc patch. Added support for getopt function.
...
Automake and Autoconf recognizes if getopt is missing and add the provided code.
2001-04-17 13:35:52 +00:00
pnenzi
87f6f0673b
Applied Dan patches for Solaris. Asprintf is masked by HAVE_ASPRINTF. The check
...
is done by autoconf. getopt path not yet applied.
2001-04-16 09:58:25 +00:00
pnenzi
22acf4b96a
Simple changes from patches to spice 3f4 (G. Roehrich) that restored the drawing of lines and boxes in plot windows in truecolor displays.
2001-04-15 19:32:25 +00:00
pnenzi
72a751f567
Various bug fixes
2001-04-15 10:11:04 +00:00
pnenzi
860df0844a
Fixed a bug left forn Alan's code import.
2001-04-15 10:10:25 +00:00
pnenzi
95fc4b7184
A quick and dirty hack to solve the spice options bug. Will be changed in
...
the future.
2001-04-15 10:09:22 +00:00
pnenzi
fd6d0b0723
Fixed stringutil missing bug.
2001-02-11 20:13:45 +00:00
pnenzi
317c6a2415
Appiled some of dan's patches.
2001-02-11 00:47:21 +00:00
pnenzi
8aa1dc20a8
Bug fix: incorrect definition of CALLOC ifndef HAVE_LIBGC
2001-02-09 23:17:27 +00:00
pnenzi
c68f3470e4
Code cleanup.
2001-02-09 19:46:36 +00:00
pnenzi
6f55975cc0
Code clean up (removed some warning)
2001-02-09 13:27:21 +00:00
pnenzi
d735c9a871
Some code cleanup
2001-02-09 08:18:35 +00:00
pnenzi
f928b61bea
Corrected makefile EXTRA_DIST
2001-02-08 09:39:13 +00:00
pnenzi
9b2a31494a
Documentation update (Alan mail)
2001-02-07 21:38:01 +00:00
pnenzi
1a821f5e9a
Added Alan changes. Reference value plotted in interactive mode.
2001-02-07 15:24:51 +00:00
pnenzi
d0c681c741
spiceif.c contained some garbage from cvs conflict, resnoise.c did not clean INNOIZ
...
and two consecutive noise analyses gave different results.
2001-02-07 15:20:26 +00:00
pnenzi
8b7f406003
Modified CALLOC macro. Now uses calloc if LIBGC is not installed and malloc otherwise.
...
LIBGC provides a malloc that clean the allocated memory.
2001-02-06 18:29:13 +00:00
pnenzi
ef0b33fdde
Removed a bug in the model that caused different results in repeated analyses.
2001-02-06 18:05:18 +00:00
pnenzi
7ec1d5d3d1
Some bux fixes: in ASRC device (B) ASRC ask was not included in interface structure.
2001-01-30 08:43:38 +00:00
pnenzi
507d961b10
Some bug fixes (removed memcpy)
2001-01-30 08:41:18 +00:00
pnenzi
bb56feceff
b4ld.c: some var were declared twice. spiceif.c: bug fix
2001-01-24 17:24:32 +00:00
pnenzi
d5ee2ae512
Removed #ifndef'd (NEWCONV) code
2001-01-24 11:22:13 +00:00
pnenzi
848065cc61
Removed #ifndef'd (NEWCONV) code.
2001-01-24 11:21:36 +00:00
pnenzi
1a1fad9023
Modified handling of MOS number of nodes. BSIMSOI model can have up to 7 nodes.
...
This code is very experimental.
2001-01-24 11:19:39 +00:00
pnenzi
57d805cbf6
Modified noisean.c with the one found into the bsim4 (version 4.1.0) model,
...
hope thet this version does not break anything. Changelog updated.
2001-01-24 11:16:32 +00:00
pnenzi
777a922fd8
Updated model to 4.1.0
2001-01-24 11:11:56 +00:00
pnenzi
27d63941cd
Modified WAT_GC in HAVE_LIBGC
2001-01-23 15:01:58 +00:00
pnenzi
d1d4832b65
odification to parsing function for new device model (BSIM3SOIDD). Prepended
...
ng to binaries and manpages. Online help works again (at least!). Corrected
a bug in cktsgen.
2001-01-21 17:24:23 +00:00
pnenzi
4ce592331e
Applied Alan Gillespie patch. The ngspice output format for raw file is now
...
the original one (spice3) but with some enhancement made by Alan.
2001-01-21 17:18:20 +00:00
pnenzi
504ab3b0f9
Added support fot bsim3soi dynamic depletion device (initial commit)
2001-01-21 17:07:40 +00:00
pnenzi
5496e592ce
Added bsim3soi FD (Fully Depleted) model and added test files
2000-12-09 18:18:43 +00:00
pnenzi
97e77a523e
Added support for bsim3soi fd devices (fully depleted).
2000-12-08 16:58:47 +00:00
pnenzi
cdae0ed0b5
Fixed a couple of bugs in the files
2000-11-21 21:44:33 +00:00
pnenzi
4764a45ddf
Cleaning commit. Added tests for PD SOI device.
2000-11-21 20:12:35 +00:00
pnenzi
9606b353db
Added support for BSIM3SOI_PD 2.2.1 and changed configuration scripts, makefiles and support routines.
2000-11-21 07:38:51 +00:00
pnenzi
ccfdf80c2e
Applied patches for BSD OSes
2000-11-13 19:30:00 +00:00
arno
9dd92c7315
* com_history, com_alias, parser/cshpar.c, parser/complete.c:
...
Applied patch by Michael Widlok. It fixes command completion and
history list. In the process, Michael also fixed a memory leak.
2000-11-07 17:49:18 +00:00
pnenzi
8669c613b2
Corrected path for gc include file.
2000-11-05 16:02:46 +00:00
pnenzi
a718fb27f5
Fixed an error in variable.c that caused a segmentation fault and updated files for rework-13
2000-11-01 21:21:21 +00:00
pnenzi
b2c1e70401
variable.c : a variable was not declared; fixed
...
NEWS: updating (in progress)
2000-10-26 20:33:11 +00:00
pnenzi
19129762ad
Added Glao Dezai's patches (some memory leaks fixes)
2000-10-26 17:02:12 +00:00
arno
86f326d11e
* NEWS TODO acconfig.h configure.in src/ngspice.idx
...
src/frontend/inpcom.c src/include/complex.h
src/include/macros.h src/include/memory.h
src/include/ngspice.h src/maths/cmaths/Makefile.am
src/maths/cmaths/cmath1.c src/maths/cmaths/cmath2.c
src/maths/cmaths/cmath3.c src/maths/cmaths/cmath4.c
src/maths/cmaths/test_cx_j.c src/maths/cmaths/test_cx_mag.c
src/maths/cmaths/test_cx_ph.c src/misc/alloc.c
src/misc/alloc.h: Added support for the Boehm-Weiser
conservative garbage collector.
* NOTES src/maths/cmaths/cmath.h: Added.
* notes/Linux.changes notes/dbx notes/internal notes/mac_port
notes/porting notes/spice2: Removed or incorporated into
NOTES.
2000-10-14 21:49:25 +00:00
arno
cc51f0e8db
* src/main.c, src/multidec.c, src/proc2mod.c,
...
src/frontend/display.c, src/frontend/outitf.c,
src/frontend/help/readhelp.c, src/frontend/help/x11disp.c,
src/frontend/parser/complete.c, src/frontend/parser/glob.c,
src/frontend/plotting/graf.c,
src/frontend/plotting/graphdb.c,
src/frontend/plotting/x11.c, src/include/graph.h,
src/include/iferrmsg.h, src/include/ifsim.h,
src/include/macros.h, src/maths/poly/polyfit.c,
src/maths/sparse/spalloc.c, src/maths/sparse/spconfig.h,
src/misc/alloc.c, src/misc/mktemp.c,
src/spicelib/analysis/cktpzstr.c,
src/spicelib/devices/bsim2/b2temp.c,
src/spicelib/devices/bsim3/b3temp.c,
src/spicelib/devices/bsim3v1/b3v1temp.c,
src/spicelib/devices/bsim3v2/b3v2temp.c,
src/spicelib/devices/bsim4/b4temp.c: replaced malloc
realloc and free calls to use tmalloc trealloc and txfree.
* tests/diffpair.out, tests/fourbitadder.out,
tests/resistance/res_partition.out: Updated.
2000-10-14 13:16:53 +00:00
arno
03cf985d1a
*** empty log message ***
2000-10-13 16:25:00 +00:00
arno
70e2bc5b16
* polyfit.c: Input matrix got overwritten too soon, leading to NaN
...
results for Fourier Analysis. Fix due to Daniele Gordini.
2000-10-13 16:24:31 +00:00
arno
0aabb5f1d0
*** empty log message ***
2000-10-12 22:20:47 +00:00
arno
526313390b
* inpeval.c: Bugfix for subcircuits contributed by Michael
...
Widlok.
2000-10-12 21:39:18 +00:00
arno
f237c66aee
* graf.c: Removed need to press return after resizing the plot
...
window.
2000-10-10 12:20:57 +00:00
pnenzi
ac84baab65
Alan fixed some typo introduced in the last commits.
2000-10-03 05:22:07 +00:00
pnenzi
1857890a08
Corrected a bug introdiced when patching the file with Alan's code.
...
Models in subcircuits are now handled correctly.
2000-09-14 05:51:50 +00:00
pnenzi
ae8bcb42cf
Restored Alan's patches. Now they works.
2000-09-12 22:00:57 +00:00
pnenzi
c8e1e5c939
I have reverted to the old (non AlansFixes) version outif.c and changed
...
again (as Alan suggested) the if(FLASE) to if(terse). The problems with
vectors are now disappeared.
2000-09-12 19:02:26 +00:00
pnenzi
703b2337f5
Changed if(terse) into a if(FALSE) as in Alan's Code.
2000-09-10 20:00:55 +00:00
arno
67976b05dc
* fteext.h: Removed prototype for com_fourier(). Use
...
src/frontend/fourier.h for the proper prototype.
2000-09-09 13:26:02 +00:00
arno
508fee7d4b
* commands.c: Use fourier.h.
...
* dotcards.c: Update to prevent segfault.
* fourier.c, fourier.h: com_fourier is now calling fourier(), a
function with more parameters.
* dotcards.c: Added assertions to guard a double indirection, now
ngspice will bomb out on an assertion instead of a segfault.
2000-09-09 13:24:30 +00:00
arno
7a3a17a5b9
* dotcards.c: Added assertions to guard a double indirection, now
...
ngspice will bomb out on an assertion instead of a segfault.
2000-09-09 12:12:32 +00:00
arno
187600fe61
* inp2dot.c: Removed unused static functions dot_ic and
...
dot_nodeset.
* inppas2.c: Added back parsing for dotlines.
2000-09-09 12:04:51 +00:00
arno
2680129539
* analysis.c: New file.
2000-09-07 18:14:25 +00:00
arno
5c77d40766
* analysis.h: New file.
2000-09-07 18:13:32 +00:00
arno
8dc5eac0ee
* TODO, doc/ngspice.texi: Small updates
...
* configure.in: New --enable-smoketest.
* src/main.c
src/ngspice.c src/frontend/outitf.c src/frontend/runcoms.c
src/frontend/spiceif.c src/frontend/parser/numparse.c
src/include/cktdefs.h src/include/fteext.h
src/include/inpdefs.h src/include/jobdefs.h
src/include/ngspice.h src/include/tskdefs.h
src/spicelib/analysis/Makefile.am
src/spicelib/analysis/acsetp.c
src/spicelib/analysis/cktaskaq.c
src/spicelib/analysis/cktdojob.c
src/spicelib/analysis/cktnewan.c
src/spicelib/analysis/cktsetap.c
src/spicelib/analysis/cktsopt.c
src/spicelib/analysis/ckttroub.c
src/spicelib/analysis/dcosetp.c
src/spicelib/analysis/dctsetp.c
src/spicelib/analysis/dsetparm.c
src/spicelib/analysis/nsetparm.c
src/spicelib/analysis/pzsetp.c
src/spicelib/analysis/senssetp.c
src/spicelib/analysis/tfsetp.c
src/spicelib/analysis/transetp.c
src/spicelib/devices/bjt/bjtdset.h
src/spicelib/devices/bjt/bjtext.h
src/spicelib/devices/bjt/bjtsetup.c
src/spicelib/devices/bsim2/b2set.c
src/spicelib/devices/bsim3/b3acld.c
src/spicelib/devices/bsim3/b3set.c
src/spicelib/devices/bsim3/bsim3def.h
src/spicelib/devices/csw/cswtrunc.c
src/spicelib/devices/dio/diodset.c
src/spicelib/devices/dio/dioinit.c
src/spicelib/devices/jfet/jfetset.c
src/spicelib/devices/mes/messetup.c
src/spicelib/devices/mos1/mos1ask.c
src/spicelib/devices/mos1/mos1set.c
src/spicelib/devices/mos1/mos1temp.c
src/spicelib/devices/mos3/mos3load.c
src/spicelib/devices/mos6/mos6set.c
src/spicelib/devices/sw/swtrunc.c
src/spicelib/parser/inppas2.c src/spicelib/parser/inppas3.c
src/spicelib/parser/inppas3.h: Paolo and I have integrated patches from Alan Gillespie
<Alan.Gillespie@analog.com>.
2000-09-05 19:48:22 +00:00
pnenzi
34f9e54174
Corrected a bug
2000-09-05 16:51:55 +00:00
pnenzi
b3c950634f
Added some file I forgot to add in the previous commit (was rather big)
2000-09-04 05:53:10 +00:00
pnenzi
0875108157
Added patches extracted from Alan Gillespie's code. Documentation and
...
author's file not updated.
2000-09-03 09:00:08 +00:00
arno
37fe87bb96
* bjtdset.c: reformatted.
2000-09-01 23:17:27 +00:00
arno
2462eb7b01
* asrc/asrcset.c, bjt/bjtsetup.c, bsim1/b1set.c, bsim2/b2set.c,
...
bsim3/b3set.c, bsim3v2/b3v2set.c, bsim4/b4set.c, ccvs/ccvsset.c,
dio/diosetup.c, ind/indsetup.c, jfet/jfetset.c, jfet2/jfet2set.c,
ltra/ltraset.c, mes/messetup.c, mos1/mos1set.c, mos2/mos2set.c,
mos3/mos3set.c, mos6/mos6set.c, tra/trasetup.c, urc/urcsetup.c,
vcvs/vcvsset.c, vsrc/vsrcset.c: Removed HAS_BATCHSIM preprocessor
checks.
2000-08-28 20:07:03 +00:00
pnenzi
ae5950eea8
I have added some code from macspice3f4 (from A. Wilson). To enable it, compile with --enable-experimental.
2000-08-22 13:28:56 +00:00
arno
9b7d4b3187
* src/spicelib/analysis/cktpzstr.c: Reversed a patch that went
...
in between ng-spice-0.2 and ng-spice-0.3 that eliminated the
following warnings: 'suggest parentheses around && within
||'. The parenthesis were not placed correctly, leading to
incorrect behaviour of the pole-zero analysis.
* tests/polezero/*.out: Changed the content of these files because
the bug that caused the incorrect pole-zero results have been
traced to src/spicelib/analysis/cktpzstr.c.
2000-07-27 22:57:36 +00:00
arno
d902e99d6d
* src/spicelib/devices/README: Moved to src/spicelib/README.
...
* src/spicelib/Makefile.am, src/spicelib/devices/Makefile.am:
Files affected by the move.
2000-07-25 06:07:11 +00:00
arno
b3a9a784f6
* src/spicelib/devices/parser/*: Moved all files to
...
src/spicelib/parser.
* configure.in, src/Makefile.am, src/spicelib/Makefile.am,
src/spicelib/devices/Makefile.am: Files affected by the move.
2000-07-25 06:03:06 +00:00
arno
a4acd552c4
* .cvsignore: Added.
2000-07-24 21:09:24 +00:00
arno
e3c077ea1c
* src/spicelib/devices/analysis/*: Moved all files to
...
src/spicelib/analysis.
* configure.in, src/Makefile.am, src/spicelib/Makefile.am,
src/spicelib/devices/Makefile.am: Files affected by the move.
2000-07-24 21:06:46 +00:00
pnenzi
4bdc626574
Another correction to the makefile (hlp->help)
2000-07-23 18:46:48 +00:00
pnenzi
6b26ddc539
File changed to relect the new layout (spicelib/...). Something reamins to be done. Wait for the next commit.
2000-07-23 18:35:45 +00:00
pnenzi
4c2458eae3
Makefile fo the directory
2000-07-23 09:21:07 +00:00
arno
5455e51390
* src/analysis/*: Moved these files into src/devices/analysis.
...
The files in this directory implement the analysis and simulation
for electrical circuits.
This is the final step to separating the Spice sources into a
library part and a frontend part. Now, the devices subdirectory
has to be renamed to spicelib and the devices that are now
scattered in that directory should be moved into a new devices
directory.
* configure.in, src/Makefile.am, src/devices/Makefile.am: Files
affected by the move.
2000-07-21 21:27:56 +00:00
arno
b04989d760
* src/hlp/*: moved these files into src/frontend/help. The files
...
in this directory implement the help system for the frontend.
* configure.in, src/Makefile.am, src/frontend/Makefile.am: Files
affected by the move.
2000-07-21 18:25:47 +00:00
arno
63b283f982
* src/hlp/*: moved these files into src/frontend/help. The files
...
in this directory implement the help system for the frontend.
* configure.in, src/Makefile.am, src/frontend/Makefile.am: Files
affected by the move.
2000-07-20 20:33:26 +00:00
arno
df3cc8983d
* src/circuit/*: moved these files into src/devices/parser. The
...
files in this directory take a model line from the input file and
add the corresponding element to the representation of
the circuit in memory.
* configure.in, src/Makefile.am, src/devices/Makefile.am: Files
affected by the move.
2000-07-20 16:26:14 +00:00
arno
57dfb0f945
* main.c frontend/com_ahelp.c frontend/com_asciiplot.c
...
frontend/com_help.c frontend/com_plot.c frontend/com_set.c
frontend/com_unset.c frontend/quote.c include/cpdefs.h
include/defines.h include/wordlist.h maths/ni/niconv.c
misc/Makefile.am parser/Makefile.am parser/numparse.c
misc/wlist.c parser/wlist.c parser/wlist.h: Sorry for the big
commit, I screwed up the last one. See the ChangeLogs for an
account of what changed.
2000-07-18 18:07:16 +00:00
arno
88adbcab30
* asrc/asrcinit.h bjt/bjtinit.h cap/capinit.h cccs/cccsinit.h
...
ccvs/ccvsinit.h csw/cswinit.h dio/dioinit.h ind/indinit.h
isrc/isrcinit.h jfet/jfetinit.h jfet2/jfet2init.h
ltra/ltrainit.h mes/mesinit.h mos1/mos1init.h mos2/mos2init.h
mos3/mos3init.h mos6/mos6init.h res/resinit.h sw/swinit.h
tra/trainit.h urc/urcinit.h vccs/vccsinit.h vcvs/vcvsinit.h
vsrc/vsrcinit.h: These files contain the external defines for
the *init.c files.
2000-07-18 17:43:25 +00:00
arno
01df1be0cc
* Makefile.am: Added com_dump.[ch] to sources list.
2000-07-16 13:30:55 +00:00
arno
64dea8e888
* Makefile.am: Removed debugcom.[ch] from the sources list.
2000-07-16 13:26:01 +00:00
arno
53260d50f9
* com_set.h: New header file.
...
* com_state.c, com_state.h: Separated from debugcom.c.
* com_dump.c, com_dump.h: Separated from debugcom.c.
* debugcom.c, debugcom.h: Removed.
* Makefile.am: Updates for added/removed files.
2000-07-16 13:24:58 +00:00
arno
66b72bbf4b
* trainit.c: Added missing #include.
2000-07-11 15:17:57 +00:00
arno
931ffc9795
* asrc/asrcinit.c asrc/asrcitf.h bjt/bjtinit.c bjt/bjtitf.h
...
bsim1/bsim1init.c bsim1/bsim1init.h bsim1/bsim1itf.h
bsim2/bsim2init.c bsim2/bsim2init.h bsim2/bsim2itf.h
bsim3/bsim3init.c bsim3/bsim3init.h bsim3/bsim3itf.h
bsim3v1/bsim3v1init.c bsim3v1/bsim3v1init.h
bsim3v1/bsim3v1itf.h bsim3v2/bsim3v2init.c
bsim3v2/bsim3v2init.h bsim3v2/bsim3v2itf.h bsim4/bsim4init.c
bsim4/bsim4init.h bsim4/bsim4itf.h cap/capinit.c
cap/capitf.h cccs/cccsinit.c cccs/cccsitf.h ccvs/ccvsinit.c
ccvs/ccvsitf.h csw/cswinit.c csw/cswitf.h dio/dioinit.c
dio/dioitf.h ind/indext.h ind/indinit.c ind/inditf.h
isrc/isrcinit.c isrc/isrcitf.h jfet/jfetinit.c
jfet/jfetitf.h jfet2/jfet2init.c jfet2/jfet2itf.h
ltra/ltrainit.c ltra/ltraitf.h mes/mesinit.c mes/mesitf.h
mos1/mos1init.c mos1/mos1itf.h mos2/mos2init.c
mos2/mos2itf.h mos3/mos3init.c mos3/mos3itf.h
mos6/mos6init.c mos6/mos6itf.h res/resinit.c res/resitf.h
sw/swinit.c sw/switf.h tra/trainit.c tra/traitf.h
urc/urcext.h urc/urcinit.c urc/urcitf.h vccs/vccsinit.c
vccs/vccsitf.h vcvs/vcvsinit.c vcvs/vcvsitf.h
vsrc/vsrcinit.c vsrc/vsrcitf.h dev.c dev.h: Moved the device
info structure from every devices' *itf.h file into a new
*init.c file. Moved external declaration of addresses into
*init.h file. Removed conditional compilation based on the
AN_* defines as they were by default defined. The calling
code will only get a pointer to a SPICEdev structure. This
takes us another step closer to loadable devices.
2000-07-11 14:19:27 +00:00
arno
9819983733
* Removed unnecessary 'register' keywords.
2000-07-11 13:39:04 +00:00
arno
c166320d43
* Makefile.am: Update for removed files.
...
* devlist.c, devlist.h, test_devlist.c: Removed. This idea is not
yet ready to be implemented. The dependency of the analysis code
on CKThead for storing the device parameters at the same index as
the device model in the DEVices variable caused trouble.
* res/resload.c: Formatting changes.
2000-07-08 23:07:36 +00:00
arno
decb1e68b6
* sconvert.c: Input routine moved here from parser/input.c.
2000-07-08 12:54:27 +00:00
arno
7fec58d953
* devlist.c, test_devlist.c: Further tests revealed a bug,
...
corrected.
2000-07-08 08:23:17 +00:00
arno
ba4457cddb
*** empty log message ***
2000-07-07 14:11:03 +00:00
arno
f3ae54bea6
* circuit/inp2b.c, circuit/inp2c.c, circuit/inp2d.c,
...
circuit/inp2dot.c, circuit/inp2e.c, circuit/inp2f.c,
circuit/inp2g.c, circuit/inp2h.c, circuit/inp2i.c,
circuit/inp2j.c, circuit/inp2k.c, circuit/inp2l.c,
circuit/inp2m.c, circuit/inp2o.c, circuit/inp2q.c,
circuit/inp2r.c, circuit/inp2s.c, circuit/inp2t.c,
circuit/inp2u.c, circuit/inp2v.c, circuit/inp2w.c,
circuit/inp2z.c: Added ; after macros.
2000-07-07 14:10:30 +00:00
arno
f85551ea17
* frontend/Makefile.am: Updates for new files.
...
* frontend/breakp2.c, frontend/newcoms.c, frontend/postcoms.c,
frontend/resource.c, frontend/terminal.h, frontend/variable.c,
frontend/variable.h, frontend/com_compose.c,
frontend/com_display.c, frontend/com_setscale.c,
frontend/com_strcmp.c: Include files update.
* parser/var2.c, parser/var2.h: Empty files, removed.
* parser/Makefile.am: Updates for removed files.
* parser/lexical.c: Small adjustments
* parser/input.c, parser/input.h: Input, output and error streams
handled in the frontend. Moved to the frontend directory.
* frontend/streams.c: Its new home.
2000-07-07 14:09:06 +00:00
arno
8d342f4295
* parser/quote.c, parser/quote.h: The quote/unquote functions are
...
used exclusively in the frontend, moved them there.
* frontend/quote.c, frontend/quote.h: Their new location.
2000-07-07 14:07:22 +00:00
arno
1f3603d5d9
* parser/cshpar.c: Separated out com_chdir(), com_echo(),
...
com_rehash() and com_shell() and moved them into frontend
directory.
* frontend/com_chdir.c, frontend/com_echo.c, frontend/com_rehash.c,
frontend/com_shell.c: Their new homes.
2000-07-07 14:06:33 +00:00
arno
14acefd969
* dev.c dev.h: Moved defunct first_device() and next_device()
...
to devlist.c
* devlist.c, devlist.h: Another step towards
dynamically loadable devices. The first_device() and
next_device() functions abstract away the actual
implementation of the devices list. Currently it is a fixed
length array, when we start supporting dynamically loaded devices,
this is no longer true.
* test_devlist.c: Checks the implementation of first_device()
and next_device().
* Makefile.am, .cvsignore: Updates for new files.
2000-07-07 12:33:24 +00:00
arno
f1953e2885
* src/devices/dev.c, src/devices/dev.h: Added first_device()
...
and next_device() to abstract manipulations to the devices
list. Now change all the code that uses direct access to
these functions...
2000-07-05 13:10:16 +00:00
arno
fe8d08d0a9
* ChangeLog: Summarize recents changes.
...
* src/devices/Makefile.am: Updates to EXTRA_DIST.
* src/misc/misc_time.c, src/misc/printnum.c, src/misc/tilde.c:
Code formatting updates.
* tests/fourbitadder.out: Updates.
2000-07-03 15:32:29 +00:00
arno
478ee433ae
* src/analysis/cktsens.c: Matrixes cannot be created non-complex.
...
Also added a check to detect an error condition on delta_Y =
spCreate(...).
* src/analysis/cktpzld.c: Formatting updates.
2000-07-03 15:30:05 +00:00
arno
7ac9278389
* src/include/spconfig.h: Removed spCOMPLEX,
...
spSEPARATED_COMPLEX_VECTORS and spCOMPATIBILITY defines. This
made including this file from src/include/spmatrix.h unnecessary.
Moved this file to src/maths/sparse/spconfig.h.
* src/include/spmatrix.h: Removed include of
src/include/spconfig.h.
* src/maths/sparse/spalloc.c, src/maths/sparse/spbuild.c,
src/maths/sparse/spcombin.c, src/maths/sparse/spdefs.h,
src/maths/sparse/spfactor.c, src/maths/sparse/spoutput.c,
src/maths/sparse/spsmp.c, src/maths/sparse/spsolve.c,
src/maths/sparse/sputils.c: The other files affected by the
removal of spCOMPLEX, spSEPARATED_COMPLEX_VECTORS and
spCOMPATIBILITY defines. Also: assertions are enabled by
default.
* src/include/smpdefs.h, src/maths/sparse/spsmp.c: SMPmatrix is
now a typedef for void, instead of char. Updated all function
declarations to match this. Also added function prototypes not
previously mentioned in src/include/smpdefs.h.
* src/include/complex.h: Updates of cast from char * to void *
2000-07-03 15:28:50 +00:00
arno
8aa1ceead5
* src/parser/alias.c, src/parser/alias.h: contain frontend alias
...
command. Moved them to src/frontend/com_alias.c and
src/frontend/com_alias.h. Updated Makefile.am's as appropreate.
* src/parser/front.c, src/parser/front.h, src/parser/history.c,
src/parser/history.h, src/parser/modify.c, src/parser/modify.h,
src/parser/variable.c, src/parser/variable.h: Empty files.
2000-07-03 15:27:34 +00:00
arno
839ade8236
* src/frontend/com_ahelp.c src/frontend/com_ahelp.h
...
src/frontend/com_cdump.c src/frontend/com_cdump.h
src/frontend/com_ghelp.c src/frontend/com_ghelp.h
src/frontend/com_help.c src/frontend/com_help.h
src/frontend/com_history.c src/frontend/com_history.h
src/frontend/com_set.c src/frontend/com_shift.c
src/frontend/com_strcmp.c src/frontend/com_strcmp.h
src/frontend/com_unset.c src/frontend/control.c
src/frontend/control.h src/frontend/ftehelp.h
src/frontend/hcomp.c src/frontend/hcomp.h src/frontend/init.c
src/frontend/init.h src/frontend/terminal.c
src/frontend/terminal.h src/frontend/variable.c
src/frontend/variable.h: New additions from the refactoring of
the parser directory.
2000-06-27 16:15:43 +00:00