Key Phrase Detection Using Compact CNN Accelerator IP Reference Design

Size: px
Start display at page:

Download "Key Phrase Detection Using Compact CNN Accelerator IP Reference Design"

Transcription

1 Key Phrase Detection Using Compact CNN Accelerator IP FPGA-RD Version 1.2 October 2018

2 Contents 1. Introduction Related Documentation Software Requirements Hardware Requirements Directory Structure Key Phrase Detection Overview Block Diagram Top Level Blocks Top Level Module mdp_audio_top.v Compact CNN Accelerator Engine lsc_ml_ice40_bnn.ipx SPI Loader spi_loader2_spram.v I2S Master is2m_in.v Audio Buffer ice40_audio_buffer.v Filter Bank Storage ice40_audio_fb_storage.v Audio to Fingerprint ice40_audio_fb_cu.v, dnn_ice40_fc_eu.v, and dnn_ice40_mul.v Clock Generator ice40_audio_clkgen.v Comparator/RGB Driver Instantiated in top module Generating the Firmware File... 7 Technical Support Assistance... 9 Revision History... 9 Figures Figure 5.1. Key Phrase Detection Directory Structure... 3 Figure 6.1. Key Phrase Detection Block Diagram... 4 Figure 6.2. How Data/Address is fed into Compact CNN Accelerator for Key Phrase Detection... 6 Figure 7.1 SensAI Project Settings Part Figure 7.2 SensAI Project Settings Part Figure 7.3 Fractional Bit Change FPGA-RD

3 1. Introduction The Lattice Key Phrase Detection using Compact CNN Accelerator document describes how to implement a Key Phrase Detection design on our ice40 UltraPlus FPGA. This design utilizes the Lattice Radiant Compact CNN Accelerator IP core which is optimized for Binary Neural Network implementations. 2. Related Documentation In addition to using this guide to help you get started developing Compact CNN solutions on your device, you can refer to other applicable documents that may contain more detailed information that is beyond the scope of this guide. The following documents can be obtained on the Lattice website: Lattice SensAI Neural Network Compiler Software User Guide (FPGA-UG-02052) - This document explains how to create the firmware file which contains the command sequence as well as weights that go into the Compact CNN Accelerator IP Core. Compact CNN Accelerator IP Core User Guide (FPGA-IPUG-02038) - This document provides additional detail about the Compact CNN IP Core contained in this design. Lattice Radiant Software User Guide - This reference design is designed in Lattice Radiant software, and this user guide explains everything you need to know about Lattice Radiant. 3. Software Requirements The following software requirements are required in order to design and use the Key Phrase : Radiant Software 1.0 or greater - This is used to build the reference design. Radiant Programmer tool - This is used to program the bitstream to the External SPI Flash on the board. Compact CNN Accelerator IP Core - This is used to create the Compact CNN Accelerator Engine. Lattice SensAI Neural Network Compiler Software This is used to generate the firmware file from the TensorFlow/Caffe outputs. Note: If you re using Radiant Software 1.0 with Service Pack 1, optimize the reference design with Area by selecting the Radiant Software tab. Navigate to Project>Active Strategy>Synplify Pro Settings, and tick the Area checkbox. 4. Hardware Requirements The reference design has been targeted to support the Mobile Development Platform board but can be modified for use in other HW as needed. 5. Directory Structure Figure 5.1 shows the directory structure when unzipping the Implementing Key Phrase Detection Using Compact CNN Accelerator IP Source Code. The figure explains what files are contained in each folder. Figure 5.1. Key Phrase Detection Directory Structure FPGA-RD

4 6. Key Phrase Detection Overview 6.1. Block Diagram The purpose of this is to show an implementation of a machine learning design with our Compact CNN Soft IP Engine. The Key Phrase Detection Design will be first described with a block diagram of the design, followed by a description for each top block module. Figure 6.1 provides a top level diagram of the Key Phrase design. While working on this design, please note that different PAR iterations can give different results. It is better to try more than one PAR iteration for best results. ice40 UltraPlus External Flash SPI Loader (spi_loader2_spram) Compact CNN Accelerator Engine (lsc_ml_ice40_bnn.ipx) Result (3 Classes) Comparator & Window Filter LED Filter Bank Storage (ice40_audio_fb_storage) Audio to Fingerprint Audio Samples External Microphone I2S Master (i2sm_in) Audio Buffer (ice40_audio_buffer) Figure 6.1. Key Phrase Detection Block Diagram The block diagram is separated into white and gray. White blocks are the main top level module implemented on the ice40 UltraPlus, while gray blocks are external parts. There are two main inputs that go into the Compact CNN Accelerator Engine, which then outputs three values that get evaluated in order to determine whether the key phrase is detected or not Top Level Blocks This section discusses the details of each main top level modules that makes up the Key Phrase Detection Reference Design. Each top module includes which Verilog (.V) or IP Catalog (.IPX) file(s) it contains. These files can all be found in the source directory of the zip file Top Level Module mdp_audio_top.v This is the top level module that contains all the blocks and connections found in Figure FPGA-RD

