Commit Graph

8175 Commits

Author SHA1 Message Date
Holger Vogt dbdbcf95c2 BSIMBULK example with locally adding osdi models
by using the 'pre_osdi' command in a .control section
2023-01-28 17:01:22 +01:00
Holger Vogt 6ef94cb9f2 Prevent from endless loop 2023-01-28 17:01:03 +01:00
Holger Vogt f8d0246ec3 Fix a typo 2023-01-27 17:18:08 +01:00
Holger Vogt 6da2659026 Remove the debug printout 2023-01-27 16:44:54 +01:00
Holger Vogt 4b8d575122 Add a user definable variable enable_noisy_r (for .spiceinit)
to enable noise calculation for all behavioral resistors.
May locally be switched off by instance parameter noisy=0
If enable_noisy_r is not set, noise simulation
may locally be enabled by instance parameter noisy=1.
2023-01-27 16:12:42 +01:00
Holger Vogt 167c708e69 Add searchpath for *.osdi relative to ngspice executable 2023-01-27 16:10:28 +01:00
Holger Vogt 4ed455ea19 fix comment 2023-01-27 16:10:09 +01:00
Holger Vogt 65cd01f3c5 fix comment 2023-01-27 16:09:51 +01:00
Holger Vogt 802ab2a2c5 Do not try to load *.osdi automatically 2023-01-27 16:09:38 +01:00
Holger Vogt be6bd990db Error message to stderr 2023-01-27 16:09:19 +01:00
Holger Vogt b9eef23eed Update the example structure for OSDI/OpenVAF:
all compiled models into lib/ngspice
spinit updated to load the models via command 'osdi'
local calls with 'pre_osdi' commanted out.
2023-01-27 16:08:17 +01:00
Holger Vogt 62290952a6 Prepare for ngspice-39 2023-01-24 16:49:58 +01:00
Holger Vogt 5bd45eeb87 The Roessler Attractor examples has been provided by
Giles Atkinson, of course
2023-01-24 16:29:50 +01:00
Holger Vogt 4708575960 Prepare for ngspice-39 2023-01-24 16:25:11 +01:00
Holger Vogt 71002aa42f Prepare for ngspice-39 2023-01-24 15:49:42 +01:00
Holger Vogt 16c7c407d4 Nice looking Roessler Attractor
provided by A. Gillespie
2023-01-24 15:17:45 +01:00
Holger Vogt cb5f9e9bdc MOS example files updated and moved to its own directory 2023-01-24 15:17:31 +01:00
dwarning 33a2637530 correct header entry 2023-01-24 15:17:14 +01:00
dwarning 9c26206a68 bsim4 version update from 4.8.1 to 4.8.2 2023-01-24 15:16:55 +01:00
Pascal Kuthe d0c35512ab properly abort for invalid OSDI paramters 2023-01-23 12:04:10 +01:00
Holger Vogt 653db022ea better comment 2023-01-20 15:08:26 +01:00
Holger Vogt 3260492987 Enhance the search path for osdi files: when not found rel. to
inputdir, search rel. to current working directory.
2023-01-20 15:08:14 +01:00
Holger Vogt 1280e199a3 Add boolean variables as flags when XSPICE and/or OSDI are enabled 2023-01-20 15:07:57 +01:00
Holger Vogt af9f25e985 Various filter examples using Laplace expression x_fer 2023-01-20 15:07:37 +01:00
Holger Vogt 49b7cb85db Add a shunt resistor of 1e15 Ohms to any X (subcircuit call) line
when the node name contain 'unconnected' and .probe alli is called.
2023-01-15 13:38:15 +01:00
Holger Vogt 02789b2c42 The modulo function a % n should accept a==0.
The fix adds this to the control section function parser. The numparam
parser already has this feature. n==0 is rejected as usual.
2023-01-15 13:37:57 +01:00
Brian Taylor dcfe4e7134 ERROR messages should be printed to stderr. 2023-01-15 13:37:42 +01:00
Giles Atkinson bf580abf69 Add a simple example of using string-valued parameters. 2023-01-09 16:33:53 +01:00
Holger Vogt 01c211339c Rename example file 2023-01-09 16:33:38 +01:00
Brian Taylor a76f8d5149 Fix some comments. 2023-01-09 16:33:25 +01:00
Brian Taylor 4936fa2b1d Add serial load to 74f524 example. 2023-01-09 16:33:10 +01:00
Francesco Lannutti 167ff74422 enable compiling without XSPICE on specific OSs 2023-01-09 16:32:54 +01:00
Francesco Lannutti 036775efa5 OSDI: fix const declaration, unused variables 2023-01-09 16:32:30 +01:00
Holger Vogt 31b0b640de For memcpy in PREDICTOR 2023-01-09 16:32:16 +01:00
Holger Vogt ebd430e51b A preliminary fix to bug report 612
Don't set series voltage sources when flag probe_alli_nox
is set in .spiceinit
2023-01-09 16:32:00 +01:00
Holger Vogt 1a4880344f Update to fcn tprint:
allow multiple printouts in a single simulation run,
without overwriting the previous printout.
2023-01-09 16:31:44 +01:00
Holger Vogt 164ed05786 enable 'off', 'print', 'save' being part of a node name.
Only plain 'off' (case of bipolar), or 'print', 'save'
(in case of CIDER) will not be allowed.
2023-01-09 16:31:15 +01:00
dwarning 0cae4f0b6c special ngbehavior needed 2023-01-09 16:31:01 +01:00
Brian Taylor c7fd3bcaee Add example for 74f524. 2023-01-09 16:30:42 +01:00
Brian Taylor 6117836d01 Ensure that amatch output is not binary data. 2023-01-09 16:30:22 +01:00
Brian Taylor 90ec717f3b Add variable ps_udevice_exit. If set non-zero, ngspice will exit if there is an error processing f_logicexp or f_pindly. 2023-01-09 16:29:24 +01:00
Brian Taylor 5e6452099e Return errors from f_logicexp and f_pindly without calling exit. 2023-01-09 16:29:08 +01:00
Brian Taylor 0a3cdf8e3a Add more error checks for f_logicexp and f_pindly. 2023-01-09 16:28:43 +01:00
Holger Vogt 5c777d974f Add PREDICTOR to Cygwin build 2023-01-09 16:28:17 +01:00
holger 97e0c0f37e Prevent memory leak while "PREDICTOR" is selected 2023-01-09 16:27:55 +01:00
Giles Atkinson 301f50335d Add limited support for string-valued parameters in .param lines.
The right-hand side of an assignment may be a string expression
made up from quoted strings, and identifiers for other string parameters,
optionally in braces.  There may be no un-quoted spaces.
Example: .param str4=str1"String 4"str2{str3}

Subcircuits may have default and actual string parameters, but the values
must be single identifiers, not quoted strings or string expressions.
2023-01-09 16:26:59 +01:00
Holger Vogt 4bcd4daf55 Rename projetc to OR (OR-gate)
Add new path (absolute, so has to be modified by any user)
2022-12-27 14:22:07 +01:00
Holger Vogt 029f2baff7 Add missing includes 2022-12-27 14:21:53 +01:00
Holger Vogt 74a2844c3f Add --enable-osdi to Cygwin build 2022-12-27 14:21:40 +01:00
Holger Vogt b639ebae44 Rename examples for ECL OR gate
Simulate OR gate faster TSTEP 0.1n -> 0.3n
2022-12-27 14:21:24 +01:00