Commit Graph

444 Commits

Author SHA1 Message Date
Holger Vogt 784ce1f7eb Change exe name to ngspice_opus.exe in VS project. 2026-08-14 00:46:18 +02:00
Holger Vogt 957757adb9 Replace 'cp -f' by the more common 'copy /Y' in the pre-build event 2026-08-13 15:42:01 +02:00
Holger Vogt dd171fc18d Add copying snp2va.c to snp2va.cpp due to missing C99 compatibility
for complex types and functions, so compile with C++.

Ad missing file for this RF build.
2026-08-12 18:10:22 +02:00
Meisam Bahadori 67b260661c pa-253 2026-08-12 18:10:21 +02:00
Meisam Bahadori 01c1a472c5 pa-242 2026-08-12 18:10:20 +02:00
Holger Vogt 717d487c70 pa-200
Visual C compatibility in snp2va.c
copy .c to .cpp for Visual C
2026-08-12 18:10:19 +02:00
Meisam Bahadori 13e5b9eb14 pa-234 2026-08-12 18:10:19 +02:00
Meisam 1362c5eb80 pa-142 2026-08-12 18:10:17 +02:00
Meisam 8cc60336ec pa-140 2026-08-12 18:10:17 +02:00
Meisam a40fe00924 pa-138 2026-08-12 18:10:16 +02:00
Meisam 76aa690e13 pa-137 2026-08-12 18:10:16 +02:00
Holger Vogt 73e259bb56 pa-134
VS
2026-08-12 18:10:14 +02:00
Meisam Bahadori 2827eaf0d4 pa-133
VS
2026-08-12 18:10:14 +02:00
Meisam Bahadori 3845db2c1f pa-131
VS
2026-08-12 18:10:14 +02:00
Meisam Bahadori 14815e8381 pa-130
VS project
2026-08-12 18:10:13 +02:00
Holger Vogt 29bb49e18b executable now named ngspice_opus.exe 2026-08-12 18:10:12 +02:00
Holger Vogt 08c44faf1d Prepare for ngspice-47 2026-08-07 23:51:22 +02:00
Holger Vogt 6ed467c8f9 Add new pyplot command source files to Visual Studio 2026-07-19 17:36:52 +02:00
Holger Vogt 760b12b14e Enable soundfile support for VS2022/2026 builds. 2026-05-10 16:36:11 +02:00
Holger Vogt 936ca5cec7 Update project files: integrate wave compilation
including sdnfile.dll and samplerate.dll, make
both project files more uniform.
2026-05-05 15:49:35 +02:00
Holger Vogt 65fd1e833f Add copying sndfile.dll and samplerate.dll 2026-05-05 15:48:01 +02:00
Holger Vogt 8efc138b73 Add wav to fftw version of shared ngspice 2026-04-30 13:06:30 +02:00
Holger Vogt 2c9f7a7ebf Use the most recent samplerate.dll from
https://github.com/libsndfile/libsamplerate/releases
2026-04-30 13:06:29 +02:00
Holger Vogt 302df8ddac Enable most recent build of sndfile.dll from
https://github.com/libsndfile/libsndfile
2026-04-30 13:06:29 +02:00
Holger Vogt 271e9ce6b1 Enable compilation of shared ngspice with wav support 2026-04-30 13:06:28 +02:00
Holger Vogt 7a88c3341d Enable compiling with *.wav (audio) file support. 2026-04-30 13:06:28 +02:00
Holger Vogt e1e0d08ad5 add files sndprint, vsjack 2026-04-30 13:06:25 +02:00
Holger Vogt 9007ffab23 Enable printing outputs with engineering exponents 2026-04-26 12:08:08 +02:00
Holger Vogt 3e4df63d05 Add ota to VC analog project 2026-04-22 08:45:28 +02:00
Seth Hillbrand 013408ac08 Implement MIFnoise(), the generic noise callback for all XSPICE code
models. Two discovery modes are supported: declarative, where models
define reserved parameter names (noise_voltage, noise_current,
noise_corner, noise_exponent) and get automatic noise sources and
programmatic, where models register sources via cm_noise_add_source()
during MIF_NOI analysis calls.

Also add an OTA (operational transconductance amplifier) code model as a
reference implementation that exercises the programmatic noise interface.
2026-04-22 08:45:27 +02:00
Holger Vogt 499c1d3dca We develop towards ngspice-47 2026-03-30 16:08:41 +02:00
Holger Vogt d93bc07c15 Prepare for ngspice-46 2026-03-25 13:59:09 +01:00
Holger Vogt e3bb6afb5d Add ifspec.ifs to MS Visual C project 2026-03-20 10:28:59 +01:00
Holger Vogt 2e5772e35e Add the non-nqs PSP103 OSDI model to spinit 2026-02-03 14:21:24 +01:00
Holger Vogt fe55cbe69f Enable optional voltage based truncation error correction.
This is selectable as 'option newtrunc' (--enable-Predictor is required)

Remove --enable-NEWTRUNC

Add three option parameters (default):
lteTrtol (500), lteReltol (1e-3), lteAbstol (1e-6)

Add new error function for TRAP, similar to GEAR
 (tentative, to be improved), in ckttrun.c

Enable PREDICTOR as default with Visual Studio.
2026-02-03 14:18:55 +01:00
Holger Vogt 4d24b18f35 Remove all entries connected to IPC, an outdated (>30 years)
method to link ngspice to a now defunct controller (ATESSE).
2026-02-03 14:07:59 +01:00
Holger Vogt 48d28f9f4a Entries to old CLUSTER code removed. 2026-02-03 14:07:15 +01:00
Holger Vogt 65fc0ad8a6 Add analog code model astate.
It reports the previous state (delayed by 1 to 3 time steps)
of the input node. Single or differential voltage or current.
2026-02-03 13:57:57 +01:00
Holger Vogt 49b35ed3fc We are developing towards ngspice-46 2026-02-03 13:52:36 +01:00
Holger Vogt 724dc77b91 Prepare bug-fix release ngspice-45.2. 2025-09-05 23:59:35 +02:00
Holger Vogt 86ea9fee8a Prepare for ngspice-45 2025-08-29 15:01:45 +02:00
dwarning a44f7ce87a fix a wrong Release/Debug selection for console build 2025-07-29 11:03:57 +02:00
Holger Vogt 467485ae23 Add support for tlines code models 2025-07-29 11:02:08 +02:00
Holger Vogt 29d5584c56 Bug fixes:
fix function rdivide
fix a copy/paste bug in cpline
add copying of tlines
2025-07-29 11:01:57 +02:00
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.
2025-07-29 11:01:30 +02:00
Holger Vogt 0aa5c92a58 Add project section (autom. done by VS) 2025-07-29 11:01:13 +02:00
Holger Vogt 85c600a923 Enable Visual Studio support for tline
FIXME: not yet complete, complex type incompatibility
2025-07-29 11:00:34 +02:00
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
2025-07-29 10:39:58 +02:00
dwarning 8a49164aec ReleaseOMP x64 needs fftw-3.3-dll64 include directory 2025-05-24 11:22:58 +02:00
Holger Vogt dd07008b55 Remove ADMS related code 2025-05-24 11:17:56 +02:00