5 Compact CNN Accelerator Engine lsc_ml_ice40_bnn.ipx This block contains the Compact CNN Accelerator Engine. In this design, the engine is configured to Machine Learning Type: BNN, Memory Type: Single SPRAM and BNN Blob to +1/0. To understand what this means, please refer to the Compact CNN Accelerator IP Core User Guide (FPGA-IPUG-02038). This IPX file takes the binary file from the External SPI Flash and the Fingerprint from the External Microphone to output three values: Silence, Key Phrase, and No Key Phrase SPI Loader spi_loader2_spram.v This module reads the external flash for two different files: the command sequence file and the filter bank storage file. These two files are then outputted into their respective modules. The binary command sequence file is outputted to the Accelerator IP Core, while the filter bank storage file is sent to the filter bank module. This module is programmed to read the filter bank storage file at address 20 h20000, and the firmware file at address 20 h This firmware file is generated by the Lattice Neural Network complier tool. The input to the tool are the.caffemodel and.proto file. These files are located in the NN_Compiler_Files directory for you to generate your own firmware file I2S Master is2m_in.v This block communicates with the I2S microphone on the MDP board. It receives the audio serial data from the External Microphone and transports the data to the audio buffer module. This block also helps calculate whether the audio data level is high enough to drive the output LED light Audio Buffer ice40_audio_buffer.v This module stores the audio that is inputted from the I2S master above in two SPRAM blocks. When instructed, it will then transmit the stored audio data into the Audio to Fingerprint section Filter Bank Storage ice40_audio_fb_storage.v In addition to the firmware file, this design requires a filter bank storage file that is also read from the external SPI Flash. A filter bank is needed since the method we are using to analyze the audio is by converting audio data in a spectrogram-like picture. Creating a traditional spectrogram using FFT is computationally expensive, while using a filter bank is a lot more computationally cheaper Audio to Fingerprint ice40_audio_fb_cu.v, dnn_ice40_fc_eu.v, and dnn_ice40_mul.v This section consists of three modules. The audio to fingerprint is implemented in the top level module. It takes the stored audio data from the audio buffer along with the filter bank values from the Filter bank storage, and creates two 32 x 32 images which then goes into the Accelerator IP. How these images are inputted into the Accelerator with their corresponding address is shown below in Figure 6.2. The reason for having two images instead of one is to have a much more accurate performance. FPGA-RD

6 Image 1 Start Address Image 2 Start Address 1024 Image 1 End Address Image 2 End Address 2047 Figure 6.2. How Data/Address is fed into Compact CNN Accelerator for Key Phrase Detection Clock Generator ice40_audio_clkgen.v This module is not included in Figure 6.1, but is still relevant. This module controls all the clocks in the design. Whenever a module is not being used, this module will stop transferring the clock signal to that module in order to save power. For example, if there is an extended amount of silence detected from the microphone, this module will cut off clock transmission to all blocks except the I2S Master. Once audio is detected again, then it will transmit the clock again Comparator/RGB Driver Instantiated in top module The comparator is a simple algorithm that takes the difference of computed key phrase and no key phrase. That value is then compared with a threshold value. If the difference is greater than threshold value, the LED stays or turns on. Otherwise, the LED stays off or turns off. There is a RGB driver implemented into the design to help with debugging. In the design, there are two thresholds that can be changed. Each threshold is compared to the difference between Key Phrase and No Key Phrase. If the certain threshold is met, either Red or Blue will turn on. Green LED turns on when noise is detected. This can help debug the thresholds for the main LED. 6 FPGA-RD

7 7. Generating the Firmware File To generate the Key Phrase Firmware file: 1. Using the files located in the NN_Compiler_Files directory, create a new project in SensAI and apply the following settings as shown in Figure Click Next. Framework Caffe Device Ultra Plus Class BNN Network File scmddet.proto Model File scmddet.caffemodel Image/Video/Audio Data 0d2bcf9d_nohash_1.wav Note: Change the file type when searching for this file. Figure 7.1 SensAI Project Settings Part 1 3. In the second section, apply the Neural Network engine settings as shown in Figure 7.2: On-Chip Memory Block Size Mean Value 0 Scale Value 1.0 Quantization Mode for BNN 0/1 4. Click OK. FPGA-RD

8 Figure 7.2 SensAI Project Settings Part 2 5. Note that this reference design requires fractional bit changes to fine tune the accuracy of the design. After analyzing the network, edit the fractional bit for each layer. After changing the fractional bit, save the project file and reanalyze the design. Figure 7.3 shows the change of the fractional bit. 6. Click Compile to generate the Key Phrase firmware file. Figure 7.3 Fractional Bit Change 8 FPGA-RD

9 Technical Support Assistance Submit a technical support case through Revision History Revision 1.2, October 2018 Section Software Requirements Key Phrase Detection Reference Design Overview Change Summary Added note in this section. Updated Figure 6.1. Key Phrase Detection Block Diagram in Block Diagram. Revision 1.1, September 2018 Section Change Summary All Renamed the document from Key Phrase Detection Using BNN Accelerator IP to Key Phrase Detection Using Compact CNN Accelerator IP. Changed all instances from BNN Accelerator to Compact CNN Accelerator. Software Requirements Key Phrase Detection Reference Design Overview Generating the Firmware File Revision History Added another bullet point for Lattice SensAI Neural Network Compiler Software. Updated Figure 6.1. Key Phrase Detection Block Diagram. Added this section in the document. Updated revision history table to new template. Revision 1.0, May 2018 Section All Change Summary Initial release. FPGA-RD

10 7 th Floor, 111 SW 5 th Avenue Portland, OR 97204, USA T

MDP Based Key Phrase Detection Demonstration User Guide

MDP Based Key Phrase Detection Demonstration User Guide MDP Based Key Phrase Detection Demonstration FPGA-UG-02048 Version 1.1 September 2018 Contents Acronyms in This Document... 3 1. Introduction... 4 2. Functional Description... 4 3. MDP Board Setup... 5

More information

MDP Based Face Detection Demonstration User Guide

MDP Based Face Detection Demonstration User Guide FPGA-UG-02047 Version 1.0 May 2018 Contents Acronyms in This Document... 3 1. Introduction... 4 2. Functional Description... 4 3. Demo Setup... 5 4. Programming the Face Detection Demo... 7 5. Running

More information

Speed Sign Detection Using Convolutional Neural Network Accelerator IP Reference Design

Speed Sign Detection Using Convolutional Neural Network Accelerator IP Reference Design Speed Sign Detection Using Convolutional Neural Network Accelerator IP FPGA-RD-02035 Version 1.1 September 2018 Contents Acronyms in This Document... 3 1. Introduction... 4 2. Overview... 5 2.1. Block

More information

Object Counting Using Convolutional Neural Network Accelerator IP Reference Design

Object Counting Using Convolutional Neural Network Accelerator IP Reference Design Object Counting Using Convolutional Neural Network Accelerator IP FPGA-RD-02036 Version 1.1 September 2018 Contents Acronyms in This Document... 3 1. Introduction... 4 2. Related Documentation... 5 2.1.

