DSpice: Design and Simulation of Circuits using Spice
What is DSpice?
DSpice (Designing Circuits and Simulation by SPICE) is an open-source tool designed to streamline the modeling of analog components and the simulation of electronic circuits. It leverages ngspice (the open-source successor to the classic SPICE engine) as its core simulation backend. The main objectives and features of DSpice are:
- Custom Modeling: Creating new SPICE models for various electrical components.
- Symbol Design: Designing and managing custom schematic symbols for these models.
- Schematic Capture: Drawing and designing circuits using an intuitive CAD-style schematic editor.
- Circuit Simulation: Executing simulations (OP/Tran/AC) seamlessly using ngspice.
- Waveform Visualization: Analyzing and presenting simulation results through a dedicated waveform viewer and Prob.
- Interface of DSpice created using ElectronJS (v34.2.0) and Node.js (v22.13.1), enabling a modern cross-platform desktop experience.
- Powered by ngspice (v46), providing a robust library for analog and mixed-signal circuit simulation.
- Comprehensive support for analog models, offering flexibility for various use cases.
What’s New in Version 0.1.3 (13/08/2026)
- Expanded SPICE Model Libraries: Added power MOSFET (VDMOS) and Zener diode SPICE models, with comprehensive updates to existing MOSFET and diode model libraries.
- Enhanced Sidebar & Library Management: Introduced a dedicated SPICE library panel in the sidebar, complete with new SVG icons for better navigation and visual consistency.
- Improved Workflow: Users can now open files directly from the SPICE library panel into the netlist editor, streamlining the circuit design process.
- System Improvements: Updated dialog handling mechanisms for better stability and a smoother user experience.
- New Components: Added internal port elements (Input, Output, Bidirectional), Voltage Bar element, and a new MESFET element.
- Expanded SPICE Models: Added macro models for LM311 and LM393 (Voltage Comparator), and updated JFET and BJT model libraries for improved accuracy.
- Enhanced UI/UX: Added SVG icons for Port and VBar in the toolbar/menus, updated the element list to display symbol names, and adjusted port sizes for better visibility.
- Improved Workflow: Connected wires now automatically rename to match the port name.
- Terminology & Cleanup: Renamed "Part" to "Symbol" and "Net" to "Wire" in the selection list for better clarity, and removed obsolete "modelspice" entries from the symbol list.
- Develop a dedicated Project Workspace to manage multiple circuit files, simulation profiles, and related assets in a unified, organized environment.
- Integrate AI-assisted tools to help analyze circuits, troubleshoot errors, and optimize simulation performance.
- Implement interactive simulation capabilities, allowing real-time parameter adjustments and immediate visual feedback during runtime.
- Develop a comprehensive Options/Settings Dialog for advanced user customization.
- Expand the component library with additional advanced semiconductor devices and digital models.
- Export analysis results to standard formats (e.g., CSV, TXT files).
- Integrate Verilog (Verilog-A/AMS) for advanced mixed-signal (analog and digital) modeling.
- Embed a Python scripting engine for automation, custom extensions, and advanced data processing.
- Extend application compatibility to support multiple operating systems, specifically adding native builds for Linux and macOS.
- Hom page https://dspice.sf.net.
- DSpice’s documentation https://dspice.readthedocs.io/.
- Download: https://sourceforge.net/projects/dspice/.
To create a DSpice application from the src directory:
- Download and install Node.js from the official website: https://nodejs.org/
- To update ngspice, download ngspice and add it to the
DSpice\ngspicedirectory. - Navigate to the
srcdirectory and run the following commands:
npm install
npm start