Holger Vogt
2d8fe0362f
Allow delay of 0, as requested by Infineon model of the 2EDNY52X
2 years ago
Giles Atkinson
5f59d76a03
Suppress some warnings from MSVC.
2 years ago
Giles Atkinson
12fe7b90c4
Add new code model function cm_irreversible(). This may only be
called from an XSPICE code model's INIT call and has three effects:
the instance is treated as "hybrid" even when it does not use both
port types; its position in the hybrids array is adusted; and it
is explicitly notifed when called just befoore the end of an
analog time-step.
2 years ago
Giles Atkinson
34e6c4abea
Convert XSPICE's hybrid_index array to instance pointers.
That simplifies code and will be needed for irreversible code model support.
3 years ago
Giles Atkinson
2643e3b17f
New code-model library functions cm_schedule_output() and cm_getvar().
To be used in the inertial delay code for digital code models.
3 years ago
Giles Atkinson
c1659a64c3
Change output event setup in evtload.c so that, when making an event call
to a code model, there is no longer a reference to the value of the event
at the head of the free list. That allows all such free lists (with the
same data type) to be combined, probably improving performance.
This is in preparation for full implementation of inertial delay for
digital nodes.
3 years ago
Holger Vogt
cc5369816b
XSPICE is in the public domain.
Update to the license information.
6 years ago
Holger Vogt
39ce1f77d2
patch provided by Vito (see
https://sourceforge.net/p/ngspice/discussion/133842/thread/31aa24261e/ )
6 years ago
Holger Vogt
2f396187fa
Better indentation of message
7 years ago
Holger Vogt
0575481206
Better info in case of error
Initited by a patch from Bohdan Tkhir
7 years ago
rlar
2dcb79d09c
GENmodel, GENinstance, change layout, #1/4, coccinelle semantic patch
8 years ago
rlar
58874cc65e
xspice, implement "CALLBACK"
Allow to register a callback function in the cfunc.mod files,
which will be invoked in MIFdestroy.
Usefull to "free" memory which has been allocated locally in a cfunc.mod file.
9 years ago
rlar
4c60783e4d
xspice, implement EVTdest() to fix xspice memory leaks
10 years ago
dwarning
2506fe3858
changed the #include order - ngspice.h must be first
because icc complains about declaration visibility of mmsghdr struct
14 years ago
rlar
3d34b22ebf
fix file modes
14 years ago
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
15 years ago
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
15 years ago
rlar
0b6a557334
code cleanup
15 years ago
rlar
d0dba768f8
change the type of a bunch of variables from `int' to `size_t'
16 years ago
rlar
7b3960506f
wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC
16 years ago
rlar
cc5b9007a7
use tmalloc and trealloc instead of MALLOC and REALLOC
16 years ago
rlar
5e8e44cc0a
cast the tmalloc, MALLOC, return value
16 years ago
rlar
b31aef0557
find a suitable home for **DEVices and DEVmaxnum in devdefs.h
16 years ago
rlar
d7e2e7f7f0
cast malloc... return values
16 years ago
h_vogt
07f90563dc
patches R. Larice
16 years ago
pnenzi
9317355c0c
First batch of added file.
23 years ago
stefanjones
ab9ab1640d
Remove rubbish from import
24 years ago
stefanjones
d2ae47441b
Initial revision
24 years ago