Commit Graph

408 Commits

Author SHA1 Message Date
Brian Taylor 2cf6e80a70 Merge branch 'pre-master-44' into bt_dev 2024-10-10 11:23:33 -07: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
briantofleeds 8f527dde68 Merge branch 'pre-master-44' into bt_dev 2024-09-27 21:01:45 -07: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
Brian Taylor 03d968e467 Merge branch 'pre-master-44' into bt_dev 2024-08-11 09:08:08 -07:00
Holger Vogt 8fa02c02b6 Copy the correct spinit to ngspice/visualc 2024-08-03 16:06:58 +02:00
Brian Taylor 17f549a9ed Merge branch 'pre-master-44' into bt_dev 2024-07-27 13:15:25 -07: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
Brian Taylor b8b861d8d6 Merge branch 'pre-master-43' into bt_dev 2024-04-10 12:56:38 -07:00
Holger Vogt 38c989dda9 Unify all spinit sources 2024-04-03 17:04:23 +02:00
Brian Taylor 82cfd464d4 Merge branch 'pre-master-43' into bt_dev 2024-01-15 07:14:26 -08: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
Brian Taylor 7f3cd34e69 Merge branch 'pre-master-43' into bt_dev 2024-01-10 10:36:00 -08: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
Brian Taylor f74d1e33ef Merge branch 'master' for ngspice-42 into bt_dev 2023-12-28 10:26:01 -08:00
Holger Vogt ce8f6c5017 prepare ngspice-42 2023-12-12 17:08:58 +01:00
Brian Taylor df38aa24ce Merge branch 'pre-master-42' into bt_dev 2023-12-01 12:01:56 -08: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
Brian Taylor 7f47047686 Merge branch 'pre-master-42' into bt_dev 2023-11-06 12:12:44 -08: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 4fcb925555 Merge branch 'pre-master-42' into bt_dev 2023-10-28 16:09:35 -07: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
Brian Taylor ff13f58b1b 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-09-28 16:31:02 -07:00
Brian Taylor 14316d7518 Merge branch 'pre-master-42' into bt_dev 2023-09-28 11:25:18 -07:00
Holger Vogt 930bd12dc2 Enable degug mode in shared ngspice with KLU 2023-09-23 16:51:28 +02:00
Brian Taylor 717cc075e8 Merge branch 'pre-master-42' into bt_dev 2023-09-03 09:25:11 -07: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