Analog Devices, Inc. reserves the right to change this product without
prior notice. Information furnished by Analog Devices, Inc. is believed to
be accurate and reliable. However, no responsibility is assumed by Analog
Devices, Inc. for its use; nor for any infringement of patents or other rights
of third parties which may result from its use. No license is granted by
implication or otherwise under the patent rights of Analog Devices, Inc.
Trademark and Service Mark Notice
The Analog Devices logo, Blackfin, CROSSCORE, EZ-Extender,
EZ-KIT Lite, SHARC, the SHARC logo, TigerSHARC, and
VisualDSP++ are registered trademarks of Analog Devices, Inc.
EZ-Board is a trademark of Analog Devices, Inc.
All other brand and product names are trademarks or service marks of their
respective owners.
CONTENTS
PREFACE
Purpose of This Manual .................................................................. ix
Intended Audience .......................................................................... ix
Manual Contents ............................................................................. x
What’s New in This Manual ............................................................. x
Technical or Customer Support ........................................................ x
Supported SHARC Processors ......................................................... xi
Product Information ...................................................................... xii
Analog Devices Web Site .......................................................... xii
VisualDSP++ Online Documentation ...................................... xiii
Technical Library CD .............................................................. xiii
INTRODUCTION TO SHARC PROCESSORS
What are SHARC Processors? ........................................................ 1-1
Thank you for your interest in the SHARC® family of processors from
Analog Devices, Inc.
Purpose of This Manual
Getting Started With SHARC Processors provides you with information
about the evaluation process, Analog Devices tools, training, documentation, and other informational resources to assist you in the evaluation of
SHARC processors. This manual describes the resources available to help
you evaluate and design the SHARC processors into your final system.
For engineers already using SHARC processors in their designs, this guide
provides resources and pointers to help transition your system to take
advantage of the newest generation of processors. For detailed descriptions
of processor internal architectures, refer to the applicable hardware reference manual. For detailed descriptions of processor software, refer to the
applicable programming reference manual. A complete list of documents
that support your product can be found at the Analog Devices Web site at:
The primary audiences for this guide are system designers, programmers,
and hardware engineers who want to learn whether a specific SHARC
processor matches design requirements for new applications.
Getting Started With SHARC Processorsix
Manual Contents
Manual Contents
This manual consists of:
•Chapter 1, “Introduction to SHARC Processors”
This chapter briefly describes the processor architecture, available
models, and processor features.
•Chapter 2, “The Evaluation Process”
This chapter focuses on available software and hardware tools.
•Chapter 3, “Support Options”
This chapter describes support (documentation, training, and
more) available during the evaluation and development processes.
What’s New in This Manual
This is Revision 3.0 of Getting Started With SHARC Processors. Changes to
this book from Revision 2.0 include:
•Addition of fourth generation SHARC products
•Corrections of typographic errors and reported document errata
Technical or Customer Support
You can reach Analog Devices, Inc. Customer Support in the following
ways:
•Visit the Embedded Processing and DSP products Web site at:
•Contact your Analog Devices, Inc. local sales office or authorized
distributor
Supported SHARC Processors
The name “SHARC” refers to a family of high performance, 32-bit,
floating-point processors that can be used in speech, sound, graphics, and
imaging applications. VisualDSP++® currently supports the following
SHARC processors:
ADSP-21020ADSP-21060ADSP-21061ADSP-21062
ADSP-21065LADSP-21160ADSP-21161ADSP-21261
ADSP-21262ADSP-21266ADSP-21362ADSP-21363
ADSP-21364ADSP-21365ADSP-21366ADSP-21367
ADSP-21368ADSP-21369ADSP-21371ADSP-21375
ADSP-21462ADSP-21465ADSP-21467ADSP-21469
ADSP-21478ADSP-21479ADSP-21483ADSP-21486
ADSP-21487ADSP-21488ADSP-21489
The list of supported SHARC processors is subject to change. For a complete and up-to-date listing of SHARC processors refer to:
http://www.analog.com/sharc
Getting Started With SHARC Processorsxi
Product Information
Product Information
Product information can be obtained from the Analog Devices Web site,
VisualDSP++ online Help system, and a technical library CD.
Analog Devices Web Site
The Analog Devices Web site, www.analog.com, provides information
about a broad range of products—analog integrated circuits, amplifiers,
converters, and digital signal processors.
To access a complete technical library for each processor family, go to
http://www.analog.com/processors/technical_library. The manuals
selection opens a list of current manuals related to the product as well as a
link to the previous revisions of the manuals. When locating your manual
title, note a possible errata check mark next to the title that leads to the
current correction report against the manual.
Also note, MyAnalog.com is a free feature of the Analog Devices Web site
that allows customization of a Web page to display only the latest information about products you are interested in. You can choose to receive
weekly e-mail notifications containing updates to the Web pages that meet
your interests, including documentation errata against all manuals.
MyAnalog.com provides access to books, application notes, data sheets,
code examples, and more.
MyAnalog.com to sign up. If you are a registered user, just log on.
Visit
Your user name is your e-mail address.
xiiGetting Started With SHARC Processors
Preface
VisualDSP++ Online Documentation
Online documentation comprises the VisualDSP++ Help system, software
tools manuals, hardware tools manuals, processor manuals, Dinkum
Abridged C++ library, and FLEXnet License Tools software documentation. You can search easily across the entire VisualDSP++ documentation
set for any topic of interest.
For easy printing, supplementary Portable Documentation Format (.pdf)
files for all manuals are provided on the VisualDSP++ installation CD.
Each documentation file type is described as follows.
File Description
.chmHelp system files and manuals in Microsoft® help format
.htm or
.html
.pdfVisualDSP++ and processor manuals in PDF format. Viewing and printing the
Dinkum Abridged C++ library and FLEXnet License Tools software documentation. Viewing and printing the .html files requires a browser, such as Internet
Explorer 6.0 (or higher).
.pdf files requires a PDF reader, such as Adobe Acrobat Reader (4.0 or higher).
Technical Library CD
The technical library CD contains seminar materials, product highlights, a
selection guide, and documentation files of processor manuals,
VisualDSP++ software manuals, and hardware tools manuals for the following processor families: Blackfin®, SHARC, TigerSHARC®,
ADSP-218x, and ADSP-219x.
To order the technical library CD, go to http://www.analog.com/proces-
sors/technical_library
processor, click the request CD check mark, and fill out the order form.
, navigate to the manuals page for your
Getting Started With SHARC Processorsxiii
Product Information
Data sheets, which can be downloaded from the Analog Devices Web site,
change rapidly, and therefore are not included on the technical library
CD. Technical manuals change periodically. Check the Web site for the
latest manual revisions and associated documentation errata.
xivGetting Started With SHARC Processors
1INTRODUCTION TO SHARC
PROCESSORS
This chapter briefly describes the SHARC processor’s architecture and key
features and compares available models.
Topics include:
•“What are SHARC Processors?” on page 1-1
•“Four Generations of SHARC Processors” on page 1-5
What are SHARC Processors?
SHARC is the name of a family of high performance 32-bit floating-point
processors based on a Super Harvard Architecture. SHARC processors
dominate the floating-point digital signal processing market, delivering
exceptional core and memory performance complemented by outstanding
I/O throughput. The industry standard SHARC family makes floating-point processing economical for applications where performance and
dynamic range are key considerations such as home, professional, and
automotive audio, medical, and industrial and instrumentation products.
The SHARC processor portfolio currently consists of four generations of
products providing code-compatible solutions, ranging from entry-level
products priced at less than $10 to the highest performance products
offering fixed- and floating-point computational power to 450 MHz/2700
MFLOPs. Regardless of the specific product choice, all SHARC processors
provide a common set of features and functionality usable across many
signal processing markets and applications. This baseline functionality
Getting Started With SHARC Processors1-1
What are SHARC Processors?
enables the SHARC user to leverage legacy code and design experience,
while transitioning to higher-performance, more highly-integrated
SHARC products.
By integrating on-chip, single-instruction, multiple-data (SIMD) processing elements, SDRAM, and I/O peripherals, SHARC processors deliver
breakthrough signal processing performance.
SHARC Applications
The combination of a high performance core surrounded by appropriate
peripherals, a large software library, and award-winning development tools
makes SHARC processors the ideal choice for audio and broad market
processor applications. Here are some applications:
•Home theater/digital home applications. The ADSP-21266,
ADSP-21365, ADSP-21366, ADSP-21367, ADSP-21467,
ADSP-21483, ADSP-21486, and ADSP-21487 processors enable
highly efficient software implementations of audio decode and
postprocessing algorithms, such as Dolby® Digital, Dolby Digital
EX, DTS-ES Discrete 6.1, DTS-ES Matrix 6.1, DTS 96/24™ 5.1,
DTS-HD, DTS Express, MPEG-2 AAC LC, MPEG-2 BC 2ch,
Dolby Pro Logic II, Dolby Pro Logic 2x, Dolby True HD, DTS
Neo:6, DDPlus DCV, Neural Audio, Audyssey room equalization,
and WMA Pro. Libraries of all standard—and many proprietary—
audio algorithms reside in on-chip ROM, eliminating the need for
external ROM.
•Professional audio applications. A number of third generation
(ADSP-2136x) and fourth generation (ADSP-2146x) SHARC processors are well-suited for professional audio applications requiring
high processing power and advanced on-chip peripherals such as
sample rate conversion, S/PDIF transmitter/receiver, and BGA and
LQFP package options.
1-2Getting Started With SHARC Processors
•Automotive audio applications. The ADSP-21362, ADSP-21365,
ADSP-21369, ADSP-21371, ADSP-21462, ADSP-21465,
ADSP-21469, ADSP-21472, ADSP-21475, and ADSP-21479
processors, with integration of sample-rate conversion, DTCP
cipher, precision clock generators, and serial ports, are ideal choices
for new multichannel automotive audio designs.
•Broad market use. SHARC processors are available in commercial,
industrial, and automotive temperature grade packages. They are
used in a wide variety of signal processing applications, providing
up to 450 MHz performance in a single-instruction, multiple-data
architecture (SIMD). Applications include imaging, medical
devices, communications, military, test equipment, 3-D graphics,
speech recognition, and motor control.
Architecture Overview
Introduction to SHARC Processors
This section describes architectural features of the SHARC processor.
Super Harvard Architecture
The 32-bit floating-point SHARC processors from Analog Devices are
based on a Super Harvard Architecture that balances exceptional core and
memory performance with outstanding I/O throughput capabilities. This
architecture extends the original concepts of separate program and data
memory buses by adding an I/O processor with its associated dedicated
buses.
In addition to satisfying the demands of the most computationally-intensive, real-time signal processing applications, SHARC processors integrate
large memory arrays and application-specific peripherals designed to simplify product development and reduce time to market.
Getting Started With SHARC Processors1-3
What are SHARC Processors?
Common Architectural Features
SHARC processors share the following architectural features.
•32/40-bit IEEE floating-point math
•32-bit fixed-point multipliers with 64-bit product and 80-bit accumulation
•No arithmetic pipeline. All computations are single cycle.
•Six nested levels of zero-overhead looping in hardware
•Rich algebraic assembly language syntax
•Conditional arithmetic, bit manipulation, divide and square root,
bit field deposit and extract supported by instruction set
•Zero-overhead background transfers at full clock rate without processor intervention
In the core, every instruction can execute in a single cycle. The buses and
instruction cache provide rapid unimpeded data flow to the core to maintain the execution rate.
Figure 1-1 shows a detailed block diagram of a single core SHARC 32-bit
processor and the I/O processor (IOP). It illustrates the following architectural features:
•Two processing elements (PEx and PEy), each containing 32-bit
IEEE floating-point computation units—multiplier, arithmetic
logic unit (ALU), shifter, and data register file
•Program sequencer with related instruction cache, interval timer,
and data address generators (DAG1 and DAG2)
1-4Getting Started With SHARC Processors
Introduction to SHARC Processors
•An SDRAM controller that provides an interface to as many as four
separate banks of industry-standard SDRAM devices
•Up to a maximum of 5M bits of on-chip SRAM and up to 4M bits
of on-chip, mask-programmable ROM
•Input/output processor (IOP) with integrated direct memory
access (DMA) controller, serial peripheral interface (SPI) compatible port, and serial ports (SPORTs) for point-to-point
multiprocessor communications
•A variety of audio-centric peripheral modules including a
Sony/Philips digital interface (S/PDIF), sample rate converter
(SRC), and pulse width modulation (PWM)
•JTAG test access port for emulation
Figure 1-1 also shows the three on-chip buses of the
ADSP-21472/21475/21479 processors: the PM bus, DM bus, and I/O
bus. The PM bus provides access to instructions or data. During a single
cycle, these buses let the processor access two data operands from memory,
access an instruction (from cache), and perform a DMA transfer. In addition, Figure 1-1 shows the asychronous memory interface available on the
ADSP-2147x processors.
Four Generations of SHARC Processors
The SHARC architecture has a long history in the floating-point processor market. While architectural enhancements have been made with each
successive processor generation, the common traits of exceptional floating-point performance, matched to high-bandwidth memory and I/O
transfers, remains. All four generations of SHARC processors are still in
production, offering a variety of code-compatible options to meet a wide
array of price, performance, and footprint requirements.
Getting Started With SHARC Processors1-5
What are SHARC Processors?
Internal Memory I/F
Block 0
RAM/ROM
B0D
64-BIT
Instruction
Cache
5Stage
Sequencer
PExPEy
PMD
64-BIT
IOD0 32-BIT
EPD BUS 64-BIT
Core Bus
Cross Bar
S/PDIF
Tx/Rx
PCG
A
-
D
DPI Routing/Pins
SPI/B UART
Block 1
RAM/ROM
Block 2
RAM
Block 3
RAM
AMI
SDRAM
CTL
EP
External Port Pin MUX
TIMER
1
-
0
SPORT
7
-
0
ASRC
3-0
PWM
3
-
0
DAG1/2
Core
Timer
PDAP/
IDP
7
-
0
TWI
IOD0 BUS
DTCP/
MTM
PCG
C
-
D
PERIPHERAL BUS
32-BIT
CORE
FLAGS/
PWM3
-
1
JTAG
Internal Memory
DMD
64-BIT
PMD 64-BIT
CORE
FLAGS
IOD1
32-BIT
PERIPHERAL BUS
B1D
64-BIT
B2D
64-BIT
B3D
64-BIT
DPI Peripherals
DAI Peripherals
Peripherals
External
Port
SIMD Core
S
THERMAL
DIODE
FFT
FIR
IIR
MLB
SPEP BUS
DMD
64-BIT
FLAGx/IRQx/
TMREXP
WDT
RTC
SHIFT
REG
DAI Routing/Pins
Figure 1-1. ADSP-2147x Processor Block Diagram
First generation SHARC products offer performance of up to
66 MHz/198 MFLOPS and form the cornerstone of the SHARC processor family. Their easy-to-use instruction set architecture that supports
both 32-bit fixed-point and 32/40-bit floating-point data formats, combined with large memory arrays and sophisticated communications ports,
make them suitable for a wide array of parallel processing applications
including consumer audio, medical imaging, military, industrial, and
instrumentation.
Second generation SHARC products double the level of signal processing
performance (100 MHz/600 MFLOPS) by utilizing a single-instruction,
multiple-data (SIMD) architecture. This hardware extension doubles the
number of computational resources available to the system programmer.
Second generation products contain dual multipliers, ALUs, shifters, and
data register files, significantly increasing overall system performance in a
1-6Getting Started With SHARC Processors
Introduction to SHARC Processors
variety of applications. This capability is especially relevant in consumer,
automotive, and professional audio where the algorithms related to stereo
channel processing can effectively utilize the SIMD architecture.
Third generation SHARC products employ an enhanced SIMD architecture that extends CPU performance to an impressive 400 MHz/2.4
GFLOPS. These products also integrate a variety of ROM configurations
and audio-centric peripherals designed to decrease time to market and
reduce the overall bill of materials costs. Third generation SHARC audio
processors feature a high level of integrated on-chip peripherals, such as
multichannel audio surround sound decoders and postprocessing algorithms, S/PDIF transmitter/receiver, high performance asynchronous
sample rate conversion, PWM channels, code security, and DTCP cipher
for protection of digital data in automobiles. A number of third generation processors are also pin compatible for use with a single hardware
platform. This increased level of performance and peripheral integration
allow third generation SHARC processors to be considered as single chip
solutions for a variety of audio markets.
Fourth generation SHARC products not only increase the core performance to an industry-leading 450 MHz/2.7 GFLOPS but also boost the
performance with the addition of accelerator blocks implementing the
FIR, IIR, and FFT functions to off-load core activities from being consumed by filter processing. Fourth generation SHARC processors
integrate some of the highest memory on-chip RAM with a capacity of
5M bits. Extra memory capacity is further enhanced with the innovative
VISA (variable instruction set architecture) mode where programs can save
up to 30% of code size by reducing the opcodes for many instructions. For
industrial and automotive applications, fourth generation processors also
incorporate a thermal diode to allow customers the flexibility to operate in
higher ambient operating temperature conditions without sacrificing on
overall performance. DTCP cipher for protection of digital data in automotive applications is also integrated in automotive parts.
Getting Started With SHARC Processors1-7
Processor Peripherals and Performance
Integration of peripherals continue with serial ports, SPI ports, S/PDIF
Tx/Rx, and an 8-channel asynchronous sample rate converter block. The
fourth generation SHARC allows data from the serial ports to be directly
transferred to external memory by the DMA controller, again preserving
internal memory space for code and data. The fourth generation processor
also incorporates link ports that allow processor-to-processor communication for data movement. Some fourth generation SHARC processors also
integrate real-time clock (RTC) and watchdog timer functionality. In
addition, a number of fourth generation processors are also pin compatible for use with a single hardware platform.
Each SHARC processor provides unique capabilities, while being code
compatible with previous generations of SHARC devices, so legacy code is
easily ported to the newer products. Table 1-1, Table 1-2, Table 1-3,
Table 1-4, and Table 1-5 list key SHARC processor specifications.
more information, view the SHARC processor selection table online at the
Analog Devices Web site at:
For
http://www.analog.com/sharc
Processor Peripherals and Performance
SHARC processors represent a class of devices that combine an extremely
capable single-instruction, multiple-data (SIMD) processor engine with
features like core timers, general-purpose timers, UARTs, and SPI ports.
In addition to advanced peripherals, SHARC processors use a software
programmable, on-chip phase lock loop (PLL) that allows software control
during runtime of core and peripheral clock of the SHARC processors.
Performance
Real-time signal processing tasks are I/O and computationally intensive.
In addition to high speed math units and single cycle instruction
1-8Getting Started With SHARC Processors
Introduction to SHARC Processors
execution (including single cycle multiply accumulates [MACs]), SHARC
processors are designed for maximum I/O and memory access bandwidth.
This balance of core speed, memory integration, and I/O bandwidth
achieves the sustained performance critical to real-time applications.