Xilinx
Block Preview

Introduction

Captures 8192 consecutive SSR4 groups (32768 samples, 32.768 us at 1 GS/s) of the RF input and makes them readable on the bus. Wire X to the same net that feeds the Baseband DDC X pin (Multichannel SigGen OUT) and VALID_IN to its VALID (unconnected VALID_IN = ‘1’, one group every clock).

Pin Description

X Input 64 bit BIT VECTOR
SSR4 group, lane k = X[16k+15:16k], lane 0 = oldest sample.
VALID_IN Input 1 bit BIT
Group valid (unconnected = ‘1’).
CLK Input 1 bit BIT
Default: Default Board Clock
RESET Input 1 bit BIT
Default: Default Board Reset
CLK / RESET 1 bit
CLK_ACQ, synchronous reset.

Properties

Property window

Endpoint Name EndpointName

Name of the register endpoint. Registers are REG___WR/_RD (KriaTest regmap page names: use DDC / CHAN / TRIG / GATE to get the exact KriaTest net names).

Register endpoint name (default SNAP).

Default: SNAP

Usage

Capture

  1. write CTRL = 1 (arm): the write pointer and STATUS.done are cleared;
  2. every clock with VALID_IN = ‘1’ one SSR4 group is stored, linearly from group 0; when the 8192nd group is stored the capture stops (one-shot) and STATUS.done rises;
  3. read the memory window DATA. No trigger, no pre-trigger, no decimation, never circular: word 0 is the first sample in time.

Window format (DATA, 16384 words x 32 bit, read-only)

word [15:0] [31:16]
2g lane 0 of group g (oldest sample) lane 1
2g+1 lane 2 lane 3 (newest)
i.e. sample n of the capture is the int16 at word n/2, half n mod 2.

Registers (endpoint = EndpointName, default SNAP)

register access meaning
CTRL W b0 arm, b1 clr_status: write-1-to-pulse (every write of 1 pulses)
STATUS R b0 done, b2 busy
Bus writes to the window are ignored. A second arm restarts from group 0;
clr_status clears done only (it does not stop a running capture).

Resources & Timing

  • Latency: arm to first stored group: 3 clocks (strobe synchroniser) + 2

  • Throughput: 1 SSR4 group (4 samples) per clock

8192 x 64 bit block RAM (16 RAMB36). X and VALID_IN are registered twice before the RAM (timing at 250 MHz with a shared source net). Bus read latency one clock. Verified in GHDL (tb/kria_snapshot).