Commit Graph

309 Commits

Author SHA1 Message Date
Holger Vogt 1f6c4d6338 Add a new code model pswitch, behaviour directly compatible
to PSPICE (rounded corner at cntl_on)
2020-10-10 13:53:47 +02:00
Holger Vogt 37858e66ec utf-8 without BOM 2020-10-10 12:08:41 +02:00
Holger Vogt 3671f8cea6 update on using bison as a CustomBuild command 2020-08-20 15:27:14 +02:00
Holger Vogt 36098b93bd no two or more commands in a single line 2020-08-20 15:25:27 +02:00
Holger Vogt 238f85b10a We now develop ngspice 32+ 2020-05-13 22:38:25 +02:00
Holger Vogt 0f2470cad3 remove com_xgraph 2020-05-03 22:38:12 +02:00
Holger Vogt c36104390e removed unused call to com_xgraph 2020-05-03 22:27:34 +02:00
Holger Vogt 667f46711c Prepare ngspice-32 2020-04-25 11:29:36 +02:00
dwarning 8ee46aa84e bring only the 32/64bit configuration inline 2020-04-21 19:54:16 +02:00
Holger Vogt 39b0864d42 update to re-enable icon 2020-04-04 14:21:01 +02:00
dwarning 57d3ad7ab3 add sharedspice.sln for VisualStudio 2020-04-04 14:14:48 +02:00
Holger Vogt 1c50aeae0f remove xgraph in ngspice shared lib 2020-03-15 08:51:16 +01:00
dwarning fd066e23ce add wincolor 2020-03-15 08:51:15 +01:00
dwarning a9a42f7395 no xgraph anymore 2020-03-15 08:51:14 +01:00
Holger Vogt 7f085144a9 remove all the remains of quote() and strip() that had been
used to modify the eigths bit of a character or string.
The functions had been switched off some time ago.
We now need all bits of a char for extended ascii or utf8
2020-03-15 08:51:12 +01:00
Holger Vogt 8d986e50cc remove the remains of the old xgraph program
that has not been supported for many years
2020-03-15 08:51:12 +01:00
Holger Vogt 3701ca0364 add color selection to WinGui plots 2020-03-15 08:51:10 +01:00
Holger Vogt a6cd4285a2 undo EXT_ASC 2020-03-15 08:51:10 +01:00
Holger Vogt 6b8c657bfc add optional HAVE_XFT and EXT_ASC for Visual Studio 2020-03-15 08:51:09 +01:00
Holger Vogt 5e76758e57 update to cmpp by J. Monte 2020-03-15 08:51:02 +01:00
Jim Monte 1867f5b727 Fix of buffer overrun in interpolation at endpoint of interval. Made cfunc.mod for tables more modular. Prevented buffer overrun when building file name. Added error checking for allocation failures in many locations. Made binary search for interpolation more efficient. 2020-03-15 08:51:02 +01:00
dwarning 0362d63094 update vdmos with self-heating network and tj and tcase terminal 2020-03-15 08:50:59 +01:00
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
h_vogt 3958783010 example for using shared ngspice.dll with XSPICE 2018-05-19 16:45:28 +02:00
h_vogt 20f6727e29 evtshared.c, prepare node data for transfer via shared ngspice interface 2018-05-19 16:42:01 +02:00
Holger Vogt 8473c8e03c remove empty VMOSdelete() function 2018-05-04 20:34:00 +02:00
Holger Vogt b6a8613427 remove unused old sensitivity functions 2018-05-04 20:33:58 +02:00
Holger Vogt d9bc4a5b41 add src/spicelib/devices/vdmos to ngspice 2018-05-04 20:33:53 +02:00
rlar d981fb331b spicelib/devices/*, drop empty destroy functions 2018-04-15 07:13:06 +02:00
rlar 93b62297d8 devices/mos6, add missing files mos6del.c and mos6mdel.c
this is a plain copy from mos3
2018-02-02 22:53:43 +01:00
rlar c900cc8824 drop ngspice internal implementation of erfc()
which these days is guaranteed to be provided by <math.h>

note,
  our own implementation was incorrect anyway.
  it evaluated to
    erfc_ngspice(x) = erfc(fabs(x))
2017-10-28 12:38:32 +02:00
h_vogt 5df712cd24 prepare ngspice-27 2017-08-23 23:48:28 +02:00
Tim Edwards fd79197fc0 xspice/icm/digital, introduce d_genlut
a digital n-input x m-output look-up table gate
2017-05-01 22:11:24 +02:00
Tim Edwards 8ae3b84c7c xspice/icm/digital, introduce d_lut
a digital n-input look-up table gate
2017-05-01 22:11:04 +02:00
h_vogt 37fe5308d3 xspice/icm/table, introduce table2d/table3d
which allows to model devices based upon linear interpolation
2017-04-30 17:00:15 +02:00
h_vogt b85270c30c sharedspice.vcxproj, add 64 bit capability 2016-11-01 11:04:52 +01:00
h_vogt 57980c7471 sharedspice.vcxproj, add suitable preprocessor flags 2016-11-01 11:02:36 +01:00
rlar 875cab6758 *.vcxproj, enable <GenerateDebugInformation>true 2016-10-22 20:10:21 +02:00
rlar edaded001a *.vcxproj, use <DebugInformationFormat>ProgramDatabase 2016-10-22 20:01:46 +02:00
rlar 96a35e0144 *.vcxproj, increase <WarningLevel>Level4 2016-10-22 20:01:30 +02:00
h_vogt 9f62057973 introduce include file "ngspice/randnumb.h" 2016-08-15 11:30:26 +02:00
rlar d298d5cc2f use memset() instead of deprecated bzero() 2016-07-30 20:58:33 +02:00
rlar 141ed61ec8 use memcpy() instead of deprecated bcopy() 2016-07-30 20:58:19 +02:00
rlar 4c60783e4d xspice, implement EVTdest() to fix xspice memory leaks 2016-05-07 15:50:34 +02:00
rlar 97cc400efb ngspice/evt.h, ngspice/enh.t, reduce scope of these include files 2016-05-07 15:36:43 +02:00
h_vogt 7d8e287fa3 enable backquote substitution for Visual Studio console apps 2016-03-09 20:24:37 +01:00
h_vogt 72d7bb9c8a introduce visualc/{*install*.bat,*.sln} and update howto file 2016-02-07 17:45:43 +01:00
h_vogt c022d8f419 introduce visualc/xspice 2016-02-07 17:45:43 +01:00
h_vogt caee377fd3 visualc/, put flex/bison output files into tmp-bison/ 2016-02-07 17:45:42 +01:00
h_vogt a0106d3590 visualc/, move *.c, *.h into src/ 2016-02-07 17:45:42 +01:00
h_vogt 9e9240aae3 visualc/include/ngspice/config.h, target directories for debug versions 2016-02-07 17:45:42 +01:00