Holger Vogt
29d5584c56
Bug fixes:
fix function rdivide
fix a copy/paste bug in cpline
add copying of tlines
8 months ago
Holger Vogt
33efc5ed2c
Add functions for VS non-C99-compatible complex data manipulation,
selected by #ifdef _MSC_VER switch.
Update tlines project file, correct buiuld sequence for
code models in vngspice.
Add tlines to spinit.
8 months ago
Holger Vogt
0aa5c92a58
Add project section (autom. done by VS)
8 months ago
Holger Vogt
85c600a923
Enable Visual Studio support for tline
FIXME: not yet complete, complex type incompatibility
8 months ago
Holger Vogt
b628032d7d
Add a generator for SEE (single event effects) pulses as a code model.
To be used like
aseegen1 NULL [%id(xcell.n1 m1) %id(xcell.n2 m2) %id(xcell.n1 m1) %id(xcell.n2 m2)] seemod1
.model seemod1 seegen (tdelay = 11n tperiod=25n tfall='tfall' trise='trise' let='let' cdepth='d')
see README.SEEgenerator for details
10 months ago
dwarning
8a49164aec
ReleaseOMP x64 needs fftw-3.3-dll64 include directory
1 year ago
Holger Vogt
dd07008b55
Remove ADMS related code
1 year ago
Giles Atkinson
c7c85ecadc
Add co-simulation with VHDL, using the GHDL compiler and d_cosim.
1 year ago
Holger Vogt
1a1d2558e8
We are developing towards ngspice-45
10 months ago
Holger Vogt
80d22fc802
Prepare the bug-fix release 44.2
1 year ago
Holger Vogt
6e5d084a02
"x64" was hardcoded into aux-digital.bat and is used in the compiling of digital.vcxproj.
That's problematic for trying to compile x86 or ARM64.
This patch makes digital.vcxproj pass the arch as arg2 to aux-digital.bat
Patch #120 provided by Mark Roszko
1 year ago
Holger Vogt
8eea1f0b41
Prepare ngspice-44
1 year ago
Holger Vogt
deb3cd9809
Replace all BOOLEAN, BOOL, _Bool by bool
Remove all #undef bool (set in conjunction with #iclude <Windows.h>)
1 year ago
dwarning
40aa445ee8
unify os dependent time code in one file - rm win_time.c
1 year ago
dwarning
3faed1647a
Reorder and renovate timer functions taking into account ngspice multiprocessor capabilities
by using available high performance functions first.
Deprecated ftime() still acts as a backup function.
Solution is portable for today's operating systems and compilers.
1 year ago
Holger Vogt
0fadbdc488
Don't compile with OpenMP support, as it is not used in KLU.
1 year ago
Holger Vogt
2d9e5fede6
/openmp:llvm removed from additional options for the 'Release' builds
(however keep it in the 'ReleaseOMP' builds).
1 year ago
dwarning
c8959ba072
ignore visualc xspice verilog dir
2 years ago
Holger Vogt
82af46085d
Enable using fftw3 as a build option of shared ngspice on Windows
2 years ago
Holger Vogt
a96237061d
Copy the correct spinit to ngspice/visualc
2 years ago
Giles Atkinson
ce1ecca15e
Add support for including Verilog simulation within an instance
of the d_cosim codemodel, using libvvp, the simulation runtime of
Icarus Verilog. This complements the existing method using Verilator.
The new source code is built into two binary shared libraries,
ivlng.so (or .DLL) and ivlng.vpi that are loaded during simulation.
2 years ago
Holger Vogt
a8c1104cfb
43+ developing towards ngspice-44
2 years ago
Holger Vogt
f59a68321d
When compiling console debug, use debug version of KLU
2 years ago
Holger Vogt
33939d3f50
Prepare ngspice-43
2 years ago
Holger Vogt
2c2c97104f
Unify all spinit sources
2 years ago
Holger Vogt
f541c6fb05
C:\Spice64 is again the default install directory for ngspice made by MSVC.
2 years ago
Holger Vogt
a4ae81ec06
We are developing towards ngspice-43
2 years ago
Holger Vogt
1ad639d90a
Add d_cosim to MS project file
2 years ago
Holger Vogt
ce8f6c5017
prepare ngspice-42
2 years ago
Holger Vogt
7175a39448
Add files com_fileio.c, .h to shared and fftw ngspice
2 years ago
Giles Atkinson
c18447f9f5
Add the support files for co-simulation with Verilog code
compiled by Verilator. Also add script files to Visual Studio builds
that are already installed by the Makefile builds.
2 years ago
Giles Atkinson
3ba314d4bc
New interpreter commands strstr, strslice, fopen, fread and fclose.
3 years ago
Giles Atkinson
566e2938f4
Add XSPICE code model d_cosim, a generic adaptor for digital cosimulation.
2 years ago
Holger Vogt
70e366021b
Generate seed numbers from a microseconds clock, not a seconds clock
2 years ago
dwarning
42f882e4e4
add osdinoise.c
2 years ago
dwarning
e67a6a1297
add osdinoise
2 years ago
Brian Taylor
3bb6e86015
Add Windows Visual Studio support for the Isotel d_process xspice digital model. The Isotel mixedsim-master/examples/embedded/motorforce C code needs to have minor changes for _MSC_VER defines, and are not included with this commit. The changes relate to using #pragma pack(push, 1)...#pragma pack(pop) around some structs, and setting stdin/stdout in binary mode. It is doubtful that the cfunc.mod will compile on mingw or cygwin since I don't know if they support pipe/fork/exec/spawn calls. The code builds and runs on Windows, Linux, and MacOS. In the future, Giles Atkinson is looking at allowing Xspice models to load shared libraries (.dll, .so) which will avoid creating and communicating with an external program.
3 years ago
Holger Vogt
ce82c839e3
dependent project klu_complex added
2 years ago
Holger Vogt
930bd12dc2
Enable degug mode in shared ngspice with KLU
3 years ago
Holger Vogt
d6418117b6
Add links to KLU_COMPLEX.lib
3 years ago
Holger Vogt
1d6113c017
Remove unused lib 'Visual leak detector'
3 years ago
dwarning
b0420af7e3
include KLU in to project
3 years ago
dwarning
c17cdecb1f
update VS project file to KLU
3 years ago
Holger Vogt
134fffd5e0
Enable compiling the shared ngspice lib with KLU, using VS2022
3 years ago
Holger Vogt
d5ceced24d
We are developing towards ngspice-42
3 years ago
Holger Vogt
12d9394bd1
Add osdiitf.h to project
3 years ago
Holger Vogt
c6b363ff4d
Provide its own instal directory also for debug,
to not intermix standard and KLU ngspice.
3 years ago
Holger Vogt
464da80d92
Allow a separate installation directory Spice64_KLU for MS Windows and MSVC
3 years ago
Holger Vogt
8c505ef65b
Set up to compile with MS VS2022
3 years ago
Holger Vogt
132957a5b3
Enable compiling with VS 2019
Add hicum2bindCSC.c to project
4 years ago