Mastering Xilinx DSP IP Cores

Four AMD/Xilinx DSP IP cores in Vivado 2024.2, from the theory of each algorithm to the IP core in simulation and on a Zynq board: FIR Compiler 7.2, CIC Compiler 4.0, DDS Compiler 6.0 and Fast Fourier Transform 9.1. Each algorithm starts in a float model, goes to fixed point, and then through the IP core. A test signal shows what the core does to it, and every output sample is checked against a golden model.

The DSP algorithms, each built with the IP core:

FIR Compiler: low-pass, band-pass and high-pass filters switched at run time, a band-stop filter reloaded at run time, decimation, interpolation and the Hilbert transform.

CIC Compiler: multiplier-free CIC decimation and interpolation, a CIC followed by a compensating FIR, and a decimation rate set at run time.

DDS Compiler: a tone, an LFM chirp, phase dithering and Taylor correction of the truncation spurs, and a BPSK pulse with a Barker code.

Fast Fourier Transform: spectra with windowing and a run-time length, scaling by a schedule, unscaled output and block floating point, and the inverse FFT.

The same designs then run on an Arty Z7-20 board: a Vivado block design with an AXI DMA, a bare-metal application on the ARM core, and a System ILA capture of the IP's input and output. One command per lab, on Linux or Windows, with the free AMD tools.

What You'll Learn

FIR Filters and Rate Change

How one FIR Compiler holds several filters and switches or reloads their coefficients at run time. What the coefficient width does to the stopband, why plain downsampling brings back out-of-band signals and a decimator does not, where interpolation images come from, and how a Hilbert transformer makes an analytic signal.


DDS: Tones, Chirps and Spurs

How a phase accumulator and a sine table make a tone, and what sets the frequency resolution. How a streamed phase increment makes a chirp and a streamed phase offset a phase-modulated pulse, where truncation spurs come from, and what phase dithering and Taylor correction cost and gain.


Multiplier-Free CIC Filters

How a CIC filter decimates and interpolates with adders and registers only, and why its integrators may wrap around while the output stays exact. How the stages and the rate set the response, its nulls and its droop, how a short FIR compensates the droop, and how the rate changes at run time.


FFT: Spectra and Scaling

How bins, leakage and windows shape a spectrum, and how the transform length, set frame by frame at run time, sets the resolution. Why words grow through the stages, how a scaling schedule, the unscaled output and block floating point handle it, and how the inverse FFT returns the signal.


Measured, Not Estimated

Every plot is the output of the IP core itself, from Vivado's simulator or read back from the board, next to the float model and the theory. Every output sample is compared with a bit-true golden model, in simulation and on the board, so you know the hardware does what the model says.


From Simulation to the Board

How each IP core sits in a Zynq block design with an AXI DMA, how a bare-metal application configures it and streams a test signal from memory, and how a System ILA shows its input and output. What happens when a stream stalls, TLAST is missing or the core overflows.

Course Structure

Website Workshop

Extended Edition. All four labs: the theory, the bit-true golden models, the IP projects and testbenches, one board design and bare-metal application per IP core, one-command build flow, four lab reports (PDF) with "Try it yourself" boxes, and a guide for working with an AI coding assistant.

Udemy

Lite Edition. How to configure, simulate and run the FIR, CIC, DDS and FFT IP cores, in video lectures with waveforms and Python plots. Best for learners who want the IP workflow in a compact course format.