ALTERA Cyclone III User Guide

101 Innovation Drive San Jose, CA 95134 (408) 544-7000 www.altera.com
P25-36208-01
Cyclone® III Development Kit
User Guide
Copyright © 2007 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.
Part Number UG-01027-1.0
ii User Guide0 Altera Corporation Cyclone III Development Kit October 2007

Contents

Chapter 1. About This Kit
Introduction ............................................................................................................................................ 1–1
Kit Features ............................................................................................................................................. 1–1
Documentation ....................................................................................................................................... 1–3
Chapter 2. Getting Started
Introduction ............................................................................................................................................ 2–1
Before You Begin ................................................................................................................................... 2–1
Check the Kit Contents .................................................................................................................... 2–1
Inspect the Board .............................................................................................................................. 2–2
Hardware Requirements ................................................................................................................. 2–2
Software Requirements ................................................................................................................... 2–3
Further Information .............................................................................................................................. 2–3
Chapter 3. Software Installation
Installing the Development Kit CD-ROM .......................................................................................... 3–1
Installing the Quartus II DVD .............................................................................................................. 3–2
Installing the USB-Blaster™ Driver .................................................................................................... 3–3
Licensing Considerations ..................................................................................................................... 3–4
Chapter 4. Development Board Setup
Introduction ............................................................................................................................................ 4–1
Requirements ......................................................................................................................................... 4–1
Powering Up the Board ........................................................................................................................ 4–1
Configuring the FPGA .......................................................................................................................... 4–4
Chapter 5. Design Tutorials
My First FPGA Tutorial ........................................................................................................................ 5–1
My First Nios Software Tutorial .......................................................................................................... 5–1
Chapter 6. Measuring Power
Introduction ............................................................................................................................................ 6–1
Power Design Example ......................................................................................................................... 6–1
Measuring Power ................................................................................................................................... 6–3
A/D Measurements ......................................................................................................................... 6–3
Measuring Voltage with a DMM ................................................................................................... 6–5
Calculating Power ............................................................................................................................ 6–5
Changing the Design Example ............................................................................................................ 6–6
Altera Corporation iii
Preliminary
Contents Cyclone III Development Kit
Appendix A. Programming the Flash Device
Overview ................................................................................................................................................ A–1
Creating a Flash File ............................................................................................................................. A–1
Parallel Flash Loader Instantiation .................................................................................................... A–3
Programming the Flash Device .......................................................................................................... A–4
Restoring the Factory Design to the Flash Device ........................................................................... A–6
Additional Information
Revision History ............................................................................................................................... Info–i
How to Contact Altera ..................................................................................................................... Info–i
Typographic Conventions ............................................................................................................... Info–i
iv Altera Corporation
Preliminary

1. About This Kit

Introduction

Welcome to the Altera® Cyclone®III Development Kit, which includes a full-featured field-programmable gate array (FPGA) development board, hardware and software development tools, documentation, and accessories needed to begin FPGA development.
The kit provides an integrated control environment that includes a USB command controller, a multi-port SRAM/DDR SDRAM/flash memory controller, Ethernet, an on-board current meter, and an example design with demonstration circuitry specified in Verilog code to help you get started quickly with your own designs.
The development board includes an Altera Cyclone III FPGA configured with a hardware reference design stored in flash memory. Hardware designers can use the development board, along with example designs included in the kit, as a platform to prototype complex embedded systems.
The development kit includes these kit features and documentation:
The Cyclone III development board
Altera Complete Design Suite DVD containing:
Quartus
MegaCore
Nios
Cyclone III Development Kit CD-ROM
Design examples
Accessory daughter cards
Power supply, cables, and documentation
®
II Web Edition Software
®
IP Library
®
II Embedded Software Design Tools

Kit Features

This section briefly describes the Cyclone III Development Kit features.
The Cyclone III Development Board—a prototyping platform that
allows you to develop and prototype high-speed bus interfaces as well as evaluate Cyclone III transceiver performance.
f For specific information about board components and interfaces, refer to
the Cyclone III Development Board Reference Manual.
Altera Corporation User Guide 1–1 October 2007 Cyclone III Development Kit
Kit Features
Quartus II Web Edition Software—The Quartus II software
(available on the DVD) integrates into nearly any design environment, with interfaces to industry-standard EDA tools. The kit includes:
The SOPC Builder system development tool
Free Quartus II Web Edition software license, Windows
platform only
f For more information, refer to the Altera website at
http://www.altera.com/products/software/products/quartus2web/ sof-quarwebmain.html.
MegaCore IP Library—This library (available on the DVD) contains
Altera IP MegaCore functions. You can evaluate MegaCore functions by using the OpenCore
Simulate behavior of a MegaCore function within your system
Verify functionality of your design, and quickly and easily
evaluate its size and speed
Generate time-limited device programming files for designs that
include MegaCore functions
Program a device and verify your design in hardware
Nios II Embedded Software Design Tools—This full-featured set of
tools (available on the DVD) allows you to develop embedded software on the Nios II processor running on Altera FPGAs.
®
Plus feature to do the following:
Cyclone III Development Kit Application & Drivers—The
application and drivers (available on the CD-ROM) allow you to execute memory read and write transactions to the board.
Design Examples—The design examples (available on the
CD-ROM) are useful for a variety of hardware applications and let you quickly begin board prototyping and device verification.
You only need to purchase a license for a MegaCore function when you are completely satisfied with its functionality and performance, and want to take your design to production.
1 The OpenCore Plus hardware evaluation feature is an
evaluation tool for prototyping only. You must purchase a license to use a MegaCore function in production.
1–2 User Guide Altera Corporation Cyclone III Development Kit Preliminary October 2007
About This Kit

