10. SOPC Builder Component Development Walkthrough

Size: px
Start display at page:

Download "10. SOPC Builder Component Development Walkthrough"

Transcription

1 10. SOPC Builder Component Development Walkthrough QII Introduction This chapter describes the parts o a custom SOPC Builder component and guides you through the process o creating an example custom component, integrating it into a system, and testing it in hardware. This chapter is divided into the ollowing sections: Component Development Flow on page Design Example: Checksum Hardware Accelerator on page This design example shows you how to develop a component with both Avalon Memory-Mapped (Avalon-MM) master and slaves. Sharing Components on page This section shows you how to use components in other systems, or share them with other designers..sopcino Files on page SOPC Builder Components and the Component Editor An SOPC Builder component is usually composed o the ollowing our types o iles: HDL iles deine the component s unctionality as hardware. Hardware Component Description File (_hw.tcl) describes the SOPC Builder related characteristics, such as interace behaviors. This ile is created by the component editor. C-language iles deine the component register map and driver sotware to allow programs to control the component. Sotware Component Description File (_sw.tcl) ile used by the sotware build tools to use and compile the component driver code. The component editor guides you through the creation o your component. You can then instantiate the component in an SOPC Builder system and make connections in the same manner as other SOPC Builder components. You can also share your component with other designers. For inormation about creating the _sw.tcl ile, see the Developing Device Drivers or the Hardware Abstraction Layer chapter in the Nios II Sotware Developer s Handbook. Prerequisites This chapter assumes that you are amiliar with the ollowing: Building systems with SOPC Builder. For details, reer to the Introduction to SOPC Builder chapter in volume 4 o the Quartus II Handbook. SOPC Builder components. For details, reer to the SOPC Builder Components chapter in volume 4 o the Quartus II Handbook. Basic concepts o the Avalon-MM interace. March 2009 Altera Corporation Quartus II Handbook Version 9.0 Volume 4: SOPC Builder

2 10 2 Chapter 10: SOPC Builder Component Development Walkthrough Component Development Flow Hardware and Sotware Requirements To use the design example in this chapter, in addition to the current version o the Quartus II sotware and Nios II Embedded Design Suite, you must have the ollowing: Design iles or the example design A hyperlink to the design iles appears next to the chapter, SOPC Builder Component Development Walkthrough, on the SOPC Builder literature page. Nios development board and an Altera USB-Blaster TM download cable You can use either o the ollowing Nios development boards: Stratix II Edition, RoHS compliant version Cyclone II Edition I you do not have a development board, you can ollow the hardware development steps. You cannot download the complete system without a working board, but you can simulate the system. You can download the Quartus II Web Edition sotware and the Nios II EDS, Evaluation Edition or ree rom the Altera Download Center at Component Development Flow Typical Design Steps This section provides an overview o the development process or SOPC Builder components. A typical development sequence or an SOPC Builder component includes the ollowing items: 1. Speciication and deinition. a. Deine the unctionality o the component. b. Determine component interaces, such as Avalon Memory-Mapped (Avalon-MM), Avalon Streaming (Avalon-ST), interrupt, or other interaces. c. Determine the component clocking requirements; what interaces are synchronous to what clock inputs. d. I you want a microprocessor to control the component, determine the interace to sotware, such as the register map. 2. Implement the component in VHDL or Verilog HDL. Quartus II Handbook Version 9.0 Volume 4: SOPC Builder March 2009 Altera Corporation

3 Chapter 10: SOPC Builder Component Development Walkthrough 10 3 Component Development Flow 3. Import the component into SOPC Builder. a. Use the component editor to create a _hw.tcl ile that describes the component. b. Instantiate the component into an SOPC Builder system. When importing an HDL ile using the component editor, any parameter deinitions that are dependent upon other deined parameters cause an error. Example 10 1 illustrates the declaration o a DEPTH parameter which is legal Verilog HDL syntax in the Quartus II sotware, but causes an error in the component editor syntax checker. Example DEPTH Parameter parameter WIDTH = 32; parameter DEPTH = ((WIDTH == 32)? 8 : 16); To avoid this error, use a localparam or the dependent parameter instead, as shown in Example Example localparam Parameter parameter WIDTH = 32; localparam DEPTH = ((WIDTH == 32)?8:16); 4. Develop the sotware driver, which can occur in parallel with the hardware implementation. Create the component s driver, including a C header ile that deines the hardware-level register map or sotware. For urther details, see the Nios II Sotware Developer's Handbook. Hardware Design 5. Perorm in-system testing, such as the ollowing: a. Test register-level accesses to the component in hardware or simulation using a microprocessor, such as the Nios II processor. b. Perormance benchmarking. As with any logic design process, the development o SOPC Builder component hardware begins ater the speciication phase. Creating the HDL design is oten an iterative process, as you write and veriy the HDL logic against the speciication. The architecture o a typical component consists o the ollowing unctional blocks: Task logic Implements the component's undamental unction. The task logic is design dependent. Interace logic Provides a standard way o providing data to or getting data rom the components and o controlling the unctioning o the components. For urther details, reer to the Avalon Interace Speciications. Figure 10 1 shows the top-level blocks o a checksum component, which includes both Avalon-MM master and slaves. March 2009 Altera Corporation Quartus II Handbook Version 9.0 Volume 4: SOPC Builder

