libngspice
« Back to VersTracker
Description:
Spice circuit simulator as shared library
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: circuit-simulation spice eda electronics library
Install: brew install libngspice
About:
Libngspice is the official shared library version of ngspice, a popular open-source mixed-level circuit simulator. It allows developers to embed SPICE simulation capabilities directly into their own applications via a C API. This enables programmatic control over circuit analysis, making it ideal for building custom EDA tools and automated testing frameworks.
Key Features:
  • Embeddable SPICE engine via C API
  • Supports DC, AC, and transient analysis
  • Compatible with standard SPICE model libraries
  • Multi-threaded simulation support
Use Cases:
  • Integrating circuit simulation into custom EDA software
  • Automated verification of analog circuit designs
  • Educational tools for electronics engineering
Alternatives:
  • ngspice – The command-line version of the same simulator; use libngspice when you need to embed simulation within an application rather than run it interactively.
  • Qucs-S – A graphical front-end that uses ngspice; libngspice provides the underlying engine for building programmatic interfaces.
Version History
Detected Version Rev Change Commit
Sep 11, 2025 11:56am 0 VERSION_BUMP 21edd0fb
Jan 11, 2025 9:30pm 0 VERSION_BUMP 01a630da
Jan 11, 2025 2:57pm 0 VERSION_BUMP ed6d4b2f
Jan 5, 2025 5:17am 0 VERSION_BUMP 8445ebdb
Dec 29, 2024 8:12pm 0 VERSION_BUMP dd85a6e6