Qsys and IP Core Integration

Similar documents
Introduction to the Qsys System Integration Tool

Designing with ALTERA SoC Hardware

FPGA memory performance

Designing with ALTERA SoC

The Nios II Family of Configurable Soft-core Processors

ALTERA FPGAs Architecture & Design

Advanced ALTERA FPGA Design

Applying the Benefits of Network on a Chip Architecture to FPGA System Design

SoC Platforms and CPU Cores

Designing with Nios II Processor for Hardware Engineers

Avalon Interface Specifications

9. PIO Core. Core Overview. Functional Description

Avalon Interface Specifications

Creating PCI Express Links in Intel FPGAs

4. TriMatrix Embedded Memory Blocks in HardCopy IV Devices

Avalon Interface Specifications

Field Programmable Gate Array (FPGA) Devices

Designing Embedded Processors in FPGAs

3-D Accelerator on Chip

Creating a System With Qsys

FPGA for Software Engineers

SoC FPGAs. Your User-Customizable System on Chip Altera Corporation Public

Section III. Transport and Communication

Creating a System With Qsys

Design of Embedded Hardware and Firmware

Digital Systems Design

COSC 243. Computer Architecture 1. COSC 243 (Computer Architecture) Lecture 6 - Computer Architecture 1 1

System-on Solution from Altera and Xilinx

PCI Express Multi-Channel DMA Interface

2. System Interconnect Fabric for Memory-Mapped Interfaces

Nios II Embedded Design Suite Release Notes

9. Building Memory Subsystems Using SOPC Builder

ALTERA FPGA Design Using Verilog

Cover TBD. intel Quartus prime Design software

«Real Time Embedded systems» Cyclone V SOC - FPGA

Copyright 2016 Xilinx

Zynq-7000 All Programmable SoC Product Overview

SEMICON Solutions. Bus Structure. Created by: Duong Dang Date: 20 th Oct,2010

BlazePPS (Blaze Packet Processing System) CSEE W4840 Project Design

Avalon Interface. Avalon Interfaces. Open Standard. 7 Interfaces. Streaming Memory Mapped Conduit Tri-state Conduit Interrupt Clock Reset

Buses. Maurizio Palesi. Maurizio Palesi 1

Altera FLEX 8000 Block Diagram

DDR and DDR2 SDRAM Controller Compiler User Guide

Cover TBD. intel Quartus prime Design software

SoC Design Lecture 11: SoC Bus Architectures. Shaahin Hessabi Department of Computer Engineering Sharif University of Technology

4. Functional Description HPS Memory Controller

The simplest form of storage is a register file. All microprocessors have register files, which are known as registers in the architectural context.

Cornell Cup Tutorials

Getting Started With the Nios II DPX Datapath Processor ---Version

Nios Soft Core Embedded Processor

Digital Blocks Semiconductor IP

SoC Design. Prof. Dr. Christophe Bobda Institut für Informatik Lehrstuhl für Technische Informatik

INTRODUCTION TO FIELD PROGRAMMABLE GATE ARRAYS (FPGAS)

Buses. Disks PCI RDRAM RDRAM LAN. Some slides adapted from lecture by David Culler. Pentium 4 Processor. Memory Controller Hub.

Laboratory Exercise 5

MICROTRONIX AVALON MULTI-PORT FRONT END IP CORE

Stratix. High-Density, High-Performance FPGAs. Available in Production Quantities

4K Format Conversion Reference Design

8. Migrating Stratix II Device Resources to HardCopy II Devices

Basic FPGA Architectures. Actel FPGAs. PLD Technologies: Antifuse. 3 Digital Systems Implementation Programmable Logic Devices

Embedded Design Handbook

The RM9150 and the Fast Device Bus High Speed Interconnect

Building Gigabit Interfaces in Altera Transceiver Devices

Digital Integrated Circuits

1. Overview for the Arria V Device Family

Today. Comments about assignment Max 1/T (skew = 0) Max clock skew? Comments about assignment 3 ASICs and Programmable logic Others courses

Chapter 2. Cyclone II Architecture

1. SDRAM Controller Core

Hardware Design. University of Pannonia Dept. Of Electrical Engineering and Information Systems. MicroBlaze v.8.10 / v.8.20

CONTACT: ,

Functional Description HPS Memory Controller

UG0850 User Guide PolarFire FPGA Video Solution

Five Ways to Build Flexibility into Industrial Applications with FPGAs

10-Gbps Ethernet Hardware Demonstration Reference Design

Low Power Design Techniques

External Memory Interfaces in Cyclone V Devices

NIOS CPU Based Embedded Computer System on Programmable Chip

ReNoC: A Network-on-Chip Architecture with Reconfigurable Topology

Digital Blocks Semiconductor IP

Excalibur Device Overview

Nios II Performance Benchmarks

The Xilinx XC6200 chip, the software tools and the board development tools

Section I. Cyclone II Device Family Data Sheet

Altera Product Overview. Altera Product Overview

Design and Implementation of Low Complexity Router for 2D Mesh Topology using FPGA

SerialLite III Streaming IP Core Design Example User Guide for Intel Stratix 10 Devices

Chapter 6 Storage and Other I/O Topics

Arria 10 Transceiver PHY User Guide

Interconnects, Memory, GPIO

4DM4 Lab. #1 A: Introduction to VHDL and FPGAs B: An Unbuffered Crossbar Switch (posted Thursday, Sept 19, 2013)