4 10 4 Chapter 10: SOPC Builder Component Development Walkthrough Design Example: Checksum Hardware Accelerator The work low or developing SOPC Builder hardware, including how to decide upon and implement the register map, is described in the Using the Nios II Sotware Build Tools chapter in the Nios II Sotware Developer s Handbook. Also, guidelines or developing device drivers is described in the Developing Device Drivers or the Hardware Abstraction Layer chapter o the Nios II Sotware Developer s Handbook. Design Example: Checksum Hardware Accelerator Altera has provided a checksum hardware accelerator design example to demonstrate the steps to create a component and instantiate it in a system. This design example is available or download rom the Altera literature website. Included in the compressed download ile is a readme.pd that describes how to create and compile the hardware design, and describes how to use the checksum hardware accelerator in your design. You can use the checksum algorithm in network applications where data integrity must be inspected by the receiving device. The checksum algorithm accumulates data with end-round-carry summation, which means that the carry bit rom the accumulator is added to the least signiicant bit o the next input. Ater the data is accumulated, you can use the result to veriy the data integrity o the data buer. Because the checksum algorithm operates over a data buer, you can implement it more eiciently with a pipelined read master. A pipelined read master continuously posts read transactions minimizing the eects o the memory read latency. The checksum accelerator can read data and calculate the checksum result every clock cycle, which you cannot do with a general purpose processor. The checksum hardware accelerator requires inormation rom a host processor such as the buer base address, buer length, and various control signals. As a result, the hardware accelerator exposes an Avalon-MM slave interace so that a host processor can control the read master operation. The host processor also accesses the checksum result rom the slave interace. Each piece o inormation sent or read by the host processor is accessed separately in the register ile implemented with the slave interace. For example, the status and control signals are implemented as separate registers because they contain inormation used or dierent purposes and have dierent access capabilities. Hardware accelerators can operate in parallel with a host processor; consequently, adding an interrupt sender interace to the hardware accelerator increases system perormance. While the accelerator is operating on a buer, the host processor can perorm other tasks such as preparing another buer or transmission. The interrupt is asserted ater the buer checksum is calculated. The host processor can be interrupted by the hardware accelerator to notiy it that a checksum result has been calculated. The host processor can then read the checksum value and clear the interrupt by writing to the status register via the accelerator slave interace. Quartus II Handbook Version 9.0 Volume 4: SOPC Builder March 2009 Altera Corporation

5 Chapter 10: SOPC Builder Component Development Walkthrough 10 5 Design Example: Checksum Hardware Accelerator Figure Checksum Component with Avalon-MM Master and Slaves clk reset Clock Input Interace clk reset master_address[31..0] master_readdata[31..0] Checksum Transorm transorm_readdata[31..0] transorm_read Avalon-MM Master Interace master_read master_byteenable[3..0] transorm_data_available master_waitrequest transorm_byte_lanes master_readdatavalid go_strobe read_address[31..0] read_length[31..0] slave_address[2..0] slave_writedata[31..0] checksum_result[15..0] checksum_invert checksum_clear Avalon-MM Slave Interace slave_write slave_readdata[31..0] slave_read slave_byteenable[3..0] control_irq Checksum Accelerator Interrupt Slave Interace irq Sotware Design I you want a microprocessor to control your component, you must provide sotware iles that deine the sotware view o the component. At a minimum, you must deine the register map or each Avalon-MM slave that is accessible to a processor. Typically, the header ile declares macros to read and write each register in the component, relative to a symbolic base address assigned to the component. Table 10 1 shows the register map o the checksum component or use by the Nios II processor. March 2009 Altera Corporation Quartus II Handbook Version 9.0 Volume 4: SOPC Builder

6 10 6 Chapter 10: SOPC Builder Component Development Walkthrough Design Example: Checksum Hardware Accelerator Table Avalon-MM Slave Port Register Map (Control) Oset Name Rd/Wr/clr Bits Status Rd/Wclr Busy Done 4 Read Rd/Wr Read Address (32-bit word aligned) Address (1) 8 N/A Reserved () 12 Length Rd/Wr Length in Bytes (must be a multiple o 4 or word aligned) (Bytes) 16 N/A Reserved () 20 N/A Reserved () 24 Control Rd/Wr RC ON I_E N GO Inv Clr 28 Checksum Results Rd 16-Bit Checksum Result (upper 16 bits are zeros) Note to Table 10 1: (1) Wr=Writable; Rd=Readable; Wclr=Write 1 to clear 1 In the example checksum project, you can view an example o a sotware driver in the directory <projectdir>/ip/checksum_accelerator, which is the top level older o the hardware and sotware or the custom checksum block. Sotware drivers abstract hardware details o the component so that sotware can access the component at a high level. The driver unctions provide the sotware an API to access the hardware. The sotware requirements vary according to the needs o the component. The most common types o routines initialize the hardware, read data, and write data. When developing sotware drivers, you should review the sotware iles provided or other ready-made components. The IP installer provides many components you can use as reerence. You can also view the <Nios II EDS install path>/components/ directory or examples. For details about writing drivers or the Nios II hardware abstraction layer (HAL), reer to the Developing Device Drivers or the Hardware Abstraction Layer chapter o the Nios II Sotware Developer s Handbook. Veriying the Component You can veriy the component in incremental stages, as you complete more o the design. You should irst veriy the hardware logic as a unit (which might consist o multiple smaller stages o veriication) and later veriy the component in a system. System Console The system console is an interactive Tcl console available rom within SOPC Builder that provides you with read and write access to the debugging capabilities that are available in your FPGA logic. You can use the system console to control and query the state o the Nios II processor, issue Avalon transactions, board bring-up, and access either JTAG UARTs or system level debug (SLD) nodes. Quartus II Handbook Version 9.0 Volume 4: SOPC Builder March 2009 Altera Corporation

