Xilinx Vivado HLS) “Using C Language (Tutorial & Implementation)”

Total Page:16

File Type:pdf, Size:1020Kb

Xilinx Vivado HLS) “Using C Language (Tutorial & Implementation)” ENGG*6530: Reconfigurable Computing Systems Assignment #5: High Level Synthesis (Xilinx Vivado HLS) “Using C Language (Tutorial & Implementation)” Prof. Shawki Areibi School of Engineering, University of Guelph Winter 2021 Start Date: Wednesday, Week #7, 2021 Due Date: Wednesday, 11:00 PM, Week #8, 2021 Report in dropbox, Demo: - 1 Objectives: The purpose of this assignment is to: • Learn the basics of the Xilinx Vivado High Level Synthesis (HLS) CAD Flow: Design Entry, Synthesis and Simulation. • Learn how to improve performance using directives. • Learn how to improve area and resource utilization. • Understand the meaning of design exploration. • Create a complete Hardware/Software Co-design that integrates the Arm PS with an IP that you will create. 2 Introduction With ever-increasing system complexities, all major semiconductor road-maps have identified the need for moving to higher levels of abstraction in order to increase productivity in electronic system design. Most re- cently, many approaches and tools that claim to realize and support a design process at the so-called electronic system level (ESL) have emerged such as Xilinx Vivado HLS and Mentor Graphics Handel-C. The Vivado HLS tool converts an algorithmic description written in C-based design flow into hardware de- scription (RTL) This flow elevates the abstraction level from RTL to algorithms. High-level synthesis is essential for maintaining design productivity for large designs. High-Level Synthesis creates an RTL imple- mentation from C level source code, extracts control and dataflow from the source code implements the design based on defaults and user applied directives. Many implementation are possible from the same source de- scription: Smaller designs, faster designs, optimal designs. It also enables design exploration using different solutions. 1 3 Xilinx HLS Tutorials and Labs The main tools you will be using in this assignment are the Xilinx Vivado HLS and Xilinx Vivado Embedded Design Suite. The Xilinx Vivado HLS provides a flow where the user can enter his/her C/C++ program, simulate, and create a hardware implementation that can be mapped onto the FPGA. 1. First the Instructor/Lab Instructor will introduce you to the tools using a simple example (Matrix Mul- tiplication) without applying any directives. 2. You will then learn in more detail how to use the CAD tool, improve performance, improve area and create an IP that can be mapped onto and FPGA by going through the following Tutorials prepared by Xilinx: (a) Xilinx HLS Workshop Lab #1: This Xilinx lab provides a basic introduction to high-level synthe- sis using the Vivado HLS tool flow. No directives are applied in this tutorial. You will use Vivado HLS in GUI mode to create a project. You will simulate, synthesize, and implement the provided design. Go through the tutorial “Vivado HLS Design Flow Lab” which targets the Zed Board. Lab #1 Tutorial, Matrix Multiply (Vivado HLS Design Flow Xilinx Lab Handout) • Create a directory structure as follows: "C:\xup\hls\labs\lab1" • Copy the files matrixmul.cpp, matrixmul.h and matrixmul test.cpp from resources of lab1 on the web page to the directory you just created "C:\xup\hls\labs\lab1" • Follow the Tutorial step by step. • Find the answers to some questions posed in the Tutorial. • Notice that even though in this Xilinx Tutorial the baseline design (i.e., solution with no directives are applied) is exported, you will not be able to import it later with Vivado embed- ded unless you add the “INTERFACE” directive to the I/O ports (formal parameters of the matrixmul mat a t, mat b t and result t). • The user can use several interface directives such as blockram, s axilite, e.t.c • The Lab Instructor will help you to understand how you apply this directive. • There are also several questions posed in this Xilinx Workshop Lab#1 handout. Try to find the answers to the questions as you go through the handout. (b) Xilinx HLS Workshop Lab #2: This Xilinx lab introduces various techniques and directives which can be used in Vivado HLS to improve design performance. The design under consideration ac- cepts an image in a (custom) RGB format, converts it to the YUV color space, applies a filter to the YUV image and converts it back to RGB. Go through the tutorial “Improving Performance Lab” which targets the Zed Board. Lab #2 Tutorial, RGBYUV (Improving Performance Xilinx Lab Handout) • Create a directory structure as follows: 2 "C:\xup\hls\labs\lab2" • Copy the necessary files for this tutorial from resources of lab2 on the web page to the direc- tory you just created "C:\xup\hls\labs\lab2" • Follow the Tutorial step by step. • Try to find the answers to some questions posed in the Tutorial. • Helpful Hints: i. If you try to save the “Makefile” it will be saved with Makefile.txt extension. Remove the .txt extension from the Makefile.txt. ii. The same applies to the input.dat, output.dat and output.golden.dat files. Save them as .dat files. iii. The input.dat, output.dat and output.golden.dat should be saved in a sub-directory called test data. (c) Xilinx HLS Workshop Lab #3: This Xilinx lab introduces various techniques and directives which can be used in Vivado HLS to further improve design performance as well as area and resource utilization. The design under consideration performs discrete cosine transformation (DCT) on an 8x8 block of data. Follow the same instructions provided above for Lab#1 and Lab#2. Go through the tutorial “Improving Area and Resource Utilization Lab” which targets the Zed Board. Lab #3 Tutorial, DCT (Improving Area and Resource Utilization Xilinx Lab Handout) (d) Helpful Hints: i. If you try to save the “Makefile” it will be saved with Makefile.txt extension. Remove the .txt extension from the Makefile.txt. (e) Xilinx HLS Workshop Lab #4: This Xilinx lab introduces a design flow to generate a IP-XACT adapter from a design using Vivado HLS and using the generated IP-XACT adapter in a processor system using IP Integrator in Vivado. Go through the tutorial “Creating a Processor System Lab” which targets the Zed Board. Lab #4 Tutorial, FIR Filter (Creating a Processor System Xilinx Lab Handout) • Follow the same instructions provided above for Lab#1 and Lab#2. • Notice in this lab, you will be taught how to apply the INTERFACE directive to the formal parameters of the top function so that it can be exported correctly and later on imported as an IP that can communicate with the Processing System (i.e., ARM) via the s axilite. 3. All source code, makefile, data files are available on the website. 4. Each Workshop Lab section has its related resources. 3 4 Requirements 1. Follow the instructions and steps found in the Xilinx Workshop (Lab#1-Lab#4) and familiarize yourself with design entry and design exploration. 2. Answer all questions posed in the Tutorials of Xilinx Workshop (Lab#1 and Lab#2). 3. Apply different types of directives to the Matrix Multiplications of Xilinx Workshop Lab#1. (a) Show all possible solutions after applying individual directives (e.g., (A) loop unrolling, (B) Pipelining, (C) dataflow, (D) Function In-lining, (E) Array Partitioning Then find the effect of combining a subset of these directives. Create a table with all different solutions as the one shone in Table1 below. (b) This part is optional: (exporting your design and creating an IP) • It is important to notice that you will have to apply the INTERFACE Directive to the IO ports of the matrixmul before exporting it from HLS to be used later on with the Vivado Embedded. • For this assignment you will use the Option mode blockram. • A C code “matrixmul SDK.c” is created for you to be used in the SDK to initialize the block- ram and communicate values between the Matrix Multiplication IP and the ARM processor. (c) The Lab Instructor will assist you if you need help. Directives CLK CYC DSPs FFs LUTs Latency Speedup Baseline - - - - - - A(Unroll) - - - - - - B(Pipeline) - - - - - - C(Dataflow) - - - - - - D(Inline) - - - - - - E(Part) - - - - - - AE - - - - - - BE - - - - - - CE - - - - - - DE - - - - - - ABE - - - - - - ACE - - - - - - ADE - - - - - - BCE - - - - - - BDE - - - - - - CDE - - - - - - ABCE - - - - - - ABDE - - - - - - ACDE - - - - - - BCDE - - - - - - ABCDE - - - - - - Table 1: HLS: Design Exploration for Matrix Multiplication 4. Submit a detailed report summarizing your findings in terms of: (a) Design exploration of the Matrix Multiplication application. (b) Report Speedup achieved while applying directives (How to obtain Speedup?) (c) Discussion of the results you obtained. 4 (d) Any feedback on the usage of the Vivado HLS Tool. (e) Any problems you encountered during your implementations. (f) Any suggestion and future recommendation for the assignment. (g) Include your source C code if necessary. 5 5 Report Name your report ENG6530 W21 Assignment#5 LastNameFirstName.pdf When completed, you will hand in a report with the following deliverables: 1. The front page (i.e. title page) should contain only the following: • Course #, Course Name and Date • Your Name and ID • Assignment # and title of the assignment. 2. Explain your implementation by providing the following: (a) Problem Statement, i. Briefly describe the problem solved in the assignment. (b) Tools used: Vivado Revision used, locally installed on your computers or the version installed in RICH 1531 lab. (c) Assumptions and Constraints. (d) System Overview & Justification of Design i. Give an overview of the system to be designed. ii. Briefly explain how the system works and reasons behind the design. 3. Circuit/Block Diagram (a) Brief explanation of the hardware. (b) The schematic you produced using Xilinx Vivado HLS tool. 4. Software (a) List any new C code you developed based on the requirements. 5. Error Analysis (a) Describe any problems with the system (i.e., At what point in the tutorial you failed to complete the step.) (b) If no problems in the final system, describe problems/errors encountered during the development and how they were resolved.
Recommended publications
  • Open Source Synthesis and Verification Tool for Fixed-To-Floating and Floating-To-Fixed Points Conversions
    Circuits and Systems, 2016, 7, 3874-3885 http://www.scirp.org/journal/cs ISSN Online: 2153-1293 ISSN Print: 2153-1285 Open Source Synthesis and Verification Tool for Fixed-to-Floating and Floating-to-Fixed Points Conversions Semih Aslan1, Ekram Mohammad1, Azim Hassan Salamy2 1Ingram School of Engineering, Electrical Engineering Texas State University, San Marcos, Texas, USA 2School of Engineering, Electrical Engineering University of St. Thomas, St. Paul, Minnesota, USA How to cite this paper: Aslan, S., Mo- Abstract hammad, E. and Salamy, A.H. (2016) Open Source Synthesis and Verification Tool for An open source high level synthesis fixed-to-floating and floating-to-fixed conver- Fixed-to-Floating and Floating-to-Fixed Points sion tool is presented for embedded design, communication systems, and signal Conversions. Circuits and Systems, 7, 3874- processing applications. Many systems use a fixed point number system. Fixed point 3885. http://dx.doi.org/10.4236/cs.2016.711323 numbers often need to be converted to floating point numbers for higher accuracy, dynamic range, fixed-length transmission limitations or end user requirements. A Received: May 18, 2016 similar conversion system is needed to convert floating point numbers to fixed point Accepted: May 30, 2016 numbers due to the advantages that fixed point numbers offer when compared with Published: September 23, 2016 floating point number systems, such as compact hardware, reduced verification time Copyright © 2016 by authors and and design effort. The latest embedded and SoC designs use both number systems Scientific Research Publishing Inc. together to improve accuracy or reduce required hardware in the same design.
    [Show full text]
  • Xilinx Vivado Design Suite User Guide: Release Notes, Installation, And
    Vivado Design Suite User Guide Release Notes, Installation, and Licensing UG973 (v2013.3) October 23, 2013 Notice of Disclaimer The information disclosed to you hereunder (the “Materials”) is provided solely for the selection and use of Xilinx products. To the maximum extent permitted by applicable law: (1) Materials are made available "AS IS" and with all faults, Xilinx hereby DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and (2) Xilinx shall not be liable (whether in contract or tort, including negligence, or under any other theory of liability) for any loss or damage of any kind or nature related to, arising under, or in connection with, the Materials (including your use of the Materials), including for any direct, indirect, special, incidental, or consequential loss or damage (including loss of data, profits, goodwill, or any type of loss or damage suffered as a result of any action brought by a third party) even if such damage or loss was reasonably foreseeable or Xilinx had been advised of the possibility of the same. Xilinx assumes no obligation to correct any errors contained in the Materials or to notify you of updates to the Materials or to product specifications. You may not reproduce, modify, distribute, or publicly display the Materials without prior written consent. Certain products are subject to the terms and conditions of the Limited Warranties which can be viewed at http://www.xilinx.com/warranty.htm; IP cores may be subject to warranty and support terms contained in a license issued to you by Xilinx.
    [Show full text]
  • Vivado Design Suite User Guide: High-Level Synthesis (UG902)
    Vivado Design Suite User Guide High-Level Synthesis UG902 (v2018.3) December 20, 2018 Revision History Revision History The following table shows the revision history for this document. Section Revision Summary 12/20/2018 Version 2018.3 Schedule Viewer Updated information on the schedule viewer. Optimizing the Design Clarified information on dataflow and loops throughout section. C++ Arbitrary Precision Fixed-Point Types: Reference Added note on using header files. Information HLS Math Library Updated information on how hls_math.h is used. The HLS Math Library, Fixed-Point Math Functions Updated functions. HLS Video Library, HLS Video Functions Library Moved the HLS video library to the Xilinx GitHub (https:// github.com/Xilinx/xfopencv) HLS SQL Library, HLS SQL Library Functions Updated hls::db to hls::alg functions. System Calls Added information on using the __SYNTHESIS__ macro. Arrays Added information on array sizing behavior. Command Reference Updated commands. config_dataflow, config_rtl Added the option -disable_start_propagation Class Methods, Operators, and Data Members Added guidance on specifying data width. UG902 (v2018.3) December 20, 2018Send Feedback www.xilinx.com High-Level Synthesis 2 Table of Contents Revision History...............................................................................................................2 Chapter 1: High-Level Synthesis............................................................................ 5 High-Level Synthesis Benefits....................................................................................................5
    [Show full text]
  • Vivado Tutorial
    Lab Workbook Vivado Tutorial Vivado Tutorial Introduction This tutorial guides you through the design flow using Xilinx Vivado software to create a simple digital circuit using Verilog HDL. A typical design flow consists of creating model(s), creating user constraint file(s), creating a Vivado project, importing the created models, assigning created constraint file(s), optionally running behavioral simulation, synthesizing the design, implementing the design, generating the bitstream, and finally verifying the functionality in the hardware by downloading the generated bitstream file. You will go through the typical design flow targeting the Artix-100 based Nexys4 board. The typical design flow is shown below. The circled number indicates the corresponding step in this tutorial. Figure 1. A typical design flow Objectives After completing this tutorial, you will be able to: • Create a Vivado project sourcing HDL model(s) and targeting a specific FPGA device located on the Nexys4 board • Use the provided partially completed Xilinx Design Constraint (XDC) file to constrain some of the pin locations • Add additional constraints using the Tcl scripting feature of Vivado • Simulate the design using the XSim simulator • Synthesize and implement the design • Generate the bitstream • Configure the FPGA using the generated bitstream and verify the functionality • Go through the design flow in batch mode using the Tcl script Procedure This tutorial is broken into steps that consist of general overview statements providing information on the detailed instructions that follow. Follow these detailed instructions to progress through the tutorial. www.xilinx.com/university Nexys4 Vivado Tutorial-1 [email protected] © copyright 2013 Xilinx Vivado Tutorial Lab Workbook Design Description The design consists of some inputs directly connected to the corresponding output LEDs.
    [Show full text]
  • Xilinx Vivado Design Suite 7 Series FPGA and Zynq-7000 All Programmable Soc Libraries Guide (UG953)
    Vivado Design Suite 7 Series FPGA and Zynq-7000 All Programmable SoC Libraries Guide UG953 (v 2013.1) March 20, 2013 Notice of Disclaimer The information disclosed to you hereunder (the "Materials") is provided solely for the selection and use of Xilinx products. To the maximum extent permitted by applicable law: (1) Materials are made available "AS IS" and with all faults, Xilinx hereby DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and (2) Xilinx shall not be liable (whether in contract or tort, including negligence, or under any other theory of liability) for any loss or damage of any kind or nature related to, arising under, or in connection with, the Materials (including your use of the Materials), including for any direct, indirect, special, incidental, or consequential loss or damage (including loss of data, profits, goodwill, or any type of loss or damage suffered as a result of any action brought by a third party) even if such damage or loss was reasonably foreseeable or Xilinx had been advised of the possibility of the same. Xilinx assumes no obligation to correct any errors contained in the Materials or to notify you of updates to the Materials or to product specifications. You may not reproduce, modify, distribute, or publicly display the Materials without prior written consent. Certain products are subject to the terms and conditions of the Limited Warranties which can be viewed at http://www.xilinx.com/warranty.htm; IP cores may be subject to warranty and support terms contained in a license issued to you by Xilinx.
    [Show full text]
  • Vivado Design Suite User Guide: Implementation
    See all versions of this document Vivado Design Suite User Guide Implementation UG904 (v2021.1) August 30, 2021 Revision History Revision History The following table shows the revision history for this document. Section Revision Summary 08/30/2021 Version 2021.1 Sweep (Default) Added more information. Incremental Implementation Controls Corrected Block Memory and DSP placement example. Using Incremental Implementation in Project Mode Corrected steps and updated image. Using report_incremental_reuse Updated Reuse Summary example and Reference Run Comparison. Physical Optimization Reports Updated to clarify that report is not cumulative. Available Logic Optimizations Added -resynth_remap. Resynth Remap Added logic optimization. opt_design Added [-resynth_remap] to opt_design Syntax. Physical Synthesis Phase Added entry for Property-Based Retiming. 02/26/2021 Version 2020.2 General Updates General release updates. 08/25/2020 Version 2020.1 Appendix A: Using Remote Hosts and Compute Clusters Updated section. UG904 (v2021.1) August 30, 2021Send Feedback www.xilinx.com Implementation 2 Table of Contents Revision History...............................................................................................................2 Chapter 1: Preparing for Implementation....................................................... 5 About the Vivado Implementation Process............................................................................. 5 Navigating Content by Design Process...................................................................................
    [Show full text]
  • UG908 (V2019.2) October 30, 2019 Revision History
    See all versions of this document Vivado Design Suite User Guide Programming and Debugging UG908 (v2019.2) October 30, 2019 Revision History Revision History The following table shows the revision history for this document. Section Revision Summary 10/30/2019 Version 2019.2 General Updates Updated for Vivado 2019.2 release. 05/22/2019 Version 2019.1 Appendix E: Configuration Memory Support Replaced Configuration Memory Support Tables. Bus Plot Viewer Added new section on Bus Plot Viewer. High Bandwidth Memory (HBM) Monitor Added new section on High Bandwidth (HBM) Monitor. UG908 (v2019.2) October 30, 2019Send Feedback www.xilinx.com Vivado Programming and Debugging 2 Table of Contents Revision History...............................................................................................................2 Chapter 1: Introduction.............................................................................................. 8 Getting Started............................................................................................................................ 8 Debug Terminology.................................................................................................................... 9 Chapter 2: Vivado Lab Edition................................................................................13 Installation................................................................................................................................. 13 Using the Vivado Lab Edition .................................................................................................
    [Show full text]
  • Xilinx Vivado Design Suite User Guide: Release Notes, Installation, and Licensing (IUG973)
    Vivado Design Suite User Guide Release Notes, Installation, and Licensing UG973 (v2013.2) June 19, 2013 Notice of Disclaimer The information disclosed to you hereunder (the “Materials”) is provided solely for the selection and use of Xilinx products. To the maximum extent permitted by applicable law: (1) Materials are made available "AS IS" and with all faults, Xilinx hereby DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and (2) Xilinx shall not be liable (whether in contract or tort, including negligence, or under any other theory of liability) for any loss or damage of any kind or nature related to, arising under, or in connection with, the Materials (including your use of the Materials), including for any direct, indirect, special, incidental, or consequential loss or damage (including loss of data, profits, goodwill, or any type of loss or damage suffered as a result of any action brought by a third party) even if such damage or loss was reasonably foreseeable or Xilinx had been advised of the possibility of the same. Xilinx assumes no obligation to correct any errors contained in the Materials or to notify you of updates to the Materials or to product specifications. You may not reproduce, modify, distribute, or publicly display the Materials without prior written consent. Certain products are subject to the terms and conditions of the Limited Warranties which can be viewed at http://www.xilinx.com/warranty.htm; IP cores may be subject to warranty and support terms contained in a license issued to you by Xilinx.
    [Show full text]
  • Analýza Síťového Provozu Na Síťové Kartě Fpga Network Traffic Analysis on Fpga Network Card
    VYSOKÉ UČENÍ TECHNICKÉ V BRNĚ Fakulta elektrotechniky a komunikačních technologií BAKALÁŘSKÁ PRÁCE Brno, 2019 Marie Crháková VYSOKÉ UČENÍ TECHNICKÉ V BRNĚ BRNO UNIVERSITY OF TECHNOLOGY FAKULTA ELEKTROTECHNIKY A KOMUNIKAČNÍCH TECHNOLOGIÍ FACULTY OF ELECTRICAL ENGINEERING AND COMMUNICATION ÚSTAV TELEKOMUNIKACÍ DEPARTMENT OF TELECOMMUNICATIONS ANALÝZA SÍŤOVÉHO PROVOZU NA SÍŤOVÉ KARTĚ FPGA NETWORK TRAFFIC ANALYSIS ON FPGA NETWORK CARD BAKALÁŘSKÁ PRÁCE BACHELOR'S THESIS AUTOR PRÁCE Marie Crháková AUTHOR VEDOUCÍ PRÁCE Ing. David Smékal SUPERVISOR BRNO 2019 Bakalářská práce bakalářský studijní obor Teleinformatika Ústav telekomunikací Studentka: Marie Crháková ID: 152417 Ročník: 3 Akademický rok: 2018/19 NÁZEV TÉMATU: Analýza síťového provozu na síťové kartě FPGA POKYNY PRO VYPRACOVÁNÍ: Cílem bakalářské práce je navrhnout vhodné metody pro analýzu síťového provozu a následně je implementovat na síťovou kartu FPGA. Zvolený návrh odsimulujte a následně proveďte základní implementaci na hardwaru. Seznamte se s programovacím jazykem VHDL, FPGA kartami NFB, vývojovým frameworkem NDK a platformou Xilinx Vivado. DOPORUČENÁ LITERATURA: [1] WOLF, Wayne. FPGA based system design. New Jersey: Prentice-Hall, 2004, 530 s. ISBN 0-13-142461-0. [2] PINKER, Jiří, Martin POUPA. Číslicové systémy a jazyk VHDL. 1. vyd. Praha: BEN - technická literatura, 2006, 349 s. ISBN 80-7300-198-5. Termín zadání: 1.2.2019 Termín odevzdání: 27.5.2019 Vedoucí práce: Ing. David Smékal Konzultant: prof. Ing. Jiří Mišurec, CSc. předseda oborové rady UPOZORNĚNÍ: Autor bakalářské práce nesmí při vytváření bakalářské práce porušit autorská práva třetích osob, zejména nesmí zasahovat nedovoleným způsobem do cizích autorských práv osobnostních a musí si být plně vědom následků porušení ustanovení § 11 a následujících autorského zákona č. 121/2000 Sb., včetně možných trestněprávních důsledků vyplývajících z ustanovení části druhé, hlavy VI.
    [Show full text]
  • A Parallel Bandit-Based Approach for Autotuning FPGA Compilation
    A Parallel Bandit-Based Approach for Autotuning FPGA Compilation Chang Xu1;∗, Gai Liu2, Ritchie Zhao2, Stephen Yang3, Guojie Luo1, Zhiru Zhang2;y 1 Center for Energy-Efficient Computing and Applications, Peking University, Beijing, China 2 School of Electrical and Computer Engineering, Cornell University, Ithaca, USA 3 Xilinx, Inc., San Jose, USA ∗[email protected], [email protected] Abstract combinatorial optimization problems such as logic synthe- Mainstream FPGA CAD tools provide an extensive collec- sis, technology mapping, placement, and routing [7]. tion of optimization options that have a significant impact To meet the stringent yet diverse design requirements on the quality of the final design. These options together from different domains and use cases, modern FPGA CAD create an enormous and complex design space that cannot tools commonly provide users with a large collection of op- effectively be explored by human effort alone. Instead, we timization options (or parameters) that have a significant propose to search this parameter space using autotuning, impact on the quality of the final design. For instance, the which is a popular approach in the compiler optimization placement step alone in the Xilinx Vivado Design Suite of- fers up to 20 different parameters, translating to a search domain. Specifically, we study the effectiveness of apply- 6 ing the multi-armed bandit (MAB) technique to automat- space of more than 10 design points [3]. In addition, mul- ically tune the options for a complete FPGA compilation tiple options may interact in subtle ways resulting in unpre- flow from RTL to bitstream, including RTL/logic synthe- dictable effects on solution quality.
    [Show full text]
  • Eee4120f Hpes
    The background details to FPGAs were covered in Lecture 15. This Lecture 16 lecture launches into HDL coding. Coding in Verilog module myveriloglecture ( wishes_in, techniques_out ); … // implementation of today’s lecture … endmodule Lecturer: Learning Verilog with Xilinx ISE, Icarus Verilog or Simon Winberg Altera Quartus II Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) Why Verilog? Basics of Verilog coding Exercise Verilog simulators Intro to Verilog in ISE/Vivado Test bench Generating Verilog from Schematic Editors Because it is… Becoming more popular than VHDL!! Verilog is used mostly in USA. VHDL is used widely in Europe, but Verilog is gaining popularity. Easier to learn since it is similar to C Things like SystemC and OpenCL are still a bit clunky in comparison (although in years to come they become common) I think it’s high time for a new & better HDL language!! (Let’s let go of C! And scrap ADA for goodness sake. Maybe I’ll present some ideas in a later lecture.) break free from the constraints of the old language constructs History of Verilog 1980 Verilog developed by Gateway Design Automation (but kept as their own ‘secret weapon’) 1990 Verilog was made public 1995 adopted as IEEE standard 1364-1995 (Verilog 95) 2001 enhanced version: Verilog 2001 Particularly built-in operators +, -, /, *, >>>. Named parameter overrides, always, @* 2005 even more refined version: Verilog 2005 (is not same as SystemVerilog!) SystemVerilog (superset of Verilog-2005) with new features. SystemVerilog and Verilog language standards were merged into SystemVerilog 2009 (IEEE Standard 1800-2009, the current version is IEEE standard 1800-2012).
    [Show full text]
  • Xilinx Vivado Design Suite User Guide: Release Notes, Installation, And
    Vivado Design Suite User Guide Release Notes, Installation, and Licensing UG973 (v2013.1) April 15, 2013 Notice of Disclaimer The information disclosed to you hereunder (the “Materials”) is provided solely for the selection and use of Xilinx products. To the maximum extent permitted by applicable law: (1) Materials are made available "AS IS" and with all faults, Xilinx hereby DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and (2) Xilinx shall not be liable (whether in contract or tort, including negligence, or under any other theory of liability) for any loss or damage of any kind or nature related to, arising under, or in connection with, the Materials (including your use of the Materials), including for any direct, indirect, special, incidental, or consequential loss or damage (including loss of data, profits, goodwill, or any type of loss or damage suffered as a result of any action brought by a third party) even if such damage or loss was reasonably foreseeable or Xilinx had been advised of the possibility of the same. Xilinx assumes no obligation to correct any errors contained in the Materials or to notify you of updates to the Materials or to product specifications. You may not reproduce, modify, distribute, or publicly display the Materials without prior written consent. Certain products are subject to the terms and conditions of the Limited Warranties which can be viewed at http://www.xilinx.com/warranty.htm; IP cores may be subject to warranty and support terms contained in a license issued to you by Xilinx.
    [Show full text]