-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathChangeLog
2477 lines (1734 loc) · 95 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2008-06-14 Holger Vogt
* eamples/numparam: adapt examples to new numparam code
2008-05-31 Dietmar Warning
* src/frontend/aspice.c: compliant processing of pid and wait() also under solaris
2008-05-24 Holger Vogt
* src/frontend/com_fft.c: Fast fourier transform added for transient data analysis.
* src/frontend/spec.c: Progress status display for Windows added
2008-05-18 Dietmar Warning
* Small changes to compile under Sun Studio 11 for Solaris - may be useful in other
configurations too
* configure.in
* src/frontend/control.c
* src/include/ngspice.h
* src/maths/misc/equality.c
* src/spicelib/devices/cpl/cplask.c
* src/spicelib/devices/hisim/hsm1eval102.c
* src/spicelib/devices/hisim/hsm1eval112.c
* src/spicelib/devices/hisim/hsm1eval120.c
* src/spicelib/devices/soi3/soi3acld.c
2008-05-12 Dietmar Warning
* src/frontend/inp.c, src/frontend/inp.c, src/frontend/Makefile.am, src/Makefile.am,
configure.in: global nodes and numparams now as default - configure switches not needed
tested so far - but sure that some problems will raise.
2008-05-11 Dietmar Warning
* src/misc/missing_math.c,h, src/math/misc/*.*: move math function to one place
* src/include/ngspice.h, src/main.c, src/Makefile.am, src/maths/Makefile.am,
src/maths/misc/Makefile.am, src/misc/Makefile.am, configure.in: organization of libmathmisc.a
* src/maths/misc/erfc.c: better erfc for lossy transmission line
2008-05-10 Holger Vogt
* src/frontend/resource.c: Memory information is now stemming from the
/proc file system (LINUX) or using GlobalMemoryStatusEx and
GetProcessMemoryInfo (Windows).
The old info system with sbrk(0) may still be used.
2008-05-06 Holger Vogt
* src/frontend/outitf.c: suppress printing of "Reference value" into log-file
under Windows
2008-05-03 Dietmar Warning
* src/include/ngspice.h, src/main.c: srandom has a macro in ngspice.h as a
central place - should be sufficient also under windows
2008-05-01 Holger Vogt
* src/frontend/com_hardcopy.c: bug no. 1885979 removed: currentgraph saved
and restored after hardcopy.
2008-04-28 Holger Vogt
* src/frontend/plotting/graf.c: remove iplot bug by changing line 686.
2008-04-27 Dietmar Warning
* src/frontend/inpcom.c: change _DEBUG to TRACE - unique debug switches
* src/frontend/plotting/gnuplot.c: adding windows gnuplot, some modifications
2008-04-26 Holger Vogt
* src/frontend/inpcom.c: inp_sort_params() now uses dynamic memory allocation
on the heap: no enlargement of stack size is necessary.
2008-04-25 Holger Vogt
* src/frontend/inpcom.c: In inp_fix_param_values() xspice variables of type
complex are recognized also in vectors.
2008-04-23 Holger Vogt
* src/frontend/inpcom.c: In inp_fix_param_values() xspice variables of type
complex are recognized. Vectors of complex variables still missing.
2008-04-20 Holger Vogt
* src/frontend/inpcom.c: .cmodel added for xspice compatibility:
inp_fix_param_values() replaces .cmodel with .model and then skips entire
line, thus no numparam search and setting of {} will happen.
2008-04-20 Dietmar Warning
* src/spicelib/devices/bsim*/b*ld.c, src/math/ni/niconv.c: Reconstruct NEWCONV
macro for better bsim3,4,soi transfer from Berkeley, macro is defined by
default in spice3f4 which is used by UCB for testing. Now same behaviour in ngspice
- tested and should not impact convergence behaviour.
* src/frontend/winprint.c: pragmas only for MSC.
* configure.in tests/Makefile.am, tests/bsim3soi/*.cir, *.out, *.mod: new testcase
for bsim3soi (origin UCB small modifications).
2008-04-19 Holger Vogt
* src/frontend/inpcom.c: inp_fix_param_values(): retain ..=true as boolean,
retain ="xxx" as string, allow numparams without {} inside xpsice input vectors
2008-04-16 Dietmar Warning
* src/spicelib/devices/bsim3soi/*.c,*.h, src/spicelib/parser/inpdomod.c, inp2m.c,
src/spicelib/devices/dev.c, DEVICES: New bsim3soi version 4.0
* src/include/macros.h: redefine NEWCONV because we are using Berkeley spice3f4 code
for bsim models.
2008-04-13 Holger Vogt
* src/frontend/inpcom.c: get_number_terminals(): support for cpl lines,
inp_readall(): debug ouput of input data after processing
inp_fix_param_values(): CIDER models excluded from getting {}, xspice
model vectors [] excluded from getting {}
* src/winmain.c: larger text buffer, MakeArgcArgv() allows multiple spaces
between arguments, allows CYGWIN handling, winmessage() for error messages
* src/main.c: temporary file for Windows non admin users, printed info independent
from sequence of options
* src/include/bool.h: BOOLEAN definition added again
src/spicelib/devices/dev.c: #undef BOOLEAN added
2008-04-05 Dietmar Warning
* src/frontend/inpcom.c: define the missing buffer nam_buf for mos devices
* src/misc/string.c, stringutil.h: moving some string functions from inpcom.c
* src/include/bool.h: removing BOOLEAN definition (checked under mingw)
2008-03-23 Holger Vogt
* src/frontend/inpcom.c: Nodes for SOI devices not detected correct
* src/spicelib/parser/inptyplk.c, inpptree.c, ifeval.c: better TRACEing
* src/winmain.c: larger printf buffer
2008-03-22 Paolo Nenzi <[email protected]>
* src/frontend/{commands.c, com_gnuplot.c, com_gnuplot.h},
* src/frontend/plotting/{gnuplot.c, gnuplot.h,plotit.c}: added
initial support for gnuplot plotting of simulation outputs.
Gnuplot interface code has been sent by Stefano Pedretti.
2008-01-19 Dietmar Warning
* configure.in: w/o optimization better debug
* src/main.c: fix conflict for own shutdown function
* src/frontend/numparam/xpressn.c: more precise recognition of subckt names
* src/frontend/numparam/spicenum.c: avoid access to uninitialized memory
because of pascal convention
2008-01-12 Dietmar Warning
* configure.in, src/xspice/ipc/*.c: xspice ipc is possible
* src/include/ngspice.h: reflect the extended autoconfigure
2008-01-06 Dietmar Warning
* src/frontend/subckt.c: correct compare of binned model names. Fixed a bug
of incorrect subckt expansion when MOS model inside.
* src/spicelib/parser/inpdomod.c, DEVICES: Compatibility issue - now all
bsim3 models running under level 8 and 49 and all bsim4 models under
level 14 and 54. Distinction must be made by version parameter.
2008-01-04 Paolo Nenzi <[email protected]>
* src/frontend/runcoms.c: commented out code that did not allow rawfile
generation for OP and AC analyses. Now rawfile is generated even for
OP and AC. I do not know if this is consistent with spice philosopy but
I think is nice to have.
2008-01-03 Dietmar Warning
* src/main.c: rflag still needed.
2008-01-02 Dietmar Warning
* src/frontend/outitf.c: Fixed rawfile ascii generation. Same like below.
* src/frontend/inp.c: don't need local buffer w/o getcwd
* src/conf.c: belong spice3 manual ascii is default anyway
* src/misc/missing_math.*, src/include/missig_math.h, /src/frontend/measure.c,
src/spicelib/analysis/dctran.c: Using a real double compare to equal.
2008-01-02 Paolo Nenzi <[email protected]>
* src/frontend/rawfile.c: Fixed rawfile ascii generation. The prevoius patch
produced incorrect string like v(v(1)) for v(1) in the output file.
2007-12-31 Holger Vogt
don't need buffer w/o getcwd fix for the crashing of ngspice under Windows when
started from windows explorer.
* src/frontend/inp.c: ngspice crashed when executing a file consisting of a simple
control section. Fixed.
2007-12-29 Dietmar Warning
* src/frontend/inpcom.c: 3/4 terminal recognition for bjt's
* src/misc/string.c, stringutil.h: token function for bjt instance
2007-12-29 Holger Vogt
* src/frontend/runcoms.c, runcoms2.c: backup the filetype problem if set in spinit
* src/frontend/inpcom.c: no param handling for "set" commands
2007-12-27 Dietmar Warning
* src/spicelib/devices/*/*init.c: No usage of C99 Designated Initializers
* src/spicelib/devices/*/*par.c: only formatting issues
* src/frontend/numparam/*.c: fixing memory problems in nupa_substitute and other
* src/frontend/dotcard.c: strip white spaces only inside parens
* src/misc/missing_math.*: AlmostEqualUlps in double is needed
2007-12-26 Paolo Nenzi <[email protected]>
* src/frontend/numparam/*: downgraded all files to standard C syntax with
the included washprog.c tool.
2007-12-14 Dietmar Warning
* configure.in, src/spicelib/devices/dev.c: allow mingw build w/o GUI
2007-12-14 Holger Vogt
* src/frontend/runcoms.c, runcoms2.c: fix the filetype problem if set in spinit
2007-12-15 Steven Borley
* Added automake warning and output verbosity to autogen.sh
* src/frontend/spiceif.c: Avoid invalid lvalue assignment errors when
calling the macro _foo(). Needed for gcc4 which no longer supports
lvalue cast bogosity. Fixes bug 1584784.
2007-12-14 Steven Borley
* Added missing .cvsignore file to the tests directories and some
devices directories, and updated for change from makeidx to ngmakeidx
2007-12-13 Steven Borley
* Fixed(?) missing files error when autogen.sh is run (with no adms)
- configure.in: removed adms directors from AC_CONFIG_FILES list
* Fixed inclusion of termcap header
- configure.in: add check for <termcap.h> to <ncurses/termcap.h>
- frontend/terminal.c: select either <termcap.h> or <ncurses/termcap.h>
2007-12-09 Dietmar Warning
* src/frontend/numparam/xpression.c: placeholder for agauss (y=nominal_value)
* src/spicelib/parser/inpdomod.c: if no bsim3 version given then use 3.30
2007-12-09 Holger Vogt
* src/frontend/wdisp/windisp.c: better prototypes and some cosmetics
* src/frontend/inpcom.c: change local index to ind to prevent conflict with index function
2007-12-06 Holger Vogt
* src/frontend/wdisp/windisp.c: show coordinates and gradients, zooming
2007-12-02 Dietmar Warning
* src/spicelib/devices/bsimX: div. unused variables and prototypes
* src/frontend/inpcom.c, inp.c: fix prototype of dirname if not available
* src/frontend/dotcards.c, src/misc/string.c: strip WhiteSpaces inside parens of dot cards
* src/frontend/display.c: no WINX_DiagramReady parameter
2007-11-28 Dietmar Warning
* configure.in: memory display independent from ftime under windows
* src/frontend/numparam/xpression.c: fix the arg order for pow
* src/frontend/wdisp/windisp.c, wprint.c: Prototypes and C comments
* src/frontend/com_hardcopy.c, resource.c, terminal.c: prevent ext. warnings
* src/frontend/inpcom.h: move arrays to the files there are needed
* src/frontend/inpcom.c, inp.c: prototypes for dirname and asprintf
* src/spicelib/parser/ifnewuid.c, inperror.c: prototype for asprintf
* src/misc/ivars.c: prototype for asprintf
* src/misc/util.c: better macro request to HAVE_DIRNAME
* src/main.c: prototype for asprintf
* configure.in: check for dirname and asprintf
2007-11-24 Dietmar Warning
* configure.in: memory display independent from ftime under windows
* src/frontend/numparam: pow function included
2007-11-22 Dietmar Warning
* src/spicelib/devices/bsim3: update version 3.3.0
* src/spicelib/devices/bsim3v32: now version 3.2.x
2007-11-21 Dietmar Warning
* src/spicelib/devices/bsim3/b3check.c,b3set.c: accept version 3.xx form
* src/spicelib/devices/bsim4v2,3: multiplier included
* src/spicelib/devices/bsim4v4: no std header
* src/spicelib/analysis/dctran.c: AlmostEqualUlps on central place
* src/misc/missing_math.x: AlmostEqualUlps on central place
* src/include/missing_math.x: AlmostEqualUlps on central place
2007-11-17 Dietmar Warning
* src/spicelib/devices/bsim4vX/b*par.c: scale parameter included
* src/frontend/numparam/xpressn.c: cast to prevent warning
2007-11-14 Dietmar Warning
* src/frontend/inp.c: one only "one" times
* src/frontend/resource.c: include prototype for timediff
* src/frontend/parser/complete.c: functions used in this branch only
* src/spicelib/analysis/acan.c: unused variable step
* src/spicelib/parser/inp2q.c: 5 nodes only for adms
* src/misc/string.c: comment was nonsens
* src/misc/stringutil.h: no prototypes index/rindex for non-provided functions
* src/misc/misc_time.h: providing prototype for timediff
* src/main.c: unused variable rflag
* src/xspice/mif/mifsetup.c: no c++ comments
2007-11-14 Dietmar Warning
* src/frontend/inp.c: No title message to stderr - stdout is enough
* src/frontend/spiceif.c: reenable INPkillMods after deck processing
* src/spicelib/parser/inpdomod.c: til now only bsim4 has version processing
2007-11-13 Paolo Nenzi <[email protected]>
* src/spicelib/devices/dev.c: As suggested by Alberto Lucchini and
Francesco Nizzi I have masked the debug information on xspice device
loading with #ifdef TRACE.
2007-11-12 Paolo Nenzi <[email protected]>
* src/frontend/inp.c: corrected option processing. Now "scale" option
is special and is processed before netlist parsing. The implementation
is not very clean.
2007-11-04 Dietmar Warning
* configure.in, src/Makefile.am, src/spicelib/devices/Makefile.am,
src/spicelib/parser/inpgmod.c, src/spicelib/parser/inp2m.c
BSIM4 has changed (based on Phil Barker patch):
version code 4.2.1/4.3.0/4.5.0 added
4.4.0 small corrections
4.6.0 updated to 4.6.1
2007-10-12 Paolo Nenzi <[email protected]>
* src/frontend/{cpitf.c, inp.c, miscvars.c}, src/spinit.in:
reimplemented "brief" option as a boolean and defaulted to
TRUE. Now the netlist is not printed anymore when you load
a circuit. For the original behavior uncomment "unset brief"
in the spice init file.
2007-10-11 Paolo Nenzi <[email protected]>
* src/main.c, src/frontend/{inpcom.c, miscvars.c}: added option -a
and --autorun to add the control section ans run the loaded netlist.
In the original implementation by Phil Barker, the loaded circuit was
always run, both in interactive and batch mode.
2007-10-09 Paolo Nenzi <[email protected]>
* src/frontend/{device.c, miscvars.c}: added "altshow" option to
enable the new (Phil Barker) version of the show command. The
old show command looks better in interactive mode while the
new format is more suitable for automatic processing of the
data.
* src/maths/ni/niiter.c: added check on iteration numbers (Phil Barker).
2007-10-09 Paolo Nenzi <[email protected]>
* src/frontend/cktdojob.c: Chenged of reporting analysis temperature
from Kelvins to Celsius (as suggested from Phil Barker).
* src/spicelib/parser/inp2m.c: Added model binning code left out in the
previous commit.
* src/frontend/variable.c: Added SIMVARS from Phil Barker.
* src/frontend/{outitf.c,runcoms2.c}, src/include/cpextern.h: Patch from
Phil Barker.
* src/frontend/subckt.c: allow for .ic, .nodeset names to be embedded
in a subckt;enhanced subckt.c to created appropriate node names for
flattened simulation netlist (Phil Barker).
* src/spicelib/devices/cap/cap.c: aliased capacitance parameter with "c"
and "cap" (patch from Phil Barker).
* src/spicelib/devices/res/res.c: aliased some parameters. Originally got
the patch from Phil Barker but used IOPR (redundant) instead of IOPZ.
* src/spicelib/devices/res/resparam.c: Added fix for zero valued
resistors (Phil Barker).
* src/spicelib/devices/vsrc/{vsrc.c, vsrcacct.c, vsrcask.c, vsrcdefs.h,
vsrcload.c, vsrcpar.c, vsrctemp.c}: Added "repeat" parameter to the
PWL model.
* src/xspice/icm/analog/multi_input_pwl/*: added new element from Phil
Barker: added new multi-input gate VCVS using XSPICE extensions that
supports nand, and, nor, or. Currently only supports 2-inputs (x,y).
The x's and y's represent the piecewise linear variation of output as
a function of input. Only 1 input determines the state of the outputs:
and/nand: controlling input is chosen on the basis of the smallest value,
or/nor: controlling input is chosen on the basis of the largest value.
2007-10-08 Paolo Nenzi <[email protected]>
* src/main.c, src/frontend/{spiceif.c, spiceif.h, subckt.c},
src/include/{fteext.h, inpdefs.h},
src/spicelib/parser/{inp.h, inp2dot.c, inpdomod.c, inpfindv.c,
inpgmod.c}: other improvements by Phil Barker:
- Added model binning function
- Added model version function
- enhanced the interactive command 'alter' to allow for changing the model
of a device
2007-10-08 Paolo Nenzi <[email protected]>
* src/frontend/{inp.c, inpcom.c, inpcom.h, measure.c, nutimp.c, runcoms.c
subckt.c, ftedefs.c, fteext.c, dctran.c, inp2dot.c, inppas2.c}: added
several improvements mad by Phil Barker:
- .measure statements: trig/targ, max, min, avg, rms, integral, param
- autostop option: which causes the simulation to stop if all .measure
statements are satisfied; option is ignored if any max, min, avg, rms
or integ measurements defined.
- fixed some floating point number comparisons where the code was checking for
equality with '==' by adding a routine called 'AlmostEqualUlps'.
- parametrized subcircuits
- added support for ".lib" syntax
- added ability to recursively call spice netlist parser; this allows for
reading in additional .include and .lib files defined in other netlist files
- changed the flattened netlist names created in 'subckt.c' to match other
spice simulators
2007-10-08 Paolo Nenzi <[email protected]>
* src/frontend/{rawfile.c, outitf.c, runcoms.c}, src/include/ftedefs.h:
modified current vectors output amd added struct elements for holding the
name of the last analysis run (all from Phil Barker patch).
2007-10-08 Paolo Nenzi <[email protected]>
*src/frontend/{device.c, device.h}: modified 'show' command to match
SmartSpice syntax from Phil Barker patch.
2007-10-08 Paolo Nenzi <[email protected]>
* src/frontend/plotting/plotit.c, src/frontend/{nutimp.c, parse.c},
src/maths/ni/{niconv.c, niiter.c}, src/spicelib/analysis/dctran.c:
Applied patch from Phil barker, iproved error/warning reporting.
2007-10-08 Paolo Nenzi <[email protected]>
* src/frontend/numparam/{general.h, mystring.c, numpaif.h, numparam.h,
nupatest.c, spicenum.c, washprog.c, xpressn.c}: Applied patch from Phil
Barker that improves the capabilites of numparam library. Now numparam
supports fully parametrized netlists and can handle a larger set of
parameters than the previous implementation. Added 'nupa_add_param' routine
and ability to reevaluate parameter set using 'nupa_eval' by keeping parameter
value set. Added support for 'ternary' operators in parameters as well as 'max'
and 'min'.
2007-09-17 Paolo Nenzi <[email protected]>
* src/frontend/com_let.c: Applied patch from Friedrich Schmidt to fix
the big in let command that prevented the following command to be
correctly interpreted: let vec=vector(10) let vec[2]=5.0 and returning
an error instead. The patch has been submitted by Friedrich Schmidt.
2007-09-14 Paolo Nenzi <[email protected]>
* src/frontend/inp.c: fixed a bug in com_list() that skipped a line number
when in displaying the ".end" line. I just moved the line increment at the
end of the for cicle (after the instruction that skips the ".end" line).
2007-09-12 Dietmar Warning
* src/frontend/terminal.c: fixed segmentation fault occurring when messages
>4096 bytes are sent to out_printf() function. The fix uses asprintf if
available.
2007-08-12 Paolo Nenzi <[email protected]>
* src/frontend/inpcom.c: fixed segmentation fault with empty .include file
or directory include. This is a hack the full inpcom shoud be rewritten.
2007-06-17 Gong Ding <[email protected]>
* src/spicelib/devices/dev.c: use a more flexiable way to define device.
If it doesn't work, one can returen to old version (rename as dev_old.c).
These files are modified for avoiding NULL DEVices[] pointer.
* spicelib/analysis/acan.c:
* spicelib/analysis/cktdest.c:
* spicelib/analysis/cktdisto.c:
* spicelib/analysis/cktdump.c:
* spicelib/analysis/cktfbran.c:
* spicelib/analysis/cktic.c:
* spicelib/analysis/cktload.c:
* spicelib/analysis/cktnoise.c:
* spicelib/analysis/cktop.c:
* spicelib/analysis/cktpzld.c:
* spicelib/analysis/cktpzset.c:
* spicelib/analysis/cktsetup.c:
* spicelib/analysis/ckttemp.c:
* spicelib/analysis/ckttrunc.c:
* spicelib/analysis/ckttyplk.c:
* spicelib/parser/inptyplk.c:
The modifications should not affect ngspice's function.
2007-06-14 Paolo Nenzi <[email protected]>
* src/misc/misc_time.c: added a casting to doube in seconds function to
solve the "negative times" in acct command.
2007-05-13 Paolo Nenzi <[email protected]>
* src/spicelib/devices/dev.c: updated NUMDEV to reflect actual situation.
* src/spicelib/devices/adms/admst/ngspiceVersion.xml: added code for ekv.
2007-05-11 Laurent Lemaitre <[email protected]>
* src/spicelib/devices/adms/admst/ngspiceMODULEguesstopology.c.xml,
src/spicelib/devices/adms/admst/ngspiceVersion.xml,
src/spicelib/devices/adms/admst/ngspiceMODULEdefs.h.xml:
added support to "div" builtin function.
2007-05-09 Dietmar Warning
* src/spicelib/devices/dev.c: reserved space for ekv model.
2007-05-08 Dietmar Warning
* src/spicelib/devices/amds/ekv/: Initial import of the ekv model (long
channel).
2007-05-06 Dietmar Warning
* src/spicelib/parser/inpdomod.c: small adaptation for ekv and psp102.
2007-04-30 Gong Ding <[email protected]>
Add NDEV (numerical device) to device library. It is an interface
to call my 2d semiconductor simulation code via network.
The device simulation code can be found at http://gss-tcad.sourceforge.net
* src/spicelib/device/ndev/*.* : The NDEV implement code
* src/spicelib/device/dev.c : Add ndev to spice device library
* src/spicelib/parser/inppas2.c : Add element name 'N' to describe NDEV
* src/spicelib/parser/inp2n.c : Routine to parse NDEV element
* src/spicelib/parser/inpdomod.c : Routine to parse NDEV model
* src/frontend/misccoms.c : When quit, call CKTdestroy function
* src/spicelib/analysis/dctran.c : Show a time process indicator
* src/ciderlib/oned/onedest.c : Fix a invalid memory read problem
* src/frontend/terminal.c : change <termcap.h> to <ncurses/termcap.h>
2007-04-26 Paolo Nenzi <[email protected]>
* src/spicelib/devices/bsim4/: updated bsim4 model to 4.6.0.
2007-04-25 Paolo Nenzi <[email protected]>
* src/spicelib/parser/{inp2m.c, inpdomod.c},
src/spicelib/devices/dev.c, src/spicelib/devices/adms/psp102/:
added support for psp102 model.
2007-04-24 Laurent Lemaitre <[email protected]>
* src/spicelib/devices/adms/admst/: updated templates for adms 2.2.5.
2007-01-21 Paolo Nenzi <[email protected]>
* src/spicelib/parser/inp2q.c: Added patch from Hitoshi Tanaka to
fix error in old BJT devices (that do not have fifth node).
2006-02-21 Paolo Nenzi <[email protected]>
* src/frontend/subckt.c, src/spicelib/parser/inp2q.c,
src/spicelib/parser/inpdomod.c: Added fifth node on bipolar devices
(Dietmar Warning) to support newer (adms) models. Updated number of
nodes for subcircuits.
2006-02-19 Paolo Nenzi <[email protected]>
* tests/bin/check.sh: added patch from Gary R. Van Sickle
<[email protected]>. CYGWIN system is recognized as
an UNIX flavour (for testing).
2006-02-17 Paolo Nenzi <[email protected]>
* src/spicelib/devices/dev.c: Added support for adms devices (Dietmar
Warning). Devices implemented: hicum0 and mextram.
2006-02-16 Paolo Nenzi <[email protected]>
* src/spicelib/devices/dev.c: removed EKV ifdefs. In future versions of
ngspice EKV (and other models) will be introduced as verilog-a models.
2006-01-31 Paolo Nenzi <[email protected]>:
* Committed the admst tree from the adms system. Laurent Lamaitre
<[email protected]> sent the XML code needed to generate
ready-to-compile C code conforming to ngspice api from Verilog-AMS
compact model description.
Files changed: src/spicelib/devices/Makefile.am: added adms directory
to DIST_SUBDIRS target.
Files added: README.adms, src/spicelib/devices/adms/,
src/spicelib/devices/adms/admst/,
src/spicelib/devices/adms/admst/{COPYING,
ngspiceMakefile.am.xml,ngspiceMODULEacld.c.xml,
ngspiceMODULEask.c.xml, ngspiceMODULE.c.xml,
ngspiceMODULEdefs.h.xml, ngspiceMODULEext.h.xml,
ngspiceMODULEguesstopology.c.xml, ngspiceMODULEinit.c.xml,
ngspiceMODULEinit.h.xml,ngspiceMODULEitf.h.xml,
ngspiceMODULEload.c.xml, ngspiceMODULEmask.c.xml,
ngspiceMODULEmpar.c.xml, ngspiceMODULEpar.c.xml,
ngspiceMODULEsetup.c.xml,ngspiceMODULEtemp.c.xml,
ngspiceVersion.xml}
2005-12-06 Dietmar Warning <[email protected]>
* src/spicelib/devices/hisim/hsm1ld.c: Variable tmp is really used only
for flag swapping - because make she int. Some better reading in comments.
2005-12-04 Paolo Nenzi <[email protected]>
* src/spicelib/devices/bsim4/b4ld.c: As written by Dietmar, the changes
introduced into this file around line 4015 - 4020 are wrong. Back to
original Berkeley's code.
2005-12-02 Paolo Nenzi <[email protected]>
* src/maths/cmaths/test_cx_ph.c: added a missing include
(patch by Paul Reich).
* src/maths/sparse/spconfig.h: removed include directive (ngspice.h).
* src/frontend/numparam/general.h, src/maths/ni/niiter.c,
src/spicelib/devices/csw/{cswload.c, cswmpar.c},
src/spicelib/devices/hfet1/{hfetload.c, hfetsetup.c},
src/spicelib/devices/hfet2/{hfet2load.c, hfet2setup.c},
src/spicelib/devices/hisim/hisim.h, src/spicelib/parser/ptfuncs.c:
partially applied Paul Reich patch that removed C++ style comments.
2005-11-27 Paolo Nenzi <[email protected]>
* Added manual page for ngmultidec. The man page has been written
by John Murdie.
2005-11-13 Paolo Nenzi <[email protected]>
* src/spicelib/devices/bsim4/*: Updated bsim4 to version 4.5.0 using the
code hacked by Hitoshi Tanaka and Dietmar Warning. Changes from original
Berkeley's device group implementation:
- Added multiplier parameter (m parameter).
- Added NodeSet for internal nodes.
- Removed #ifdef STDC and non STDC function prototypes
- Added missing "pParam->BSIM4ku0we" to fprintf in b4temp.c.
* src/spicelib/devices/bsim4/b4temp.c: fixed the following bug (Dietmar
Warning):
- Freed old node adding FREE(model->pSizeDependParamKnot); near line 146.
* src/spicelib/devices/bsim4/b4set.c: fixed the following bug (Dietmar
Warning):
- Removed double testing for model->BSIM4prtGiven.
* src/spicelib/devices/bsim4/b4ld.c: fixed the following bugs:
- In the computation of ggts and ggtd near line 4014 here->BSIM4gcrgd
and here->BSIM4gcrgs were exchanged. (Dietmar Warning).
- In the computation of gcqdb and gcqsb near line 4019 here->BSIM4cqsb
and here->BSIM4cqdb were exchanged (Hitoshi Tanaka).
2005-11-07 Paolo Nenzi <[email protected]>
* src/spicelib/devices/vbic/*: Dietmar Warning sent a patch to his last
vbic implementation:
- Added temperature dependence for RB and RC,
- fixed a bug in current sign (reversing vbei and vbci),
- removed double allocation of substrate node.
2005-10-19 Steven Borley <[email protected]>
* src/Makefile.am: Implemented fix to prevent 'multiple definition' errors
during link of nghelp when built on systems that use the latest versions of
the GNU tools. Solution provided by Andreas Unger <[email protected]>.
2005-10-15 Steven Borley <[email protected]>
* src/frontend/spiceif.c: Fixed code to avoid errors (invalid lvalue in
assignment) under gcc v4.0.2 or and warnings under gcc 4.0.0 (target of
assignment not really an lvalue).
2005-10-15 Steven Borley <[email protected]>
* INTALL: Improved notes for MinGW/MSYS
* src/frontend/resource.c: Fixed problems of reporting resource usage for
MacOSX (should help other platforms too).
* src/frontend/terminal.c: Fixed warning about unused variables and functions
that can occur when HAVE_TERMCAP is undefined.
* src/spicelib/devices/isrc/isrcload.c and vsrcload.c: Implemented patches
supplied by Andreas Unger <[email protected]>. Fixes XSpice bug; variable PER
was being used before initialisation.
2005-09-19 Steven Borley <[email protected]>
* xgraph/idraw.c, xgraph/tgif.c and xgraph/xtb.c: Added missing system header
includes (string.h and stdio.h) to avoid warnings.
* src/frontend/aspice.c: Used (void*)0 instead of 0 for the terminating
vararg, to avoid gcc 4.0 warning about missing sentinel in function call.
* src/frontend/aspice.c: Resolved Bug 1293746 - Problem with aspice.c(171)
in gcc (Solaris).
* src/frontend/display.c: Fixed warning about redefinition of XtNumber.
2005-09-09 Steven Borley <[email protected]>
* Reverted to placing the cp_* stream variable definitions back in to
src/frontend/streams.c with their extern declarations in
src/frontend/streams.h
2005-09-08 Steven Borley <[email protected]>
* Added hard-coded paths for NGSPICEBINDIR and NGSPICEDATADIR for MinGW
targets (src/conf.h)
2005-09-08 Paolo Nenzi <[email protected]>
* src/frontend/streams.{c,h}: applied Hitoshi's fix for undefined
symbols when compiling ngspice under Linux.
2005-09-06 Steven Borley <[email protected]>
* Fixed alphabetic order in AUTHORS
* Adjusted autogen.sh to give more relevant advice when a required
program is missing.
* Added ngspice.idx to MAINTAINERCLEANFILES in src/Makefile.am
* Added work-round for missing scroll bar in help windows for an X11
display (seems to be an X-Windows bug) src/frontend/x11disp.c
* Fixed memory leak in tilde expansion - src/frontend/parser/glob.c
* Fixed spelling errors in tests/README
* Implemented fix as described by Hitoshi Tanaka for the problem
that causes "Warning - approaching max data size...." to be
erroneously reported when compiled with MinGW/MSYS
src/frontend/resource.c
2005-09-04 Paolo Nenzi <[email protected]>
* src/spicelib/devices/ltra/{ltraload.c, ltraacld.c, ltratrun.c}:
Applied Hitoshi's patches to fix ltra code. The bug produced a
"Timestep too small" in simulations and uninitialized variables
produced wrong results in some files under MinGW.
* src/spicelib/parser/inp2d.c:
Fixed a bug that causes an "unknown parameter(save)" error if there
is the expression like the following in the netlist of Cider analysis.
D1 1 2 M_PN AREA=100 save
(Fix from Hitoshi Tanaka).
* src/frontend/streams.c:
Fix to a bug that caused crash when I input "listing" command after
loading Cider examples under Ngspice compiled by Visual C++.
(Fix from Hitoshi Tanaka).
2005-08-30 Paolo Nenzi <[email protected]>
============================ Rework-17 ==================================
* src/frontend/numparam/Makefile.am: added missing include that prevented
its dist-ribution.
2005-08-29 Paolo Nenzi <[email protected]>
============================ Rework-16 ==================================
2005-08-26 Paolo Nenzi <[email protected]>
* src/fronted/dotcards.c: expressions were not parsed correctly, the bug
was in the offset from string base: corrected.
2005-08-23 Paolo Nenzi <[email protected]>
* src/xspice/icm/xtradev/aswitch/cfunc.mod: Added minimum on resistance
for aswitch to avoid unreasonable high values (due to near zero
resistance) in current of connected voltage source. Change supplied by
Hitoshi Tanaka.
* src/xspice/icm/{cfunc.mod}: updated cfunc.mod files. Changes sent by
Hitoshi Tanaka.
2005-08-22 Paolo Nenzi <[email protected]>
* src/frontend/plotting/x11.c: removed casting in a macro. It conflicts
with the strictier syntax of recent gcc compilers.
2005-08-15 Steven Borley <[email protected]>
* Yet more changes to the doc build system - see doc/ChangeLog for details
* In INSTALL added --enable-maintainer-mode as an argument to ./configure
when building straight from CVS. This is now necessary due to the use of
version.texi to allow versioning info to be passed into the documentation
system.
2005-08-14 Steven Borley <[email protected]>
* More changes to the documentation. Specifically the make dist now produces
a PDF file. See doc/ChangeLog for details
* Update the AUTHORS file and adjusted formatting to make it more compatable
with the texinfo include
2005-08-11 Steven Borley <[email protected]>
* Fixed problem with text2dvi and makeinfo when running make dist
* Corrected many spelling errors in doc/ngspice.texi
2005-08-08 Paolo Nenzi <[email protected]>
* src/frontend/dotcards.c: Applied patch from Mike Waters
<[email protected]> to parse probes in the form:
vm(4,0) or vm(0,4). Where one of the nodes is ground ie. 0, if
the probe is "v" everything works but anything else ie. "vm", "vp",
etc. fails.
2005-08-06 Paolo Nenzi <[email protected]>
* src/xspice/mif/mifsetup.c: Updated MIFunsetup to the latest version
provided by Hitoshi Tanaka.
2005-08-04 Paolo Nenzi <[email protected]>
* Fixed a bug in memory management of xspice/ngspice that caused
segmentation fault for codemodels that adds their own states to
the state vector. Changes supplied by Hitoshi Tanaka
* src/math/ni/niiter.c: removed the first malloc for OldCKTstate0
since the number of states can be altered by xspice code models.
This was already addressed in the past but this line remained.
* src/xspice/mif/mifsetup.c: added MIFunsetup() to conform to spice3f
devices model interface (xspice was based on spice3c1).
* src/xspice/xspice.c, src/xspice/cm/cmexport.c,
src/xspice/cmpp/writ_ifs.c: changed the entry corresponding to the
unsetup function from NULL to MIFunsetup.
* src/include/mifproto.h: added prototype for MIFunsetup.
* src/spicelib/analysis/cktsetup.c: cleared node if initial condition
of nodeset are given to fix a segfaults on second run of xspice
netlists.
2005-06-30 Paolo Nenzi <[email protected]>
* src/frontend/resource.c: added IPC stuff
* src/spicelib/parser/inpptree.c: fixed bug in power function.
2005-06-25 Paolo Nenzi <[email protected]>
* src/spicelib/analysis/acan.c: modified original integration of xspice
event driven algorithm into spice3 code. Now CKTncDump() is used by
xspice too.
* src/spicelib/analysis/cktdojob.c: added ipc stuff.
* src/spicelib/analysis/cktload.c: cosmetics.
* src/spicelib/analysis/cktop.c: modularized the source and gmin stepping
algorithm. I have extracted the code for gmin and source stepping to
improve CKTop readability and maintainability.
* src/spicelib/analysis/dcop.c: added event driven algorithm and ipc stuff.
* src/spicelib/analysis/dctran.c: added xspice breakpoint control.
* src/spicelib/analysis/dctrcurv.c: added event driven algorithm and ipc
stuff.
2005-06-12 Steven Borley <[email protected]>
* Changes supplied bt Hitoshi Tanaka to allow XSpice to compile using MinGW
in Windows. Main change points are as follows:
(1) dlopen(), dlsym(), dlclose() and dlerror() were changed
to the functions of Windows. (src/spicelib/dev.c)
(2) The functions relation to IPC were removed. (src/xspice/ipc/ipc.c,
and src/xspice/ipc/ipcsockets.c)
2005-06-09 Steven Borley <[email protected]>
* Fixed *# command operation (src/frontend/inp.c)
* Added 'hack' to allow the 'numparams' variable to be set (or unset) before
the netlist part of a file is parsed. This is based on code supplied by
Dietmar Warning, with changes to allow it to work with the *# syntax, the
unset keyword and variable amounts of white space. (src/frontend/inp.c)
* line_free(line,flag) is now a macro so that line is set to NULL when it is
freed. (src/frontend/inp.c) This is a safty mechnism.
2005-05-31 Steven Borley <[email protected]>
* Applied fix for logging supplied by Dietmar Warning (src/main.c)
* Miscellaneous tidying in src.main.c for format, indentation, #include
style ("" vis-a-vis <>) and removal of some compile time warnings.
2005-05-30 Steven Borley <[email protected]>
* Corrected return types (where necessary) for the functions that make up the
devices[] array initialised in src/frontend/display.c, and used specific
#includes rather than extern references. Added new headers as required.
* Moved jbuf from src/main.c to src/frontend/signal_handler.c
* Tidy up of the header files in src/frontend and sub-directories. Motivation
is to remove extern declarations within .c files and place in .h files. New
header files where necessary.
2005-05-28 Steven Borley <[email protected]>
* Fix bug introduced in my last change. Fix supplied by Hitoshi Tanaka.
Bug can cause a segmentation fault.
* Fixed the format of section 5.3.37. Save* in src/ngsoice.txt
* In src/frontend/plotting replaced extern references in .c files wiith
#include of suitable header files.
* Added src/frontend/numparam/numpaif.h for the external interface to the
numparam library.
2005-05-26 Steven Borley <[email protected]>
* Fixed bug with define (see bug reference [ 999546 ] 'define' is broken
in ngspice-15).
* Fixed bug with 'plot title title_name' (see bug [ 557638 ] plot
segmentation fault).
2005-05-23 Steven Borley <[email protected]>
* Fixed a divide-by-zero bug in the MOS level=2 device model
the fix was supplied by Hitoshi Tanaka.
* Fixed a 'core-dump' that could be caused by the interactive 'write' command
when the plot contains more than one dimension. This was due to improper
use of a buffer in rawfile.c as pointed out by Dietmar Warning. Bug also
affected ngsconvert.
2005-05-22 Steven Borley <[email protected]>
* src/frontend/numparam/mystring.c - fix for MinGW from Hitoshi Tanaka.
* various files - removal of more warning due to unused variables
2005-05-21 Steven Borley <[email protected]>
* src/spicelib/devices/vbic/vbicinit.c Fixed a structure initialisation
problem that occurs when cider is enabled. Also fixes lots of warning
within ciderlib related to unused variables.
* Fixed a compile warning in src/frontend/com_history.c when readline
or editline are used.
* Removed the files src/misc/terminal.h/.c and src/include/terminal.h
The first two were empty and the last just included the second.
The relevant makefile.am files have been updated, so a ./configure
will need to be re-run before building.
* Fixed problems where printf format was int yet on some systems the argument
is long (due to size_t being long). Fixed by always using long format and
casting to long. Affected src/frontend/spiceif.c and src/misc/alloc.c
This makes obsolete the IS_SIZE_T_LONG macro that defined by configure.in,
now removed -it was not working for all platforms (eg. MacOSX)
* configure.in - Removed IS_SIZE_T_LONG (see above). Now only test for
ncurses etc., when either Readline or Editline are being used. This will
fix the basic problem of building on MinGW which does not have these
libraries as standard. Fixed the typo in the AC_REVISION() macro.
2005-05-20 Steven Borley <[email protected]>
* nghelp now uses src/conf.c for consistency with ngspice and ngnutmeg.
Under MinGW the nghelp window is now kept open until a key is pressed.
This allows users to see any error messages before the system closes
the window.
* src/conf.c now uses PACKAGE_VERSION (was VERSION) and PACKAGE_BUGREPORT
(was hard coded in file to "[email protected]"). These
values are set by the AC_INIT macro in configure.in
* src/winmain.c - changes to fix warning when compiled with gcc
2005-05-19 Steven Borley <[email protected]>
* Fixed declaration of oflag in winmain.c - fix from Dietmar Warning
* Fixed compile of makeidx for MinGW.
2005-05-18 Steven Borley <[email protected]>
* Reverted src/spicelib/devices/restemp.c to previous version. Changes in
this file were intended for temporary debug and should not have been
committed to CVS.
* Moved isnan() to src/misc/missing_math.c from src/spicelib/devices/dev.c
following suggestion from Dietmar Warning. Also took opportunity to fixed
a compiler warning in dev.c
* Conversion of files containing non-ASCII characters (German language
comments) to ASCII by Dietmar Warning.
2005-05-18 Steven Borley <[email protected]>
* I erroneously omitted a few changes from Dietmar Warning:
Fix to src/maths/cmaths/Makefile.am to exclude test programs that don't
compile under MinGW. Fix to src/spicelib/devices/dev.c to exclude local
isnan() when it exists as a library function.
* Fixes to src/Makefile.am to exclude programs that don't compile under
Windows (MinGW). Fix to avoid dependence problem with linking in winmain.o
2005-05-17 Steven Borley <[email protected]>
* Updates configure.in. Notably this removes the need for acconfig.h (the use
of which is deprecated by autoconf). Most of the remaining changes just
tidy with the aim of following guidelines in the autoconf manual. Fixed an
issue with CFLAGS usage and --disable-debug. Some fixes aimed as support
for MinGW (more to follow).