7 Chapter 10: SOPC Builder Component Development Walkthrough 10 7 Sharing Components For urther details, reer to the System Console User Guide. System-Level Veriication Ater you package a _hw.tcl ile with the component editor, you can instantiate the component in a system and veriy the unctionality o the overall SOPC Builder system. SOPC Builder provides support or system-level veriication or HDL simulators such as ModelSim. SOPC Builder automatically produces a test bench or system-level veriication. 1 You can include a Nios II processor in your system to enhance simulation capabilities during the veriication phase. Even i your component has no relationship to the Nios II processor, the auto-generated ModelSim simulation environment provides an easy-to-use starting point. Sharing Components.sopcino Files When you create a component, component editor saves the _hw.tcl ile in the same directory as the top-level HDL ile. Where appropriate, iles reerenced by the _hw.tcl ile are speciied relative to the _hw.tcl ile itsel, so the iles can easily be moved and copied. To share a component, include it in your IP library. For more inormation about including components in an IP library reer to Finding Components in SOPC Builder in Chapter 4: SOPC Builder Components in volume 4 o the Quartus II Handbook. Every time SOPC Builder generates a system, a <mysystem>.sopcino ile is also generated, which contains the ollowing inormation: SOPC Builder project, including: Name and tool version HDL language Each module instantiated in the system, including: Name and version Where interace inormation was ound on the disk, such as signal names and types, interace properties, and clock domain mapping Parameter names and values Each connection, including: Component and interace connections Base address, Avalon-MM interaces, IRQ number interaces Memory map as seen by each master in the system 1 The.sopcino ile is a report ile only, and cannot be edited with SOPC Builder. March 2009 Altera Corporation Quartus II Handbook Version 9.0 Volume 4: SOPC Builder

8 10 8 Chapter 10: SOPC Builder Component Development Walkthrough Reerenced Documents Reerenced Documents This chapter reerences the ollowing documents: Developing Device Drivers or the Hardware Abstraction Layer chapter o the Nios II Sotware Developer s Handbook Introduction to SOPC Builder chapter in volume 4 o the Quartus II Handbook SOPC Builder Components chapter in volume 4 o the Quartus II Handbook System Console User Guide Using the Nios II Sotware Build Tools chapter in the Nios II Sotware Developer s Handbook Quartus II Handbook Version 9.0 Volume 4: SOPC Builder March 2009 Altera Corporation

9 Chapter 10: SOPC Builder Component Development Walkthrough 10 9 Document Revision History Document Revision History Table Document Revision History Table 10 2 shows the revision history or this chapter. Date and Document Version Changes Made Summary o Changes March 2009, v9.0.0 Corrected direction o transorm_data_available and transorm_byte_lanes signals in Figure 10 1 on page November 2008, v8.1.0 Added reerence to new search path or IP chapter 4 o this volume. Correction direction o signals in Figure Changed page size to 8.5 x 11 inches. May 2008, v8.0.0 Chapter renumbered rom 9 to 10. Removed discussion o the Checksum Design example, which will now be in a readme.pd ile and zipped with the rest o the design iles. Deleted reerences to Avalon Memory-Mapped and Streaming Interace Speciications and changed to Avalon Interace Speciications. New Figure 9-1 and Table 9-1. New section on.sopcino ile. One correction. One correction and one change to relect changes in underlying sotware. Deleted example procedure. For previous versions o the Quartus II Handbook, reer to the Quartus II Handbook Archive. March 2009 Altera Corporation Quartus II Handbook Version 9.0 Volume 4: SOPC Builder

10 10 10 Chapter 10: SOPC Builder Component Development Walkthrough Document Revision History Quartus II Handbook Version 9.0 Volume 4: SOPC Builder March 2009 Altera Corporation

AN 459: Guidelines for Developing a Nios II HAL Device Driver

AN 459: Guidelines for Developing a Nios II HAL Device Driver AN 459: Guidelines or Developing a Nios II HAL Device Driver November 2008 AN-459-2.0 Introduction This application note explains the process o developing and debugging a hardware abstraction layer (HAL)

More information

2. Getting Started with the Graphical User Interface

2. Getting Started with the Graphical User Interface February 2011 NII52017-10.1.0 2. Getting Started with the Graphical User Interace NII52017-10.1.0 The Nios II Sotware Build Tools (SBT) or Eclipse is a set o plugins based on the popular Eclipse ramework

More information

Section II. Nios II Software Development

Section II. Nios II Software Development Section II. Nios II Sotware Development This section o the Embedded Design Handbook describes how to most eectively use the Altera tools or embedded system sotware development, and recommends design styles

More information

Using VCS with the Quartus II Software

Using VCS with the Quartus II Software Using VCS with the Quartus II Sotware December 2002, ver. 1.0 Application Note 239 Introduction As the design complexity o FPGAs continues to rise, veriication engineers are inding it increasingly diicult

More information

2. Design Planning with the Quartus II Software

2. Design Planning with the Quartus II Software November 2013 QII51016-13.1.0 2. Design Planning with the Quartus II Sotware QII51016-13.1.0 This chapter discusses key FPGA design planning considerations, provides recommendations, and describes various

More information

Digital Systems Design

Digital Systems Design Digital Systems Design Custom Components for NIOS II Systems Dr. D. J. Jackson Lecture 15-1 Qsys Components A Qsys component includes the following elements: Information about the component type, such

More information

2. Recommended Design Flow

2. Recommended Design Flow 2. Recommended Design Flow This chapter describes the Altera-recommended design low or successully implementing external memory interaces in Altera devices. Altera recommends that you create an example

More information

9. PIO Core. Core Overview. Functional Description

