Xilinx
TM
HLS
Block Preview

Introduction

Same arithmetic as baseband_ddc (the KriaTest DDC loop body), replicated per slot with independent state. Repo TM contract: slot s occupies bits [(s+1)*W-1 : s*W] of every bus, one VALID_IN / VALID_OUT for the whole word.

Pin Description

X Input 64 x TMFactor bit TM
Real input, TM_FACTOR slots x 64 bit.
Default: Must be connected
VALID_IN Input 1 bit BIT
Word valid (all slots). Unconnected = ‘1’.
CLK Input 1 bit BIT
DSP clock.
Default: Default Board Clock
RESET Input 1 bit BIT
Synchronous reset.
Default: Default Board Reset
Y_I Output 16 x TMFactor bit TM
Baseband I per slot (int16).
Y_Q Output 16 x TMFactor bit TM
Baseband Q per slot (int16).
VALID_OUT Output 1 bit BIT
Output word valid.
X_I 64 x TMFactor bit
I input (Complex), TM_FACTOR slots x 64 bit.
X_Q 64 x TMFactor bit
Q input (Complex), TM_FACTOR slots x 64 bit.

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 DDC).

Default: DDC

Input Type InputType

Real: one ADC per slot (DDC_REAL_INPUT=1). Complex: I/Q per slot from an external mixer (DDC_REAL_INPUT=0).

Real (DDC_REAL_INPUT=1) or Complex (DDC_REAL_INPUT=0) per slot.

Default: Real

Options: Real Complex

TM Factor TMFactor

Number of independent DDC slots on the bus (TM_FACTOR). Resources scale linearly.

Number of slots (TM_FACTOR): 2, 4 or 8. Resources scale linearly.

Default: 2

Options: 2 4 8

Usage

Registers (endpoint = EndpointName)

register access meaning
CTRL W b1 clear (level, all slots)
PHASE_INC0 .. PHASE_INC<TM-1> W NCO increment of each slot

Slot widths: X / X_I / X_Q 64 bit (4 int16 lanes, lane 0 oldest), Y_I / Y_Q 16 bit.

Resources & Timing

  • Latency: 17 clocks

  • Throughput: TM_FACTOR SSR4 groups per clock

TM=2: Real 76 DSP / 32 BRAM18, Complex 92 DSP (Vitis HLS 2022.2, xck26, 3.39 ns estimated). Verified per slot against the KriaTest C function (tb/kria_ddc, cases tm2_real / tm2_iq).