- Add tests/test_xspice.py: 10 tests covering .cm plugin loading (all 7
categories parametrized) and gain model simulation verification
- Update CLAUDE.md with XSPICE code model section documenting available
libraries, build_cmpp.py usage, and Verilog co-simulation status
- Remove scratch files from repo root (test.c, test_build.bat, etc.)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add IncrementalBuffer with thread-safe SendData/SendInitData callback
handling for live waveform plotting during transient simulations
- Expose get_incremental_data(), get_incremental_vector_names(),
get_incremental_count(), clear_incremental_buffer() to Python
- Add py::call_guard<py::gil_scoped_release>() on run(), run_async(),
SimRunner::run_now(), SimRunner::run() so Python UI stays responsive
- Update license from BSD-3-Clause to GPL-3.0-or-later (required by
GPLv3 components: admst, xspice/icm/table)
- Fix netlist preprocessor robustness when .end line is missing
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Initial commit of the pyngspice layer on top of ngspice:
- pybind11 C++ bindings (src/cpp/, src/bindings/)
- Python package with SpiceRunner interface, netlist preprocessor
- Targeted capacitor probing via .save i(C_name) directives for
fast simulation when only specific cap currents are needed
- Build system (CMakeLists.txt, pyproject.toml, build_mingw.py)
- Test suite with 70 tests covering all preprocessor features
- Examples, winflexbison tooling, CLAUDE.md project docs
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
172fb6d66 ("Fix Bug 817 - "Global models are not visible from
with subcircuits". Remove code that can miscount the number of
nodes to be renamed.", 2025-10-08)
Keep checking for x lines with nesting. This re-enables
simulating large cxircuits (e.g. SRAMs) with deeply nested
subcircuit calls.
(most recent accepted delta time) versus simulation time.
Activated if 'set ngdebug' is given (not forget to set
'.save deltacheck' if other .save commands are given).