9. PIO Core. Core Overview. Functional Description 9. PIO Core NII51007-9.0.0 Core Overview The parallel input/output (PIO) core with Avalon interface provides a memory-mapped interface between an Avalon Memory-Mapped (Avalon-MM) slave port and general-purpose

More information

DSP Design Flow User Guide

DSP Design Flow User Guide DSP Design Flow User Guide 101 Innovation Drive San Jose, CA 95134 www.altera.com Document Date: June 2009 Copyright 2009 Altera Corporation. All rights reserved. Altera, The Programmable Solutions Company,

More information

9. Reviewing Printed Circuit Board Schematics with the Quartus II Software

9. Reviewing Printed Circuit Board Schematics with the Quartus II Software November 2012 QII52019-12.1.0 9. Reviewing Printed Circuit Board Schematics with the Quartus II Sotware QII52019-12.1.0 This chapter provides guidelines or reviewing printed circuit board (PCB) schematics

More information

13. Power Optimization

13. Power Optimization 13. Power Optimization May 2013 QII52016-13.0.0 QII52016-13.0.0 The Quartus II sotware oers power-driven compilation to ully optimize device power consumption. Power-driven compilation ocuses on reducing

More information

Instantiating the Core in SOPC Builder on page 2 2 Device Support on page 2 3 Software Programming Model on page 2 3

Instantiating the Core in SOPC Builder on page 2 2 Device Support on page 2 3 Software Programming Model on page 2 3 ctl Avalon-MM Slave Port ide Avalon-MM Slave Port 2. CompactFlash Core QII55005-9.1.0 Core Overview Functional Description The CompactFlash core allows you to connect SOPC Builder systems to CompactFlash

More information

Section III. Advanced Programming Topics

Section III. Advanced Programming Topics Section III. Advanced Programming Topics This section provides inormation about several advanced embedded programming topics. It includes the ollowing chapters: Chapter 8, Exception Handling Chapter 9,

More information

Laboratory Exercise 5

Laboratory Exercise 5 Laboratory Exercise 5 Bus Communication The purpose of this exercise is to learn how to communicate using a bus. In the designs generated by using Altera s SOPC Builder, the Nios II processor connects

More information

Introduction to the Qsys System Integration Tool

Introduction to the Qsys System Integration Tool Introduction to the Qsys System Integration Tool Course Description This course will teach you how to quickly build designs for Altera FPGAs using Altera s Qsys system-level integration tool. You will

More information

System Development Tools for Excalibur Devices

System Development Tools for Excalibur Devices System Development Tools or Excalibur Devices January 2003, ver. 1.0 Application Note 299 Introduction The Excalibur embedded processor devices achieve a new level o system integration rom the inclusion

More information

13. HardCopy Design Migration Guidelines

13. HardCopy Design Migration Guidelines November 2012 EMI_DG_012-2.2 13. HardCopy Design Migration Guidelines EMI_DG_012-2.2 This chapter discusses HardCopy migration guidelines or UniPHY-based designs. I you want to migrate your ALTMEMPHY-based

More information

13. Power Management in Stratix IV Devices

13. Power Management in Stratix IV Devices February 2011 SIV51013-3.2 13. Power Management in Stratix IV Devices SIV51013-3.2 This chapter describes power management in Stratix IV devices. Stratix IV devices oer programmable power technology options

More information

SISTEMI EMBEDDED AA 2013/2014

SISTEMI EMBEDDED AA 2013/2014 SISTEMI EMBEDDED AA 2013/2014 System Interconnect Fabric Federico Baron> System Interconnect Fabric Interconnect and logic resources to manage whole connec>vity among all components in a Altera SoPC system

More information

9. Building Memory Subsystems Using SOPC Builder

9. Building Memory Subsystems Using SOPC Builder 9. Building Memory Subsystems Using SOPC Builder QII54006-6.0.0 Introduction Most systems generated with SOPC Builder require memory. For example, embedded processor systems require memory for software

More information

11. Transceiver Link Debugging Using the System Console

11. Transceiver Link Debugging Using the System Console November 2011 QII53029-11.1.0 11. Transceiver Link Debugging Using te System Console QII53029-11.1.0 Tis capter describes ow to use te Transceiver Toolkit in te Quartus II sotware. Te Transceiver Toolkit

More information

2. System Interconnect Fabric for Memory-Mapped Interfaces

2. System Interconnect Fabric for Memory-Mapped Interfaces 2. System Interconnect Fabric for Memory-Mapped Interfaces QII54003-8.1.0 Introduction The system interconnect fabric for memory-mapped interfaces is a high-bandwidth interconnect structure for connecting

More information

Section III. Transport and Communication

Section III. Transport and Communication Section III. Transport and Communication This section describes communication and transport peripherals provided for SOPC Builder systems. This section includes the following chapters: Chapter 16, SPI

More information

7. External Memory Interfaces in Cyclone IV Devices

7. External Memory Interfaces in Cyclone IV Devices March 2016 CYIV-51007-2.6 7. External Memory Interaces in Cyclone IV Devices CYIV-51007-2.6 This chapter describes the memory interace pin support and the external memory interace eatures o Cyclone IV

More information

Nios II Embedded Design Suite 6.0 Service Pack 1 Release Notes

Nios II Embedded Design Suite 6.0 Service Pack 1 Release Notes Nios II Embedded Design Suite 6.0 Service Pack 1 Release Notes June 2006, Version 6.0 SP1 Release Notes This document lists the release notes for the Nios II Embedded Design Suite (EDS) version 6.0 Service

More information

2. Processor Architecture

2. Processor Architecture 2. Processor Architecture February 2014 NII51002-13.1.0 NII51002-13.1.0 This chapter describes the hardware structure o the Nios II processor, including a discussion o all the unctional units o the Nios

