Commit Graph

8823 Commits

Author SHA1 Message Date
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
Giles Atkinson 803168bdf2 Add a simple example of using string-valued parameters. 2023-01-09 16:20:26 +01:00
Holger Vogt 111ec29e61 Rename example file 2023-01-09 16:14:25 +01:00
Brian Taylor a6b4f779fb Fix some comments. 2023-01-08 09:19:44 +01:00
Brian Taylor 2bba40f2c5 Add serial load to 74f524 example. 2023-01-08 09:19:40 +01:00
Francesco Lannutti 0e30430506 enable compiling without XSPICE on specific OSs 2023-01-06 18:01:48 +01:00
Francesco Lannutti 4407614094 OSDI: fix const declaration, unused variables 2023-01-06 18:00:48 +01:00
Holger Vogt 864e722f4a For memcpy in PREDICTOR 2023-01-06 17:28:39 +01:00
Holger Vogt b1a806c35d A preliminary fix to bug report 612
Don't set series voltage sources when flag probe_alli_nox
is set in .spiceinit
2023-01-06 11:50:45 +01:00
Holger Vogt e8eae7aa85 Update to fcn tprint:
allow multiple printouts in a single simulation run,
without overwriting the previous printout.
2023-01-04 22:44:16 +01:00
Holger Vogt 1a50ca33cd 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-04 15:35:21 +01:00
Brian Taylor 7af21d1f5f Fix some comments. 2023-01-03 09:38:57 -08:00
dwarning b6f5e5b5a8 special ngbehavior needed 2023-01-02 14:48:37 +01:00
Brian Taylor 4a88c60261 Add serial load to 74f524 example. 2022-12-31 11:18:29 -08:00
Brian Taylor b0000c6eda Add example for 74f524. 2022-12-31 15:03:43 +01:00
Brian Taylor 0d74a07316 Ensure that amatch output is not binary data. 2022-12-31 15:03:35 +01:00
Brian Taylor 9acee01604 Add variable ps_udevice_exit. If set non-zero, ngspice will exit if there is an error processing f_logicexp or f_pindly. 2022-12-31 15:03:31 +01:00
Brian Taylor de1c835edd Return errors from f_logicexp and f_pindly without calling exit. 2022-12-31 15:03:26 +01:00
Brian Taylor 3ca9f037bd Add more error checks for f_logicexp and f_pindly. 2022-12-31 15:03:18 +01:00
Holger Vogt 4bac920564 Add PREDICTOR to Cygwin build 2022-12-31 14:56:07 +01:00
Brian Taylor 4fad5c6149 Add example for 74f524. 2022-12-30 19:12:39 -08:00
Brian Taylor f137cc0c5c Ensure that amatch output is not binary data. 2022-12-27 20:48:53 -08:00
Brian Taylor afcab5f907 Add variable ps_udevice_exit. If set non-zero, ngspice will exit if there is an error processing f_logicexp or f_pindly. 2022-12-27 14:42:23 -08:00
Brian Taylor d184d1ea94 Merge branch 'pre-master' into bt_dev 2022-12-27 09:32:16 -08:00
holger aacd4350c3 Prevent memory leak while "PREDICTOR" is selected 2022-12-27 18:02:04 +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
Brian Taylor fe52771aff Remove the old inverter code. 2022-12-27 14:21:05 +01:00
Brian Taylor 3578deda80 Refactor new_gen_output_models. 2022-12-27 14:20:43 +01:00
dwarning 26e73c09b3 add instance parameter mulu0 for mobility reduction bsim4.5 and 4.6 2022-12-27 14:20:20 +01:00
Holger Vogt 3e27e640b5 Missing renaming: osdi_win --> osdi_libs 2022-12-27 14:19:58 +01:00
Holger Vogt 199b9deee6 For OSDI n devices: Enable model translation,
if model has been inside subcircuit.
2022-12-27 14:19:37 +01:00
Holger Vogt 4f73f18f6d Remove 2022-12-27 14:19:18 +01:00
Holger Vogt 69660ad387 Move adder_common.inc to be available for all test files. 2022-12-27 14:18:54 +01:00
Holger Vogt bb9469a03a Rename test_osdi_libs to osdi_libs 2022-12-27 14:14:01 +01:00
Holger Vogt a1641d5a78 ADMS is declared deprectaed and is replaced by OpenVAF/OSDI. 2022-12-27 14:13:45 +01:00
Holger Vogt 96608abbe2 Update with Semimod download page 2022-12-27 14:13:27 +01:00
Holger Vogt 157200aa86 Rename test_osdi_win to test_osdi_libs 2022-12-27 14:13:02 +01:00
Holger Vogt a211a90e5a Mextram models: plotting with thicker lines 2022-12-27 14:12:41 +01:00
Holger Vogt ac73e6f7b7 Update to the examples for osdi 2022-12-27 14:12:10 +01:00
Holger Vogt fa18c53c37 Update for all MSVC project files:
Update to VC2022 with v143 and /openmp:llvm (due to openmp task)
Add missing osdi files
Add missing udevices.c and logicexp.c
2022-12-27 14:11:33 +01:00
Pascal Kuthe d0bd945c00 slightly optimize predictor 2022-12-27 14:11:07 +01:00
Pascal Kuthe 477ce85e29 compile with -std=gnu11 instead of -std=c11 2022-12-27 14:10:48 +01:00