16
Altera’s Excalibur Development System Tyson Hall School of Electrical and Computer Engineering Georgia Institute of Technology

Altera’s Excalibur Development System Tyson Hall School of Electrical and Computer Engineering Georgia Institute of Technology

Embed Size (px)

Citation preview

Page 1: Altera’s Excalibur Development System Tyson Hall School of Electrical and Computer Engineering Georgia Institute of Technology

Altera’s Excalibur Development System

Tyson HallSchool of Electrical and Computer

EngineeringGeorgia Institute of Technology

Page 2: Altera’s Excalibur Development System Tyson Hall School of Electrical and Computer Engineering Georgia Institute of Technology

Terms Altera: The Company Excalibur: The 114 Quartus II: The Software Nios: The Processor APEX: The main CPLD

Page 3: Altera’s Excalibur Development System Tyson Hall School of Electrical and Computer Engineering Georgia Institute of Technology

Hardware Design Flow Quartus II

Run MegaWizard Plug-In Manager Select SOPC Builder

SOPC Builder Design Nios processor

Quartus II Make pin assignments Write supporting VHDL modules Compile, simulate and download design

Page 4: Altera’s Excalibur Development System Tyson Hall School of Electrical and Computer Engineering Georgia Institute of Technology

Software Design Flow Programming Editor

Write C code to run on Nios processor (or, write ASM code to run on Nios processor)

Cygwin / BASH / Nios SDK Shell Compile C code Download C code to board via 9-pin serial

cable Use terminal to interact with the Nios

processor

Page 5: Altera’s Excalibur Development System Tyson Hall School of Electrical and Computer Engineering Georgia Institute of Technology

32-bit Reference Design

Page 6: Altera’s Excalibur Development System Tyson Hall School of Electrical and Computer Engineering Georgia Institute of Technology

Starting the Wizard

1

2

3

Page 7: Altera’s Excalibur Development System Tyson Hall School of Electrical and Computer Engineering Georgia Institute of Technology

Altera SOPC Builder – Reference Design

Page 8: Altera’s Excalibur Development System Tyson Hall School of Electrical and Computer Engineering Georgia Institute of Technology

Altera SOPC Builder – Reference Design

Page 9: Altera’s Excalibur Development System Tyson Hall School of Electrical and Computer Engineering Georgia Institute of Technology

Altera SOPC Builder – Reference Design

Page 10: Altera’s Excalibur Development System Tyson Hall School of Electrical and Computer Engineering Georgia Institute of Technology

Altera SOPC Builder

Page 11: Altera’s Excalibur Development System Tyson Hall School of Electrical and Computer Engineering Georgia Institute of Technology

Directory Structure

$SOPC = $ALTERA\Excalibur\sopc_builder_2_5

Nios Documentation $SOPC\documents

Nios Examples $SOPC\examples\vhdl\

Page 12: Altera’s Excalibur Development System Tyson Hall School of Electrical and Computer Engineering Georgia Institute of Technology

Directory Structure The Wizard Creates ...

$PROJECT\cpu_sdk\inc $PROJECT\cpu_sdk\lib $PROJECT\cpu_sdk\src

Page 13: Altera’s Excalibur Development System Tyson Hall School of Electrical and Computer Engineering Georgia Institute of Technology

Options, Options, Options... CPU

SRAM-based CPLD (Temporary) EEPROM-based CPLD (Persists)

Software / Code RAM Flash Flash, but run from RAM

Page 14: Altera’s Excalibur Development System Tyson Hall School of Electrical and Computer Engineering Georgia Institute of Technology

CPU Use SRAM-based CPLD

(Temporary) Pressing Clear restarts the code/CPU Pressing Reset is a “hard” reset

Page 15: Altera’s Excalibur Development System Tyson Hall School of Electrical and Computer Engineering Georgia Institute of Technology

Software / Code RAM

nios-build [filename].c nios-run [filename].srec

Flash See Nios 2.0 Tutorial

Flash, but run from RAM See Nios 2.0 Tutorial Use srec2flash

Page 16: Altera’s Excalibur Development System Tyson Hall School of Electrical and Computer Engineering Georgia Institute of Technology

Help!!! Go to www.altera.com

Support Solutions Database

For the srec2flash white paper, go to theSolutions Database and search for

“srec2flash”.