More information

Generic Serial Flash Interface Intel FPGA IP Core User Guide

Generic Serial Flash Interface Intel FPGA IP Core User Guide Generic Serial Flash Interface Intel FPGA IP Core User Guide Updated for Intel Quartus Prime Design Suite: 18.0 Subscribe Send Feedback Latest document on the web: PDF HTML Contents Contents 1. Generic

More information

Design of Embedded Hardware and Firmware

Design of Embedded Hardware and Firmware Design of Embedded Hardware and Firmware Introduction on "System On Programmable Chip" NIOS II Avalon Bus - DMA Andres Upegui Laboratoire de Systèmes Numériques hepia/hes-so Geneva, Switzerland Embedded

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

7. High-Speed Differential Interfaces in the Cyclone III Device Family

7. High-Speed Differential Interfaces in the Cyclone III Device Family December 2011 CIII51008-4.0 7. High-Speed Dierential Interaces in the Cyclone III Device Family CIII51008-4.0 This chapter describes the high-speed dierential I/O eatures and resources in the Cyclone III

More information

Using the Nios II Configuration Controller Reference Designs

Using the Nios II Configuration Controller Reference Designs Using the Nios II Controller Reerence Designs AN-346-1.2 March 2009 Introduction This application note describes coniguration controller reerence designs or Nios II systems using Altera Stratix II, Cyclone

More information

System Console User Guide

System Console User Guide System Console User Guide 101 Innovation Drive San Jose, CA 95134 www.altera.com Software Version: 9.0 Document Date: March 2009 Copyright 2009 Altera Corporation. All rights reserved. Altera, The Programmable

More information

System Debugging Tools Overview

System Debugging Tools Overview 9 QII53027 Subscribe About Altera System Debugging Tools The Altera system debugging tools help you verify your FPGA designs. As your product requirements continue to increase in complexity, the time you

More information

Laboratory Exercise 3 Comparative Analysis of Hardware and Emulation Forms of Signed 32-Bit Multiplication

Laboratory Exercise 3 Comparative Analysis of Hardware and Emulation Forms of Signed 32-Bit Multiplication Laboratory Exercise 3 Comparative Analysis of Hardware and Emulation Forms of Signed 32-Bit Multiplication Introduction All processors offer some form of instructions to add, subtract, and manipulate data.

More information

2.5G Reed-Solomon II MegaCore Function Reference Design

2.5G Reed-Solomon II MegaCore Function Reference Design 2.5G Reed-Solomon II MegaCore Function Reference Design AN-642-1.0 Application Note The Altera 2.5G Reed-Solomon (RS) II MegaCore function reference design demonstrates a basic application of the Reed-Solomon

More information

Using Tightly Coupled Memory with the Nios II Processor

Using Tightly Coupled Memory with the Nios II Processor Using Tightly Coupled Memory with the Nios II Processor TU-N2060305-1.2 This document describes how to use tightly coupled memory in designs that include a Nios II processor and discusses some possible

More information

SISTEMI EMBEDDED AA 2013/2014

SISTEMI EMBEDDED AA 2013/2014 SISTEMI EMBEDDED AA 2013/2014 System Interconnect Fabric Avalon- ST: Streaming Interface Video out: Pixel Buffer DMA component Federico BaronJ Avalon Streaming Interface Low latency, high throughput, unidirecjonal

More information

1. Cyclone IV FPGA Device Family Overview

1. Cyclone IV FPGA Device Family Overview May 2013 CYIV-51001-1.8 1. Cyclone IV FPGA Device Family Overview CYIV-51001-1.8 Altera s new Cyclone IV FPGA device amily extends the Cyclone FPGA series leadership in providing the market s lowest-cost,

More information

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

SerialLite III Streaming IP Core Design Example User Guide for Intel Stratix 10 Devices SerialLite III Streaming IP Core Design Example User Guide for Intel Stratix 10 Devices Updated for Intel Quartus Prime Design Suite: 17.1 Stratix 10 ES Editions Subscribe Send Feedback Latest document

More information

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

SerialLite III Streaming IP Core Design Example User Guide for Intel Arria 10 Devices IP Core Design Example User Guide for Intel Arria 10 Devices Updated for Intel Quartus Prime Design Suite: 17.1 Subscribe Send Feedback Latest document on the web: PDF HTML Contents Contents 1 Quick Start

More information

Nios II Embedded Design Suite 6.1 Release Notes

Nios II Embedded Design Suite 6.1 Release Notes December 2006, Version 6.1 Release Notes This document lists the release notes for the Nios II Embedded Design Suite (EDS) version 6.1. Table of Contents: New Features & Enhancements...2 Device & Host

More information

Intel Stratix 10 Low Latency 40G Ethernet Design Example User Guide

Intel Stratix 10 Low Latency 40G Ethernet Design Example User Guide Intel Stratix 10 Low Latency 40G Ethernet Design Example User Guide Updated for Intel Quartus Prime Design Suite: 18.1 Subscribe Latest document on the web: PDF HTML Contents Contents 1. Quick Start Guide...

More information

Nios II Custom Instruction User Guide

Nios II Custom Instruction User Guide Nios II Custom Instruction User Guide Subscribe Send Feedback Latest document on the web: PDF HTML Contents Contents 1 Nios II Custom Instruction Overview...4 1.1 Custom Instruction Implementation... 4

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

Microtronix Avalon I 2 C

Microtronix Avalon I 2 C Microtronix Avalon I 2 C User Manual 9-1510 Woodcock St. London, ON Canada N5H 5S1 www.microtronix.com This user guide provides basic information about using the Microtronix Avalon I 2 C IP. The following

