
Explore function acceleration on FPGA using high level synthesis with C/C++. Learn how the Xilinx Vitis platform maps algorithms to zinc based embedded systems, including OpenCL emulation options.
Learn the fundamentals of accelerating compute-intensive tasks on FPGA-based embedded systems with the Vitus design flow. This course offers a practical, high-level introduction built around four parts and C/C++ prerequisites.
Explore the role of FPGAs in a three-layer end device–edge–cloud computing framework, introducing zinc 7000 and zinc Ultrascale+ Mpsoc edge platforms and their accelerator design with AWS.
Explore how embedded systems evolve from on-premises computing to cloud and edge architectures, describing endpoints, edge devices, and IoT, and highlighting FPGA-based accelerators for edge applications.
Define the role of FPGAs across edge, embedded, and cloud platforms, highlighting low latency and low power for function acceleration using a unified development platform.
Investigate the role of high level synthesis in end devices, edge platforms, and cloud computing, and how HLS enables pipelines and interfaces on FPGA based embedded systems.
Discover the Zynq 7000 structure: the processing system with two ARM Cortex-A9 cores and programmable logic with LUTs, BRAMs, DSPs, and I/O ports, connected to DDR memory via AMBA AXI.
Explore the Zynq Ultrascale+ MPSoC architecture, detailing the programmable logic and processing system, DDR memory, six PL-PS memory ports, and burst transfers that drive up to 38.4 GB/s memory bandwidth.
1- Assume a design that uses HP0 and HP1 in a Zynq UltraScale MPSoC to read data arrays simultaneously at the frequency of 200MHz. What would be the maximum memory bandwidth utilisation?
2- What is the upper bound of the memory utilisation for reading data from a DDR memory in Zynq 7000 at the frequency of 150MHz?
Identify the hardware and software components, including the host computer and FPGA boards, and the design flow to create an accelerator with Xilinx tools and a final binary.
Set up a Linux workstation with Xilinx Vitus unified software platform, learn about software and hardware emulation, and generate FPGA bitstreams to test on zinc based FPGA boards or emulation.
Understand the design flow for FPGA acceleration with Vitis, pairing a host C program with FPGA kernels via OpenCL, and generate bitstreams through Vivado and related tools.
Install Ubuntu OS under VirtualBox, install the Xilinx toolset, and test zinc-based FPGA boards to set up the hardware and software environment for the course.
Outline the four-part hardware software setup for FPGA accelerators: a powerful computer, Ubuntu Linux, Xilinx Vitus Unified Software Platform, and a zinc based embedded system.
Install VirtualBox on Windows, install the extension pack, create a Ubuntu 20.04 virtual machine with allocated memory and disk space, run Ubuntu, install Xilinx Vitus unified software platform.
Install Ubuntu and set up Xilinx Vitus Unified Software Environment, including download, executable permission, and installation steps; Vitus is free for the course boards, with license and versal version considerations.
Obtain and configure the Zcu 102 Vitis platform, build a hardware‑software platform, and prepare an SD card to boot the Zynq MP Linux system and run a Linux emulator.
Install the Ultra96 v2 Vitus platform for the board, then prepare an SD card with FAT32 boot and ext4 root partitions, and build and run vector addition on hardware.
test the zybo z7-20 with vitis by building and emulating a vector addition project, then prepare eight gigabyte fat32 sd card and run the vector addition app on embedded linux.
Understand the Vitis project structure by creating a test accelerator, then compile and run it on software and hardware emulations as well as an actual FPGA.
Learn hardware–software partitioning to accelerate an embedded FPGA application with the Vitus platform. Profiling guides partitioning, while the kernel is described in Vitus Agilis and converted to RTL for deployment.
Explain the structure of a Vitis project with three sub projects—kernel code, linking hardware modules, and host code—generating the bitstream and the ARM executable to boot a target Linux system.
Learn how to compile four projects for software emulation in Vitis, including the kernel, linker, host, and top projects, and run them in a Linux emulator.
Build the hardware target to generate the FPGA bitstream and embedded boot files, copy them to an SD card, boot the board, and run the vector addition test via serial.
Learn to write a host program for a hardware accelerator running on zinc, control a kernel, and explore the host-kernel relationship, OpenCL APIs, and Vitis concepts.
Explore how Opencl enables heterogeneous computing with host and kernels communicating through the zinc FPGA's DDR global memory, using Opencl APIs and the Xti bridge in a sequential execution model.
Understand how the host submits commands to a queue and how the OpenCL runtime orders kernels on devices in-order execution, with the platform, contexts, and memory objects.
Outline the three main parts of an OpenCL host program for Xilinx tools—environment setup, command execution, and post-processing—covering platforms, contexts, queues, programs, buffers, and releases.
Write a host program in C++ for an OpenCL 1.2 FPGA accelerator, covering environment setup, device discovery, context creation, kernel argument configuration, and memory buffer management.
This introduction explains how to develop a complete scaling application in Vitus, including kernel and host programs, study memory access patterns, and debug on emulators and the actual fpga.
Define the scaling operator that multiplies floating point inputs by alpha and adds beta to produce an output array, with two scalar parameters and memory-mapped data pointers.
Explore the execution model of the scaling accelerator on FPGA, using data flow graphs to compare sequential, parallel, and pipelined loop implementations, and show how initiation interval drives pipeline speedups.
Describe kernel code in Vitus, focusing on C kernel style, extern C linkage to avoid name mangling, and building a for loop that reads, computes, and writes via Axi channels.
Explain burst data transfer between an FPGA kernel and memory, showing how contiguous data blocks are read and written with minimal latency and streaming throughput.
Define the host code for the scaling kernel, set buffers and arguments, and prepare input data. Migrate buffers, run the kernel, synchronize, and validate results against the golden model.
Create a vitus scaling project, implement kernel and host code, and run it through software emulation, hardware emulation, and hardware with sd card boot.
Debug the scaling example across three levels—emulation software, emulation hardware, and hardware debugging—using vivado waveform viewer, linux emulator, and host–kernel data exchange.
Develop an efficient image thresholding example using Vitis, optimizing kernel computation and data transactions, analyzing burst data protocols, and integrating an external software library with data files.
Explore binary thresholding as a simple image segmentation method, converting grayscale to binary with a 128 threshold on an fpga using Vitis.
Explore implementing an image thresholding kernel in Vitis, detailing extern c kernel code, six arguments, and DDR memory access, with burst inference and monotonically increasing loop bursts.
Explain host code for an FPGA thresholding workflow using OpenCL and OpenCV, covering image read, grayscale conversion, buffer setup, kernel launch, and comparison with the golden model.
Run and test the image thresholding example in emulators by creating a project for the Z. Q 102 platform and compare hardware output with the OpenCV golden model.
Demonstrates running an image thresholding example on the FPGA using Vitus, OpenCV, and hardware builds; transfer SD card files, connect via network, and debug with Vitus ID.
Define a linear relationship accelerator on FPGA with Vitis, using two input vectors and one output vector, parameterized by alpha, beta, gamma, and explore memory port options and burst transfers.
Write the host code after the accelerator kernel, using opencl error codes and the underscore check macro to validate API calls. Set up buffers and verify against the golden model.
Develop and debug a linear relationship kernel for fpga acceleration by writing kernel and host code, compiling, and running in the software emulator.
Assign two memory ports to the kernel using pragmas to read A and B from DDR memory with separate bundles, boosting performance from 117.74 ms to 10.687 ms on hardware.
Apply foundational optimization concepts in high-level synthesis to loop statements, focusing on unrolling, pipelining, array partitioning, and data and memory dependencies to improve loop latency.
Discover how HLS optimizes loops to speed up kernels on FPGAs, using unrolling, pipelining, flattening, and merging, with memory considerations for on-chip and off-chip RAM.
This lecture defines iteration latency and loop latency, explains how loop trip count and latency directives influence performance, and shows how max or min latency constraints affect synthesis results.
Explore loop unrolling in HLS to accelerate FPGAs: compare rolled, partially unrolled, and fully unrolled loops, and learn how unroll directives affect multipliers, memory ports, and parallel data access.
Explore the array partitioning optimization, boosting throughput by splitting block RAM into multiple arrays using the partition directive (name, dimension, factor, type: block, cyclic, complete).
Merge consecutive loops into a single loop to reduce latency and improve logic optimization. Use the loop_underscore_merge pragma to guide merging within a scope, bound by side effects restrictions.
Learn how loop pipelining on FPGA accelerates performance by overlapping iterations, reducing latency, and controlling initiation intervals with pragma pipeline and the UDF parameter.
Explore how loop pipelining affects nested loops, including inner-loop pipelining and outer-loop unrolling decisions, and how flattening two nested loops into one enables single-loop pipelining.
Explore data dependencies in pipelined loops, including loop carried dependencies that raise the initiation interval, and how dependencies inside and between iterations affect performance in FPGA acceleration with Vitis.
Explore memory dependencies in FPGA design with Vitis, showing how Eprom with two access ports can constrain parallel reads and how memory partitioning increases ports to reduce the initiation interval.
This course is an introduction to function acceleration in high-level synthesis (HLS). The goals of the course are describing, debugging and implementing compute-intensive algorithms on FPGA-based embedded systems using C/C++ language without any help from HDLs (e.g., VHDL or Verilog).
The course introduces the Xilinx Zynq embedded systems and then explains how to use Xilinx toolsets to map applications on them.
It uses the Xilinx Vitis unified software platform to describe real examples and applications for embedded systems. The course follows the software and hardware emulation schemes as well as running the applications on the actual FPGAs.
Each section of the course uses several examples, quizzes and exercises to explain complex designing concepts easily and smoothly.
Along the course, you will work with several examples describing the HLS concepts and techniques. The course contains numerous quizzes and exercises for you to practice and master the proposed methods and approaches. In addition, the course utilises two exciting projects to put all the explained concepts together to design real circuits and hardware controllers.
This course is the first of a series of courses on function acceleration on Zynq-based embedded systems. Whereas this course focuses on fundamental concepts, the other courses will explain different optimisation techniques in Vitis.