Intel FPGA Design with Nios II
Standard Training - 3 daysview dates and locations
Intel® FPGA Design with Nios II is a 3-day course aimed at engineers who are using Intel(Altera) technology to design Systems on Programmable Chip.
The course covers both hardware and software aspects of the design flow and is accessible to both hardware and software engineers. This co-training approach enables successful team working on SoPC designs, in that both software and hardware engineers gain an appreciation of the requirements of each other's discipline. This ensures successful convergence in the design flow and the development of efficient architectures.
The scope of the course includes an appreciation of the hardware platform, hardware-software partitioning, hardware acceleration as well as software development and debugging. These concepts are reinforced by numerous and varied practical exercises, using the latest tools and technology, on actual hardware platforms.
Intel FPGA Design with Nios II is developed and maintained for Doulos by specialist partner ALSE based on source material from Intel.
Who should attend?Design engineers who wish to learn how to use Intel technology for Systems on Chip.
What will you learn?
- The essential know-how to design and use Systems On Chip FPGAs
- How to build the Hardware computing platform using Qsys
- Understand the Hardware-Software handoff and the Hardware Abstraction Layer
- Master the Embedded Software Design Environment
Pre-requisitesAll participants must be computer literate and have a basic understanding of digital design. For the first day, a prior understanding of Quartus Prime is preferable, but not mandatory. For the third day, prior experience in C or C++ is preferable, but not mandatory.
Structure and Content
Designing a System on a Programmable Chip (SoPC) using QsysWhy and when to use SoPC • Introduction to the Nios II processors family and options • Selecting and configuring the Processor, the IPs, the available standard and specific peripherals • The DE0 development Kit • Introduction to the complete Hardware design flow using Qsys and Quartus Prime.
Practical Exercise: Creating a complete SoPC from scratch, tested on the FPGA Kit.
Introducing the new SoC FPGAs with HPS embedded ARM A9 MP processorsThe new device families • General architecture • Hardcore and Fabric dichotomy • Rapid presentation of the ARM Cortex-A9 MP dual core • The SoC FPGA Development Environment.
Introduction to Qsys and Network On Chip conceptsConcepts • Advantages • Drawbacks • Differences with legacy fabric Builder • How to migrate to Qsys.
Validating the Hardware Platform by HDL (co)simulationCreating the simulation environment • Modeling the Peripherals and the UART • Using ModelSim to simulate the complete SoPC system.
Practical Exercise: RTL Simulation with ModelSim of the SoPC system created previously.
The Qsys Interconnect FabricThe Fabric • NOC architecture & benefits • The Avalon Interfaces • Miscellaneous kinds of peripheral ports • Transfer and Addressing modes • Generating the Switch Fabric • Adding custom peripherals.
Introduction to Custom PeripheralsOn-chip or Off-chip peripherals • Creating custom peripherals step-by-step • The Component Editor • Using Tcl scripting • _hw.tcl.
Practical Exercise: Design & use of a simple Custom Peripheral (PWM in VHDL).
System-Level Hardware OptimizationMotivation and concept of Hardware Acceleration • Limitation of traditional architectures • Using Avalon simultaneous multi-master capabilities and the NOC to optimize the performance • Custom Masters, the DMA engines, building hardware accelerators • Custom Instructions : principles, advantages, how to design and use them • CRC calculation example • Custom Peripherals for hardware acceleration • C2H : C code To Hardware compiler (Legacy tool).
Practical Exercise: Accelerating CRC calculation using three different methods and comparing the respective results.
A preview of OpenCLPrinciples • The Altera solution roadmap.
The Nios II processor - The Software Development EnvironmentMain concepts • Software aspects • Introduction to Nios II EDS / Eclipse SBT • Creating a software project • Tools for Compilation and Debugging • Project management • Creating a C/C++ application and associated Board Support Package.
Practical Exercise: Creating a Software Project from scratch, testing it on the Hardware.
Software Development using the Command Line flowMotivation • Compatibility with the GUI • Utilities available to automate the creation of proper scripts • Command line configuration & software download.
Practical Exercise: Using the command line flow and scripts.
Developing Programs for Nios II: the HAL.Introduction to the Hardware Abstraction Layer (HAL) and programming model for standard basic peripherals: system clock, alarm, time-stamp and high-resolution timers • Programming the peripherals • The role of the data cache • Handling custom peripherals.
Practical Exercise: Using the HAL API to exercise PIOs and Timers.
Introduction to Embedded Software ArchitecturesSystem.h • Updating the hardware configuration • Memory mapping • Stack • Heap • The linker • Mastering the boot sequence (alt_sys_init and alt_main) • Hosted vs Free-Standing, optimizing the code size • HAL and file system • Unix-style functions • The Linker script • Stack & Heap • The Boot sequence • The Boot copier • Hosted vs Free-Standing.
Nios II Interrupts & ExceptionsCaveats about legacy interrupts • Presenting the two Interrupts modes and hardware • Pros and Cons of the Cascadable Vectored Interrupt Controller • Using and programming the standard interrupt controller.
Practical Exercise: Enhance the PWM lab to use Interrupts generated by the edge-triggered PIO.
Software aspects of Custom Instructions and Hardware AccelerationThe Optimization flow: Profiling, identifying performance bottlenecks and candidates for hardware acceleration • Using custom instructions • Hardware acceleration through dedicated custom hardware peripherals • Programming API for DMAs, alternative to Altera's API, issues with Data cache • C2H software perspective (Legacy tool)
Practical Exercise: Simple algorithm • Optimized software implementation • Accelerating with a custom instruction • Hardware acceleration with dedicated hardware block and DMA transfers • Accelerating with C2H • Measuring and comparing performance.
|October 29th, 2019||Ringwood, UK||Enquire|
|November 11th, 2019||Munich, DE||Enquire|
|indicates CONFIRMED TO RUN courses.|
Looking for team-based training, or other locations?
Complete an on-line form and a Doulos representative will get back to you »
Price on request
Back to top