Runs SPICE3 netlists (.op, .dc, .tran, .ac, .pz, .noise,
.disto, .tf, .sens) on Dune, a circuit simulator written in
Rust and derived from Berkeley SPICE3f5, and returns the results as
tidy data.
Details
The main entry points are:
spice_run()to simulate a deck (a file or a character netlist);spice_plots()andspice_tidy()/tibble::as_tibble()to get at the results, one long tibble row per point and variable;spice_read_raw()andspice_write_raw()to exchange SPICE3 rawfiles with ngspice and other tools;ggplot2::autoplot()for a quick look (when ggplot2 is installed);a
spiceknitr engine: a```{spice}chunk in R Markdown or Quarto holds a deck and leaves its result in a variable for the R chunks that follow (see spice_knitr).
Author
Maintainer: André Leite leite@castlab.org
Authors:
André Leite leite@castlab.org
Other contributors:
The Regents of the University of California ('SPICE3f5', from which the simulation engine is derived, and 'BSIM3v3.3.0' (UC Berkeley BSIM Research Group), translated in src/rust dune-core/src/bsim3) [copyright holder]
The ngspice team and contributors ('ngspice' 47: translated or followed in dune-core (cktop.c, com_measure2.c, the switch, source, noise and other device routines revised by 'ngspice'); see inst/COPYRIGHTS) [copyright holder]
Holger Vogt ('ngspice' files optran.c, 1-f-code.c and randnumb.c, followed in dune-core engine.rs and trnoise.rs) [copyright holder]
Alessio Cacciatori ('ngspice' file span.c and RF ports, translated in dune-core sp.rs) [copyright holder]
Paolo Nenzi ('ngspice' files b1noi.c and b2noi.c, translated in dune-core bsim1.rs and bsim2.rs) [copyright holder]
The authors of the dependency Rust crates (see inst/AUTHORS for details) [copyright holder]