More information

Section II. Peripheral Support

Section II. Peripheral Support Section II. Peripheral Support This section provides information about the Nios II peripherals. This section includes the following chapters: Chapter 5, SDRAM Controller with Avalon Interface Chapter 6,

More information

Nios II Embedded Design Suite 7.1 Release Notes

Nios II Embedded Design Suite 7.1 Release Notes Nios II Embedded Design Suite 7.1 Release Notes May 2007, Version 7.1 Release Notes This document contains release notes for the Nios II Embedded Design Suite (EDS) version 7.1. Table of Contents: New

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

DDR and DDR2 SDRAM Controller Compiler User Guide

DDR and DDR2 SDRAM Controller Compiler User Guide DDR and DDR2 SDRAM Controller Compiler User Guide 101 Innovation Drive San Jose, CA 95134 www.altera.com Operations Part Number Compiler Version: 8.1 Document Date: November 2008 Copyright 2008 Altera

More information

Nios II Custom Instruction User Guide Preliminary Information

Nios II Custom Instruction User Guide Preliminary Information Nios II Custom Instruction User Guide Preliminary Information 101 Innovation Drive San Jose, CA 95134 (408) 544-7000 http://www.altera.com Copyright 2008 Altera Corporation. All rights reserved. Altera,

More information

6. I/O Features for HardCopy III Devices

6. I/O Features for HardCopy III Devices 6. I/O Features or HardCopy III Devices January 2011 HIII51006-3.1 HIII51006-3.1 This chapter describes the I/O standards, eatures, termination schemes, and perormance supported in HardCopy III devices.

More information

Turbo Encoder Co-processor Reference Design

Turbo Encoder Co-processor Reference Design Turbo Encoder Co-processor Reference Design AN-317-1.2 Application Note Introduction The turbo encoder co-processor reference design is for implemention in an Stratix DSP development board that is connected

More information

DKAN0011A Setting Up a Nios II System with SDRAM on the DE2

DKAN0011A Setting Up a Nios II System with SDRAM on the DE2 DKAN0011A Setting Up a Nios II System with SDRAM on the DE2 04 November 2009 Introduction This tutorial details how to set up and instantiate a Nios II system on Terasic Technologies, Inc. s DE2 Altera

More information

9. Functional Description Example Designs

9. Functional Description Example Designs November 2012 EMI_RM_007-1.3 9. Functional Description Example Designs EMI_RM_007-1.3 This chapter describes the example designs and the traffic generator. Two independent example designs are created during

More information

4K Format Conversion Reference Design

4K Format Conversion Reference Design 4K Format Conversion Reference Design AN-646 Application Note This application note describes a 4K format conversion reference design. 4K resolution is the next major enhancement in video because of the

More information

6. I/O Features in the Cyclone III Device Family

6. I/O Features in the Cyclone III Device Family July 2012 CIII51007-3.4 6. I/O Features in the Cyclone III Device Family CIII51007-3.4 This chapter describes the I/O eatures oered in the Cyclone III device amily (Cyclone III and Cyclone III LS devices).

More information

Intel MAX 10 User Flash Memory User Guide

Intel MAX 10 User Flash Memory User Guide Intel MAX 10 User Flash Memory User Guide Updated for Intel Quartus Prime Design Suite: 18.0 Subscribe Send Feedback Latest document on the web: PDF HTML Contents Contents 1. Intel MAX 10 User Flash Memory

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

Debugging Transceiver Links

Debugging Transceiver Links Debugging s 11 QII53029 Subscribe This chapter describes using the Transceiver Toolkit to optimize high-speed serial links in your board design. The Transceiver Toolkit provides real-time control, monitoring,

More information

Low Latency 40G Ethernet Example Design User Guide

Low Latency 40G Ethernet Example Design User Guide Low Latency 40G Ethernet Example Design User Guide Subscribe UG-20025 101 Innovation Drive San Jose, CA 95134 www.altera.com TOC-2 Contents Quick Start Guide...1-1 Directory Structure... 1-2 Design Components...

More information

Embedded Design Handbook

Embedded Design Handbook Subscribe Send Feedback Latest document on the web: PDF HTML Contents Contents 1 Introduction... 6 1.1 Document Revision History... 6 2 First Time Designer's Guide... 7 2.1 FPGAs and Soft-Core Processors...

More information

DDR & DDR2 SDRAM Controller Compiler

DDR & DDR2 SDRAM Controller Compiler DDR & DDR2 SDRAM Controller Compiler march 2007, Compiler Version 7.0 Errata Sheet This document addresses known errata and documentation issues for the DDR and DDR2 SDRAM Controller Compiler version 7.0.

More information

AN 608: HST Jitter and BER Estimator Tool for Stratix IV GX and GT Devices

AN 608: HST Jitter and BER Estimator Tool for Stratix IV GX and GT Devices AN 608: HST Jitter and BER Estimator Tool or Stratix IV GX and GT Devices July 2010 AN-608-1.0 The high-speed communication link design toolkit (HST) jitter and bit error rate (BER) estimator tool is a

More information

Low Latency 100G Ethernet Intel Stratix 10 FPGA IP Design Example User Guide

Low Latency 100G Ethernet Intel Stratix 10 FPGA IP Design Example User Guide Low Latency 100G Ethernet Intel Stratix 10 FPGA IP Design Example User Guide Updated for Intel Quartus Prime Design Suite: 18.0 Subscribe Send Feedback Latest document on the web: PDF HTML Contents Contents

More information

Guidelines for Developing a Nios II HAL Device Driver

