Example Designs
The example designs for the M.2 M-key Stack FMC are released open source under the MIT license and maintained on Github. We strongly encourage community contributions to the example designs.
| Example Designs | |||
|---|---|---|---|
| FPGA Drive FMC Example Design | More info | Git repo | Docs |
| FPGA Drive Recorder | More info | Git repo | Docs |
| Multi-cam ZynqMP and Hailo-8 AI Acceleration Demo | More info | Git repo | Docs |
| IBERT Loopback Test Designs | More info | Git repo | Docs |
FPGA Drive FMC example design
Description
This example design demonstrates use of one or two SSDs with the carrier boards listed below. The main IP in the design is the AMD Xilinx DMA/Bridge Subsystem for PCI Express IP in AXI Bridge mode, which implements a PCIe root port for each M.2 slot. The design can be used with a baremetal application that reports on the status of the PCIe links and performs enumeration of the detected SSDs. The design also can be used with a custom PetaLinux or Yocto build that allows the SSDs to be accessed through standard Linux commands and a file system. The same design supports the M.2 M-key Stack FMC and the FPGA Drive FMC Gen4, which share the same pin assignment.
Links
Block diagrams
Zynq UltraScale+ designs

Versal designs

Zynq-7000 designs

MicroBlaze designs

Supported carrier boards
The Git repo contains an example design for each of the following carrier boards.
- AMD Xilinx KC705 Kintex-7 Development board
- AMD Xilinx KCU105 Kintex UltraScale Development board
- AMD Xilinx VC707 Virtex-7 Development board
- AMD Xilinx VC709 Virtex-7 Development board
- AMD Xilinx VCU118 Virtex UltraScale+ Development board
- Avnet PicoZed FMC Carrier Card V2 Zynq-7000 Development Board (7015 and 7030)
- AMD Xilinx ZC706 Zynq-7000 Development board
- Avnet UltraZed EV Carrier Zynq UltraScale+ Development board
- AMD Xilinx ZCU104 Zynq UltraScale+ Development board
- AMD Xilinx ZCU106 Zynq UltraScale+ Development board
- AMD Xilinx ZCU111 Zynq UltraScale+ Development board
- AMD Xilinx ZCU208 Zynq UltraScale+ Development board
- AMD Xilinx ZCU216 Zynq UltraScale+ Development board
- AMD Xilinx VCK190 Versal AI Core Development board
- AMD Xilinx VMK180 Versal Prime Series Development board
- AMD Xilinx VEK280 Versal AI Edge Development board
- AMD Xilinx VHK158 Versal HBM Series Development board
- AMD Xilinx VPK120 Versal Premium Series Development board
- AMD Xilinx VPK180 Versal Premium Series Development board
Some of these boards have more than one FMC connector that can support the M.2 M-key Stack FMC, while some of them have specific limitations on the number of SSDs or PCIe lanes that they can support. For more information about these limitations, refer to the reference design documentation.
Supported SSDs
The reference design documentation provides a list of tested SSDs to help guide your selection of SSD for use with the M.2 M-key Stack FMC.
FPGA Drive Recorder
Description
This reference design records a data stream generated in the FPGA fabric to a file on one or two
NVMe SSDs (RAID0), and plays recordings back into the fabric. Linux runs on the processor of the
target board and owns the SSDs and the file system, but the recording path is zero-copy: a fabric
AXI DMA writes the 128-bit AXI4-Stream into hugepage buffers in the processor’s DDR memory and
the application writes those same buffers to the file with O_DIRECT io_uring requests, so the
CPU never touches the data. The data source and sink are block-design hierarchies that you
replace with your own ADC, sensor or processing logic. The reference design ships with a test
pattern generator and checker, a fdrec kernel driver, the recorder application and a
verification tool, and is built with the AMD Yocto / Embedded Development Framework.
This is not a complete NVMe offload: the NVMe protocol and file system are handled by Linux. The achievable rate is therefore set by the SSDs and the Linux I/O path (see the benchmarks). If you need CPU-less NVMe or rates beyond what Linux sustains, consider the NVMe Streamer IP core from our partner Missing Link Electronics.
Links
Block diagrams
Zynq UltraScale+ designs

Versal designs

Supported carrier boards
- Avnet UltraZed EV Carrier Zynq UltraScale+ Development board
- AMD Xilinx ZCU106 Zynq UltraScale+ Development board (HPC0)
- AMD Xilinx VCK190 Versal AI Core Development board (FMCP1)
The recorder is being ported to further Linux-capable targets of the FPGA Drive FMC example design; see the reference design documentation for the current list.
Multi-cam ZynqMP and Hailo-8 AI Acceleration Demo
Description
This example design demonstrates a multi-camera YOLOv5 implementation that runs on the Zynq UltraScale+ and the Hailo-8 AI accelerator. The M.2 M-key Stack FMC is used to connect one or two Hailo-8 M.2 AI Acceleration Modules , with the RPi Camera FMC stacked on top of it to connect 4x Raspberry Pi Camera Module 2 . Because the stack occupies a single FMC connector, the design can be built for several Zynq UltraScale+ development boards (see below). The video pipelines capture the cameras into DDR through the PL, inference runs on the Hailo-8 over PCIe using HailoRT, and the results are displayed on a DisplayPort monitor.
Links
- Git repo
- Documentation
- Blog post: Multi-camera YOLOv5 on Zynq UltraScale+ with Hailo-8 AI Acceleration
Block diagram

Supported carrier boards
The Git repo contains a stack design for each of the following carrier boards.
- AMD Xilinx ZCU104 Zynq UltraScale+ Development board
- AMD Xilinx ZCU106 Zynq UltraScale+ Development board (HPC0)
- TUL PYNQ-ZU Zynq UltraScale+ Development board
- Avnet UltraZed EV Carrier Zynq UltraScale+ Development board
The designs for some of these boards are limited to 2x cameras and some of them can only support 1x Hailo-8 module. For more information about these limitations, refer to the reference design documentation.
IBERT loopback test designs
Description
These projects test the M.2 M-key Stack FMC in loopback using the AMD IBERT (Integrated Bit Error Ratio Tester) core, with an Opsero M.2 loopback module (OP157) in each M.2 slot. They let you run eye scans and measure the link quality of all eight transceiver lanes at 10G, 16G, 28G and 32G line rates. We use these projects internally for development and production test, but feel free to use them to build your own similar test setups. The same repository also contains IBERT designs for our other transceiver-based FMCs.