课程信息
1,884 次近期查看

100% 在线

立即开始,按照自己的计划学习。

可灵活调整截止日期

根据您的日程表重置截止日期。

中级

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

完成时间大约为12 小时

建议:4-10 hours/week...

英语(English)

字幕:英语(English)

您将获得的技能

Programming PrinciplesComputer ArchitectureProgramming Language Concepts

100% 在线

立即开始,按照自己的计划学习。

可灵活调整截止日期

根据您的日程表重置截止日期。

中级

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

完成时间大约为12 小时

建议:4-10 hours/week...

英语(English)

字幕:英语(English)

教学大纲 - 您将从这门课程中学到什么

1
完成时间为 2 小时

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 个视频 (总计 57 分钟), 2 个测验
9 个视频
FPGA-based systems and reconfiguration4分钟
Programmable System-on-Multiple Chips7分钟
Programmable System-on-Chips4分钟
FPGAs main building blocks7分钟
How to program an FPGA: bitstream and configuration5分钟
How to program an FPGA: system description and physical design7分钟
CAD Tools for FPGA-based systems design6分钟
An introuction to the SDx development environment9分钟
2 个练习
QUIZ 140分钟
QUIZ 230分钟
2
完成时间为 3 小时

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 个视频 (总计 37 分钟), 1 个阅读材料, 1 个测验
7 个视频
An introduction to SDAccel and the OpenCL-based flow5分钟
OpenCL computational model: global and local sizes4分钟
Not only OpenCL! The Rationale behind the RTL and C flows5分钟
SDAccel memory model5分钟
SDAccel "emulations"5分钟
SDAccel runtime4分钟
1 个阅读材料
SDAccel Environment Programmers Guide2小时
1 个练习
QUIZ 330分钟
3
完成时间为 3 小时

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 个视频 (总计 37 分钟), 1 个阅读材料, 1 个测验
5 个视频
FPGA Parallelism vs Processor Architecture 1/27分钟
FPGA Parallelism vs Processor Architecture 2/28分钟
Scheduling, Pipelining, and Dataflow8分钟
Application Optimization Flow6分钟
1 个阅读材料
SDAccel Environment Profiling and Optimisation Guide1 小时 30 分
1 个练习
QUIZ 430分钟
完成时间为 5 小时

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 个视频 (总计 34 分钟), 2 个阅读材料, 1 个测验
6 个视频
Interface optimizations: Overall context and an overview of a typical target architecture6分钟
Interface optimizations: a first example5分钟
Burst data transfer3分钟
Using full AXI data width4分钟
Using multiple memory banks3分钟
2 个阅读材料
SDAccel Environment Profiling and Optimisation Guide2小时
Sources Codes1 小时 30 分
1 个练习
QUIZ 530分钟
4
完成时间为 4 小时

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 个视频 (总计 43 分钟), 2 个阅读材料, 1 个测验
6 个视频
Kernel optimization: loop unrolling 2/26分钟
Kernel optimization: loop pipelining9分钟
Kernel optimization: array partitioning 1/28分钟
Kernel optimization: array partitioning 2/27分钟
Host optimizations5分钟
2 个阅读材料
SDAccel Environment Profiling and Optimisation Guide1 小时 30 分
Source Codes1 小时 30 分
1 个练习
QUIZ 630分钟
完成时间为 3 小时

An introduction to FPGA-augmented cloud infrastructures

...
3 个视频 (总计 14 分钟), 1 个阅读材料, 1 个测验
3 个视频
An introduction to SDAccel and the AWS EC2 F1 instances8分钟
Closing remarks and future directions1分钟
1 个阅读材料
A Scalable FPGA Design for Cloud N-Body Simulation2小时
1 个练习
QUIZ 720分钟

讲师

Avatar

Marco Domenico Santambrogio

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

关于 米兰理工大学

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....

常见问题

  • 注册以便获得证书后,您将有权访问所有视频、测验和编程作业(如果适用)。只有在您的班次开课之后,才可以提交和审阅同学互评作业。如果您选择在不购买的情况下浏览课程,可能无法访问某些作业。

  • 您购买证书后,将有权访问所有课程材料,包括评分作业。完成课程后,您的电子课程证书将添加到您的成就页中,您可以通过该页打印您的课程证书或将其添加到您的领英档案中。如果您只想阅读和查看课程内容,可以免费旁听课程。

还有其他问题吗?请访问 学生帮助中心