SPICE++ designing a Sallen-Key low-pass filter: the schematic, its Bode plot, and the agent verifying the 2 kHz cutoff

SPICE++

A SPICE circuit simulator written from scratch, running in the browser, with an AI agent built in.

2025–nowspicepp.com
SPICE++ Bode plot of a Sallen-Key low-pass filter

SPICE++ is an LTspice replacement that runs in the browser. It has a schematic editor, a waveform viewer, and a simulation engine I wrote myself in TypeScript.

Role
Product, design, and engineering
When
2025–now
Stack
TypeScript, Azure OpenAI, Supabase, Stripe
145klines of TypeScript
21device types
5analysis types
4file formats in and out

Run the engine

SPICE++ itself, in your browser: its example circuits, schematic and waveform dock, solved by its own engine in this tab. Click a part to change its value and the circuit runs again; hover the plot to read it.

No results

The problem

A real SPICE engine is hard numerical work. It also has to open the files engineers already use.

The approach

A modified nodal analysis solver with operating point, DC sweep, transient, and AC analysis, plus diode, MOSFET, and op-amp models. An AI assistant can place parts, wire them, run the simulation, and debug the circuit. It imports and exports SPICE, LTspice, KiCad, and Verilog.

Results

  • .op, .dc, .tran, and .ac analysis
  • AI assistant with 15+ circuit tools
  • Checked against UCSD ECE coursework
RTL++ explaining a failing counter test: the source line, the trace of why count is 0 at 100 ns, and the waveform

RTL++

Next project

RTL++ waveform of the counter test, failing at 100 ns