MAX 10 FPGA Device Overview

discrete logic do not

AN 830: Intel FPGA Triple-Speed Ethernet and On-Board PHY Chip Reference Design

Hardware Design of a Flight Control Computer System based on Multi-core Digital Signal Processor and Field Programmable Gate Array

Today s Agenda Background/Experience Course Information Altera DE2B Board do Overview Introduction to Embedded Systems Design Abstraction Microprocess

AN 830: Intel FPGA Triple-Speed Ethernet and On-Board PHY Chip Reference Design

HARDWARE SECURITY. EEC 492/592, CIS 493 Hands-on Experience on Computer System Security Chan Yu Cleveland State University

Digital Systems Design. System on a Programmable Chip

Programmable Logic. Any other approaches?

Simplify System Complexity

Transcription:

Qsys and IP Core Integration Stephen A. Edwards (after David Lariviere) Columbia University Spring 2016

IP Cores Altera s IP Core Integration Tools Connecting IP Cores

IP Cores

Cyclone V SoC: A Mix of Hard and Soft IP Cores IP = Intellectual Property Hard = wires & transistors Core = block, design, circuit, etc. Soft = implemented w/ FPGA

Example IP Cores CPUs: ARM (hard), NIOS-II (soft) Highspeed I/O: Hard IP Blocks for High Speed Transceivers (PCI Express, 10Gb Ethernet) Memory Controllers: DDR3 Clock and Reset signal generation: PLLs

Cyclone V SoC: FPGA layout

Cyclone V SoC: HPS Layout Source: NARD, LLC.

Stratix V: FPGA Layout

Stratix V: Solarflare AoE PCB Layout Source: Solarflare FDK

Stratix V: Solarflare AoE Qsys Layout Source: Solarflare FDK

Stratix V: Solarflare AoE Qsys Example Source: Solarflare FDK

Bridges A bridge connects two, often different, buses. Enables multiple clock domains, different protocols (e.g., AXI Avalon), bus widths, etc. Example Bridge Types: SOC HPS FPGA Bridge Avalon MM Clock Crossing Bridge Avalon MM Pipeline Bridge

Cyclone V SoC: FPGA HPS Bridge

Clock Crossing Bridge Example

Pipeline Bridge Example

Altera s IP Core Integration Tools

The Quartus Megawizard

Megawizard: Example 10Gb Ethernet PHY

Megawizard IP Cores Arithmetic: Addition, Subtraction, Multiplication, Division, Multiply-(add accumulate), ECC Floating Point: Gate Functions: Shift Registers, Decoders, Multiplexers I/O Functions: PLL, temp sensor, remote update, various high speed transceiver related Memory: Single/Dual-port RAM or ROMs, Single/Dual-clock FIFOs, (RAM) Shift registers DSP: FFT, ECC, FIR, etc (large suite specifically for graphics as well) Note: some megafunctions are only available on certain FPGAs

Qsys Qsys is Altera s system integration tool for building Network-on-Chip (NoC) designs connecting multiple IP cores. You List the IP components and how you want them connected Qsys Generates the interconnect (arbiters, etc.) adds adapters as necessary, warns of errors

Qsys: Raising Level of Abstraction

Qsys UI

System Level Design: Why Use Qsys Avoids manually developing custom interconnect fabrics and signaling. Instead of cycle-to-cycle coordination between every individual IP core, focus on transaction-level designs. Design IP without knowing exactly when data will transfer and instead only focus on how (once it does). (Only valid if you design your individual components to one of the standardized interfaces)

Qsys-based Method of Design

Connecting IP Cores

Interface Types Memory-mapped Interfaces: Avalon MM (Altera) AXI (ARM, supported by Qsys now for SoC) Streaming Interfaces: Avalon ST: Avalon ST source port: outputs streaming data Avalon ST sink port: receives incoming streaming data

Control vs. Data Planes Control Plane: Memory mapped registers typically used for configuring devices, querying status, initiating transactions, etc (low bandwidth) Data Plane: Streaming directed graphs for actually moving and processing large amounts of data (audio/video, network packets, etc); high bandwidth A single IP core can have both MM and ST interfaces (including multiple of each).

Control and Data Planes Example

Control and Data Planes Example: Solarflare AoE

Qsys signal types Clock Reset Interrupt Avalon MM signals (Memory-Mapped) Avalon ST signals (Streaming) Tristate Conduit (your own custom signals)

Why explicitly label signal types?...vs. simply making everything a wire/conduit Allows Qsys to protect you from yourself! Ensure matching between signal types (e.g., clock out clock in ) Detect and automatically insert dual clock crossing domains (only if it knows which clock domains IPs are in) Automatically convert data widths, formats, error flags (convert 32 bit master into four 8-bit slave reads, etc) Automatically synchronize and OR-gate multiple resets Automatically insert pipeline stages to improve fmax

Avalon MM Master Signals

Avalon MM Slave Signals

Avalon ST Signals

Example Qsys Layout: 10Gb Reference Design

Advanced: Qsys Hierarchical Designs

Advanced: Qsys Automatic Pipelining

Advanced: Qsys Testbench Generation

Additional References Altera online training lectures: (HIGHLY recommended; many of these slides are taken directly from them) http://www.altera.com/education/training/ curriculum/trn-curriculum.html Introduction to Qsys Advanced System Design Using Qsys Custom IP Development Using Avalon and AXI Interfaces