Commit Graph

257 Commits

Author SHA1 Message Date
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
h_vogt 866bc36e3a visualc/*.vcxproj, <LargeAddressAware>true
allow access to
 4 GB memory of 32 bit ngspice on 64 bit Windows,
 8 TB for 64 bit ngspice.
2016-02-07 17:45:42 +01:00
rlar d07b76610b visualc/.gitignore, src/spinit.in, cleanup 2016-02-07 17:33:39 +01:00
h_vogt 4b1f264704 visualc/include/ngspice/config.h, scalbn() and erfc() are available in VS 2015 2016-01-07 17:38:13 +01:00
rlar 9d99a06bcd dvec abstraction, #2/11, introduce `dvec_alloc()' 2015-12-28 20:34:42 +01:00
dwarning 6abb4311cf state more precisely 64bit fftw3 usage 2015-11-20 07:04:12 +01:00
rlar 6fa6b82ad5 visualc/config.h, HAVE_..., isinf(), isnan(), finite() 2015-11-15 15:09:30 +01:00
rlar a30d5b6921 visualc/config.h, cleanup and drop unused NGSPICEBUILDDATE 2015-11-15 15:09:30 +01:00
rlar 93a7d68729 visualc/.gitignore, cleanup, meanwhile the visual studio byproducts are better known 2015-11-15 15:09:30 +01:00
rlar 6d2ee47643 visualc, rename --> vngspice-fftw.vcxproj 2015-11-15 15:09:30 +01:00
rlar 2ccde3e777 visualc, move libfftw3 sideways out of the ngspice tree 2015-11-15 15:09:30 +01:00
rlar 96f6ebfb80 visualc/*.vcxproj, win_bison.exe in CustomBuild instead of PreBuildEvent 2015-11-15 15:09:30 +01:00
rlar df601c5662 visualc/*.vcxproj, canonical directory structure for all project/configuration/platform tuples 2015-11-15 15:09:29 +01:00
rlar 5dbd9abd1c visualc/*.vcxproj, remove redundant $(ProjectDir) 2015-11-15 15:09:29 +01:00
rlar 8595790328 visualc/*.vcxproj, modernize usage of <PropertyGroup> 2015-11-15 15:09:29 +01:00
rlar 88dfddb76b visualc/*.vcxproj, use <TargetName> based default instead of explicit <OutputFile> 2015-11-15 15:09:29 +01:00
rlar e480b2b4fc visualc/vngspice_fftw.vcxproj, add <TargetName> 2015-11-15 15:09:29 +01:00
rlar ac4395d6fc visualc/*.vcxproj, conf.obj is actually $(IntDir)conf.obj 2015-11-15 15:09:29 +01:00
rlar 45e569a630 visualc/sharedspice.vcxproj, add <ProjectName> 2015-11-15 15:09:29 +01:00
rlar b6b051b132 visualc/*.vc*proj, sort the entries into a convenient order 2015-11-15 15:09:29 +01:00
rlar 5b254d8148 visualc/*.vcxproj, migrate to visual studio 2015 2015-11-15 15:09:29 +01:00
rlar eaa8e7bef4 visualc/*.vcproj, remove visual studio 2008 .vcproj files 2015-11-15 15:09:29 +01:00
rlar d8e6b02db0 visualc/sharedspice.vcxproj, enable <MultiProcessorCompilation> 2015-11-15 15:09:29 +01:00
rlar 437ce81eb2 visualc/sharedspice.vcxproj, migrated with visual studio 2015 2015-11-15 15:09:29 +01:00
rlar d482d821d3 visualc/*.vc*proj, polish <OpenMPSupport> 2015-11-15 15:09:29 +01:00
rlar f08817b827 visualc/*.vc*proj, sort the entries into a convenient order 2015-11-15 15:09:29 +01:00
rlar 6e5b177c85 visualc/*.vc*proj, unify, remove stray <PreprocessorDefinitions>...RELBUILD64 2015-11-15 15:09:29 +01:00
rlar a4388afa07 visualc/*.vc*proj, <PreprocessorDefinitions>, enable XSPICE 2015-11-15 15:09:28 +01:00
rlar 7477394ed8 visualc/vngspice_fftw.vcxproj, swallow <CustomBuildStep> into <PreBuildEvent> 2015-11-15 15:09:28 +01:00
rlar ce7b36aeaa visualc/vngspice.vcxproj, reposition <PreBuildEvent> 2015-11-15 15:09:28 +01:00
rlar 55e5f5b936 visualc/vngspice.vcxproj, reposition <Message> 2015-11-15 15:09:28 +01:00
rlar 4cfbb5995f visualc/*.vc*proj, avoid warning, "if exists ... del ..."
(query-replace-regexp "CommandLine=\"del \\(.*\\).obj" "CommandLine=\"if exist \\1.obj del \\1.obj")
(query-replace-regexp "<Command>del \\(.*\\).obj" "<Command>if exist \\1.obj del \\1.obj")
2015-11-15 15:09:28 +01:00
rlar 63fdccdee8 visualc/vngspice.vcxproj, drop unused <CustomBuildStep> 2015-11-15 15:09:28 +01:00
rlar 949f69d6de visualc/*.vc*proj, drop ExcludeFromBuild="false" and <PreBuildEventUseInBuild..true
thats the default anyway
2015-11-15 15:09:28 +01:00
dwarning ffc60a7c64 vngspice.vcxproj, missing <TargetName> 2015-11-15 15:09:28 +01:00
rlar 9a7a793121 sharedspice.vcproj, missing "LinkTimeCodeGeneration", unify "OutputFile" 2015-11-15 15:09:28 +01:00
rlar 6c4a87d530 visual*/*.vc*proj, unify <PreprocessorDefinitions>, drop stray XSPICE 2015-11-15 15:09:28 +01:00
rlar 3433cdf983 vngspice_fftw.vcxproj, add <MultiProcessorCompilation>" 2015-11-15 15:09:28 +01:00
dwarning f178f4b2f6 vngspice_fftw_vc10.vcxproj, rename --> vngspice_fftw.vcxproj 2015-11-15 15:09:28 +01:00
rlar 4dfb60b6d9 vngspice.vcxproj, glue sequence of <PreBuildEvent> 2015-11-15 15:09:28 +01:00
rlar cee01b1d35 vngspice.vcxproj, unify, <PrecompiledHeader> and <CompileAsManaged> 2015-11-15 15:09:28 +01:00
dwarning f455d5b3fa vngspice.vc*proj, unify, remove stray <AdditionalLibraryDirectories>
"Visual Leak Detector"
2015-11-15 15:09:28 +01:00
rlar ba9fd345b2 visualc*/*.vc*proj, unify, `<LinkIncremental>=false...' 2015-11-15 15:09:28 +01:00
dwarning 88a760eccc move sharedspice.vcproj to visualc/ 2015-11-15 15:09:27 +01:00
h_vogt 794bb5ee2f visualc*/*.vc*proj, unify, unset `<ExceptionHandling>' 2015-11-15 15:09:27 +01:00
h_vogt 2c1266d82e visualc*/*.vc*proj, unify, MinimalRebuild="false" 2015-11-15 15:09:27 +01:00
rlar 677384bb38 visualc, ngspice.h takes already care of `_logb' 2015-11-15 15:09:27 +01:00
h_vogt d74da6aa95 *.vc*proj, polish Message/Description 2015-11-15 15:09:27 +01:00
rlar 8046ede515 *.vc*proj, fix path to the win_bison generated files 2015-11-15 15:09:27 +01:00
rlar f08437d53b *.vc*proj, add parse-bison.h entry 2015-11-15 15:09:27 +01:00
rlar 250215cb79 *.vc*proj, invoke win_bison.exe 2015-11-15 15:09:27 +01:00
rlar ea5efcf27d *.vc*proj, sort them to their fashion 2015-11-15 15:09:27 +01:00
rlar 2975cc098d *.vc*proj, synchronize AdditionalIncludeDirectories
all of them shall have the visualc local "include"
   in front of "src/include"
2015-11-15 15:09:26 +01:00