Commit Graph

316 Commits

Author SHA1 Message Date
Holger Vogt 5d51107ff3 Add logicexp.c to fftw and shared project files 2022-12-11 15:21:30 +01:00
Brian Taylor 4e76586b6b Reduce the delays of 'zero' delay gates to 1.0e-11. Add decoder test for logicexpr and pindly. 2022-12-11 15:19:17 +01:00
Holger Vogt f1165052ad We are developing towards ngspice-39 2022-11-06 11:23:17 +01:00
Holger Vogt 5bc1660773 prepare ngspice-38 2022-10-16 16:59:34 +02:00
Holger Vogt 4cb6c93a1a Add bidirectional bridge to MS project file for icm digital 2022-10-08 16:49:21 +02:00
Holger Vogt 1d026475a2 pwlts: a pwl v/i source with time input, smoothing and limiting functions 2022-10-07 13:39:16 +02:00
Holger Vogt 26c687b088 enable evtcheck_nodes.c for MS Visual Studio 2022-10-07 13:21:02 +02:00
Holger Vogt 5cf6c23db8 Add udevices.c to project 2022-10-07 13:03:52 +02:00
Holger Vogt 9b056c0c2f enable compiling with VS 2019 2022-10-07 12:57:04 +02:00
Holger Vogt d8119aaca4 Don't set interactive mode 2022-10-07 12:40:07 +02:00
Holger Vogt 0faf386d45 We developing towards ngspice-38
The intermediate stage is named 37+
2022-06-23 08:33:01 +02:00
Holger Vogt a4e6d0eef5 Remove headers: both are available in VS 2019 and VS 2022.
Local stdint.h will lead to a compile error in VS 2022.
2022-05-14 16:33:17 +02:00
Holger Vogt 303cf0c92b Prepare ngspice-37 2022-05-11 13:48:33 +02:00
Holger Vogt 8a6231a813 fix typo, remove unsuitable comment 2022-04-25 21:34:21 +02:00
Holger Vogt 5c0b41d277 Update to config.h
Move relevant entries up to the top of the file

S-parameter and periodic steady state may be selected in config.h

CIDER and XSPICE are always selected and cannot be excluded
(will not compile without).
2022-04-25 21:33:57 +02:00
Holger Vogt a29e53528a Move selection of RFSPICE into config.h 2022-04-25 21:33:49 +02:00
Holger Vogt ed0580b914 Update to the VS project files:
Add sp simulation to shared ngspice and fftw
Remove a few old, invalid *.h file entries
2022-04-25 21:33:23 +02:00
Alessio Cacciatori 4ebf4901b9 S-parameters in ngspice
With this commit the patch provided by Alessio Cacchiatori the S-parameter is completed:
Noise simulation added with C matrix output
Y and Z matrix output enabled

To allow compiling with gcc, the dense.h inline functions have been put into denseinlines.h
2022-04-25 21:31:28 +02:00
Holger Vogt 246f9f5e9e d_pwm: Add a hybrid oscillator (analg control in, digital out) with PWM
(pulse width modulation) capability, oscillation frequency is a parameter.

The model has been derived from the d_osc example.
2022-04-25 21:27:26 +02:00
Holger Vogt 909fbc8988 Add RFSPICE (S parameter simulation) to VS for shared ngspice and fftw 2022-02-17 15:49:00 +01:00
Alessio Cacciatori 2c10c4aebd S parameter simulation
Command '.sp'
arbitrary number of ports
ports made with modified VSRC

