Acerca de este Curso
1,800 vistas recientes

100 % en línea

Comienza de inmediato y aprende a tu propio ritmo.

Fechas límite flexibles

Restablece las fechas límite en función de tus horarios.

Nivel intermedio

This course is aimed at students with prior programming experience and a desire to understand computation approaches to problem solving.

Aprox. 12 horas para completar

Sugerido: 4-10 hours/week...

Inglés (English)

Subtítulos: Inglés (English)

Habilidades que obtendrás

Programming PrinciplesComputer ArchitectureProgramming Language Concepts

100 % en línea

Comienza de inmediato y aprende a tu propio ritmo.

Fechas límite flexibles

Restablece las fechas límite en función de tus horarios.

Nivel intermedio

This course is aimed at students with prior programming experience and a desire to understand computation approaches to problem solving.

Aprox. 12 horas para completar

Sugerido: 4-10 hours/week...

Inglés (English)

Subtítulos: Inglés (English)

Programa - Qué aprenderás en este curso

Semana
1
2 horas para completar

Familizarize youself with FPGA technologies

From the mid-1980s, reconfigurable computing has become a popular field due to the FPGA technology progress. An FPGA is a semiconductor device containing programmable logic components and programmable interconnects but no instruction fetch at run time, that is, FPGAs do not have a program counter. In most FPGAs, the logic components can be programmed to duplicate the functionality of basic logic gates or functional Intellectual Properties (IPs). FPGAs also include memory elements composed of simple flip-flops or more complex blocks of memories. Hence, FPGA has made possible the dynamic execution and configuration of both hardware and software on a single chip. This module provides a detailed description of FPGA technologies starting from a general description down to the discussion on the low-level configuration details of these devices, to the bitstream composition and the description of the configuration registers.

...
9 videos (Total 57 minutos), 2 quizzes
9 videos
FPGA-based systems and reconfiguration4m
Programmable System-on-Multiple Chips7m
Programmable System-on-Chips4m
FPGAs main building blocks7m
How to program an FPGA: bitstream and configuration5m
How to program an FPGA: system description and physical design7m
CAD Tools for FPGA-based systems design6m
An introuction to the SDx development environment9m
2 ejercicios de práctica
QUIZ 140m
QUIZ 230m
Semana
2
3 horas para completar

A bird's eye view on SDAccel

The Xilinx SDAccel Development Environment let the user express kernels in OpenCL C, C++ and RTL (as an example we can think of, SystemVerilog, Verilog or VHDL) to run on Xilinx programmable platforms. The programmable platform is composed of (1) the SDAccel Xilinx Open Code Compiler (XOCC), (2) a Device Support Archive (DSA) which describes the hardware platform, (3) a software platform, (4) an accelerator board, and5. last but not least, the SDAccel OpenCL runtime. Within this module, after an introduction to OpenCL, we are going to see how this language has been sued in SDAccel and the main "components" of this toolchain.

...
7 videos (Total 37 minutos), 1 reading, 1 quiz
7 videos
An introduction to SDAccel and the OpenCL-based flow5m
OpenCL computational model: global and local sizes4m
Not only OpenCL! The Rationale behind the RTL and C flows5m
SDAccel memory model5m
SDAccel "emulations"5m
SDAccel runtime4m
1 lecturas
SDAccel Environment Programmers Guide2h
1 ejercicios de práctica
QUIZ 330m
Semana
3
3 horas para completar

On how to optmize your system

Within this module, Before getting into the optimisation, we will first understand how an FPGA is working, also from a computational point of view. Although the traditional FPGA design flow is more similar to a regular IC than a processor, an FPGA provides significant cost advantages in comparison to an IC development effort and offers the same level of performance in most cases. Another advantage of the FPGA when compared to the IC is its ability to be dynamically reconfigured. This process, which is the same as loading a program in a processor, can affect part or all of the resources available in the FPGA fabric. When compared with processor architectures, the structures that comprise the FPGA fabric enable a high degree of parallelism in application execution. The custom processing architecture generated by SDAccel for an OpenCL kernel presents a different execution paradigm. This must be taken into account when deciding to port an application from a processor to an FPGA. To better understand such a scenario we will briefly compare a processor sequential execution with the intrinsic parallel nature of an FPGA implementation. Furthermore, within this module we are going to familiarise ourselves with the application optimisation flow.The Xilinx SDAccel Environment is a complete Software Development Environment, for creating, compiling, and optimising OpenCL applications with the objective of being accelerated on Xilinx FPGAs. From a designer perspective we can organise the flow for optimising an application in the SDAccel Environment as a three phases flow. Those three phases are: (1) baselining functionalities and performance, (2) optimising data movement and (3) optimising kernel computation

