Commit Graph

389 Commits

Author SHA1 Message Date
dwarning 8a8fcdd93d timer functions rework - windows part 2024-10-28 17:36:33 +01:00
Holger Vogt 5ff96c51dd Don't compile with OpenMP support, as it is not used in KLU. 2024-10-02 18:56:47 +02:00
Holger Vogt b207d4c90b /openmp:llvm removed from additional options for the 'Release' builds
(however keep it in the 'ReleaseOMP' builds).
2024-10-02 18:42:06 +02:00
dwarning 543e208917 ignore visualc xspice verilog dir 2024-09-27 08:54:04 +02:00
Holger Vogt 5ae3fc5d8a Enable using fftw3 as a build option of shared ngspice on Windows 2024-09-06 15:46:10 +02:00
Holger Vogt 8fa02c02b6 Copy the correct spinit to ngspice/visualc 2024-08-03 16:06:58 +02:00
Giles Atkinson cdbe31868f 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.
2024-07-25 21:32:59 +02:00
Holger Vogt 596183282a Revert "Check if the MS address sanitizer may help us"
This reverts commit 07f761e11a.
2024-07-16 16:32:04 +02:00
Holger Vogt 07f761e11a Check if the MS address sanitizer may help us 2024-07-16 16:08:12 +02:00
Holger Vogt 942b4f62b4 43+ developing towards ngspice-44 2024-07-14 12:58:45 +02:00
Holger Vogt f59a68321d When compiling console debug, use debug version of KLU 2024-07-08 14:41:07 +02:00
Holger Vogt 33939d3f50 Prepare ngspice-43 2024-06-22 17:06:45 +02:00
Holger Vogt 2c2c97104f Unify all spinit sources 2024-05-01 10:27:31 +02:00
Holger Vogt f541c6fb05 C:\Spice64 is again the default install directory for ngspice made by MSVC. 2024-01-14 14:31:02 +01:00
Holger Vogt a4ae81ec06 We are developing towards ngspice-43 2024-01-06 23:14:26 +01:00
Holger Vogt 1ad639d90a Add d_cosim to MS project file 2023-12-29 11:01:01 +01:00
Holger Vogt ce8f6c5017 prepare ngspice-42 2023-12-12 17:08:58 +01:00
Holger Vogt 7175a39448 Add files com_fileio.c, .h to shared and fftw ngspice 2023-11-30 20:10:41 +01:00
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.
2023-11-27 20:55:59 +00:00
Giles Atkinson 3ba314d4bc New interpreter commands strstr, strslice, fopen, fread and fclose. 2023-11-27 14:58:01 +00:00
Giles Atkinson 566e2938f4 Add XSPICE code model d_cosim, a generic adaptor for digital cosimulation. 2023-11-27 14:50:21 +00:00
Holger Vogt 70e366021b Generate seed numbers from a microseconds clock, not a seconds clock 2023-11-17 18:35:21 +01:00
dwarning 42f882e4e4 add osdinoise.c 2023-11-04 19:36:31 +01:00
dwarning e67a6a1297 add osdinoise 2023-11-04 19:36:30 +01:00
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. 2023-10-28 10:58:06 +02:00
Holger Vogt ce82c839e3 dependent project klu_complex added 2023-10-23 16:50:49 +02:00
Holger Vogt 930bd12dc2 Enable degug mode in shared ngspice with KLU 2023-09-23 16:51:28 +02:00
Holger Vogt d6418117b6 Add links to KLU_COMPLEX.lib 2023-08-30 23:33:29 +02:00
Holger Vogt 1d6113c017 Remove unused lib 'Visual leak detector' 2023-08-30 23:32:54 +02:00
dwarning b0420af7e3 include KLU in to project 2023-08-30 21:20:16 +02:00
dwarning c17cdecb1f update VS project file to KLU 2023-08-30 20:40:02 +02:00
Holger Vogt 134fffd5e0 Enable compiling the shared ngspice lib with KLU, using VS2022 2023-08-27 15:00:06 +02:00
Holger Vogt d5ceced24d We are developing towards ngspice-42 2023-08-19 23:54:36 +02:00
Holger Vogt 12d9394bd1 Add osdiitf.h to project 2023-08-16 11:14:25 +02:00
Holger Vogt c6b363ff4d Provide its own instal directory also for debug,
to not intermix standard and KLU ngspice.
2023-08-16 11:14:25 +02:00
Holger Vogt 464da80d92 Allow a separate installation directory Spice64_KLU for MS Windows and MSVC 2023-08-16 11:14:25 +02:00
Holger Vogt 8c505ef65b Set up to compile with MS VS2022 2023-08-16 11:14:23 +02:00
Holger Vogt 132957a5b3 Enable compiling with VS 2019
Add hicum2bindCSC.c to project
2023-08-16 11:14:22 +02:00
Holger Vogt 684e0a8779 Add XSPICE table models to MS project 2023-08-16 11:14:22 +02:00
Holger Vogt 30ee07b4c2 Re-enable compiling with Visual Studio 2023-08-16 11:14:21 +02:00
Holger Vogt ee0b52b779 Enable compiling with MSVC 2019
Remove reference to 'Visual Leak Detector'
Remove unused files from devices
Add custom build to invoke Flex_bison
2023-08-16 11:14:19 +02:00
Holger Vogt dbd5d18b99 remove unused file 2023-08-16 11:14:18 +02:00
Holger Vogt 30d09c62ae retarget the VS project to VS 2019
add mifbindCSC.c to vngspice.vcxpro
2023-08-16 11:14:17 +02:00
h_vogt 50b2694678 vngspice.vcxproj, <AdditionalLibraryDirectories>...Visual Leak Detector 2023-08-16 11:14:15 +02:00
h_vogt a0fe22bb75 VS21015 project files, enable OpenMP 2023-08-16 11:14:15 +02:00
h_vogt d829983a04 MS Visual Studio 2015 project files for KLU
KLU added, 32 bit and 64 bit
2023-08-16 11:14:15 +02:00
h_vogt 660b3172a3 config.h, add KLU macro definition 2023-08-16 11:14:15 +02:00
Holger Vogt bfb520086d Prepare ngspice-41 2023-08-13 11:56:35 +02:00
Holger Vogt b0ca2a667a Add missing pwlts cfunc.mod and ifspec.ifs 2023-08-13 11:30:31 +02:00
Holger Vogt 79c46b0c44 'current time' instead of 'actual time' 2023-07-31 14:30:45 +02:00