NAPA
netlist → ansi‑c → simulator

NAPA

A mixed‑signal circuit simulator kept by one engineer since 1997 — write a netlist, press Alt+R, watch it compile straight to C.


What it is

A compiler first, a simulator second.

NAPA turns a netlist — a plain‑text description of a circuit, written in its own small language — into optimized ANSI‑C. That C is compiled and run as a fast, cycle‑based simulator built for that one circuit alone. Nothing generic sits in the loop.

It handles analog and digital parts of the same system together: delta‑sigma modulators, switched‑capacitor filters, logic, FFTs, user‑defined C functions — with automatic type inference between analog (double) and digital (64‑bit integer) signals.

It is free, runs on 64‑bit Windows, and makes no network calls of its own.


A taste of the language

Ten lines, one filter.

White noise into an RC low‑pass, analyzed straight into a transfer‑function tool.

title   "$F"
header <napatool.hdr>

fs  10.0e6

dvar  R   1.0e6
dvar  C   10.0e-12

node in  noise     0.0 1.0
node out cell lpf  "../lprc1.net"  in  R C

ivar  npts  POWEROF2(20)

tool  tf  "tf.out"  in 1.0 out 1.0  npts

terminate 1 <= TOOL_INDEX
Net/Filters/Test/test1.nap

Get NAPA

Current release — v4.60

NAPA_RELEASE_460 open folder →

The distribution ships as one encrypted archive. To get the password, email yves.leduc.be@gmail.com — it isn't published anywhere on the site.


About the name
All mimsy were the borogoves,
And the mome raths outgrabe. — Lewis Carroll, Jabberwocky

Invented words that still parse. A personal netlist language that still compiles. The domain kept the theme.


Contact

Questions, bugs, or a circuit that won't behave.

Yves Leduc — yves.leduc.be@gmail.com