Holger Vogt
19ddeb8fe6
formatting (not complete)
5 years ago
Holger Vogt
545d2f9177
Report an error when trying to define ports
'v', 'vd', 'i', and 'id' as 'inout'
Parch 105 provided by Giles Atkinson
5 years ago
Holger Vogt
d7feec20fe
enable parameter 'gain'
patch provided by Bohdan Tkhir
5 years ago
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.
5 years ago
Holger Vogt
a5eac333bb
Revert "When installing ngspice, do not install the headers"
This reverts commit 5a0d213fec .
5 years ago
Holger Vogt
176023f470
Remove compiler warnings
5 years ago
Holger Vogt
3c354092ff
Line endings from \r\n to \n
5 years ago
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).
5 years ago
Holger Vogt
68e14ad519
cross compile: -lshlwapi not hard-coded,
but via $(cmpp_LDADD)
Patch suggested by Érico Rolim
5 years ago
Holger Vogt
5c4af54be1
Windows.h -> windows.h
5 years ago
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.
5 years ago
Holger Vogt
a95700799d
install the callback function
6 years ago
dwarning
75228612c0
few fixes for prototypes
6 years ago
Holger Vogt
4d062ecc92
fix a bug in the derivative
6 years ago
Holger Vogt
1f6c4d6338
Add a new code model pswitch, behaviour directly compatible
to PSPICE (rounded corner at cntl_on)
6 years ago
Holger Vogt
fdc143ce16
Add a limit capability to the code model aswitch
Example switch-oscillators_inc.cir showed currents up to 3GA
6 years ago
dwarning
5f7f54d961
cleaning prototypes
6 years ago
dwarning
5d999be998
rm redundant redeclaration
6 years ago
Holger Vogt
a3380903be
Fix a bug in the comment of the file headers
6 years ago
Holger Vogt
1bcfe886f3
GPL instead of BSD
6 years ago
Holger Vogt
468769df16
Update on various licences for XSPICE code models
6 years ago
Holger Vogt
2335639848
License 3-clause BSD
Update to license information
6 years ago
Holger Vogt
df0ffcfc2b
XSPICE is Public Domain
Update to license info
6 years ago
Holger Vogt
cc5369816b
XSPICE is in the public domain.
Update to the license information.
6 years ago
Holger Vogt
617ed01a5b
licensi info:
Public Domain
Georgia Tech Research Corporation
Atlanta, Georgia 30332
PROJECT A-8503
6 years ago
Carsten Schoenert
5a0ed18907
Small fixup for misspelled words
6 years ago
Holger Vogt
8051a3c351
remove calling MIFdestroy() that is empty
6 years ago
Holger Vogt
6f03ac77af
add missing library info
6 years ago
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.
6 years ago
Holger Vogt
3c8a2d914d
enable MINGW compilation by adding path information for config.h
6 years ago
Holger Vogt
3c2bece87f
prevent MINGW compiler warnings
6 years ago
Jim Monte
004b27bd92
remove path error, fix file extension
6 years ago
Jim Monte
18d825e9c1
#includes modified
6 years ago
Jim Monte
381d4ec43d
#includes modified
6 years ago
Jim Monte
ed8221afde
Initialize pointer
6 years ago
Jim Monte
68e34f5a94
error messages, callback function moved
6 years ago
Jim Monte
2cac192814
initialize variables, add 'default:'
6 years ago
Holger Vogt
050cea146e
correct zeroing of allnodes array
6 years ago
Holger Vogt
833751ab3f
fix typo
6 years ago
Holger Vogt
bad2a4e467
Guard XSPICE plot switching against circuit being removed already
6 years ago
Holger Vogt
ae2d207344
don't forget to free jobs->statistics[i]
6 years ago
Holger Vogt
3b5c272096
free mor data in jobs struct. Avoid memory leak upon 'quit' command.
6 years ago
Holger Vogt
bc0cef9371
remove all data enlisted in the jobs structure
6 years ago
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.
6 years ago
Holger Vogt
d72b4c415f
get the plot name into the event job
6 years ago
Holger Vogt
b356b00014
Fixes bugs 476, 486: Reset code model init flag,
required when any run is called a second time.
6 years ago
dwarning
f19da3bd79
case correction for library name
6 years ago
Holger Vogt
c076c932b4
enable MINGW linking to -lShlwapi,
which failed during making 32 bit shared lib
6 years ago
Holger Vogt
96976ee49d
prevent non-English characters (e.g. Umlaute),
which gtkwave does not understand
6 years ago
Holger Vogt
2f23c58585
plug a memory leak (pll-xspice.cir)
6 years ago