Commit Graph

237 Commits

Author SHA1 Message Date
dwarning 484c13c008 Add missing files for resources 2020-03-15 08:50:58 +01:00
Holger Vogt a39808d880 update to Visual Studio 2019 2020-03-15 08:50:56 +01:00
Jim Monte 7617bbfae9 Reduced the number of configuration changes that must be made when a new version of ngspice is released. 2020-03-15 08:50:54 +01:00
Holger Vogt 74a1a0b211 Update to Visual Studio 2019 2020-03-15 08:50:52 +01:00
Holger Vogt db281f63f3 add a manifest file
https://docs.microsoft.com/en-us/windows/win32/sbscs/application-manifests
one for i64 and x86 each
2019-11-30 11:38:34 +01:00
Holger Vogt 6598225ec0 Replace deprecated GetVersionExA by version helper functions
Add new macro _MSC_PLATFORM_TOOLSET to check for toolset
2019-11-30 11:38:25 +01:00
Holger Vogt d83cdc9d97 shared ngspice: add new resource files 2019-11-30 11:37:28 +01:00
Holger Vogt 67f6fda216 Complete redesign of memory monitoring in resource.c.
Acquiring memory size is done by four functions
getMemorySize, getAvailableMemorySize, getPeakRSS,
and getCurrentRSS.
Time data are still obtained without code modifications.
2019-11-30 11:34:58 +01:00
Holger Vogt 7871f20ecb We are beyond ngspice-31 now --> ngspice-31+ 2019-11-30 11:33:36 +01:00
Holger Vogt 2130281390 re-enable compiling with VC 2015 and up 2019-10-01 23:13:50 +02:00
Holger Vogt adc5ed5e1c partially undo the previous commit 2019-09-28 23:15:13 +02:00
Holger Vogt df41a7664a cmpp will not compile if ngspice is debug and cmpp is set to 64 bit.
Bad fix: This has to be analyzed.
2019-09-28 16:55:10 +02:00
Holger Vogt b5c5733769 Prepare ngspice-31 2019-09-15 21:13:28 +02:00
Holger Vogt 1c580c7b0a cmpp did not compile any more after applying patch #60
After reverting #60, this fix avoids warning about output locations
2019-09-14 12:43:36 +02:00
Holger Vogt 0814c71c2c Revert "[PATCH #60] Fixed build warnings about inconsistencies in the output"
This reverts commit 194e6d02e9.
2019-09-14 12:43:22 +02:00
Holger Vogt 1ba02f3c87 including hist_info files 2019-08-13 23:30:47 +02:00
Jim Monte 3874916948 [PATCH #56] New history buffering 2019-08-13 23:30:05 +02:00
Jim Monte a1ddfa3f82 [PATCH #60] Fixed build warnings about inconsistencies in the output
location for cmpp. The destination was not changed (due to dependencies of
 batch files on the location) but $(ProjectDir) was used to make the path
 absolute, which simplifies verifying the correct location.
2019-08-13 23:29:48 +02:00
dwarning f90295f46a remove last remainder of unused sensitivity analysis 2019-08-13 22:55:25 +02:00
Holger Vogt 54d4d9747a ngspice version is now 30+ 2019-08-13 22:54:01 +02:00
dwarning 4cc88a0b1b add resource file for fftw build 2019-08-13 22:52:22 +02:00
Holger Vogt d4c3d9ceb2 relieve the step size limitation (formerly set to TSTEP in tran simulation).
However not all examples will do without, thus the variable 'stepsizelimit'
is set in spinit. Unset it in .spiceinit to get the new behavior.
Of course then you might add the limit by setting TMAX in the tran command.
2019-03-21 20:22:42 +01:00
Holger Vogt c35879d3cf prepare ngspice-30 2018-12-23 13:55:45 +01:00
Holger Vogt 0089cc543a MSVC same stack size as with standard ngspice 2018-12-17 23:06:33 +01:00
Holger Vogt 55faba9e09 update path for ngspice.ico 2018-12-17 23:04:00 +01:00
Holger Vogt 9f40c2b584 add an icon to MS Windows VC exe 2018-12-17 23:03:27 +01:00
Holger Vogt 578a42e084 provide correct output path for cmpp.exe during 64 bit compilation 2018-10-27 17:57:14 +02:00
Holger Vogt 5ee1be955c Provide a suitable spinit, if ngspice is started
directly from the Visual Studio Debugger.
2018-10-18 00:22:58 +02:00
dwarning ca8481d9fc skip minor version in fftw path 2018-10-16 07:53:38 +02:00
Holger Vogt 0643a6eb57 Make cmpp with 64 bit in all 64 bit configurations 2018-10-13 23:48:10 +02:00
Holger Vogt 21f5b20951 Unify stack reserve 4194304 and stack commit 1048576
for all 64 bit configurations
2018-10-13 23:45:21 +02:00
Holger Vogt 24beadb11b VC++: make the library path for fftw independent from the actual version:
fftw-3.3.5-dll64 --> fftw-3.3-dll64
2018-10-13 23:39:50 +02:00
Holger Vogt 522af31788 unify stacke size reserved 4194304
stack size comitted 1048576
2018-10-13 18:20:09 +02:00
Holger Vogt 205a455070 corrected 64 bit for x64 2018-10-13 18:20:03 +02:00
Holger Vogt faa7ce003c Add a new code model 'sidiode' with a simple diode:
Linear reverse, off, and on regions
Smooth parabolic transition between the regions
Maximum current settings possible with tanh transistion
Current versus voltage continuously differentiable
No diode capacitance
2018-10-13 18:18:59 +02:00
Holger Vogt 5f5ec4f49a Sort out spinit and vngspice.vcxproj:
During installation into C:\Spice.... a spinit
from spinit_all is copied, having relative paths to the
code models.
A local spinit (needed for the running the local debugger)
is copied from either spinitd or spinitd64, referencing
the code models stored in C:\Spiced..\lib\ngspice by
setting the absolute path.
2018-09-26 18:46:52 +02:00
Holger Vogt 1f91d0860e Set a relative path to find spinit and to load the codemodels.
Installation will no longer require a fixed path C:\Spice64 etc.
2018-09-26 18:45:02 +02:00
dwarning d6e7833681 update fftw3 to version 3.3.5 under windows 2018-08-22 18:53:07 +02:00
Holger Vogt b0883ffc5d add the reset command to avoid huge memory leak 2018-08-18 11:26:55 +02:00
dwarning 6c682180ab ignore VS database files 2018-08-07 20:11:13 +02:00
Holger Vogt 6d14d0904a add evtshared.h to the MSVC project files 2018-07-21 23:56:24 +02:00
Holger Vogt 732c684756 update to the example, safeguard return value of ngSpice_GVI_handle 2018-05-30 22:12:06 +02:00
Holger Vogt 1504aba152 test file is now suited for Linux and VS 2018-05-27 21:39:49 +02:00
Holger Vogt 7de54b4819 rename evt node handle 2018-05-24 21:21:45 +02:00
Holger Vogt 4d10ddc6c0 preprocessor flag XSPICE also for release version 2018-05-24 21:21:16 +02:00
Holger Vogt 8324b0f646 prepare ngspice-28 2018-05-19 22:15:41 +02:00
Holger Vogt 0f46bb688f add comment and short README to ngspice shared
example for reading XSPICE data
2018-05-19 17:11:29 +02:00
Holger Vogt 9c5115cd00 add 64 bit capability 2018-05-19 16:53:29 +02:00
Holger Vogt 78643cbff7 fix paths to start app either by *.bat file
or directly from Visual Studio
2018-05-19 16:53:18 +02:00
h_vogt 81bd6b7d17 example added (adder_mos.cir) to demonstrate 'save none' 2018-05-19 16:51:48 +02:00