Nios Soft Core Embedded Processor

Similar documents
Estimating Nios Resource Usage & Performance

Simple Excalibur System

ARM-Based Embedded Processor Device Overview

Nios Embedded Processor UART Peripheral

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

Excalibur Solutions DPRAM Reference Design

Simultaneous Multi-Mastering with the Avalon Bus

E3 Mapper MegaCore Function (E3MAP)

Toolflow for ARM-Based Embedded Processor PLDs

Excalibur Device Overview

System-on Solution from Altera and Xilinx

Active Serial Memory Interface

Excalibur Solutions Using the Expansion Bus Interface. Introduction. EBI Characteristics

Graduate Institute of Electronics Engineering, NTU Advanced VLSI SOPC design flow

AIRbus Interface. Features Fixed width (8-, 16-, or 32-bit) data transfers (dependent on the width. Functional Description. General Arrangement

Using the Nios Development Board Configuration Controller Reference Designs

Nios DMA. General Description. Functional Description

Nios Embedded Processor Development Board

Using MAX II & MAX 3000A Devices as a Microcontroller I/O Expander

ZBT SRAM Controller Reference Design

DSP Development Kit, Stratix II Edition

Using MAX 3000A Devices as a Microcontroller I/O Expander

SONET/SDH STS-12c/STM-4 Framer MegaCore Function (STS12CFRM)

Nios II Embedded Design Suite 6.1 Release Notes

Designing Embedded Processors in FPGAs

T3 Framer MegaCore Function (T3FRM)

ByteBlaster II Parallel Port Download Cable

Nios Soft Core. Nios Timer Peripheral. Altera Corporation 101 Innovation Drive San Jose, CA (408)

White Paper AHB to Avalon & Avalon to AHB Bridges

Benefits of Embedded RAM in FLEX 10K Devices

December 2002, ver. 1.3 Application Note 191. Six individual interrupts Six-bit priority scheme Five-bit priority scheme plus one individual interrupt

White Paper The Need for a High-Bandwidth Memory Architecture in Programmable Logic Devices

FPGAs Provide Reconfigurable DSP Solutions

Simulating Nios II Embedded Processor Designs

Legacy SDRAM Controller with Avalon Interface

Simulating the Reed-Solomon Model

POS-PHY Level 4 MegaCore Function (POSPHY4)

Introduction. Design Hierarchy. FPGA Compiler II BLIS & the Quartus II LogicLock Design Flow

Implementing LED Drivers in MAX Devices

POS-PHY Level 4 POS-PHY Level 3 Bridge Reference Design

Matrices in MAX II & MAX 3000A Devices

Design Verification Using the SignalTap II Embedded

White Paper Using the MAX II altufm Megafunction I 2 C Interface

Cyclone II FPGA Family

System-on-a-Programmable-Chip (SOPC) Development Board

AN 547: Putting the MAX II CPLD in Hibernation Mode to Achieve Zero Standby Current

Designing with ESBs in APEX II Devices

DDR & DDR2 SDRAM Controller

Using the Serial FlashLoader With the Quartus II Software

DDR & DDR2 SDRAM Controller

Introduction. Synchronous vs. Asynchronous Memory. Converting Memory from Asynchronous to Synchronous for Stratix & Stratix GX Designs

Nios II Performance Benchmarks

Nios PIO. General Description. Functional Description

Exercise 1 In this exercise you will review the DSSS modem design using the Quartus II software.

White Paper Configuring the MicroBlaster Passive Serial Software Driver

Converting.srec Files to.flash Files for Nios Embedded Processor Applications

ByteBlaster II Download Cable User Guide

DDR & DDR2 SDRAM Controller Compiler

Introduction to the Altera SOPC Builder Using Verilog Design

Figure 1. Device Package Ordering Information for Stratix, Stratix GX, Cyclone, APEX 20KC, APEX II, Mercury & Excalibur Devices EP1S 25 F 780 C 5 N

Nios II Embedded Design Suite 7.1 Release Notes

Nios Soft Core. Development Board User s Guide. Altera Corporation 101 Innovation Drive San Jose, CA (408)

Booting Excalibur Devices

Stratix vs. Virtex-II Pro FPGA Performance Analysis

Enhanced Configuration Devices

UTOPIA Level 2 Slave MegaCore Function

Using Flexible-LVDS Circuitry in Mercury Devices

DSP Builder. DSP Builder v6.1 Issues. Error When Directory Pathname is a Network UNC Path

PCI Express Multi-Channel DMA Interface

April 2002, Version 1.1. Component. PTF File. Component. Component GUI Wizards. Generation. System PTF file Files and Libraries.

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

Nios Timer. General Description. Functional Description

Using Flexible-LVDS I/O Pins in

DDR & DDR2 SDRAM Controller Compiler

White Paper. Floating-Point FFT Processor (IEEE 754 Single Precision) Radix 2 Core. Introduction. Parameters & Ports

Implementing FIR Filters

CORDIC Reference Design. Introduction. Background

On-Chip Memory Implementations

DDR and DDR2 SDRAM Controller Compiler User Guide

RLDRAM II Controller MegaCore Function

ECE332, Week 2, Lecture 3. September 5, 2007

ECE332, Week 2, Lecture 3

The Nios II Family of Configurable Soft-core Processors

Video and Image Processing Suite

Table 1 shows the issues that affect the FIR Compiler v7.1.

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

How FPGAs Enable Automotive Systems

Simulating the PCI MegaCore Function Behavioral Models

Debugging Nios II Systems with the SignalTap II Logic Analyzer

POS-PHY Level 4 MegaCore Function

SameFrame Pin-Out Design for FineLine BGA Packages

RapidIO MegaCore Function

Nios Development Kit, Stratix Edition

Design Guidelines for Using DSP Blocks

AN423: Configuring the MicroBlaster Passive Serial Software Driver

Embedded Computing Platform. Architecture and Instruction Set

4. TriMatrix Embedded Memory Blocks in HardCopy IV Devices

Enhanced Configuration Devices

Using VCS with the Quartus II Software

EFEC20 IP Core. Features

Transcription:

Nios Soft Core Embedded Processor June 2000, ver. 1 Data Sheet Features... Preliminary Information Part of Altera s Excalibur TM embedded processor solutions, the Nios TM soft core embedded processor is optimized for Altera APEX TM programmable logic devices (PLDs) and system-on-a-programmablechip (SOPC) integration. It is a general-purpose RISC processor core that is configurable to meet embedded design needs. Figure 1 shows the Nios embedded processor, which has the following features: Configurable load/store RISC architecture Fully-synchronous address and data bus interface Data path of 16 or 32 bits - 128 Kbyte and 8 Gbyte address range, respectively 16-bit instruction set - Small memory footprint - Compatible with standard FLASH devices Supports on-chip and off-chip memories 5-stage pipeline architecture - One instruction per clock cycle Windowed register access for fast interrupt handling - Up to 512 general-purpose registers - Window size: 32 registers 64 vectored interrupts Customizable, on-chip peripherals Universal asynchronous receiver/transmitter (UART), timer, parallel input/output (PIO), SRAM, and FLASH Future peripherals include: serial peripheral interface (SPI), pulse-width modulation (PWM), IDE disk controller, 10/100 Ethernet controller media access controller (MAC), and an SDRAM controller Optimized for APEX programmable logic device (PLD) efficiency Uses 13% of APEX EP20K200E device in 16-bit configuration Uses 20% of APEX EP20K200E device in 32-bit configuration Up to 50 MIPs and 50 MHz in an APEX EP20K200E device in 32-bit configuration Altera MegaWizard interface that configures the processor core, bus connections, and peripherals Generates peripheral bus module (PBM) Assigns IRQ numbers and priorities Assigns peripheral base addresses Implements 8-, 16-, and 32-bit data width configuration options (dynamic bus sizing) Configures peripheral wait states Altera Corporation 1 A-DS-EXCNIOS-01

Nios Soft Core Embedded Processor Data Sheet Preliminary Information Figure 1. The Nios Embedded Processor SRAM PBM CPU IRQ FLASH Timer Serial Port UART Area Available for Customization APEX Device...and more Features f Supported by GNUPro industry-standard embedded system compile/debug tools created by Cygnus, a Red Hat company C/C++ compiler Assembler Debugger The Excalibur Development Kit, featuring Nios Nios development board, including an APEX EP20K200E device Nios peripherals MegaWizard interface Quartus software C/C++ compiler, debugger, and documentation ByteBlaster download cable Software drivers SOPC reference design User manual and programmer reference For more information on the Excalibur Development Kit featuring Nios, refer to the Excalibur Development Kit with the Nios Embedded Processor Data Sheet. 2 Altera Corporation

Preliminary Information Nios Soft Core Embedded Processor Data Sheet General Description The Nios embedded processor is a configurable, general-purpose RISC microprocessor that easily fits into an Altera APEX TM device, leaving most of the logic available for peripherals and custom logic functions. The Nios embedded processor core is a pipelined, single-issue RISC processor in which instructions run in a single clock cycle. Figure 2 shows a block diagram of the Nios embedded processor. Figure 2. Nios Embedded Processor Block Diagram Note (1) Nios Embedded Processor (32-bit configuration) address 32 Q Program Counter data out 32 Q data in 32 D Instruction Decoder Effective Address read/write ifetch byte enable 4 Control Operand Fetch ALU wait Clock Enable irq irq# 6 Interrupt Control General-Purpose Processor Register File clock reset Note: (1) This diagram shows the 32-bit Nios configuration. In the 16-bit Nios configuration, the address, data out, and data in bus lines have 16 bits, and the byte enable bus line has 2 bits. The Nios embedded processor core can be customized through a MegaWizard interface. Table 1 shows the Nios embedded processor core configuration options. Table 1. Nios Embedded Processor Core Configuration Options Feature Data width Register file size Single clock shifts Comments 16 or 32 bits 128 to 512 registers 1 to 31 bits Altera Corporation 3

Nios Soft Core Embedded Processor Data Sheet Preliminary Information The MegaWizard interface allows the user to specify the embedded processor s connections to the rest of the system. Using a simple interface, the user can design an address map with different types, widths, and speeds of memory and peripherals. The MegaWizard interface generates the interface logic that connects all Nios peripherals as defined by the user. Figure 3 diagrams the communication between the Nios embedded processor and user-defined peripherals. Figure 3. Communication Between Nios Embedded Processor and Peripherals Peripheral Bus Module (PBM) Peripherals Nios Embedded Processor Address Decode Port Interface UART Timer Data In Multiplexer External Memory Interrupt Control Internal Memory Wait State Generator User-Defined Peripheral Bus Sizing (Optional) User-Defined Peripheral As peripherals are added, the interface to each is specified. The MegaWizard Plug-In creates a peripheral bus module (PBM) according to the configuration specified. 4 Altera Corporation

Preliminary Information Nios Soft Core Embedded Processor Data Sheet The following PBM features are fully customizable: Base address Address span Data width Read-only/read-write/write-only Wait states IRQ signal/priority The Nios embedded processor is supported by a full set of GNUPro embedded system development tools, created by Cygnus, a Red Hat company. These tools include a C/C++ compiler, assembler, and debugger. The Nios instruction set is targeted for compiled embedded applications and includes instructions that are especially useful in embedded systems (e.g., single-instruction bit-test-and-skip). The Nios core includes support for hardware breakpoints and run-control through the GNUPro debugger. Typical Applications The Nios embedded processor can be configured for a wide range of applications. A 16-bit implementation of the Nios core running a small program out of on-chip memory makes an effective sequencer/controller that may take the place of a hard-coded state machine. A 32-bit implementation of the Nios core with external FLASH program storage and large external main memory is a powerful 32-bit embedded processor. Figure 4 gives an example of the flexibility and scalability of the Nios embedded processor. Altera Corporation 5

Nios Soft Core Embedded Processor Data Sheet Preliminary Information Figure 4. Nios Flexibility and Scalability High-Performance Embedded Processor Nios Nios Custom DSP Fast Fourier Transform (FFT) 75K Gates Available for Customization 150K Gates Available for Customization EP20K100E Device EP20K200E Device Multi-Processor Micro-Coded System Nios Nios Nios Embedded System Blocks (ESBs) ESB ESB ESB Nios Nios Nios ESB ESB ESB Nios Nios Nios 500K Gates Available for Customization ESB ESB ESB Nios Nios Nios ESB ESB ESB EP20K1000E Device 6 Altera Corporation

Preliminary Information Nios Soft Core Embedded Processor Data Sheet A sample configuration of a 32-bit Nios embedded processor is shown below. Table 2 shows the sample configuration s device utilization specifications. 256 general-purpose registers One multiplier unit One UART (fixed baud rate) One 32-bit timer 512 bytes of on-chip ROM One 7-segment LED peripheral Peripheral bus module (PBM) (on-chip bus) SRAM interface (256 bytes) FLASH ROM interface (1 Mbyte) Table 2. APEX Device Utilization Device Utilization Estimates Data Path Logic Elements (LEs) % of LEs Embedded System Blocks (ESBs) % of ESBs Configuration EP20K200E 1700 20 11 21 32-bit 1100 13 7 13 16-bit EP20K100E 1700 41 11 42 32-bit 1100 26 7 27 16-bit Conclusion The Nios embedded processor provides a powerful and flexible solution for embedded systems developers. The combination of a configurable embedded processor, on-chip peripherals, and hardware and software development tools provides a complete solution for system-on-aprogrammable-chip development. Altera Corporation 7

Nios Soft Core Embedded Processor Data Sheet Preliminary Information 101 Innovation Drive San Jose, CA 95134 (408) 544-7000 http://www.altera.com Applications Hotline: (800) 800-EPLD Customer Marketing: (408) 544-7104 Literature Services: (888) 3-ALTERA lit_req@altera.com Altera, APEX, APEX 20K, APEX 20KE, EP20K100E, EP20K200E, EP20K1000E, Excalibur, MegaWizard, and Nios are trademarks and/or service marks of Altera Corporation in the United States and other countries. All other company and product names are trademarks of their respective owners. Altera products are protected under numerous U.S. and foreign patents and pending applications, maskwork rights, and copyrights. Altera warrants performance of its semiconductor products to current specifications in accordance with Altera s standard warranty, but reserves the right to make changes to any products and services at any time without notice. Altera assumes no responsibility or liability arising out of the application or use of any information, product, or service described herein except as expressly agreed to in writing by Altera Corporation. Altera customers are advised to obtain the latest version of device specifications before relying on any published information and before placing orders for products or services. Copyright 2000 Altera Corporation. All rights reserved. 8 Altera Corporation Printed on Recycled Paper.