Holger Vogt
d7feec20fe
enable parameter 'gain'
...
patch provided by Bohdan Tkhir
2021-02-21 16:48:28 +01:00
Holger Vogt
d45e95aa4c
We no longer want to install cmpp or other XSPICE files.
...
The manual describes making code models from inside
the ngspice build process, and that's what we support
right now.
2021-01-23 12:43:51 +01:00
Holger Vogt
a5eac333bb
Revert "When installing ngspice, do not install the headers"
...
This reverts commit 5a0d213fec .
2021-01-22 16:05:14 +01:00
Holger Vogt
176023f470
Remove compiler warnings
2021-01-03 14:28:22 +01:00
Holger Vogt
3c354092ff
Line endings from \r\n to \n
2021-01-02 19:06:58 +01:00
Holger Vogt
5a0d213fec
When installing ngspice, do not install the headers
...
(all *.h), nor install dlmain.c and cmpp. Nearly all
users are not interested in creating code models, it is
not documated, and a much better way to create (and test)
code models is from within the ngspice sources (as is
documented in the manual).
2020-12-22 17:56:18 +01:00
Holger Vogt
68e14ad519
cross compile: -lshlwapi not hard-coded,
...
but via $(cmpp_LDADD)
Patch suggested by Érico Rolim
2020-12-22 17:56:18 +01:00
Holger Vogt
5c4af54be1
Windows.h -> windows.h
2020-12-22 17:56:18 +01:00
Holger Vogt
92c6ff26f5
add a flag 'LIMIT' to pwl code model. If set true,
...
the output is kept constant at y[0] when x is less then
x[0], or at y[xmax] when x > xmax.
Default is FALSE, then the output beyond the x bounds is
extrapolated linearly, as usual up to now.
2020-12-22 11:11:03 +01:00
Holger Vogt
a95700799d
install the callback function
2020-10-16 18:15:05 +02:00
dwarning
75228612c0
few fixes for prototypes
2020-10-15 18:25:25 +02:00
Holger Vogt
4d062ecc92
fix a bug in the derivative
2020-10-10 13:54:39 +02:00
Holger Vogt
1f6c4d6338
Add a new code model pswitch, behaviour directly compatible
...
to PSPICE (rounded corner at cntl_on)
2020-10-10 13:53:47 +02:00
Holger Vogt
fdc143ce16
Add a limit capability to the code model aswitch
...
Example switch-oscillators_inc.cir showed currents up to 3GA
2020-10-10 13:53:36 +02:00
dwarning
5f7f54d961
cleaning prototypes
2020-10-10 12:30:40 +02:00
dwarning
5d999be998
rm redundant redeclaration
2020-10-10 12:30:22 +02:00
Holger Vogt
a3380903be
Fix a bug in the comment of the file headers
2020-10-10 12:22:43 +02:00
Holger Vogt
1bcfe886f3
GPL instead of BSD
2020-10-10 12:22:27 +02:00
Holger Vogt
468769df16
Update on various licences for XSPICE code models
2020-10-10 12:22:12 +02:00
Holger Vogt
2335639848
License 3-clause BSD
...
Update to license information
2020-10-10 12:22:01 +02:00
Holger Vogt
df0ffcfc2b
XSPICE is Public Domain
...
Update to license info
2020-10-10 12:21:35 +02:00
Holger Vogt
cc5369816b
XSPICE is in the public domain.
...
Update to the license information.
2020-10-10 12:21:22 +02:00
Holger Vogt
617ed01a5b
licensi info:
...
Public Domain
Georgia Tech Research Corporation
Atlanta, Georgia 30332
PROJECT A-8503
2020-10-10 12:21:10 +02:00
Carsten Schoenert
5a0ed18907
Small fixup for misspelled words
2020-08-20 15:22:48 +02:00
Holger Vogt
8051a3c351
remove calling MIFdestroy() that is empty
2020-08-20 15:19:49 +02:00
Holger Vogt
6f03ac77af
add missing library info
2020-05-08 00:00:12 +02:00
Mamoru TASAKA
fe207966d7
Fix compilation with gcc10 wrt multiple definitions issue
...
gcc10 now defaults to -fno-common (ref: https://gcc.gnu.org/gcc-10/changes.html ). Now with compiled with gcc10, multiple definitions are found which causes linker error as:
* --with-tcl:
```
/usr/bin/ld: table/table3D/cfunc.o:/builddir/build/BUILD/ngspice-32/ngspice/tclspice/src/xspice/icm/../../../src/include/../xspice/icm/dlmain.h:8: multiple definition of `coreitf'; table/dlmain.o:/builddir/build/BUILD/ngspice-32/ngspice/tclspice/src/xspice/icm/dlmain.c:45: first defined here
```
* --enable-oldapps
```
/bin/ld: frontend/com_history.o:(.data+0x4): multiple definition of `cp_maxhistlength'; ngsconvert.o:(.bss+0xa4): first defined here
collect2: error: ld returned 1 exit status
```
This commit fixes these issues.
2020-05-06 01:15:53 +09:00
Holger Vogt
3c8a2d914d
enable MINGW compilation by adding path information for config.h
2020-05-01 18:47:32 +02:00
Holger Vogt
3c2bece87f
prevent MINGW compiler warnings
2020-05-01 18:38:45 +02:00
Jim Monte
004b27bd92
remove path error, fix file extension
2020-04-27 10:25:35 +02:00
Jim Monte
18d825e9c1
#includes modified
2020-04-27 10:24:22 +02:00
Jim Monte
381d4ec43d
#includes modified
2020-04-27 10:23:59 +02:00
Jim Monte
ed8221afde
Initialize pointer
2020-04-27 10:22:24 +02:00
Jim Monte
68e34f5a94
error messages, callback function moved
2020-04-27 10:21:14 +02:00
Jim Monte
2cac192814
initialize variables, add 'default:'
2020-04-27 10:20:48 +02:00
Holger Vogt
050cea146e
correct zeroing of allnodes array
2020-04-25 10:24:25 +02:00
Holger Vogt
833751ab3f
fix typo
2020-04-25 10:24:02 +02:00
Holger Vogt
bad2a4e467
Guard XSPICE plot switching against circuit being removed already
2020-04-21 20:01:49 +02:00
Holger Vogt
ae2d207344
don't forget to free jobs->statistics[i]
2020-04-21 20:01:06 +02:00
Holger Vogt
3b5c272096
free mor data in jobs struct. Avoid memory leak upon 'quit' command.
2020-04-21 20:00:49 +02:00
Holger Vogt
bc0cef9371
remove all data enlisted in the jobs structure
2020-04-21 20:00:35 +02:00
Holger Vogt
bbb0007466
add function EVTswitch_plot() to switch the event data
...
according tothe (analog) plot. Called from plot_setcur()
in vetors.c, when command 'setplot xxx' is given.
2020-04-21 20:00:17 +02:00
Holger Vogt
d72b4c415f
get the plot name into the event job
2020-04-21 19:59:58 +02:00
Holger Vogt
b356b00014
Fixes bugs 476, 486: Reset code model init flag,
...
required when any run is called a second time.
2020-04-21 19:59:43 +02:00
dwarning
f19da3bd79
case correction for library name
2020-04-04 14:18:38 +02:00
Holger Vogt
c076c932b4
enable MINGW linking to -lShlwapi,
...
which failed during making 32 bit shared lib
2020-04-04 14:17:54 +02:00
Holger Vogt
96976ee49d
prevent non-English characters (e.g. Umlaute),
...
which gtkwave does not understand
2020-04-04 14:12:05 +02:00
Holger Vogt
2f23c58585
plug a memory leak (pll-xspice.cir)
2020-03-15 08:51:16 +01:00
dwarning
5e4c7a255e
update .gitignore and make clean
2020-03-15 08:51:15 +01:00
Holger Vogt
eab10ee065
prevent double closing of file (Linux does not NULL fp during fclose)
2020-03-15 08:51:14 +01:00