Patch provided by Alessio Cacciatori
https://sourceforge.net/p/ngspice/discussion/127605/thread/7a2655c86f/
2022-02-17 15:48:00 +01:00
Holger Vogt 4b48c4c6ba We are now developing ngspice-36+ 2022-01-01 15:33:14 +01:00
Holger Vogt 2b19e924dd prepare ngspice-36 2021-12-20 11:27:41 +01:00
Holger Vogt 7f1a3bea20 .probe: Add the new file inpc_probe.c to the VS project files
and makefile.am in ngspice/src/frontend
2021-12-13 21:47:11 +01:00
Holger Vogt ced6b038a5 cpl gc: Add missing files to project file 2021-10-30 10:45:58 +02:00
Holger Vogt 9806fb3b9e cpl gc: Add missing files to project file 2021-10-30 10:45:30 +02:00
Holger Vogt 041264df03 No more meory leaks with existing cpl examples:
Add cpldelete.c and cplmdel.c
Delete the model parameters.
Add 2 missing memsaved().
2021-10-30 10:44:07 +02:00
Holger Vogt 4837773045 Add cplhash.h to project 2021-10-30 10:40:52 +02:00
Holger Vogt 684e940fc9 add cplhash.c to compile 2021-10-30 10:37:57 +02:00
Holger Vogt 1eb15de584 remove optran command from spinit 2021-10-29 16:37:56 +02:00
Holger Vogt 04a902ddf7 add potran to spinit d 2021-09-29 20:22:01 +02:00
Holger Vogt 4a1f7f950c spinit: add optran to the standard inits 2021-09-29 20:16:09 +02:00
Holger Vogt 0e72287af7 Add command 'write_ic'
Write out the right hand side status of the matrix in format
.ic = V(node_xx)
This may be possible at the end of a simulation or after a 'stop'
of the simulation, which may be resumed again afterwars. This
status may be used to start another simulation with these
parameters by inluding into the netlist.
2021-09-29 20:11:13 +02:00
Holger Vogt ec986b3fbc Add optran.c
New custom build commands as suggested by VS
2021-09-29 20:09:36 +02:00
Holger Vogt 4dac35bac9 optran.c also in MSVC 2021-09-29 20:00:50 +02:00
Holger Vogt bdd8991d84 We are now developing ngspice-35+ 2021-09-29 19:55:52 +02:00
Holger Vogt d9a140c213 Update for the caller to invoke shared ngspice
path to shared ngspice also via command line parameter
add some alter statement after bg_halt
some smaller fixes to outputs, messages upon exit etc.
2021-08-08 10:21:40 +02:00
Holger Vogt 896f7cbc6d Adding spinit with path (to be edited by the user) to code models 2021-08-06 12:31:16 +02:00
Holger Vogt 9ae6a76a05 Prepare ngspice-35 2021-07-22 20:38:24 +02:00
Holger Vogt fbab9a0fe2 Add an analog delay source for transient simulation
Internal circular memory of size tstop/tstep or user defined.
(aprox.) every tstep a value is stored.
Delay time in multiples of tstep, by control voltage or user defined.
Dc or ac sim will simply connect input to output.
2021-07-05 14:24:06 +02:00
Holger Vogt 32204bffe0 enable cshunt for MS Windows fftw and shared ngspice 2021-07-02 11:53:15 +02:00
Holger Vogt f8357dad88 Prepare Cshunt: add a cpacitor to each voltage node
Function inppas4() will add the extra caps, to be done.
2021-07-02 11:52:15 +02:00
Holger Vogt 4dcc243aaf Add missing references to svg.c 2021-03-28 13:31:01 +02:00
Holger Vogt 87b59d22a5 add generation of svg graphics file
based on patch no. 97 by Giles Atkinson
2021-03-14 15:29:53 +01:00
Holger Vogt 9e477d36cd We now have ngspice-34+ 2021-02-21 16:48:01 +01:00
Holger Vogt 4f385b604b remove obsolete command 2021-02-21 16:46:52 +01:00
Holger Vogt 8de513e8e9 ngspice.exe and .dll (.so): seperate the main files:
main.c now belongs to exe, sharedspice.c to dll (so)
2021-01-26 18:17:59 +01:00
Holger Vogt eedb5b9027 Update for ngspice-34 2021-01-03 08:47:47 +01:00
Holger Vogt 3ace60ffdc Update to fftw VS project file 2021-01-03 08:31:57 +01:00
Holger Vogt 14482ed784 include the duals/dual header into the VS2019 project file 2020-12-22 17:56:18 +01:00