Commit Graph

8217 Commits

Author SHA1 Message Date
Brian Taylor 2db2b3416f For unspecified gate delays (logic and tristate gates), which PSpice would consider as zero, set the rise and fall delays to 1.e-12s (the minimum for Xspice). For dff, jkff, dlatch, and srlatch use the Xspice default 1.0ns for rise and fall delays. If the ngspice variable (ps_port_directions & 2) is true, write the translated subckt to stdout, with TRANS_OUT prefix, for debugging purposes. The user could edit and replace the translated subckt if desired. 2023-01-26 15:49:18 -08:00
Brian Taylor c72781584a ERROR messages should be printed to stderr. 2023-01-09 12:23:38 -08:00
Brian Taylor 26d3da5b43 Merge branch 'pre-master' into bt_dev 2023-01-09 11:51:55 -08: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 af902ed975 Rename projetc to OR (OR-gate)
Add new path (absolute, so has to be modified by any user)
2022-12-27 11:05:33 +01:00
Holger Vogt 2355fc8a4e Add missing includes 2022-12-27 11:02:59 +01:00
Brian Taylor d35491fa8f Return errors from f_logicexp and f_pindly without calling exit. 2022-12-26 21:47:38 -08:00
Brian Taylor a340515e77 Add more error checks for f_logicexp and f_pindly. 2022-12-24 12:27:57 -08:00
Brian Taylor 2670b96c1e Merge branch 'pre-master' into bt_dev 2022-12-23 08:24:38 -08:00
Holger Vogt ab3993faa0 Add --enable-osdi to Cygwin build 2022-12-23 16:48:54 +01:00
Holger Vogt 2a28c51c1e Add PREDICTOR pre-processor flag to MSVC 2022-12-23 16:48:33 +01:00
Holger Vogt 0fb80096b0 Rename examples for ECL OR gate
Simulate OR gate faster TSTEP 0.1n -> 0.3n
2022-12-23 16:47:51 +01:00
Brian Taylor 4c91b23c24 Merge branch 'pre-master' into bt_dev 2022-12-22 19:10:35 -08:00
Brian Taylor dacbf453ab Remove the old inverter code. 2022-12-22 22:26:09 +01:00
Brian Taylor 6cb94f26a4 Refactor new_gen_output_models. 2022-12-22 22:26:03 +01:00
Brian Taylor 0a39143f93 Merge branch 'pre-master' into bt_dev 2022-12-22 10:09:42 -08:00
dwarning 96ba61ae1e add instance parameter mulu0 for mobility reduction bsim4.5 and 4.6 2022-12-22 14:19:50 +01:00
Holger Vogt cb970949f3 Missing renaming: osdi_win --> osdi_libs 2022-12-21 23:21:18 +01:00
Holger Vogt 4335ca299b For OSDI n devices: Enable model translation,
if model has been inside subcircuit.
2022-12-21 22:07:11 +01:00
Brian Taylor 7581ed554e Remove the old inverter code. 2022-12-20 10:43:15 -08:00
Brian Taylor 5f94c556fd Refactor new_gen_output_models. 2022-12-19 13:10:32 -08:00
Brian Taylor 82465bea5f Merge branch 'pre-master' into bt_dev 2022-12-19 10:50:45 -08:00
Holger Vogt a62507a402 Remove 2022-12-19 14:31:09 +01:00
Holger Vogt 5c3e255f9f Move adder_common.inc to be available for all test files. 2022-12-19 14:30:13 +01:00
Giles Atkinson b576716caa 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.
2022-12-19 14:02:35 +01:00
Holger Vogt bb7034b559 Rename test_osdi_libs to osdi_libs 2022-12-19 10:44:59 +01:00
Holger Vogt edd4a2343c ADMS is declared deprectaed and is replaced by OpenVAF/OSDI. 2022-12-17 14:46:52 +01:00