Guidelines for Developing a Nios II HAL Device Driver Guidelines for Developing a Nios II HAL Device Driver AN-459-4.0 Application Note This application note explains the process of creating and debugging a hardware abstraction layer (HAL) software device

More information

Designing with Nios II Processor for Hardware Engineers

Designing with Nios II Processor for Hardware Engineers Designing with Nios II Processor for Hardware Engineers Course Description This course provides all theoretical and practical know-how to design ALTERA SoC FPGAs based on the Nios II soft processor under

More information

Dynamic Reconfiguration of PMA Controls in Stratix V Devices

Dynamic Reconfiguration of PMA Controls in Stratix V Devices Dynamic Reconfiguration of PMA Controls in Stratix V Devices AN-645-1.0 Application Note This application note describes how to use the transceiver reconfiguration controller to dynamically reconfigure

More information

Embedded Systems. "System On Programmable Chip" NIOS II Avalon Bus. René Beuchat. Laboratoire d'architecture des Processeurs.

Embedded Systems. System On Programmable Chip NIOS II Avalon Bus. René Beuchat. Laboratoire d'architecture des Processeurs. Embedded Systems "System On Programmable Chip" NIOS II Avalon Bus René Beuchat Laboratoire d'architecture des Processeurs rene.beuchat@epfl.ch 3 Embedded system on Altera FPGA Goal : To understand the

More information

DDR & DDR2 SDRAM Controller Compiler

DDR & DDR2 SDRAM Controller Compiler DDR & DDR2 SDRAM Controller Compiler August 2007, Compiler Version 7.1 Errata Sheet This document addresses known errata and documentation issues for the DDR and DDR2 SDRAM Controller Compiler version

More information

DDR & DDR2 SDRAM Controller Compiler

DDR & DDR2 SDRAM Controller Compiler DDR & DDR2 SDRAM Controller Compiler November 2005, Compiler Version 3.2.0 Errata Sheet Introduction This document addresses known errata and documentation changes for version 3.2.0 of the DDR & DDR2 SDRAM

More information

DDR & DDR2 SDRAM Controller Compiler

DDR & DDR2 SDRAM Controller Compiler DDR & DDR2 SDRAM Controller Compiler May 2006, Compiler Version 3.3.1 Errata Sheet This document addresses known errata and documentation issues for the DDR and DDR2 SDRAM Controller Compiler version 3.3.1.

More information

Creating a System With Qsys

Creating a System With Qsys 5 QII51020 Subscribe Qsys is a system integration tool included as part of the Quartus II software. Qsys captures system-level hardware designs at a high level of abstraction and simplifies the task of

More information

MAX 10 User Flash Memory User Guide

MAX 10 User Flash Memory User Guide MAX 10 User Flash Memory User Guide Subscribe Last updated for Quartus Prime Design Suite: 16.0 UG-M10UFM 101 Innovation Drive San Jose, CA 95134 www.altera.com TOC-2 Contents MAX 10 User Flash Memory

More information

Guidelines for Developing a Nios II HAL Device Driver

Guidelines for Developing a Nios II HAL Device Driver Guidelines for Developing a Nios II HAL Device Driver August 2007, ver. 1.0 Application Note 459 Introduction This application note explains the process of developing and debugging a hardware abstraction

More information

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

Getting Started With the Nios II DPX Datapath Processor ---Version Getting Started With the Nios II DPX Datapath Processor ---Version 11.0--- This tutorial teaches you how to develop a complete system employing Altera event-driven datapath processing. In this tutorial,

More information

Introduction to the Altera SOPC Builder Using Verilog Design

Introduction to the Altera SOPC Builder Using Verilog Design Introduction to the Altera SOPC Builder Using Verilog Design This tutorial presents an introduction to Altera s SOPC Builder software, which is used to implement a system that uses the Nios II processor

More information

2. SDRAM Controller Core

2. SDRAM Controller Core 2. SDRAM Controller Core Core Overview The SDRAM controller core with Avalon interface provides an Avalon Memory-Mapped (Avalon-MM) interface to off-chip SDRAM. The SDRAM controller allows designers to

More information

Debugging Nios II Systems with the SignalTap II Logic Analyzer

Debugging Nios II Systems with the SignalTap II Logic Analyzer Debugging Nios II Systems with the SignalTap II Logic Analyzer May 2007, ver. 1.0 Application Note 446 Introduction As FPGA system designs become more sophisticated and system focused, with increasing

More information

Creating a System With Qsys

Creating a System With Qsys 6 QII51020 Subscribe Qsys is a system integration tool included as part of the Quartus II software. Qsys captures system-level hardware designs at a high level of abstraction and automates the task of

More information

Nios DMA. General Description. Functional Description

Nios DMA. General Description. Functional Description Nios DMA January 2003, Version 1.1 Data Sheet General Functional The Nios DMA module is an Altera SOPC Builder library component included in the Nios development kit. The DMA module allows for efficient

More information

The Use of the No-Instruction-Set Computer (NISC) for Acceleration in WISHBONE-Based Systems

The Use of the No-Instruction-Set Computer (NISC) for Acceleration in WISHBONE-Based Systems The Use o the No-Instruction-Set Computer () or Acceleration in WISHBONE-Based Systems Roko Grubišić, Vlado Sruk Technical Report 11-14-2008 Department o Electronics, Microelectronics, Computer and Intelligent

More information

Low Latency 100G Ethernet Design Example User Guide

Low Latency 100G Ethernet Design Example User Guide Low Latency 100G Ethernet Design Example User Guide Updated for Intel Quartus Prime Design Suite: 16.1 Subscribe Send Feedback Latest document on the web: PDF HTML Contents Contents 1 Quick Start Guide...

More information

