Zen Peripherals · debug IP · brief · 2026-11-04

An always-on debug co-processor you instantiate inside your design

The Zen PPU (Patch Processing Unit) is a small J1-style FORTH stack processor a client drops into their SoC as an in-silicon debug agent. It runs loadable diagnostic words to monitor (read) and intervene on (write) live registers — and its words can be field-patched while it runs, no respin. It keeps observing even when the main cores are wedged. Product / integrator view; every number is sourced from the as-built RTL or marked TBC with an owner.

1. PPU in one paragraph

The PPU is a bystander instrument, not part of the functional datapath — resetting the PPU does not reset the design it watches. The host streams FORTH words into a patch RAM (PRAM) over an APB or AXI4-Lite window; the core executes them and reaches the surrounding design over a single 16-bit I/O bus to @ monitor (read a design address) and ! intervene (write it). Because words are loaded — and hot-patched — at runtime, you reprogram what the PPU checks or fixes by loading a new word, not by taping out again.

16-bitJ1 FORTH core (data + instruction)
32 × 2dual stacks — data + return
8K-wordprogram space (13-bit PC)
APB / AXI4-Litehost attach frontends
hostAPB / AXI4-Lite PPUFORTH core patch RAM client designregisters / signals CSR + PRAM 64-bit fetch 16-bit @ / !
Figure 1. PPU sits beside the client design: host loads/controls it over APB/AXI4-Lite; it fetches words from patch RAM and taps the design over a 16-bit monitor/intervene bus.
Keeps running when the cores don't. The PPU is always-on and independently reset, so it can observe and patch a design whose main cores are hung — then be reprogrammed live by loading a new FORTH word.
Monitor/intervene throughput is set by *your* I/O decode. Each @/! stalls the PPU pipe until the client returns io_rd_valid / io_wr_done — a single-cycle regfile tap completes in ~1–2 cycles; a slow or off-chip tap extends proportionally.

2. What it is, at a glance

ElementDetailDefaultStatus
FORTH coreJ1-style; 16-bit data + instruction; TOS/NOS cached—exists
Data / return stackstwo stacks, 32 entries each32exists
Program space13-bit PC8K wordsexists
Patch RAM (PRAM)loadable + live-patchable word store1024exists
Monitor tap @ALU op reads design address = TOS—exists
Intervene tap !ALU op writes NOS to address TOS—exists
Host frontendsAPB and AXI4-Lite wrappers—exists
fmax / MIPS @ nodefunctional sign-off shipped; timing downstreamTBCTBC

Sources: Zen PPU product datasheet; as-built RTL.

3. How a client uses it

  1. Instantiate the core + PRAM + one host frontend (APB or AXI4-Lite); tie the 16-bit I/O bus into your address decode.
  2. Load a FORTH diagnostic word into PRAM through the host window (held in reset to stage, or live to hot-patch a running library).
  3. Run / monitor / intervene — the word observes (@) and drives (!) live design state; quiesce or single-step via ext_stall_i.
  4. Re-patch in the field — swap a PRAM word in place to change what is checked or fixed, with the PPU running.

4. Verification & provenance

Sources read

Sources: Zen PPU product datasheet; as-built RTL.