没有合适的资源?快使用搜索试试~ 我知道了~
Nios II Processor Reference Handbook
需积分: 10 30 下载量 130 浏览量
2010-02-04
12:56:16
上传
评论
收藏 1.74MB PDF 举报
温馨提示
试读
218页
Nios II Processor Reference Handbook
资源推荐
资源详情
资源评论
Copyright © 2003 Altera Corporation. All rights reserved. Altera, The Programmable Solutions Company, the stylized Altera logo, specific device des-
ignations, and all other words and logos that are identified as trademarks and/or service marks are, unless noted otherwise, the trademarks and
service marks of Altera Corporation in the U.S. and other countries. All other product or service names are the property of their respective holders. Al-
tera 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 ap-
plication 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 in-
formation and before placing orders for products or services.
Printed on recycled paper
ii Altera Corporation
Altera Corporation iii
Contents
Chapter Revision Dates .......................................................................... vii
About This Handbook .............................................................................. ix
Introduction ............................................................................................................................................... ix
Assumptions about the Reader ..................................................................................................... 1–ix
How to Find Further Information ........................................................................................................... x
How to Contact Altera .............................................................................................................................. x
Typographical Conventions .................................................................................................................... xi
Section I. Nios II Processor
Revision History .................................................................................................................................... I–1
Chapter 1. Introduction
Introduction ............................................................................................................................................ 1–1
Nios II Processor System Basics ..................................................................................................... 1–1
Getting Started with the Nios II Processor ................................................................................... 1–2
Customizing Nios II Processor Designs ........................................................................................ 1–3
Configurable Soft-Core Processor Concepts ...................................................................................... 1–3
Configurable Soft-Core Processor .................................................................................................. 1–4
Flexible Peripheral Set & Address Map ........................................................................................ 1–4
Custom Instructions ......................................................................................................................... 1–5
Automated System Generation ...................................................................................................... 1–5
Chapter 2. Processor Architecture
Introduction ............................................................................................................................................ 2–1
Processor Implementation .................................................................................................................... 2–2
Register File ............................................................................................................................................ 2–3
Arithmetic Logic Unit ........................................................................................................................... 2–3
Unimplemented Instructions .......................................................................................................... 2–4
Custom Instructions ......................................................................................................................... 2–4
Floating Point Instructions .............................................................................................................. 2–4
Reset Signals ........................................................................................................................................... 2–5
Exception & Interrupt Controller ........................................................................................................ 2–6
Exception Controller ........................................................................................................................ 2–6
Integral Interrupt Controller ........................................................................................................... 2–6
.................................................................................................................................................................. 2–6
Memory & I/O Organization .............................................................................................................. 2–6
Instruction & Data Buses ................................................................................................................. 2–8
iv Altera Corporation
Nios II Processor Reference Handbook
Contents
Cache Memory ................................................................................................................................ 2–10
Tightly Coupled Memory ............................................................................................................. 2–12
Address Map ................................................................................................................................... 2–13
JTAG Debug Module .......................................................................................................................... 2–13
JTAG Target Connection ............................................................................................................... 2–14
Download & Execute Software .................................................................................................... 2–14
Software Breakpoints ..................................................................................................................... 2–14
Hardware Breakpoints .................................................................................................................. 2–14
Hardware Triggers ......................................................................................................................... 2–15
Trace Capture .................................................................................................................................. 2–16
Chapter 3. Programming Model
Introduction ............................................................................................................................................ 3–1
General-Purpose Registers ................................................................................................................... 3–1
Control Registers ................................................................................................................................... 3–2
Operating Modes ................................................................................................................................... 3–4
Supervisor Mode .............................................................................................................................. 3–5
User Mode ......................................................................................................................................... 3–5
Debug Mode ...................................................................................................................................... 3–6
Changing Modes .............................................................................................................................. 3–6
Exception Processing ............................................................................................................................. 3–8
Exception Types ................................................................................................................................ 3–8
Determining the Cause of Exceptions ......................................................................................... 3–11
Nested Exceptions .......................................................................................................................... 3–13
Returning from an Exception ...................................................................................................... 3–13
Break Processing .................................................................................................................................. 3–14
Processing a Break .......................................................................................................................... 3–14
Returning from a Break ................................................................................................................. 3–14
Register Usage ................................................................................................................................ 3–15
Memory & Peripheral Access ............................................................................................................ 3–15
Addressing Modes ......................................................................................................................... 3–15
Cache Memory ................................................................................................................................ 3–16
Processor Reset State ........................................................................................................................... 3–16
Instruction Set Categories ................................................................................................................... 3–17
Data Transfer Instructions ............................................................................................................ 3–17
Arithmetic & Logical Instructions ...............................................................................................3–19
Move Instructions ........................................................................................................................... 3–20
Comparison Instructions ............................................................................................................... 3–20
Shift & Rotate Instructions ............................................................................................................ 3–21
Program Control Instructions ....................................................................................................... 3–22
Other Control Instructions ............................................................................................................ 3–23
Custom Instructions ....................................................................................................................... 3–23
No-Operation Instruction ............................................................................................................. 3–23
Potential Unimplemented Instructions ....................................................................................... 3–24
Chapter 4. Implementing the Nios II Processor in SOPC Builder
Introduction ............................................................................................................................................ 4–1
Altera Corporation v
Nios II Processor Reference Handbook
Contents
Nios II Core Tab ..................................................................................................................................... 4–2
Core Setting ....................................................................................................................................... 4–2
Multiply & Divide Settings ............................................................................................................. 4–3
Caches & Tightly Coupled Memories Tab ......................................................................................... 4–4
Instruction Settings .......................................................................................................................... 4–4
Data Settings ..................................................................................................................................... 4–5
Advanced Features Tab ........................................................................................................................ 4–5
JTAG Debug Module Tab ..................................................................................................................... 4–6
Debug Level Settings ....................................................................................................................... 4–8
On-Chip Trace Buffer Settings ....................................................................................................... 4–9
Custom Instructions Tab .................................................................................................................... 4–10
Floating-Point Custom Instructions ............................................................................................ 4–10
Section II. Appendixes
Revision History ..................................................................................................................... Section II–1
Chapter 5. Nios II Core Implementation Details
Introduction ............................................................................................................................................ 5–1
Device Support ....................................................................................................................................... 5–2
Nios II/f Core ......................................................................................................................................... 5–3
Overview ........................................................................................................................................... 5–3
Register File ....................................................................................................................................... 5–3
Arithmetic Logic Unit ...................................................................................................................... 5–3
Memory Access ................................................................................................................................. 5–5
Tightly Coupled Memory ............................................................................................................... 5–7
Execution Pipeline ............................................................................................................................ 5–8
Instruction Performance .................................................................................................................. 5–9
Exception Handling ....................................................................................................................... 5–10
JTAG Debug Module ..................................................................................................................... 5–11
Unsupported Features ................................................................................................................... 5–11
Nios II/s Core ...................................................................................................................................... 5–11
Overview ......................................................................................................................................... 5–11
Register File ..................................................................................................................................... 5–12
Arithmetic Logic Unit .................................................................................................................... 5–12
Memory Access ............................................................................................................................... 5–13
Tightly Coupled Memory ............................................................................................................. 5–14
Execution Pipeline .......................................................................................................................... 5–15
Instruction Performance ................................................................................................................ 5–16
Exception Handling ....................................................................................................................... 5–17
JTAG Debug Module ..................................................................................................................... 5–17
Unsupported Features ................................................................................................................... 5–17
Nios II/e Core ...................................................................................................................................... 5–18
Overview ......................................................................................................................................... 5–18
Register File ..................................................................................................................................... 5–18
Arithmetic Logic Unit .................................................................................................................... 5–18
剩余217页未读,继续阅读
资源评论
morre
- 粉丝: 187
- 资源: 2337
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 已过基于Hadoop+Spark招聘推荐可视化系统 大数据项目 毕业设计(源码下载)
- python爬虫开发题答案及题目-100(1).zip
- Python 小游戏 (贪吃蛇、五子棋、扫雷、俄罗斯方块)-3 (2).zip
- c语言实现的数独小游戏.zip
- 高德地图中国行政区划省、市、县经纬度
- March 2024 Expiration Of The OAM Out Of The Box Certificates
- 二叉搜索树迭代器(java代码).docx
- 解决keil MDK 5.38版本 在Debug配置使用STlink调试时软件闪退的问题
- py小项目:用户登录和注册系统开发欢迎图片
- TCCEE-x64-v6.2.3(9.51)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功