Using the Transceiver Reconfiguration Controller for Dynamic Reconfiguration in Arria V and Cyclone V Devices

Using the Transceiver Reconfiguration Controller for Dynamic Reconfiguration in Arria V and Cyclone V Devices Using the Transceiver Reconfiguration Controller for Dynamic Reconfiguration in Arria V and Cyclone V Devices Subscribe Feedback The Altera Transceiver Reconfiguration Controller dynamically reconfigures

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 EE8205: Embedded Computer Systems NIOS-II SoPC: PART-II 1 Introduction This lab has been constructed to introduce the development of dedicated

More information

A Series Lighting Controller Modbus Register Map

A Series Lighting Controller Modbus Register Map DEH41097 Rev. 3 g A Series Lighting Control Panelboards A Series Lighting Controller Modbus Register Map Table o Contents Introduction...1 RTU Transmission Mode...1 Message rame...1 RTU Mode Message Frames...1

More information

Non-Volatile Configuration Scheme for the Stratix II EP2S60 DSP Development Board

Non-Volatile Configuration Scheme for the Stratix II EP2S60 DSP Development Board Non-Volatile Configuration Scheme for the Stratix II EP2S60 DSP Development Board Qian Liu and S.W. Ellingson October 21, 2008 The Stratix II DSP development board (DSP board) has provided a non-volatile

More information

Customizable Flash Programmer User Guide

Customizable Flash Programmer User Guide Customizable Flash Programmer User Guide Subscribe Latest document on the web: PDF HTML Contents Contents 1. Customizable Flash Programmer Overview... 3 1.1. Device Family Support...3 1.2. Software Support...

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

Technical Brief High-Speed Board Design Advisor Pinout Definition

Technical Brief High-Speed Board Design Advisor Pinout Definition Introduction Technical Brie Pinout Deinition This document contains a checklist with a best practice set o step-by-step guidelines to support users to design and review their pinout deinition. It should

More information

FPGAs Provide Reconfigurable DSP Solutions

FPGAs Provide Reconfigurable DSP Solutions FPGAs Provide Reconfigurable DSP Solutions Razak Mohammedali Product Marketing Engineer Altera Corporation DSP processors are widely used for implementing many DSP applications. Although DSP processors

More information

Introduction to the Altera SOPC Builder Using Verilog Designs. 1 Introduction

Introduction to the Altera SOPC Builder Using Verilog Designs. 1 Introduction Introduction to the Altera SOPC Builder Using Verilog Designs 1 Introduction This tutorial presents an introduction to Altera s SOPC Builder software, which is used to implement a system that uses the

More information

Interlaken IP Core (2nd Generation) Design Example User Guide

Interlaken IP Core (2nd Generation) Design Example User Guide Interlaken IP Core (2nd Generation) Design Example User Guide UG-20051 2017.09.19 Subscribe Send Feedback Contents Contents 1 Quick Start Guide... 3 1.1 Directory Structure... 4 1.2 Design Components...

More information

Figure 6 1 shows a block diagram of the UART core. shift register. shift register

Figure 6 1 shows a block diagram of the UART core. shift register. shift register 6. UART Core NII51010-8.1.0 Core Overview Functional Description The UART core with Avalon interface implements a method to communicate serial character streams between an embedded system on an Altera

More information

Creating projects with Nios II for Altera De2i-150. By Trace Stewart CPE 409

Creating projects with Nios II for Altera De2i-150. By Trace Stewart CPE 409 Creating projects with Nios II for Altera De2i-150 By Trace Stewart CPE 409 CONTENTS Chapter 1 Hardware Design... 1 1.1 Required Features... 1 1.2 Creation of Hardware Design... 1 Chapter 2 Programming

More information

9. Verification and Board Bring-Up

9. Verification and Board Bring-Up 9. Verification and Board Bring-Up July 2011 ED51010-1.3 ED51010-1.3 Introduction This chapter provides an overview of the tools available in the Quartus II software and the Nios II Embedded Design Suite

More information

Simulating Nios II Embedded Processor Designs

Simulating Nios II Embedded Processor Designs Simulating Nios II Embedded Processor Designs May 2004, ver.1.0 Application Note 351 Introduction The increasing pressure to deliver robust products to market in a timely manner has amplified the importance

More information

Practical Hardware Debugging: Quick Notes On How to Simulate Altera s Nios II Multiprocessor Systems Using Mentor Graphics ModelSim

Practical Hardware Debugging: Quick Notes On How to Simulate Altera s Nios II Multiprocessor Systems Using Mentor Graphics ModelSim Practical Hardware Debugging: Quick Notes On How to Simulate Altera s Nios II Multiprocessor Systems Using Mentor Graphics ModelSim Ray Duran Staff Design Specialist FAE, Altera Corporation 408-544-7937

More information

Nios II Custom Instruction User Guide Preliminary Information

Nios II Custom Instruction User Guide Preliminary Information Nios II Custom Instruction User Guide Preliminary Information 101 Innovation Drive San Jose, CA 95134 (408) 544-7000 http://www.altera.com Copyright 2007 Altera Corporation. All rights reserved. Altera,

More information

Cover TBD. intel Quartus prime Design software

Cover TBD. intel Quartus prime Design software Cover TBD intel Quartus prime Design software Fastest Path to Your Design The Intel Quartus Prime software is revolutionary in performance and productivity for FPGA, CPLD, and SoC designs, providing a

More information

Advanced ALTERA FPGA Design

Advanced ALTERA FPGA Design Advanced ALTERA FPGA Design Course Description This course focuses on advanced FPGA design topics in Quartus software. The first part covers advanced timing closure problems, analysis and solutions. The

More information