More information

ice40 UltraPlus Image Sensor Elliptical Crypto Engine (ECC) Demo - Radiant Software User Guide

ice40 UltraPlus Image Sensor Elliptical Crypto Engine (ECC) Demo - Radiant Software User Guide ice40 UltraPlus Image Sensor Elliptical Crypto Engine (ECC) Demo - Radiant Software FPGA-UG-02060 Version 1.0 June 2018 Contents Acronyms in This Document... 3 1. Introduction... 4 2. Functional Description...

More information

Face Tracking Using Convolutional Neural Network Accelerator IP Reference Design

Face Tracking Using Convolutional Neural Network Accelerator IP Reference Design Face Tracking Using Convolutional Neural Network Accelerator IP FPGA-RD-02037-1.0 May 2018 Contents 1. Introduction... 4 2. Related Documentation... 5 2.1. Soft IP Document... 5 2.2. Diamond Document...

More information

ice40 UltraPlus Display Frame Buffer User Guide

ice40 UltraPlus Display Frame Buffer User Guide FPGA-UG-02009 Version 1.1 March 2017 Contents 1. Introduction... 3 1.1. Clock Generator Module... 3 1.2. Main Control Module... 3 1.3. SPRAM Module... 4 1.4. Decompress Module... 4 1.5. 8BIT2RGB Module...

More information

Speed Sign Detection Using Convolutional Neural Network Accelerator IP User Guide

Speed Sign Detection Using Convolutional Neural Network Accelerator IP User Guide Speed Sign Detection Using Convolutional Neural Network Accelerator IP FPGA-RD-02035-1.0 May 2018 Contents Acronyms in This Document... 3 Introduction... 4 Reference Design Overview... 5 Block diagram...

More information

Neural Network Compiler BNN Scripts User Guide

Neural Network Compiler BNN Scripts User Guide FPGA-UG-02055 Version 1.0 May 2018 Contents 1. Introduction... 3 2. Software Requirements... 3 3. Directory Structure... 3 4. Installation Guide... 4 4.1. Installing Dependencies... 4 4.2. Installing Packages...

More information

ice40 UltraPlus RGB LED Controller with BLE User Guide

ice40 UltraPlus RGB LED Controller with BLE User Guide FPGA-UG-02010 Version 1.1 March 2017 Contents 1. Introduction... 3 2. Demo Setup... 4 2.1. Block Diagram... 4 2.2. Requirements... 5 2.3. Jumper Settings... 5 3. Programming the Bitmaps to the MDP Board...

More information

ice40 UltraPlus 8:1 Mic Aggregation Demo User Guide

ice40 UltraPlus 8:1 Mic Aggregation Demo User Guide FPGA-UG-02035 Version 1.0 October 2017 Contents 1. Introduction... 3 1.1. Demo Design Overview... 3 2. Functional Description... 3 3. Demo Package... 4 4. ice40 UltraPlus MDP and Resources... 4 4.1. Configuring

More information

ice40 SPRAM Usage Guide Technical Note

ice40 SPRAM Usage Guide Technical Note TN1314 Version 1.0 June 2016 Contents 1. Introduction... 3 2. Single Port RAM s... 3 2.1. User SB_SPRAM256KA... 3 2.2. SPRAM Port Definitions and GUI Options... 4 3. Power Save States for SPRAM... 6 3.1.

More information

LCMXO3LF-9400C SED/SEC Demo

LCMXO3LF-9400C SED/SEC Demo FPGA-UG-02023 Version 1.0 June 2017 Contents 1. Introduction... 4 1.1. Demo Design Overview... 4 1.2. MachXO3-9400 Development Board and Resources... 5 2. Functional Description... 6 3. Demo Package...

More information

EVDK Based Speed Sign Detection Demonstration User Guide

EVDK Based Speed Sign Detection Demonstration User Guide EVDK Based Speed Sign Detection Demonstration FPGA-UG-02049 Version 1.1 September 2018 Contents Acronyms in This Document... 4 1. Introduction... 5 2. Functional Description... 6 3. Demo Setup... 8 3.1.

More information

Accelerating Implementation of Low Power Artificial Intelligence at the Edge

Accelerating Implementation of Low Power Artificial Intelligence at the Edge Accelerating Implementation of Low Power Artificial Intelligence at the Edge A Lattice Semiconductor White Paper November 2018 The emergence of smart factories, cities, homes and mobile are driving shifts

More information

Programming External SPI Flash through JTAG for ECP5/ECP5-5G Technical Note

Programming External SPI Flash through JTAG for ECP5/ECP5-5G Technical Note Programming External SPI Flash through JTAG for ECP5/ECP5-5G FPGA-TN-02050 Version 1.0 October 2017 Contents Acronyms in This Document... 4 1. Introduction... 5 1.1. Features... 5 2. Programming External

More information

Memory Modules User Guide

Memory Modules User Guide FPGA-IPUG-02033-1.0 February 2018 Contents 1. Introduction... 4 2. Memory Modules... 4 2.1. Single Port RAM (RAM_DQ) EBR Based... 5 2.2. Pseudo Dual-Port RAM (RAM_DP) EBR Based... 8 3. IP Generation...

More information

IoT Sensor Connectivity and Processing with Ultra-Low Power, Small Form-Factor FPGAs

IoT Sensor Connectivity and Processing with Ultra-Low Power, Small Form-Factor FPGAs IoT Sensor Connectivity and Processing with Ultra-Low Power, Small Form-Factor FPGAs Applications Run the Gamut from Sensor Buffers, Signal Aggregation to Embedded Camera, Audio and Display Solutions A

More information

LCMXO3LF-9400C Simple Hardware Management Demo User Guide

LCMXO3LF-9400C Simple Hardware Management Demo User Guide LCMXO3LF-9400C Simple Hardware Management Demo FPGA-UG-02021 Version 1.0 June 2017 Contents 1. Introduction... 4 1.1. Demo Design Overview... 4 1.2. MachXO3-9400 Development Board and Resources... 4 2.

More information