Documentation

The Cyclone III Development Kit CD-ROM contains the following documents:
Readme fileContains special instructions and refers to the kit
documentation.
Cyclone III Development Kit User Guide (this document)
Describes how to use the kit.
Cyclone III Development Board Reference Manual—Provides
specific information about the board components and interfaces, steps for using the board, and pin-outs and signal specifications.
Altera Corporation User Guide 1–3 October 2007 <Cyclone III Development Kit>
Documentation
1–4 User Guide Altera Corporation Cyclone III Development Kit Preliminary October 2007

2. Getting Started

Introduction

Before You Begin

This user guide familiarizes you with the contents of the kit and guides you through the Cyclone III development board setup. Using this guide, you can do the following:
Inspect the contents of the kit
Install the Altera Development Suite Tools
Set up licensing
Install the Cyclone III Development Kit CD-ROM
Set up, power up, and verify correct operation of the development
board
Configure the Cyclone III FPGA
Find and use the tutorials
Set up and run included application examples and demonstrations.
f For complete details on the development board, refer to the
Cyclone III Development Board Reference Manual.
Before using the kit or installing the software, check the kit contents and inspect the board to verify that you received all of the items listed in this section. If any of the items are missing, contact Altera before you proceed.

Check the Kit Contents

The Cyclone III Development Kit (ordering code: DK-DEV-3C120N) contains the following items:
Cyclone III development board with an EP3C120F780C7N
Cyclone III device
Altera Complete Design Suite DVD containing:
Quartus II Web Edition Software
MegaCore IP Library
Nios II Embedded Software Design Tools
Cyclone III Development Kit CD-ROM, which includes:
References design and demonstrations
Cyclone III development kit application and device drivers
Design examples
Cyclone III Development Board Reference Manual
Cyclone III Development Kit User Guide (this document)
Device datasheets and tutorials
Schematic and board design files
Altera Corporation User Guide 2–1 October 2007 Cyclone III Development Kit
Before You Begin
USB cable
Accessory daughter cards:
Two loopback high-speed mezzanine connector (HSMC) cards
Debug HSMC card
One 16 character x 2 line Liquid Crystal Display (LCD)
One 2.8 in. thin-film transistor (TFT) LCD module
16 V DC Power supply and adapters for North America, Europe, the
United Kingdom, and Japan.
1 To ensure that you have the most up-to-date information on this
product, go to the Altera website at www.altera.com/products
/devkits/altera/kit-cyc3-Development.html

Inspect the Board

Place the board on an anti-static surface and inspect it to ensure that it has not been damaged during shipment.
w Without proper anti-static handling, the Cyclone III
development board can be damaged.
Verify that all components are on the board and appear intact.
1 In typical applications with the Cyclone III development board,
a heatsink is not necessary. However, under extreme conditions the board may require additional cooling to stay within operating temperature guidelines. You may wish to perform power consumption and thermal modeling to determine whether your application requires additional cooling.
f For more information on power consumption and thermal modeling,
refer to AN 358: Thermal Management for FPGAs at the Altera website at http://www.altera.com/literature/an/an358.pdf

Hardware Requirements

The Quartus II software has some minimum system requirements. Otherwise, the Cyclone III development kit provides all of the hardware needed to use the board.
f For the Quartus II requirements, refer to the Altera website at
http://www.altera.com/products/software/products/quartus2web/ sof-quarwebmain.html for details.
2–2 User Guide Altera Corporation Cyclone III Development Kit October 2007
Getting Started

Software Requirements

This kit requires the following software:
Windows XP operating system
Quartus II Web Edition software version 7.2 or later.
1 Although it is already available on the DVD included in the kit,
you can also download the Quartus II software from the Altera website at http://www.altera.com/products/software/
products/quartus2web/sof-quarwebmain.html.
f Refer to the Quartus II Installation & Licensing for Windows document for
further information on the Quartus II system software requirements, especially heeding the following:
A web browser, Microsoft Internet Explorer version 5.0 or later
or Firefox version 2.0 or later. You need a web browser to register the Quartus II software and request license files. Refer to
“Licensing Considerations” on page 3–4.
Version 2.0 or later of the .NET framework.
1 If you receive an “Application Error” message when
launching the demo application, please install version 2.0 or later versions of the .NET framework. Some Windows versions
do not have runtime DLL for the .NET application. The .NET framework application can be downloaded from the following location: http://www.microsoft.com/download.

Further Information

For other related information, refer to the following websites:
For additional daughter cards available for purchase:
www.altera.com/products/devkits/kit-daughter_boards.jsp
For the Cyclone III handbook:
www.altera.com/literature/lit-cyc3.jsp
For the Cyclone III reference designs:
www.altera.com/ endmarkets/refdesigns/device/cyclone3/cyclone3-index.jsp
For eStore if you want to purchase devices:
Altera Corporation User Guide 2–3 October 2007 Cyclone III Development Kit
Further Information
www.altera.com/buy/devices/buy-devices.html
For Cyclone III Orcad symbols:
www.altera.com/support/software/download/pcb/ pcb-pcb_index.html
For Nios II 32-bit embedded processor solutions:
www.altera.com/technology/embedded/emb-index.html
2–4 User Guide Altera Corporation Cyclone III Development Kit October 2007
Loading...
+ 26 hidden pages