Commit Graph

406 Commits

Author SHA1 Message Date
Brian Taylor 2c6434aec9 Example for 7490a Pspice subckt. This exercises jkff, logicexp, and pindly conversions to XSPICE. 2023-07-24 11:00:32 -07:00
Giles Atkinson 1876e59aaf Fix the NAND and NOR variants of XSPICE code model multi_input_pwl
and add an example of its use with the E-source NAND variant.
2023-07-21 08:47:04 +02:00
Brian Taylor b63f6e7905 When Cider models are present, a normal batch mode sp_shutdown (for example, ngspice -b cmosinv.cir) will call com_quit(NULL). This cleans up so that valgrind will find no leaks in Cider devices after sp_shutdown. To disable this feature, set the environment variable CIDER_COM_QUIT="OFF". Even though it really does not matter that Cider memory is cleared just before exit, it makes it cleaner for valgrind checks. 2023-07-04 11:46:35 +02:00
Giles Atkinson 1a056f935c Add an option to the iplot command: -d sets the number of simulation
steps before the window is shown.  The value can be chosen to
limit rapid resizing when starting and that is used in the PLL examples.
2023-06-20 20:01:41 +02:00
Giles Atkinson e61db1d2cd Add parsing and translation of the FREQ form of E-source devices,
integrated with the existing parsing of AND/NAND/OR/NOR forms (inpcom.c).
For the implementation, add a new analog XSPICE code model, xfer.
Add an example to examples/sp.
2023-05-31 16:04:51 +02:00
Holger Vogt fb0696107e Better visibility of the results 2023-05-27 16:43:35 +02:00
Holger Vogt 8f2d311062 More info 2023-05-21 12:16:13 +02:00
Holger Vogt 4356a631be Add rusage to measure simulation time. 2023-05-10 14:06:07 +02:00
Holger Vogt 465a64661c Add vto model parameter (the default has changed!), add .ic
to ease op and immediately start oscillation.
2023-05-08 10:56:10 +02:00
Holger Vogt d4d576d695 Example input file for 'iplot -w' option 2023-05-02 18:15:22 +02:00
dwarning fc97e658b0 more realistic self-heating example 2023-04-08 21:20:26 +02:00
Brian Taylor a531d8428c Use ~ on the input of a tristate buffer for INV3, and avoid creating an extra inverter. For ff/latch use ~ on set/reset and jkff clock inputs to avoid creating extra inverters. 2023-04-02 23:08:52 +02:00
Holger Vogt 33e17fa969 noise simulation examples 2023-04-02 22:56:49 +02:00
Giles Atkinson 7f4eb1c7d8 Add examples of controlling auto-bridge behaviour
with the "vcc" and "family" parameters.
2023-04-01 13:56:23 +02:00
Holger Vogt 6213145c94 .control section: atanh examples 2023-03-18 22:32:34 +01:00
Holger Vogt c2fb32f98a really run a dc simulation 2023-03-18 14:30:23 +01:00
Holger Vogt d36c4b8772 Remove bulk simulation netlist from files
needing a .control section.
2023-01-28 17:02:13 +01:00
Holger Vogt 8c98b70e45 Add input file dedicated to batch mode,
to be run with
ngspice -b -r inv.out bsimbulk_inverter_bach.sp
2023-01-28 17:01:53 +01:00
Holger Vogt 512bcf6095 Remove unused folder 2023-01-28 17:01:37 +01:00
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 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 5bd45eeb87 The Roessler Attractor examples has been provided by
Giles Atkinson, of course
2023-01-24 16:29:50 +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
Holger Vogt af9f25e985 Various filter examples using Laplace expression x_fer 2023-01-20 15:07:37 +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 4936fa2b1d Add serial load to 74f524 example. 2023-01-09 16:33:10 +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
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 b639ebae44 Rename examples for ECL OR gate
Simulate OR gate faster TSTEP 0.1n -> 0.3n
2022-12-27 14:21:24 +01:00
Holger Vogt 3e27e640b5 Missing renaming: osdi_win --> osdi_libs 2022-12-27 14:19:58 +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 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 d7bdfe1a20 Re-add optional selection of Berkeley model parameters. 2022-12-19 12:43:55 +01:00
h_vogt 5ec6543dbb Add log plots
Add sim vs. Temp.
Add y-labels
2022-12-19 12:43:27 +01:00
Holger Vogt e28d3feee0 Remove unused variable debarr.
Add another example.
2022-12-11 15:39:10 +01:00
Holger Vogt 45574cecb2 derivative inside of .func 2022-12-11 15:38:49 +01:00
Holger Vogt 89a48e7d73 simple example for derivative in B source 2022-12-11 15:38:37 +01:00
Holger Vogt 082ae1603e add linewidth for graphs 2022-12-11 15:36:57 +01:00
Holger Vogt 058e7a34f8 tiny update, typos, font size 2022-12-11 15:36:42 +01: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