2:1 HDMI Switch Demo User Guide

2:1 HDMI Switch Demo User Guide FPGA-UG-02036-A October 2017 Contents Acronyms in This Document... 3 1. Introduction... 4 2. Functional Description... 5 2.1. Overview... 5 2.2. SiI1127A... 5 2.3. SiI1136... 5 2.4. ECP5 Mico32 Design...

More information

Lattice Memory Mapped Interface and Lattice Interrupt Interface User Guide

Lattice Memory Mapped Interface and Lattice Interrupt Interface User Guide Lattice Memory Mapped Interface and Lattice Interrupt Interface FPGA-UG-02039-1.1 February 2018 Contents 1. Introduction... 4 2. Lattice Memory Mapped Interface (LMMI)... 4 2.1. Signal Definitions... 4

More information

CrossLink Hardware Checklist Technical Note

CrossLink Hardware Checklist Technical Note FPGA-TN-02013 Version 1.1 August 2017 Contents Acronyms in This Document... 3 Introduction... 4 Power Supplies... 5 CrossLink MIPI D-PHY and PLL Power Supplies... 5 Power Estimation... 6 Configuration

More information

ECE5775 High-Level Digital Design Automation, Fall 2018 School of Electrical Computer Engineering, Cornell University

ECE5775 High-Level Digital Design Automation, Fall 2018 School of Electrical Computer Engineering, Cornell University ECE5775 High-Level Digital Design Automation, Fall 2018 School of Electrical Computer Engineering, Cornell University Lab 4: Binarized Convolutional Neural Networks Due Wednesday, October 31, 2018, 11:59pm

More information

University of Massachusetts Amherst Computer Systems Lab 1 (ECE 354) LAB 1 Reference Manual

University of Massachusetts Amherst Computer Systems Lab 1 (ECE 354) LAB 1 Reference Manual University of Massachusetts Amherst Computer Systems Lab 1 (ECE 354) LAB 1 Reference Manual Lab 1: Using NIOS II processor for code execution on FPGA Objectives: 1. Understand the typical design flow in

More information

Creating the AVS6LX9MBHP211 MicroBlaze Hardware Platform for the Spartan-6 LX9 MicroBoard Version

Creating the AVS6LX9MBHP211 MicroBlaze Hardware Platform for the Spartan-6 LX9 MicroBoard Version Creating the AVS6LX9MBHP211 MicroBlaze Hardware Platform for the Spartan-6 LX9 MicroBoard Version 13.2.01 Revision History Version Description Date 12.4.01 Initial release for EDK 12.4 09 Mar 2011 12.4.02

More information

Board-Data Processing. VHDL Exercises. Exercise 1: Basics of VHDL Programming. Stages of the Development process using FPGA s in Xilinx ISE.

Board-Data Processing. VHDL Exercises. Exercise 1: Basics of VHDL Programming. Stages of the Development process using FPGA s in Xilinx ISE. Board-Data Processing VHDL Exercises Exercise 1: Basics of VHDL Programming Stages of the Development process using FPGA s in Xilinx ISE. Basics of VHDL VHDL (Very High Speed IC Hardware description Language)

More information

Review and Evaluation with ScreenCorder 4

Review and Evaluation with ScreenCorder 4 Review and Evaluation with ScreenCorder 4 Section 1: Review and Evaluate your work for DiDA...2 What s required?...2 About ScreenCorder...2 Section 2: Using ScreenCorder...2 Step 1: Selecting your recording

More information

Microblaze for Linux Howto

Microblaze for Linux Howto Microblaze for Linux Howto This tutorial shows how to create a Microblaze system for Linux using Xilinx XPS on Windows. The design is targeting the Spartan-6 Pipistello LX45 development board using ISE

More information

Adesto Serial Flash Demo Kit: Quick Start Guide

Adesto Serial Flash Demo Kit: Quick Start Guide Adesto Serial Flash Demo Kit: Quick Start Guide Introduction: This document will provide a simple step-by-step description of how to make use of the Adesto Serial Flash Demo Kit which is comprised of an

More information

University of Massachusetts Amherst Computer Systems Lab 2 (ECE 354) Spring Lab 1: Using Nios 2 processor for code execution on FPGA

University of Massachusetts Amherst Computer Systems Lab 2 (ECE 354) Spring Lab 1: Using Nios 2 processor for code execution on FPGA University of Massachusetts Amherst Computer Systems Lab 2 (ECE 354) Spring 2007 Lab 1: Using Nios 2 processor for code execution on FPGA Objectives: After the completion of this lab: 1. You will understand

More information

THE INDUSTRY CASE FOR DISTRIBUTED HETEROGENEOUS PROCESSING

THE INDUSTRY CASE FOR DISTRIBUTED HETEROGENEOUS PROCESSING THE INDUSTRY CASE FOR DISTRIBUTED HETEROGENEOUS PROCESSING December 2016 Lattice Semiconductor 111 5 th Ave., Suite 700 Portland, Oregon 97204 USA Telephone: (503) 268-8000 www.latticesemi.com WP0008 Introduction

More information

Creating Presentations with ispring

Creating Presentations with ispring Creating Presentations with ispring Step 1: Download ispring ispring allows you to convert PowerPoint slides with audio narration into an online presentation that will play in your browser. This presentation

More information

Vivado Walkthrough ECGR Fall 2015

Vivado Walkthrough ECGR Fall 2015 ECGR 2181 - Vivado Walkthrough 1 Vivado Walkthrough ECGR 2181 - Fall 2015 Intro In this walkthrough we re going to go through the process of creating a project, adding sources, writing vhdl, simulating

More information

EXOSTIV Dashboard Hands-on - MICA board

EXOSTIV Dashboard Hands-on - MICA board EXOSTIV Dashboard Hands-on - MICA board Rev. 1.0.5 - October 18, 2017 http://www.exostivlabs.com 1 Table of Contents EXOSTIV Dashboard Hands-on...3 Introduction...3 EXOSTIV for Xilinx FPGA Overview...3

More information

