Example Designs

The example designs for the FPGA Drive FMC Gen4 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 DesignMore infoGit repoDocs
FPGA Drive RecorderMore infoGit repoDocs
FPGA Drive NVMe OffloadMore infoGit repoDocs
Multi-cam ZynqMP and Hailo-8 AI Acceleration DemoMore infoGit repoDocs
FPGA Packet Recorder (in development)More infoGit repoDocs
IBERT Loopback Test DesignsMore infoGit repoDocs

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.

Block diagrams

Zynq UltraScale+ designs

Zynq UltraScale+ FPGA Drive FMC example design

Versal designs

Versal FPGA Drive FMC example design

Zynq-7000 designs

Zynq-7000 FPGA Drive FMC example design

MicroBlaze designs

MicroBlaze FPGA Drive FMC example design

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 FPGA Drive FMC Gen4, 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 FPGA Drive FMC Gen4.

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, see the FPGA Drive NVMe Offload design below, or consider the NVMe Streamer IP core from our partner Missing Link Electronics.

Block diagrams

Zynq UltraScale+ designs

Zynq UltraScale+ FPGA Drive Recorder block diagram

Versal designs

Versal FPGA Drive Recorder block diagram

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.

FPGA Drive NVMe Offload

Description

This reference design records data generated in the FPGA fabric to a file on one or two NVMe SSDs, and plays recordings back into the fabric, with no CPU in the data path. Fabric logic writes the AXI4-Stream into a ring of buffers in DDR and builds every NVMe Write command itself; the AMD NVMe Host Accelerator IP queues the commands and rings the SSD doorbells, and the SSDs move the data to and from DDR on their own. Linux, built with the AMD Yocto / Embedded Development Framework, sets up the SSDs, provides an exFAT file system with one contiguous file per recording (two SSDs are striped as RAID0) and reads the statistics. Every recording reports the number of dropped beats, and a verification tool checks a recorded file word by word.

This is the CPU-less sibling of the FPGA Drive Recorder: it uses the same replaceable data source and sink hierarchies, boards and SSDs, but moves the NVMe command path from Linux into the fabric. The reference design documentation compares the benchmarks of the two designs.

Block diagrams

Zynq UltraScale+ designs

Zynq UltraScale+ FPGA Drive NVMe Offload block diagram

Versal designs

Versal FPGA Drive NVMe Offload block diagram

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)

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 FPGA Drive FMC Gen4 is used to connect the Hailo-8 M.2 AI Acceleration Module . The RPi Camera FMC is used to connect 4x Raspberry Pi Camera Module 2 . On the AMD Xilinx ZCU106 Zynq UltraScale+ Development board , the FPGA Drive FMC Gen4 connects to HPC1 (one Gen3 x1 link to M.2 slot 1) and the RPi Camera FMC to HPC0.

Block diagram

ZynqMP Hailo AI example design block diagram

Supported carrier boards

This example design can be built for one carrier board with the FPGA Drive FMC Gen4.

  • AMD Xilinx ZCU106 Zynq UltraScale+ Development board

Note that through the use of the M.2 M-key Stack FMC, this example design can support more carrier boards. See the details here.

FPGA Packet Recorder

Description

This design turns a ZCU106 fitted with the Ethernet FMC Max (on HPC0) and the FPGA Drive FMC Gen4 (on HPC1) into a lossless, hardware-timestamped Gigabit Ethernet packet capture and replay tool. Capture runs entirely in the FPGA fabric and records straight to an NVMe SSD using the zero-copy datapath of the FPGA Drive Recorder. Every frame is timestamped in hardware from the PHYs’ start-of-frame signals against one shared timebase. A web interface on the board’s own Ethernet port starts and stops captures and serves them as pcapng files that open directly in Wireshark. Captures can be replayed out of a port with their original timing.

Supported carrier boards

  • AMD Xilinx ZCU106 Zynq UltraScale+ Development board

IBERT loopback test designs

Description

These projects test the FPGA Drive FMC Gen4 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.

Supported carrier boards

  • AMD Xilinx VCK190 Versal AI Core Development board (FMCP1)
  • AMD Xilinx VEK280 Versal AI Edge Development board