Repository navigation
circsim v0.2.3
circsim v0.2.3
This release is about one thing: real routed boards now simulate end-to-end. Previously the bench worked great on demo boards but a production KiCad 9 board (130 parts, 99 nets, dense model variety) would fail to resolve most parts, mis-generate the SPICE deck, and collapse to a handful of nodes. All of that is fixed — the reference board now generates a valid deck and converges to a full operating point.
Added
- Broader automatic model coverage — component values with rating suffixes (
100nF/50V,2.0k/0.5%) parse correctly; a part's Value field is tried as an MPN against the bundled library; connectors (JST, pin headers) auto-resolve as open stubs instead of blocking the bench. New bundled models: BAS16/BAS16W and B5819W/SS14 diode aliases, a 3.0 V zener, LM339 comparator, and a TL431 shunt reference (verified against real ngspice). - Smarter supply detection — the Ground & Power panel now recognizes and ranks real-world rail names (
VBUS,VBAT,VSYS,PACK+,VIN, …), excludes sense/feedback taps and ground, and supply suggestions are click-to-attach with a browse picker as fallback. - Attach a schematic to a routed board — boards whose
.kicad_schisn't sitting next to the.kicad_pcb(typical for autorouted output in a separate folder) can now attach one via the Ground & Power panel or by drag-and-drop, pulling in the schematic's simulation models.
Fixed
- macOS installers now bundle the right simulator — the release pipeline cross-built each mac architecture's dmg on the other architecture's runner and could ship a dmg whose bundled ngspice didn't match the app (the v0.2.2 Apple Silicon dmg was affected; its asset has been repaired). Builds are now host-arch-only and CI verifies the bundled ngspice architecture before attaching.
- SPICE deck generation for real component mixes — device letters now come from the model card's type (a zener on a
DZrefdes and a MOSFET on aQrefdes both emit correct elements), VDMOS transistors get their bulk terminal, and nested subcircuits (op-amp/comparator/regulator internals) are inlined transitively instead of failing with "unknown subckt". - Manual pin-map edits now take effect — a pin map corrected in the Model Doctor was stored but silently ignored during re-resolution; it now reaches the generated deck, and clearing the override reverts to the library pin map.
Downloads
Installers below are unsigned (expect the usual OS warnings): Windows NSIS .exe, macOS .dmg (Intel x64 and Apple Silicon arm64), Linux .AppImage and .deb.