Commit Graph

37 Commits

Author SHA1 Message Date
Holger Vogt f2247a3c6f Use sparse, as KLU will fail. 2023-09-10 13:43:09 +02:00
Holger Vogt 5c8af9770b Add rusage to measure simulation time. 2023-05-27 10:48:07 +02:00
Brian Taylor 7ff8f3773f Handle cases where logicexp has a timing model but no pindly. This is rare, only 22 tests from the digital libraries. Move digital examples, add missing .spiceint file. 2022-12-11 15:34:33 +01:00
Brian Taylor cd883d23d6 Examples for 74*568 behavioral subckts. 2022-12-11 15:33:53 +01:00
Holger Vogt 5324319edb Move digital examples to new locations 2022-12-11 15:33:08 +01:00
Brian Taylor 4294f49968 Add more vectors to behavioral 283 circuit. Add tristate buffer circuit which shows glitches until inertial delays are implemented. 2022-12-11 15:25:24 +01:00
Brian Taylor d425beb557 Typo, 2 x1 subcircuits. 2022-12-11 15:20:49 +01:00
Brian Taylor d54c1fc091 Add pindly tristate example. Cleanup error handling. 2022-12-11 15:20:27 +01:00
Brian Taylor b142be7fde Add behavioral (LOGICEXP, PINDLY) test for 283 circuit. There are glitches in the simulation for some of the s* outputs. Probably due to not having inertial delays. And why not set 'zero' delays as close to zero as permitted by XSPICE. 2022-12-11 15:19:39 +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 43de22ec24 Update to the examples: enable plotting with option digitop 2022-10-24 17:05:34 +02:00
Brian Taylor 4706c3dea5 Add 74xx283 4-bit adder example from the Micro Cap digital example circuits. Pspice primitives are translated to Xspice and a waveform is displayed using GTKWave. This is a digital-only test. 2022-10-07 13:15:23 +02:00
Holger Vogt e9b5a9a957 aswitch needs two input nodes because gd has been selected for input. 2022-10-07 13:13:38 +02:00
Brian Taylor 7f38ce4ebb Remove debug code. 2022-10-07 12:55:42 +02:00
Brian Taylor 112e47d0d3 This test is equivalent to examples/xspice/xspice_c3.cir and uses Pspice subckts for the divider and nand gate. 2022-10-07 12:53:03 +02:00
Brian Taylor e8dfd16cb2 Add counter test. Check for usage of $d_lo, $d_hi, $d_nc usage with dff, jkff, dltch which will not translate to Xspice. 2022-10-07 12:52:39 +02:00
Brian Taylor f7c519f149 All-digital U* device examples. No a/d or d/a interfaces on the subcircuits. 2022-10-07 12:52:20 +02:00
Holger Vogt 7f326b4fe1 remove options not needed
local behavior setting
2022-04-25 21:26:57 +02:00
Holger Vogt c7a3fc4401 PostScript example input file 2021-03-14 15:32:56 +01:00
Holger Vogt e927fe57af remove obsolete parameter 2021-02-21 16:48:36 +01:00
Holger Vogt af2f3790f1 Enlarge pulse width to allow the amp to stabilize 2020-10-11 22:40:36 +02:00
Holger Vogt b86f7ce14d compare aswitch (with limit=TRUE) and pswitch 2020-10-10 13:54:23 +02:00
Holger Vogt fdc143ce16 Add a limit capability to the code model aswitch
Example switch-oscillators_inc.cir showed currents up to 3GA
2020-10-10 13:53:36 +02:00
Holger Vogt 38f7bf31ef Replace $ by ; as end-of-line comment delimiter
$ is a standard character in PSPICE
2020-05-01 18:35:40 +02:00
dwarning 6a93dd16d1 specific ngbehavior by .spiceinit 2020-03-15 08:51:15 +01:00
Holger Vogt 23cef80914 option not needed for convergence 2020-03-15 08:50:59 +01:00
Holger Vogt e6bbedf203 example for ~(~v(9)&v(8)) 2020-03-15 08:50:57 +01:00
Holger Vogt c8082072fb Add ac simulation 2019-11-30 11:36:26 +01:00
Holger Vogt 3109cf2825 add simulation time info 2019-10-05 13:16:13 +02:00
Holger Vogt 7592644400 small update for README, hint to manual chapt. 16.13.5 2018-07-22 10:30:50 +02:00
Holger Vogt ea3ada107b small addition (hint to add 'set ngbehavior=ps') 2018-07-22 08:36:36 +02:00
Holger Vogt d61fa145c1 Update to PSPICE-ngspice models
README with download information
2018-07-21 23:59:27 +02:00
Holger Vogt 5623996b33 give a hint where to download library
remove library from distribution
2018-06-01 21:57:03 +02:00
Holger Vogt 930ef32c83 path to library is the actual directory 2018-06-01 20:56:46 +02:00
Holger Vogt 7b6cd86a62 re-write vswitch transformation code:
first scan: check for each .model with vswitch
second scan: check for switch instances
(s lines) using the models
2018-05-22 20:19:50 +02:00
Holger Vogt 210345c78a example for mixed vswitch, standard switch circuit 2018-05-21 23:37:50 +02:00
Holger Vogt 949299f2fc add examples for PSPICE -> ngspice transfer 2018-05-18 15:57:20 +02:00