ice40 UltraPlus I 2 C and SPI Hardened IP Usage Guide Radiant Software

ice40 UltraPlus I 2 C and SPI Hardened IP Usage Guide Radiant Software ice40 UltraPlus I 2 C and SPI Hardened IP Usage Guide Radiant Software FPGA-TN-02053-1.0 February 2018 Contents Acronyms in This Document... 4 1. Introduction... 5 2. I 2 C IP Core Overview... 6 2.1. Key

More information

LED1 LED2. Capacitive Touch Sense Controller LED3 LED4

LED1 LED2. Capacitive Touch Sense Controller LED3 LED4 October 2012 Introduction Reference Design RD1136 Capacitive sensing is a technology based on capacitive coupling which takes human body capacitance as input. Capacitive touch sensors are used in many

More information

Alameda (MAXREFDES24#) ZedBoard Quick Start Guide

Alameda (MAXREFDES24#) ZedBoard Quick Start Guide Alameda (MAXREFDES24#) ZedBoard Quick Start Guide Rev 0; 3/14 Maxim Integrated cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim Integrated product.

More information

Application Note: AN00189 Using QuadSPI for application overlay data

Application Note: AN00189 Using QuadSPI for application overlay data Application Note: AN00189 Using QuadSPI for application overlay data This application note demonstrates how to use overlay regions and how to use QuadPSI flash memory for storing and loading overlay data.

More information

Tri-Rate SDI PHY IP Loopback and Passthrough Sample Designs User s Guide

Tri-Rate SDI PHY IP Loopback and Passthrough Sample Designs User s Guide Tri-Rate SDI PHY IP Loopback and Passthrough Sample Designs User s Guide October 2009 UG22_01.1 Introduction When the Tri-Rate SDI PHY IP core is generated using IPexpress, two sample top-level designs

More information

Quick Start Guide Demo Distance2Go. September 2017

Quick Start Guide Demo Distance2Go. September 2017 Quick Start Guide Demo Distance2Go September 2017 Table of Contents 1 Hardware Description 2 Tools Installation 3 Demo Distance2Go USB Connections 4 Building, Flashing and Debugging 5 Radar GUI 2 Table

More information

SmartVR. Quick Start Guide. Release 2.0

SmartVR.   Quick Start Guide. Release 2.0 SmartVR Quick Start Guide Release 2.0 www.veear.eu Table of Contents Introduction Read this first!... 3 SmartVR Product Description... 3 Hardware Setup... 4 Software Installation... 5 Running your first

More information

ML631 U1 DDR3 MIG Design Creation

ML631 U1 DDR3 MIG Design Creation ML631 U1 DDR3 MIG Design Creation October 2011 Copyright 2011 Xilinx XTP112 Revision History Date Version Description 10/26/11 13.3 Updated for 13.3. 08/30/11 13.2 Initial version. Copyright 2011 Xilinx,

More information

Building an Embedded Processor System on a Xilinx Zync FPGA (Profiling): A Tutorial

Building an Embedded Processor System on a Xilinx Zync FPGA (Profiling): A Tutorial Building an Embedded Processor System on a Xilinx Zync FPGA (Profiling): A Tutorial Embedded Processor Hardware Design October 6 t h 2017. VIVADO TUTORIAL 1 Table of Contents Requirements... 3 Part 1:

More information

Capacitive Sensing Multimedia Board

Capacitive Sensing Multimedia Board Applications IP Library White Paper Capacitive Sensing Multimedia Board Author: Chris Hammer Associated Project: Yes Associated Part Family: CY8C21x34 PSoC Designer Version: 4.3, Service Pack 2 Abstract

More information

Quick Start Guide Sense2GoL Module. July 12 th 2018

Quick Start Guide Sense2GoL Module. July 12 th 2018 Quick Start Guide Sense2GoL Module July 12 th 2018 Table of contents 1 Overview 2 Development Tools Installation 3 Flashing and Debugging 4 GUI 5 Stream Raw data 2 Table of contents 1 Overview 2 Development

More information

Byte-to-Pixel Converter IP User Guide

Byte-to-Pixel Converter IP User Guide FPGA-IPUG-02027 Version 1.0 July 2017 Contents 1. Introduction... 4 1.1. Quick Facts... 4 1.2. Features... 5 1.3. Conventions... 5 1.3.1. Nomenclature... 5 1.3.2. Data Ordering and Data Types... 5 1.3.3.

More information

User Guide. Introduction. Requirements. Installing and Configuring. C Interface for NI myrio

User Guide. Introduction. Requirements. Installing and Configuring. C Interface for NI myrio User Guide C Interface for NI myrio Introduction The C interface for NI myrio is designed for users who want to program the NI myrio using the C programming language or a programming language other than

More information

Quick Start Guide Demo Distance2Go. July 2018

Quick Start Guide Demo Distance2Go. July 2018 Quick Start Guide Demo Distance2Go July 2018 Table of Contents 1 Hardware Description 2 Tools Installation 3 Demo Distance2Go USB Connections 4 Building, Flashing and Debugging 5 Raw data streaming 2 Table

More information

HyperBus Memory Controller (HBMC) Tutorial

HyperBus Memory Controller (HBMC) Tutorial Synaptic Labs' HyperBus Memory Controller (HBMC) Tutorial T005C: A Qsys based Nios II Reference design with a simple HyperFlash test device using S/Labs' HBMC IP and S/Labs' Memory Region Mapper IP This

More information

i_csn i_wr i_rd i_cpol i_cpha i_lsb_first i_data [15:0] o_data [15:0] o_tx_ready o_rx_ready o_rx_error o_tx_error o_tx_ack o_tx_no_ack

i_csn i_wr i_rd i_cpol i_cpha i_lsb_first i_data [15:0] o_data [15:0] o_tx_ready o_rx_ready o_rx_error o_tx_error o_tx_ack o_tx_no_ack October 2012 Introduction Reference Design RD1142 The Serial Peripheral Interface (SPI) is used primarily for synchronous serial communication between a host processor and its peripherals. The SPI bus

More information

and 32 bit for 32 bit. If you don t pay attention to this, there will be unexpected behavior in the ISE software and thing may not work properly!

and 32 bit for 32 bit. If you don t pay attention to this, there will be unexpected behavior in the ISE software and thing may not work properly! This tutorial will show you how to: Part I: Set up a new project in ISE 14.7 Part II: Implement a function using Schematics Part III: Simulate the schematic circuit using ISim Part IV: Constraint, Synthesize,

More information

Getting started with the Xilinx Project Navigator and the Digilent BASYS 2 board.

Getting started with the Xilinx Project Navigator and the Digilent BASYS 2 board. Getting started with the Xilinx Project Navigator and the Digilent BASYS 2 board. This lab is based on: Xilinx Project Navigator, Release Version 14.6 Digilent Adept System Rev 2.7, Runtime Rev 2.16 Digilent

More information

PlanAhead Software Tutorial

PlanAhead Software Tutorial PlanAhead Software Tutorial RTL Design and IP Generation The information disclosed to you hereunder (the Information ) is provided AS-IS with no warranty of any kind, express or implied. Xilinx does not

More information

DDR2 Demo for the LatticeECP3 Serial Protocol Board User s Guide

DDR2 Demo for the LatticeECP3 Serial Protocol Board User s Guide DDR2 Demo for the LatticeECP3 Serial Protocol Board User s Guide December 2011 UG49_01.0 Introduction This document provides technical information and instructions for using the LatticeECP3 DDR2 demo design.

More information

NIOS CPU Based Embedded Computer System on Programmable Chip

NIOS CPU Based Embedded Computer System on Programmable Chip 1 Objectives NIOS CPU Based Embedded Computer System on Programmable Chip EE8205: Embedded Computer Systems This lab has been constructed to introduce the development of dedicated embedded system based

More information

Importing HDL Files with Platform Manager 2

Importing HDL Files with Platform Manager 2 August 2014 Introduction Technical Note TN1287 The Platform Manager 2 is a fast-reacting, programmable logic based hardware management controller. Platform Manager 2 is an integrated solution combining

More information

HyperBus Memory Controller (HBMC) Tutorial

HyperBus Memory Controller (HBMC) Tutorial Synaptic Labs' HyperBus Memory Controller (HBMC) Tutorial T001: A Qsys based Nios II Reference design with HelloWorld test running in HyperRAM device using S/Labs' HBMC IP This tutorial describes a simple

More information

NIOS CPU Based Embedded Computer System on Programmable Chip

NIOS CPU Based Embedded Computer System on Programmable Chip NIOS CPU Based Embedded Computer System on Programmable Chip 1 Lab Objectives EE8205: Embedded Computer Systems NIOS-II SoPC: PART-I This lab has been constructed to introduce the development of dedicated

More information

HyperBus Memory Controller (HBMC) Tutorial

HyperBus Memory Controller (HBMC) Tutorial Synaptic Labs' HyperBus Memory Controller (HBMC) Tutorial T005B: A Qsys based Nios II Reference design with a simple application running from HyperFlash and HyperRAM device using S/Labs' HBMC IP. The HyperRAM

More information

Installing and using CW 10.6 for TPMS applications. Revision 4

Installing and using CW 10.6 for TPMS applications. Revision 4 Installing and using CW 10.6 for TPMS applications Revision 4 Table of Contents 1. Installing Code Warrior for MCUs v10.6... 3 a. General information... 3 b. Downloading the IDE... 4 c. Installing CW 10.6...

More information

LatticeECP3 Digital Front End Demonstration Design User s Guide

LatticeECP3 Digital Front End Demonstration Design User s Guide LatticeECP3 Digital Front End User s Guide September 2013 UG68_01.0 Introduction LatticeECP3 Digital Front End This document provides technical information and operating instructions for LatticeECP3 Digital

More information

ProPresenter #1: General Pro Setup Pt 1

ProPresenter #1: General Pro Setup Pt 1 ProPresenter #1: General Pro Setup Pt 1 As time goes on, the service plan may change on Planning Center as we fine tune how we do ministry. The purpose of this guide is to train you in the different aspects

More information

Scaling Convolutional Neural Networks on Reconfigurable Logic Michaela Blott, Principal Engineer, Xilinx Research

Scaling Convolutional Neural Networks on Reconfigurable Logic Michaela Blott, Principal Engineer, Xilinx Research Scaling Convolutional Neural Networks on Reconfigurable Logic Michaela Blott, Principal Engineer, Xilinx Research Nick Fraser (Xilinx & USydney) Yaman Umuroglu (Xilinx & NTNU) Giulio Gambardella (Xilinx)

More information

ADR Standard Procedure (Revised 3/09)

ADR Standard Procedure (Revised 3/09) ADR Standard Procedure (Revised 3/09) (All personnel performing ADR on DMA projects should follow this prescribed procedure in order to ensure optimum quality of results and to maintain consistency across

More information

ADM-PCIE-9H7 Support & Development Kit Release: 0.1.1

ADM-PCIE-9H7 Support & Development Kit Release: 0.1.1 ADM-PCIE-9H7 Support & Development Kit Release: 0.1.1 Document Revision: 1.1 3rd January 2019 2019 Copyright Alpha Data Parallel Systems Ltd. All rights reserved. This publication is protected by Copyright

More information

475 Electronics for physicists Introduction to FPGA programming

475 Electronics for physicists Introduction to FPGA programming 475 Electronics for physicists Introduction to FPGA programming Andrej Seljak, Gary Varner Department of Physics University of Hawaii at Manoa November 18, 2015 Abstract Digital circuits based on binary

More information

Estimating Accelerator Performance and Events

Estimating Accelerator Performance and Events Lab Workbook Estimating Accelerator Performance and Events Tracing Estimating Accelerator Performance and Events Tracing Introduction This lab guides you through the steps involved in estimating the expected

More information

Stereo Triggered Sampler 4ms Company

Stereo Triggered Sampler 4ms Company Stereo Triggered r 4ms Company New features in Firmware v1.4 October 26, 2017 (Addendum to User Manual 1.0: http://4mscompany.com/sts/sts-manual-1.0.pdf) Table of Contents: Introducing firmware 1.4 1 What

More information

WORKING WITH YOUR PORTFOLIO

WORKING WITH YOUR PORTFOLIO WORKING WITH YOUR PORTFOLIO THE INFORMATION INCLUDED HERE COVERS HOW TO CREATE YOUR PORTFOLIO FOLDER, HOW TO LINK DOCUMENTS TO YOUR TABLE OF CONTENTS, AND HOW TO SAVE / SEND YOUR PORTFOLIO TO YOUR PROFESSOR

More information

Configuring the Xilinx Spartan-6 LX9 MicroBoard

Configuring the Xilinx Spartan-6 LX9 MicroBoard Configuring the Xilinx Spartan-6 LX9 MicroBoard Version 1.3 Table of Contents Table of Contents... 2 Table of Figures... 3 Revision History... 4 Overview... 5 Configuration and Programming via the on-board

More information

Generating Parameterized Modules and IP Cores

Generating Parameterized Modules and IP Cores Generating Parameterized Modules and IP Cores Table of Contents...3 Module 1: Verilog HDL Design with LPMs Using the Module/IP Manager...4 Task 1: Create a New Project...5 Task 2: Target a Device...7 Task

More information

Quartus II Tutorial. September 10, 2014 Quartus II Version 14.0

Quartus II Tutorial. September 10, 2014 Quartus II Version 14.0 Quartus II Tutorial September 10, 2014 Quartus II Version 14.0 This tutorial will walk you through the process of developing circuit designs within Quartus II, simulating with Modelsim, and downloading

More information

LatticeXP2 Soft Error Detection (SED) Usage Guide

LatticeXP2 Soft Error Detection (SED) Usage Guide Detection (SED) Usage Guide October 2012 Introduction Technical Note TN1130 Soft errors occur when high-energy charged particles alter the stored charge in a memory cell in an electronic circuit. The phenomenon

More information

EE 1315 DIGITAL LOGIC LAB EE Dept, UMD

EE 1315 DIGITAL LOGIC LAB EE Dept, UMD EE 1315 DIGITAL LOGIC LAB EE Dept, UMD EXPERIMENT # 1: Logic building blocks The main objective of this experiment is to let you familiarize with the lab equipment and learn about the operation of the

More information

Spartan -6 LX150T Development Kit Hardware Co-Simulation Reference Design User Guide

Spartan -6 LX150T Development Kit Hardware Co-Simulation Reference Design User Guide Spartan -6 LX150T Development Kit H/W Co-Simulation Reference Design User Guide Spartan -6 LX150T Development Kit Hardware Co-Simulation Reference Design User Guide Version 0.8 Revision History Version

More information

TP : System on Chip (SoC) 1

TP : System on Chip (SoC) 1 TP : System on Chip (SoC) 1 Goals : -Discover the VIVADO environment and SDK tool from Xilinx -Programming of the Software part of a SoC -Control of hardware peripheral using software running on the ARM

More information

Xilinx Vivado/SDK Tutorial

Xilinx Vivado/SDK Tutorial Xilinx Vivado/SDK Tutorial (Laboratory Session 1, EDAN15) Flavius.Gruian@cs.lth.se March 21, 2017 This tutorial shows you how to create and run a simple MicroBlaze-based system on a Digilent Nexys-4 prototyping

More information

NVIDIA'S DEEP LEARNING ACCELERATOR MEETS SIFIVE'S FREEDOM PLATFORM. Frans Sijstermans (NVIDIA) & Yunsup Lee (SiFive)

NVIDIA'S DEEP LEARNING ACCELERATOR MEETS SIFIVE'S FREEDOM PLATFORM. Frans Sijstermans (NVIDIA) & Yunsup Lee (SiFive) NVIDIA'S DEEP LEARNING ACCELERATOR MEETS SIFIVE'S FREEDOM PLATFORM Frans Sijstermans (NVIDIA) & Yunsup Lee (SiFive) NVDLA NVIDIA DEEP LEARNING ACCELERATOR IP Core for deep learning part of NVIDIA s Xavier

More information

Z Series. Project Design Guide

Z Series. Project Design Guide Z Series Project Design Guide AtlasIED Z Series Z2 and Z4 models can store 10 different programs called Presets. These presets are designed to be used in many general applications. For a detailed list

More information

Corona (MAXREFDES12#) ZedBoard Quick Start Guide

Corona (MAXREFDES12#) ZedBoard Quick Start Guide Corona (MAXREFDES12#) ZedBoard Quick Start Guide Rev 0; 4/13 Maxim Integrated cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim Integrated product.

More information

MIPI D-PHY to CMOS Interface Bridge Soft IP

MIPI D-PHY to CMOS Interface Bridge Soft IP Supporting MIPI CSI-2 and MIPI DSI for Image Sensors and Displays FPGA-IPUG-02004 Version 1.3 January 2017 Contents 1. Introduction... 4 1.1. Quick Facts... 5 1.2. Features... 5 1.3. Conventions... 5 1.3.1.

More information

Excellent for XIP applications"

Excellent for XIP applications Synaptic Labs' Tiny System Cache (CMS-T003) Tutorial T001A: Boot from On-chip Flash: A Qsys based Nios II Reference design based on S/Labs' Tiny System Cache IP and Intel's On-chip Flash Memory Controller

More information

isplever Reed-Solomon Encoder User s Guide October 2005 ipug05_03.0

isplever Reed-Solomon Encoder User s Guide October 2005 ipug05_03.0 isplever TM CORE Reed-Solomon Encoder User s Guide October 2005 ipug05_03.0 Introduction Lattice s Reed-Solomon Encoder core provides an ideal solution that meets the needs of today s Reed-Solomon applications.

More information

Integrating LogiCORE SEM IP in Zynq UltraScale+ Devices

Integrating LogiCORE SEM IP in Zynq UltraScale+ Devices XAPP1298 (v1.0.2) February 27, 2017 Application Note: Zynq UltraScale+ Devices Integrating LogiCORE SEM IP in Zynq UltraScale+ Devices Author: Michael Welter Summary This application note outlines how

More information

ice40 Ultra Self-Learning IR Remote User s Guide

ice40 Ultra Self-Learning IR Remote User s Guide ice40 Ultra Self-Learning IR Remote User s Guide June 2014 UG74_1.0 Introduction ice40 Ultra Self-Learning IR Remote User s Guide This guide describes how to use the ice40 Ultra Mobile Development Platform

More information

Spartan-6 LX9 MicroBoard Embedded Tutorial. Tutorial 1 Creating an AXI-based Embedded System

Spartan-6 LX9 MicroBoard Embedded Tutorial. Tutorial 1 Creating an AXI-based Embedded System Spartan-6 LX9 MicroBoard Embedded Tutorial Tutorial 1 Creating an AXI-based Embedded System Version 13.1.01 Revision History Version Description Date 13.1.01 Initial release for EDK 13.1 5/15/2011 Table

More information

Getting Started in C Programming with Keil MDK-ARM Version 5

Getting Started in C Programming with Keil MDK-ARM Version 5 Getting Started in C Programming with Keil MDK-ARM Version 5 Reason for Revision This document was revised for Keil MDK-ARM v5.14 on February 18, 2015. This document was revised for MSP432 LaunchPad on

More information

Selling Manager Pro Quick Guide Creating a Listing

Selling Manager Pro Quick Guide Creating a Listing Selling Manager Pro Quick Guide Creating a Listing 1. Familiarize Yourself with Views If you have used Selling Manager, you will already be familiar with Views in Selling Manager Pro (referred to as SM

More information

AN 797: Partially Reconfiguring a Design on Intel Arria 10 GX FPGA Development Board

AN 797: Partially Reconfiguring a Design on Intel Arria 10 GX FPGA Development Board AN 797: Partially Reconfiguring a Design on Intel Arria 10 GX FPGA Updated for Intel Quartus Prime Design Suite: 18.1 Subscribe Latest document on the web: PDF HTML Contents Contents Partially Reconfiguring

More information

Fresno (MAXREFDES11#) ZedBoard Quick Start Guide

Fresno (MAXREFDES11#) ZedBoard Quick Start Guide Fresno (MAXREFDES11#) ZedBoard Quick Start Guide Rev 0; 4/13 Maxim Integrated cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim Integrated product.

More information

UG0648 User Guide Motor Control Libero Project

UG0648 User Guide Motor Control Libero Project UG0648 User Guide Motor Control Libero Project Microsemi Corporate Headquarters One Enterprise, Aliso Viejo, CA 92656 USA Within the USA: +1 (800) 713-4113 Outside the USA: +1 (949) 380-6100 Fax: +1 (949)

More information

EEC180B DIGITAL SYSTEMS Spring University of California, Davis. Department of Electrical and Computer Engineering

EEC180B DIGITAL SYSTEMS Spring University of California, Davis. Department of Electrical and Computer Engineering University of California, Davis Department of Electrical and Computer Engineering Tutorial: Instantiating and Using a PLL on the DE10 LITE Objective: This tutorial explains how to configure and instantiate

More information

cmosdaq User Guide Requirements Basic Hardware Luigi Vigani Revision 1 (11/11/2015)

cmosdaq User Guide Requirements Basic Hardware Luigi Vigani Revision 1 (11/11/2015) cmosdaq User Guide Revision 1 (11/11/2015) Luigi Vigani Introduction cmosdaq is the software package for managing the interface with the CMOS detectors developed by the Atlas Strip CMOS collaboration.

More information

2D Edge Detector IP Core User s Guide

2D Edge Detector IP Core User s Guide 2D Edge Detector IP Core User s Guide February 2011 IPUG86_01.0 Table of Contents Chapter 1. Introduction... 3 Quick Facts... 3 Features... 3 Chapter 2. Functional Description... 4 Key Concepts... 4 Block

More information

Getting Started in C Programming with Keil MDK-ARM Version 5

Getting Started in C Programming with Keil MDK-ARM Version 5 Getting Started in C Programming with Keil MDK-ARM Version 5 Reason for Revision This document was revised for Keil MDK-ARM v5.14 on February 18, 2015. This document was revised for MSP432 LaunchPad on

More information

Building an Embedded Processor System on Xilinx NEXYS3 FPGA and Profiling an Application: A Tutorial

Building an Embedded Processor System on Xilinx NEXYS3 FPGA and Profiling an Application: A Tutorial Building an Embedded Processor System on Xilinx NEXYS3 FPGA and Profiling an Application: A Tutorial Introduction: Modern FPGA s are equipped with a lot of resources that allow them to hold large digital

More information

CSE P567 - Winter 2010 Lab 1 Introduction to FGPA CAD Tools

CSE P567 - Winter 2010 Lab 1 Introduction to FGPA CAD Tools CSE P567 - Winter 2010 Lab 1 Introduction to FGPA CAD Tools This is a tutorial introduction to the process of designing circuits using a set of modern design tools. While the tools we will be using (Altera

More information

I 2 C and SPI Protocol Triggering and Decode for Infiniium 9000 Series Oscilloscopes

I 2 C and SPI Protocol Triggering and Decode for Infiniium 9000 Series Oscilloscopes I 2 C and SPI Protocol Triggering and Decode for Infiniium 9000 Series Oscilloscopes Data sheet This application is available in the following license variations. Order N5391B for a user-installed license

More information

FX Tools Software Package - FX CommPro N2 User s Guide

FX Tools Software Package - FX CommPro N2 User s Guide User s Guide FX CommPro N2 Issue Date September 25, 2008 FX Tools Software Package - FX CommPro N2 User s Guide FX Tools Software Package FX CommPro N2... 3 Introduction...3 Installation... 4 Installing

More information

Reporting Center. Primary (Stand-Alone) Interface

Reporting Center. Primary (Stand-Alone) Interface Reporting Center The Reporting Center is where you will go to run or create reports on projects. It can be accessed in any of the follow ways, each with a slightly different user interface and functionality.

More information