Skip to content

circsim v0.2.4

Choose a tag to compare

@github-actions github-actions released this 10 Jul 19:28
· 274 commits to master since this release

circsim v0.2.4

The real-board release: every part on the 130-part reference board now resolves or is accounted for, the whole-board transient runs, and the bench UI tells you the truth about what it solved.

Added

  • Model library — power path and logic: NCE4012S / NCE6005AS (dual) / AO3401 MOSFETs, SS54 schottky, SMAJ24A TVS, behavioral stubs for the LTC4020 buck-boost charger, BQ77915 battery protector, and AL8860 LED driver (with working CTRL dimming), and a CD4000 logic family (CD40106 schmitt inverter, CD4011 NAND). The reference board went from 14 unresolved parts at v0.2.3 to zero.
  • "Open by design" parts: library entries can now document why a part is deliberately not modeled (CH224K USB-PD sink, CD4538 monostable). They show a grey informational badge and note in Model Doctor instead of a red error — and the banner still tells you circuits they drive won't respond.
  • Net voltages readout: a filterable bottom-dock tab listing every net's operating-point voltage by name; click a row to highlight the net. Annotations on the 3D board now carry net names in the DOM for tooling.
  • Click-to-probe: select a net and press "Probe this net" — no more drag-only probing. Scope hint teaches both gestures; probe trace colors are allocated consistently across all attach paths.
  • Op solve honesty: operating-point results carry how they were solved; any fallback (gmin/source-stepping/transient-op) shows a persistent caveat instead of presenting 0.000 V readings as truth, and stale voltages are dimmed while a new solve runs.

Fixed

  • Whole-board transient no longer aborts ("Timestep too small"): boards with dangling subcircuits — e.g. off-board LED strings behind unstuffed connectors — produced a structurally singular matrix. Deck generation now detects floating islands and bleeds them to ground with 1 GΩ resistors; grounded circuits are untouched.
  • Digital logic swing follows your bench supply: a CD4000/74HC part whose VDD pin is directly on a supplied net now uses that supply's voltage for its logic levels instead of the family default (12 V / 5 V).
  • Convergence errors name the culprit: "trouble converging around Q7 (NCE4012S)" instead of raw SPICE instance names; works for stubbed parts too.
  • Supply suggestions are ranked (the auto-attach pick is the first chip) and auto-attached supplies are labeled as such.
  • "Results approximate" banner collapses to a count with an "open Model Doctor" link instead of a wall of refdes; the link scrolls to the first problem part reliably.
  • Model Doctor follows part selection; ambiguous-match false positive for AL8860 removed; opening boards without sidecar files no longer logs main-process errors; "-0.000 V" annotations normalized.
  • macOS packaging: each DMG is built only on its own architecture runner, with a CI gate verifying the bundled ngspice matches (the root cause behind the v0.2.2/v0.2.3 arm64 repairs).

Notes

  • Installers remain unsigned (documented deferral) — macOS: right-click → Open on first launch; Windows: SmartScreen "Run anyway".
  • Suite: 1444 tests (was 1341 at v0.2.3), all green; integration tests run against real ngspice 46.