Open-source FPGA debug cores β in native Verilog and VHDL β that you drop into any design to see and control what's happening inside your FPGA over JTAG: no extra board pins, no soft CPU, no vendor lock-in.
Think of it as an open, vendor-neutral alternative to ChipScope / SignalTap / Reveal that works the same way across Xilinx, Intel/Altera, Lattice, Gowin, and Microchip parts, with a Python / CLI / GUI host stack on top.
π New here? Start with the User Manual β especially First capture in 10 minutes. This page is just the quick tour.
Four small RTL cores, all driven over JTAG:
- ELA β Embedded Logic Analyzer β capture internal signals into a waveform with flexible triggers, and export to VCD / CSV / JSON.
- EIO β Embedded I/O β read and drive fabric signals live at runtime.
- EJTAG-AXI β a JTAG-to-AXI4 master bridge for memory-mapped bus access.
- EJTAG-UART β a JTAG-to-UART console bridge.
Plus a host stack: a Python API, the fcapz command-line tool, a
JSON-RPC server, and an optional PySide6 desktop GUI (fcapz-gui) with
a built-in waveform preview.
- Vendor-agnostic β one portable core with thin TAP wrappers for Xilinx 7-series, Xilinx UltraScale / UltraScale+, Lattice ECP5, Intel / Altera, Gowin, and Microchip PolarFire-family devices.
- Small, and only as big as you need β a usable 8-bit / 1024-sample ELA fits in about 600 LUTs + 0.5 BRAM. Extra triggers, timestamps, decimation, segmenting, and more are compile-time options you enable only when a design needs them.
- Verilog and VHDL β the portable core ships as native Verilog and native VHDL, with shared regression coverage for both.
- Apache-2.0 β usable in proprietary designs.
Any board with JTAG access works. You drive it through OpenOCD (any FTDI adapter) or the Xilinx hw_server (Vivado). The full per-vendor matrix and JTAG-chain rules are in the manual's RTL integration chapter; see also Support status below.
You need Python 3.10+, a JTAG-capable FPGA board, and either OpenOCD or Vivado hw_server. Full setup is in Installation.
git clone https://github.com/lcapossio/fpgacapZero.git
cd fpgacapZero
pip install -e ".[gui]" # core host stack + desktop GUI
fcapz-gui # the easiest way to take your first capturePrefer the command line? Build the Arty A7 reference bitstream (see Build from source β or use your own), then capture:
fcapz --backend hw_server --port 3121 \
--program examples/arty_a7/arty_a7_top.bit \
capture --trigger-value 0 --trigger-mask 0xFF --out capture.vcd --format vcdThe end-to-end walkthrough lives in First capture in 10 minutes. For every command and flag, see the CLI reference; for scripting, the Python API and JSON-RPC server.
One instantiation per core β swap the wrapper suffix to match your FPGA vendor:
wire [127:0] my_signals;
// Embedded Logic Analyzer (all JTAG plumbing bundled inside the wrapper)
fcapz_ela_xilinx7 #(.SAMPLE_W(128), .DEPTH(4096)) u_ela (
.sample_clk (sys_clk),
.sample_rst (reset),
.probe_in (my_signals)
);That's the minimal ELA. Wrapper names follow fcapz_<core>_<vendor> (e.g.
fcapz_ela_ecp5, fcapz_eio_intel). Every parameter, the EIO / AXI / UART
cores, LiteX integration, VHDL sources under rtl/vhdl/, and the per-vendor
JTAG-chain rules are covered in RTL integration.
The canonical register / shift maps live in
docs/specs/register_map.md.
| Area | Status |
|---|---|
Xilinx hw_server backend |
β Hardware-validated on Arty A7 |
| OpenOCD backend | Implemented; needs more hardware validation |
| Xilinx 7-series wrappers | β Hardware-validated on Arty A7-100T |
| UltraScale / ECP5 / Intel / Gowin / PolarFire wrappers | RTL complete; host / hardware validation still limited |
| ELA / EIO / EJTAG-AXI / EJTAG-UART | β Validated on Arty A7 (details in the manual) |
The full, always-current matrix is in Overview and RTL integration.
# Build the Arty A7 reference bitstream (Vivado)
python examples/arty_a7/build.py
# Run the host test suite β no hardware needed
pip install -e ".[dev,hdl]"
pytest tests/ -vRTL simulation (Icarus / Verilator / cocotb / GHDL), the VHDL parity gates, the CI jobs, and the hardware-in-the-loop tests are all documented in CONTRIBUTING.md. Live CI status is the badge at the top.
rtl/ Portable Verilog cores + vendor TAP wrappers (VHDL in rtl/vhdl/)
host/fcapz/ Python host stack: Analyzer, transports, CLI, RPC, GUI
examples/ Reference designs (Arty A7, Gowin BRS-100, and more)
docs/ User manual (start at docs/README.md) + canonical specs
tb/, sim/ Testbenches and simulation runners
- π User Manual β the complete guide
- π CHANGELOG β releases, with breaking changes called out
- π€ CONTRIBUTING β dev setup, testing, adding a board
- π Troubleshooting β common errors and fixes
Leonardo Capossio β bard0 design β hello@bard0.com
If fpgacapZero helps your FPGA debug flow, you can support continued development through GitHub Sponsors.
Apache License 2.0 β see LICENSE for details.