...
5 videos (Total 37 minutos), 1 reading, 1 quiz
5 videos
FPGA Parallelism vs Processor Architecture 1/27m
FPGA Parallelism vs Processor Architecture 2/28m
Scheduling, Pipelining, and Dataflow8m
Application Optimization Flow6m
1 lecturas
SDAccel Environment Profiling and Optimisation Guide1h 30m
1 ejercicios de práctica
QUIZ 430m
5 horas para completar

Optimize your system via SDAccel

In this module we will provide a bird's eye view on the available SDAccel optimisations. The presented optimisations are not the only available ones, but they are more a list of recommendations to optimise the performance of an OpenCL application that have to be used as a starting point for ideas to consider or investigate further. Within this context we will organise these “recommendations” in three sets of optimisations: (1) arithmetic optimisations, (2) data-related optimisations, and finally (3) memory-related optimisations.

...
6 videos (Total 34 minutos), 2 readings, 1 quiz
6 videos
Interface optimizations: Overall context and an overview of a typical target architecture6m
Interface optimizations: a first example5m
Burst data transfer3m
Using full AXI data width4m
Using multiple memory banks3m
2 lecturas
SDAccel Environment Profiling and Optimisation Guide2h
Sources Codes1h 30m
1 ejercicios de práctica
QUIZ 530m
Semana
4
4 horas para completar

Other optimizations

After an overall description of possibile optimisations, within this module we will focus on four specific optimisations (1) loop unrolling, (2) loop pipelining, (3) array partitioning and (4) the host optimisations. First, we will describe loop unrolling which means to unroll the loop iterations so that, the number of iterations of the loop reduces, and the loop body performs extra computation. This technique allows to expose additional instruction level parallelism that Vivado HLS can exploit to implement the final hardware design. After that we will present the loop pipelining optimisation, where we will move from a sequential execution of the loop iterations to a pipelined execution in which the loop iterations are overlapped in time. After that we will present the array partitioning optimisation which allows to optimise the usage of BRAM resources in order to improve the performance of the kernel. Finally, at the end of this module we are going to discuss optimisations related to the host system that is responsible for transferring the data to and from the FPGA board, as well as to send the command to start the execution of a kernel.

...
6 videos (Total 43 minutos), 2 readings, 1 quiz
6 videos
Kernel optimization: loop unrolling 2/26m
Kernel optimization: loop pipelining9m
Kernel optimization: array partitioning 1/28m
Kernel optimization: array partitioning 2/27m
Host optimizations5m
2 lecturas
SDAccel Environment Profiling and Optimisation Guide1h 30m
Source Codes1h 30m
1 ejercicios de práctica
QUIZ 630m
3 horas para completar

An introduction to FPGA-augmented cloud infrastructures

...
3 videos (Total 14 minutos), 1 reading, 1 quiz
3 videos
An introduction to SDAccel and the AWS EC2 F1 instances8m
Closing remarks and future directions1m
1 lecturas
A Scalable FPGA Design for Cloud N-Body Simulation2h
1 ejercicios de práctica
QUIZ 720m

Instructores

Avatar

Marco Domenico Santambrogio

Associate Professor
DEIB - Dept. of Electronics, Information and Bioengineering

Acerca de Politecnico di Milano

Politecnico di Milano is a scientific-technological University, which trains engineers, architects and industrial designers. From 2014 Politecnico di Milano started the release of several MOOCs, developed by the service for digital learning METID (Methods and Innovative Technologies for Learning), giving everybody the chance to enhance personal skills....

Preguntas Frecuentes

  • Una vez que te inscribes para obtener un Certificado, tendrás acceso a todos los videos, cuestionarios y tareas de programación (si corresponde). Las tareas calificadas por compañeros solo pueden enviarse y revisarse una vez que haya comenzado tu sesión. Si eliges explorar el curso sin comprarlo, es posible que no puedas acceder a determinadas tareas.

  • Cuando compras un Certificado, obtienes acceso a todos los materiales del curso, incluidas las tareas calificadas. Una vez que completes el curso, se añadirá tu Certificado electrónico a la página Logros. Desde allí, puedes imprimir tu Certificado o añadirlo a tu perfil de LinkedIn. Si solo quieres leer y visualizar el contenido del curso, puedes participar del curso como oyente sin costo.

¿Tienes más preguntas? Visita el Centro de Ayuda al Alumno.