Package: spice 0.1.0

André Leite

spice: Circuit Simulation with a 'SPICE3f5'-Derived Engine

Runs 'SPICE3' circuit netlists (operating point, DC sweep, transient, small-signal AC, pole-zero, noise, distortion, transfer function and sensitivity analyses) on 'Dune', a circuit simulator written in 'Rust' and derived from Berkeley 'SPICE3f5', validated against 'ngspice'. Results come back as long tibbles ready for plotting, and plots can be read from and written to 'SPICE3' rawfiles for exchange with other simulators.

Authors:André Leite [aut, cre], The Regents of the University of California [cph], The authors of the dependency Rust crates [cph]

spice_0.1.0.tar.gz
spice_0.1.0.zip(r-4.7-x86_64)spice_0.1.0.zip(r-4.7-arm64)spice_0.1.0.zip(r-4.6-x86_64)spice_0.1.0.zip(r-4.6-arm64)
spice_0.1.0.tar.gz(r-4.7-arm64)spice_0.1.0.tar.gz(r-4.7-x86_64)spice_0.1.0.tar.gz(r-4.6-arm64)spice_0.1.0.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
spice/json (API)

# Install 'spice' in R:
install.packages('spice', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/milkway/dune/issues

Pkgdown/docs site:https://milkway.github.io

On CRAN:

Conda:

rustcargo

3.71 score 17 scripts 22 exports 10 dependencies

Last updated from:213f92ac4c. Checks:9 OK, 1 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK266
linux-devel-x86_64OK296
source / vignettesOK349
linux-release-arm64OK292
linux-release-x86_64OK281
windows-devel-arm64OK687
windows-devel-x86_64OK412
windows-release-arm64OK657
windows-release-x86_64OK460
wasm-releaseFAIL132

Exports:spice_alterspice_alterablespice_measurespice_opspice_paramspice_picspice_pic_svgspice_pic_texlabelsspice_plotsspice_pssspice_read_rawspice_rerunspice_runspice_sessionspice_set_tempspice_set_tmax_divisorspice_sweepspice_tempspice_tidyspice_tmax_divisorspice_widespice_write_raw

Dependencies:cligluelifecyclemagrittrpillarpkgconfigrlangtibbleutf8vctrs

A transistor amplifier: bias, gain, noise and clipping
The circuit | Bias | Gain and bandwidth | Noise | A signal that is too large

Last update: 2026-12-05
Started: 2026-12-05

Dune's defaults and SPICE compatibility
The option | A switch that is late | When to ask for SPICE3

Last update: 2026-12-05
Started: 2026-12-05

Getting started with spice
A deck | Running it | Tidy results | Plotting the transient | Decks as chunks | Circuits from figures | Exchanging rawfiles

Last update: 2026-12-05
Started: 2026-12-05

Oscillators and periodic steady state
A Colpitts oscillator | The steady state | Harmonics | Against the long transient

Last update: 2026-12-05
Started: 2026-12-05

Sweeps, tolerances and design exploration
Choosing the damping | What tolerance does | Which part matters

Last update: 2026-12-05
Started: 2026-12-05

Transmission lines and reflections
A mismatched line | How exact is it | A lossy line

Last update: 2026-12-05
Started: 2026-12-05