W4.5
User’s Guide
Analog Devices, Inc.
One Technology Way
Norwood, Mass. 02062-9106
Revision 2.0, April 2006
Part Number:
82-000420-02
Copyright Information
©2006 Analog Devices, Inc., ALL RIGHTS RESERVED. This document
may not be reproduced in any form without prior, express written consent
from Analog Devices, Inc.
Printed in the USA.
Disclaimer
Analog Devices, Inc. reserves the right to change this product without
prior notice. Information furnished by Analog Devices is believed to be
accurate and reliable. However, no responsibility is assumed by Analog
Devices 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, the CROSSCORE logo, VisualDSP++,
SHARC, TigerSHARC, Blackfin, and EZ-KIT Lite are registered trademarks 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 .............................................................. xxiii
Intended Audience ...................................................................... xxiii
Manual Contents ......................................................................... xxiv
What’s New in This Manual .......................................................... xxv
Technical or Customer Support .................................................... xxvi
Supported Processors ................................................................... xxvii
Product Information .................................................................. xxviii
MyAnalog.com ..................................................................... xxviii
Processor Product Information ................................................ xxix
Related Documents ................................................................ xxix
Online Technical Documentation ............................................ xxx
Accessing Documentation From VisualDSP++ .................... xxxi
Accessing Documentation From Windows .......................... xxxi
Accessing Documentation From the Web ........................... xxxii
Embedded Processing & DSP Knowledge Base .................. xxxii
Printed Manuals ................................................................... xxxiii
VisualDSP++ 4.5 User’s Guide iii
VisualDSP++ Documentation Set .................................... xxxiii
Hardware Tools Manuals ................................................. xxxiii
Processor Manuals ........................................................... xxxiii
Data Sheets ..................................................................... xxxiii
Notation Conventions ................................................................ xxxiv
INTRODUCTION TO VISUALDSP++
VisualDSP++ Features .................................................................. 1-2
Integrated Development and Debugging .................................. 1-2
Code Development Tools ........................................................ 1-2
Source File Editing Features .................................................... 1-3
Project Management Features .................................................. 1-4
Debugging Features ................................................................. 1-5
VDK Features ......................................................................... 1-6
VisualDSP++ 4.5 Features ....................................................... 1-7
License Management .................................................................. 1-10
Licensing Options ................................................................. 1-11
License Status ....................................................................... 1-12
Temporary Licenses .......................................................... 1-12
Valid Versus Expired Licenses ............................................ 1-12
Client Licenses ................................................................. 1-12
License Installation ............................................................... 1-13
VisualDSP++ Product Upgrades ............................................ 1-14
Product Serial Numbers ........................................................ 1-14
Project Development .................................................................. 1-15
iv VisualDSP++ 4.5 User’s Guide
Overview of Programming With VisualDSP++ ....................... 1-15
Project Development Stages ................................................... 1-17
Targets .................................................................................. 1-19
Simulation Targets ............................................................ 1-19
EZ-KIT Lite Targets ......................................................... 1-20
Emulator Targets ............................................................... 1-20
Platforms .............................................................................. 1-20
Debugging Overview ............................................................. 1-23
VisualDSP++ Kernel .............................................................. 1-25
Program Development Steps .................................................. 1-25
Step 1: Create a Project ..................................................... 1-26
Step 2: Configure Project Options ..................................... 1-26
Step 3: Add and Edit Project Source Files .......................... 1-26
Adding Files to Your Project .......................................... 1-26
Creating Files to Add to Your Project ............................. 1-27
Editing Files .................................................................. 1-27
Managing Project Dependencies .................................... 1-27
Step 4: Specifying Project Build Options ........................... 1-27
Configuration ............................................................... 1-28
Project-Wide File and Tool Options .............................. 1-28
Individual File and Tool Options ................................... 1-28
Step 5: Build a Debug Version of the Project ...................... 1-29
Step 6: Create a Debug Session and Load the Executable .... 1-29
Step 7: Run and Debug the Program ................................. 1-29
VisualDSP++ 4.5 User’s Guide v
Step 8: Build a Release Version of the Project .................... 1-29
Code Development Tools ............................................................ 1-30
Compiler .............................................................................. 1-31
C++ Run-Time Libraries ....................................................... 1-32
Dinkum Abridged C++ Library ......................................... 1-32
Assembler ............................................................................. 1-33
Linker ................................................................................... 1-34
Expert Linker ........................................................................ 1-37
Expert Linker Window ..................................................... 1-38
Memory Map Pane Right-Click Menu .............................. 1-39
Stack and Heap Usage ....................................................... 1-42
Archiver ................................................................................ 1-44
Splitter ................................................................................. 1-44
Loader .................................................................................. 1-45
Processor Projects ....................................................................... 1-47
Project Options ..................................................................... 1-48
Project Groups ...................................................................... 1-49
Project Group Files ........................................................... 1-50
Source Code Control (SCC) .................................................. 1-51
Makefiles .............................................................................. 1-52
Rules ................................................................................ 1-53
Output Window ............................................................... 1-54
Example Makefile ............................................................. 1-54
Project Configurations .......................................................... 1-56
vi VisualDSP++ 4.5 User’s Guide
Customized Project Configurations ........................................ 1-57
Project Build ......................................................................... 1-57
Build Options ....................................................................... 1-58
File Building ......................................................................... 1-59
Batch Builds .......................................................................... 1-59
Pre-Build and Post-Build Options .......................................... 1-59
Command Syntax .................................................................. 1-60
Project Dependencies ............................................................ 1-60
Project Window Rules ........................................................... 1-60
VisualDSP++ Help System .......................................................... 1-62
ENVIRONMENT
Project Window ............................................................................ 2-2
Project View ............................................................................ 2-3
Project Dependencies .............................................................. 2-3
Project Nodes .......................................................................... 2-4
Project Folders .................................................................... 2-4
Project Files ........................................................................ 2-6
Project Window Icons for Source Code Control (SCC) ........ 2-7
Project Page Right-Click Menus ............................................... 2-8
Project Group Icon Right-Click Menu ................................. 2-8
Project Icon Right-Click Menu ............................................ 2-9
Folder Icon Right-Click Menu .......................................... 2-10
File Icon Right-Click Menu ............................................... 2-10
File Associations .................................................................... 2-11
VisualDSP++ 4.5 User’s Guide vii
Automatic File Placement ...................................................... 2-12
File Placement Rules ......................................................... 2-12
Example ........................................................................... 2-13
Kernel Page ........................................................................... 2-13
Editor Windows ......................................................................... 2-13
Editor Window Symbols ....................................................... 2-16
Bookmarks ............................................................................ 2-17
Syntax Coloring .................................................................... 2-17
Viewing Modes: Source Mode vs. Mixed Mode ...................... 2-18
Source Mode .................................................................... 2-18
Mixed Mode ..................................................................... 2-18
Editor Tab Mode .................................................................. 2-19
Context-Sensitive Expression Evaluation ................................ 2-21
Viewing an Expression ...................................................... 2-22
Highlighting an Expression ............................................... 2-22
Right-Click Menu ................................................................. 2-23
Output Window ......................................................................... 2-24
Viewing Error Message Details .............................................. 2-24
Output Window Tabs ........................................................... 2-26
Build Page ........................................................................ 2-26
Console Page .................................................................... 2-26
Code Development Tools Batch Processing Messages ............. 2-27
Message Severity Hierarchy ............................................... 2-28
Syntax of Help for Error Messages ..................................... 2-28
viii VisualDSP++ 4.5 User’s Guide
Promoting, Demoting, and Suppressing Error Messages ..... 2-29
Suppressing Compiler Warnings and Remarks ................ 2-33
Log File ................................................................................. 2-34
Output Window Customization ............................................. 2-34
Right-Click Menu ................................................................. 2-35
Script Command Output ....................................................... 2-36
Debugging Windows ................................................................... 2-39
Disassembly Windows ........................................................... 2-40
Other Disassembly Window Features ................................. 2-43
Right-Click Menu ............................................................. 2-43
Disassembly Window Symbols .......................................... 2-45
Expressions Window .............................................................. 2-46
Expressions Permitted in an Expression Window ................ 2-47
Trace Windows ...................................................................... 2-48
Locals Window ...................................................................... 2-50
Statistical/Linear Profiling Window ........................................ 2-51
Window Components ....................................................... 2-51
Left Pane ...................................................................... 2-51
Right Pane .................................................................... 2-53
Status Bar ..................................................................... 2-53
Right-Click Menu ......................................................... 2-53
Window Operations .......................................................... 2-54
Changing the Window View ......................................... 2-54
Displaying a Source File ................................................ 2-55
VisualDSP++ 4.5 User’s Guide ix
Displaying Functions in Libraries .................................. 2-55
Working With Ranges ................................................... 2-56
Switching Display Modes .............................................. 2-56
Filtering PC Samples With No Debug Information ....... 2-56
Call Stack Window ............................................................... 2-59
Memory Windows ................................................................ 2-59
Number Formats in Memory Windows ............................. 2-60
Memory Window Right-Click Menu ................................. 2-62
Expression Tracking in a Memory Window ....................... 2-63
Memory Window Display Customization .......................... 2-65
Background Telemetry Channels (BTCs) ............................... 2-65
BTC Definitions in Your Program ..................................... 2-66
Enabling BTC on ADSP-2126x and ADSP-BF36x Processors 2-67
BTC Priority .................................................................... 2-68
BTC Memory Window ..................................................... 2-68
BTC Memory Window Right-Click Menu ........................ 2-70
Register Windows ................................................................. 2-71
Stack Windows ..................................................................... 2-74
Custom Registers Windows ................................................... 2-74
Multiprocessor Window ........................................................ 2-75
Multiprocessor Window Pages ........................................... 2-76
Status Page ................................................................... 2-76
Groups Page ................................................................. 2-77
Operating on Multiprocessor Groups ................................ 2-77
x VisualDSP++ 4.5 User’s Guide
Focus ................................................................................ 2-78
Right-Click Menu ............................................................. 2-78
Pipeline Viewer Window ....................................................... 2-79
Right-Click Menu ............................................................. 2-80
Pipeline Viewer Properties Dialog Box ............................... 2-81
Pipeline Viewer Window Event Icons ................................ 2-82
Pipeline Instruction Event Details ..................................... 2-83
Cache Viewer Window .......................................................... 2-84
Configuration Page ........................................................... 2-87
Detailed View Page ........................................................... 2-88
History Page ..................................................................... 2-89
Performance Page .............................................................. 2-91
Histogram Page ................................................................. 2-92
Address View Page ............................................................ 2-93
VDK Status Window ............................................................. 2-94
VDK State History Window .................................................. 2-96
Thread Status and Event Colors ........................................ 2-97
Window Operations .......................................................... 2-98
Right-Click Menu ............................................................. 2-98
Target Load Window ............................................................. 2-99
Plot Windows ..................................................................... 2-100
Plot Window Features ..................................................... 2-101
Status Bar ................................................................... 2-101
Tool Bar ...................................................................... 2-102
VisualDSP++ 4.5 User’s Guide xi
Right-Click Menu ...................................................... 2-103
Plot Window Statistics .................................................... 2-105
Plot Configuration ......................................................... 2-106
Plot Window Presentation .............................................. 2-107
Plot Presentation Options ............................................... 2-109
Image Viewer ...................................................................... 2-109
Automation Interface ...................................................... 2-111
Toolbar .......................................................................... 2-111
Status Bar ....................................................................... 2-112
Right-Click Menu .......................................................... 2-112
DEBUGGING
Debug Sessions ............................................................................. 3-2
Debug Session Management .................................................... 3-3
Simulation vs. Emulation ........................................................ 3-3
Breakpoints ........................................................................ 3-3
Watchpoints ....................................................................... 3-4
Multiprocessor (MP) System Debugging .................................. 3-4
Setting Up a Multiprocessor Debug Session ......................... 3-4
Debugging a Multiprocessor System .................................... 3-5
Focus and Pinning .......................................................... 3-6
Window Title Bar Information ........................................ 3-6
Additional Focus Indication ............................................ 3-7
Code Analysis Tools ...................................................................... 3-7
Statistical Profiles and Linear Profiles ....................................... 3-8
xii VisualDSP++ 4.5 User’s Guide
Simulation: Linear Profiling ................................................ 3-8
Emulation: Statistical Profiling ............................................ 3-8
Traces ...................................................................................... 3-9
Program Execution Operations .................................................... 3-10
Selecting a New Debug Session at Startup .............................. 3-10
Loading the Executable Program ............................................ 3-11
Program Execution Commands .............................................. 3-11
Restarting the Program .......................................................... 3-12
Performing a Restart During Simulation ............................ 3-12
Performing a Restart During Emulation ............................. 3-13
Breakpoints ........................................................................... 3-13
Unconditional and Conditional Breakpoints .......................... 3-14
Automatic Breakpoints .......................................................... 3-14
Watchpoints .......................................................................... 3-15
Hardware Breakpoints ........................................................... 3-16
Latency ............................................................................. 3-16
Restrictions ....................................................................... 3-16
Simulation Tools ......................................................................... 3-16
Interrupts .............................................................................. 3-17
Input/Output Simulation (Data Streams) ............................... 3-17
Plots ........................................................................................... 3-19
Plot Types ............................................................................. 3-20
Line Plots .............................................................................. 3-21
X-Y Plots ............................................................................... 3-22
VisualDSP++ 4.5 User’s Guide xiii
Constellation Plots ................................................................ 3-23
Eye Diagrams ........................................................................ 3-24
Waterfall Plots ...................................................................... 3-25
Spectrogram Plots ................................................................. 3-27
Flash Programmer ....................................................................... 3-28
Flash Devices ........................................................................ 3-29
Flash Programmer Functions ................................................. 3-29
Flash Driver .......................................................................... 3-30
Flash Programmer Window ................................................... 3-30
Energy-Aware Programming ........................................................ 3-31
Ranking ................................................................................ 3-31
Example ............................................................................... 3-31
REFERENCE INFORMATION
Support Information ..................................................................... A-2
IDDE Command-Line Parameters ................................................ A-7
Extensive Scripting ....................................................................... A-8
File Types ................................................................................... A-12
Parts of the User Interface ........................................................... A-15
Title Bar ............................................................................... A-16
Additional Information in Title Bars ................................. A-17
Title Bar Right-Click Menu .............................................. A-17
Control Menu ....................................................................... A-18
Program Icons .................................................................. A-18
Editor Windows ............................................................... A-18
xiv VisualDSP++ 4.5 User’s Guide
Debugging Windows ........................................................ A-19
Menu Bar ............................................................................. A-19
Toolbars and User Tools ........................................................ A-19
Built-In Toolbars ............................................................. A-20
Toolbar Customization ..................................................... A-21
User Tools ....................................................................... A-22
Toolbar Buttons ............................................................... A-22
Toolbar Operation ........................................................... A-22
Toolbar Button Appearance .............................................. A-27
Toolbar Shape .................................................................. A-27
Toolbars: Docked vs. Floating .......................................... A-28
Toolbar Rules ................................................................... A-29
Status Bar ............................................................................. A-30
Keyboard Shortcuts .................................................................... A-32
Working With Files .............................................................. A-32
Moving Within a File ........................................................... A-33
Cutting, Copying, Pasting, Moving Text ............................... A-34
Selecting Text Within a File .................................................. A-34
Working With Bookmarks in an Editor Window ................... A-35
Building Projects .................................................................. A-36
Using Keyboard Shortcuts for Program Execution ................. A-36
Working With Breakpoints ................................................... A-37
Obtaining VisualDSP++ Help ............................................... A-37
Miscellaneous ....................................................................... A-37
VisualDSP++ 4.5 User’s Guide xv
Window Operations ................................................................... A-39
Window Manipulation .......................................................... A-39
Right-Click Menu Options ................................................... A-40
Scroll Bars and Resize Pull-Tab .............................................. A-40
Windows: Docked vs. Floating .............................................. A-41
Docked Windows ............................................................. A-41
Floating Windows ............................................................ A-43
Window Position Rules ......................................................... A-43
Standard Windows Buttons ................................................... A-45
Text Operations .......................................................................... A-46
Regular Expressions vs. Normal Searches ............................... A-46
Specific Special Characters ................................................ A-47
Special Rules for Sequences ............................................... A-48
Repetition and Combination Characters ........................... A-48
Match Rules ..................................................................... A-49
Tagged Expressions in Replace Operations ............................. A-49
Comment Start and Stop Strings ........................................... A-50
Online Documentation ............................................................... A-51
Printing Online Documentation ............................................ A-52
Viewing Online Help ............................................................ A-53
Online Help ............................................................................... A-54
Help Window ....................................................................... A-54
Context-Sensitive Help ......................................................... A-55
Viewing Menu, Toolbar, or Window Help ......................... A-57
xvi VisualDSP++ 4.5 User’s Guide
Viewing Dialog Box Help ................................................. A-57
Viewing Window Help ..................................................... A-58
Copying Example Code From Help ...................................... A-58
Printing Help ....................................................................... A-58
Bookmarking Frequently Used Help Topics ........................... A-59
Navigating in Online Help ................................................... A-60
Searching Help ..................................................................... A-61
Full-Text Searches ............................................................ A-61
Rules for Full-Text Searches .......................................... A-63
Advanced Search Techniques ............................................ A-64
Wildcard Expressions ................................................... A-64
Boolean Operators ....................................................... A-65
Nested Expressions ....................................................... A-66
Rules for Advanced Searches ......................................... A-66
Glossary ..................................................................................... A-67
SIMULATION OF SHARC PROCESSORS
Anomaly Options ......................................................................... B-2
ADSP-21x6x Processor Anomalies ........................................... B-2
Shadow Write FIFO Anomaly (ADSP-2116x Only) ................. B-2
SIMD Read from Internal Memory With Shadow Write FIFO Hit
Anomaly (ADSP-2116x Only) ............................................. B-3
Event Options .............................................................................. B-4
FP Denorm ............................................................................ B-4
Short Word Anomaly .............................................................. B-4
VisualDSP++ 4.5 User’s Guide xvii
Access to ADSP-21065L Short-Word Internal Memory 9th Column at
Even Addresses ..................................................................... B-7
Recording a Simulator Anomaly or Event ...................................... B-7
Select Processor ID Options .......................................................... B-9
Simulator Options ...................................................................... B-10
No Boot Mode ...................................................................... B-10
Load Sim Loader Options ........................................................... B-11
SPI Simulation in Slave Mode ..................................................... B-13
SIMULATION OF TIGERSHARC PROCESSORS
ADSP-TS101 Processors ............................................................... C-1
Simulator Timing Analysis Overview ....................................... C-2
Pipeline Stages ........................................................................ C-2
Stalls ....................................................................................... C-3
Stalls Due to IALU Dependency ......................................... C-4
Stalls Due to Compute Block Dependency .......................... C-5
Aborts .................................................................................... C-6
Aborts Due to an Unpredicted Change of Flow ................... C-6
Abort Due to Mispredicted Change of Flow ........................ C-7
Branch Target Buffer Hits ................................................... C-8
Pipeline Viewer and Disassembly Window Operations ............. C-8
Current Program Counter Value ......................................... C-9
Stepping ........................................................................... C-11
Simulator Options ................................................................ C-12
ADSP-TS20x Processors ............................................................. C-13
xviii VisualDSP++ 4.5 User’s Guide
Simulator Timing Analysis Overview .................................... C-13
Pipeline Stages ...................................................................... C-14
Stalls .................................................................................... C-15
Stalls Due to IALU Dependency ....................................... C-15
Stalls Due to Compute Block Dependency ........................ C-16
Stalls Due to a Cache Miss ............................................... C-17
Aborts .................................................................................. C-17
Aborts Due to an Unpredicted Change of Flow ................. C-18
Abort Due to Mispredicted Change of Flow ...................... C-19
Branch Target Buffer Hits ................................................ C-20
Pipeline Viewer and Disassembly Window Operations ........... C-20
Current Program Counter Value ....................................... C-21
Stepping .......................................................................... C-23
Simulator Options ........................................................... C-23
SIMULATION OF BLACKFIN PROCESSORS
Peripheral Support in Simulators .................................................. D-2
Special Considerations for Peripherals ........................................... D-7
Universal Asynchronous Receiver/Transmitter Peripheral ......... D-7
Timer (TMR) Peripheral ......................................................... D-7
Simulator Instruction Timing Analysis for ADSP-BF535 Processors D-9
Stall Reasons .......................................................................... D-9
Kill Reasons ......................................................................... D-10
Pipeline Viewer Window Examples ....................................... D-11
Pipeline Viewer Window Messages ........................................ D-12
VisualDSP++ 4.5 User’s Guide xix
Pipeline Viewer Detail View Stall Event Messages ............. D-12
Kills Detected Messages ................................................... D-16
Multicycle Instructions .................................................... D-17
Abbreviations in Pipeline Viewer Messages ............................ D-17
Simulator Instruction Timing Analysis for ADSP-BF531, ADSP-BF532,
ADSP-BF533, and ADSP-BF561 Processors ............................ D-19
Stall Reasons ........................................................................ D-19
Kill Reasons ......................................................................... D-20
Pipeline Viewer Window Examples ....................................... D-20
Multicycle Instructions and Latencies ......................................... D-22
Multicycle Instructions ......................................................... D-22
Push Multiple or Pop Multiple ......................................... D-22
32-Bit Multiply (modulo 232) ......................................... D-23
Call and Jump ................................................................. D-23
Conditional Branch ......................................................... D-23
Return ............................................................................. D-24
Core and System Synchronization .................................... D-24
Linkage ........................................................................... D-25
Interrupts and Emulation ................................................ D-25
TESTSET ....................................................................... D-25
Instruction Latencies ............................................................ D-26
Accumulator to Data Register Latencies ........................... D-27
Register Move Latencies ................................................... D-28
Move Conditional and Move CC Latencies ...................... D-30
Loop Setup Latencies ....................................................... D-31
xx VisualDSP++ 4.5 User’s Guide
Latencies Due to Instructions Within Hardware Loops ..... D-32
Instruction Alignment Unit Empty Latencies .................... D-33
L1 Data Memory Stalls ......................................................... D-34
Minibank Access Collision ............................................... D-35
SRAM Access (1-Cycle Stall) ........................................ D-35
Cache Access (1-Cycle Stall) ......................................... D-36
Memory-Mapped Register (MMR) Access ........................ D-39
System Minibank Access Collision .................................... D-39
Store Buffer Overflow ...................................................... D-39
Store Buffer Load Collision .............................................. D-40
Load/Store Size Mismatch ............................................ D-40
Store Data Not Ready .................................................. D-41
Instruction Groups ............................................................... D-41
Register Groups .................................................................... D-42
Compiled Simulation ................................................................. D-44
Specifying a Session for Compiled Simulation ....................... D-44
INDEX
VisualDSP++ 4.5 User’s Guide xxi
xxii VisualDSP++ 4.5 User’s Guide
PREFACE
Thank you for purchasing Analog Devices, Inc. development software for
digital signal processing (DSP) applications.
Purpose of This Manual
The VisualDSP++ 4.5 User’s Guide describes the features, components,
and functions of VisualDSP++. Use this guide as a reference for develop-
ing programs for SHARC®, TigerSHARC®, and Blackfin® processors.
This manual does not include detailed procedures for building and debugging projects. For how-to information, refer to VisualDSP++ online Help
and the VisualDSP++ 4.5 Getting Started Guide .
Intended Audience
The primary audience for this manual is a programmer who is familiar
with Analog Devices processors. This manual assumes that the audience
has a working knowledge of the appropriate processor architecture and
instruction set. Programmers who are unfamiliar with Analog Devices
processors can use this manual, but should supplement it with other texts
(such as the appropriate hardware reference and programming reference
manuals) that describe your target architecture.
VisualDSP++ 4.5 User’s Guide xxiii
Manual Contents
Manual Contents
The manual consists of:
• Chapter 1, “Introduction to VisualDSP++”
Describes VisualDSP++ features, license management, project
development, code development tools, VCSE, and DSP projects
• Chapter 2, “Environment”
Focuses on window features, operations, and customization for the
main window and debugging windows.
• Chapter 3, “Debugging”
Describes debug sessions, code analysis tools, program execution
operations, simulation tools, and utilities.
• Appendix A, “Reference Information”
Describes file types, keyboard shortcuts, command-line parameters,
scripting, toolbar buttons, and text operations; also provides a
glossary and describes online Help features and operations.
• Appendix B, “Simulation of SHARC Processors”
Describes the simulator options available on the Anomalies,
Events , Simulator , Load Sim Loader , and Select Processor ID
submenus under Settings; also explains how to record simulator
anomalies and events, and describes SPI simulation in slave mode.
• Appendix C, “Simulation of TigerSHARC Processors”
Describes simulator instruction timing analysis, pipeline stages, the
Pipeline Viewer, stalls, aborts, the current program counter value,
stepping, and the Select Loader Program command on the Simu-
lator submenu under Settings .
• Appendix D, “Simulation of Blackfin Processors”
Provides an overview of peripheral support for Blackfin simulators
and describes limitations of the simulation software models, simulator instruction timing analysis, and compiled simulation.
xxiv VisualDSP++ 4.5 User’s Guide
What’s New in This Manual
The VisualDSP++ 4.5 User’s Guide supports all Analog Devices, Inc.
processor families listed in “Supported Processors” on page -xxvii.
Refer to the list of new VisualDSP++ 4.5 user interface features in
“VisualDSP++ 4.5 Features” on page 1-7. Refer to the VisualDSP++ 4.5
Product Release Bulletin for information on new and updated
VisualDSP++ 4.5 features and other release information. Also refer to
VisualDSP++ Help for details.
Preface
VisualDSP++ 4.5 User’s Guide xxv
Technical or Customer Support
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:
http://www.analog.com/processors/technicalSupport
• E-mail tools questions to:
processor.tools.support@analog.com
• E-mail processor questions to:
processor.support@analog.com
• Phone questions to 1-800-ANALOGD
• Contact your Analog Devices, Inc. local sales office or authorized
distributor
• Send questions by mail to:
Analog Devices, Inc.
One Technology Way
P.O. Box 9106
Norwood, MA 02062-9106
USA
xxvi VisualDSP++ 4.5 User’s Guide
Preface
Supported Processors
The following is the list of Analog Devices, Inc. processors supported in
VisualDSP++ 4.5.
TigerSHARC (ADSP-TSxxx) Processors
The name “TigerSHARC” refers to a family of floating-point and
fixed-point [8-bit, 16-bit, and 32-bit] processors. VisualDSP++ currently
supports the following TigerSHARC processors:
ADSP-TS101 ADSP-TS201 ADSP-TS202 ADSP-TS203
SHARC (ADSP-21xxx) 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-21020 ADSP-21060 ADSP-21061 ADSP-21062
ADSP-21065L ADSP-21160 ADSP-21161 ADSP-21261
ADSP-21262 ADSP-21266 ADSP-21267 ADSP-21362
ADSP-21363 ADSP-21364 ADSP-21365 ADSP-21366
ADSP-21367 ADSP-21368 ADSP-21369 ADSP-21371
ADSP-21375
Blackfin (ADSP-BFxxx) Processors
The name “Blackfin” refers to a family of 16-bit, embedded processors.
VisualDSP++ currently supports the following Blackfin processors:
VisualDSP++ 4.5 User’s Guide xxvii
Product Information
ADSP-BF531 ADSP-BF532
ADSP-BF533 ADSP-BF535
ADSP-BF561 AD6531, AD6532, AD6900, AD6901,
AD6902, and AD6903
ADSP-BF534 ADSP-BF536
ADSP-BF537 ADSP-BF566
ADSP-BF538 ADSP-BF539
Product Information
You can obtain product information from the Analog Devices Web site,
from the product CD-ROM, or from the printed publications (manuals).
Analog Devices is online at www.analog.com . Our Web site provides information about a broad range of products—analog integrated circuits,
amplifiers, converters, and digital signal processors.
MyAnalog.com
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 on
products you are interested in. You can also choose to receive weekly
e-mail notifications containing updates to the Web pages that meet your
interests. MyAnalog.com provides access to books, application notes, data
sheets, code examples, and more.
Registration
Visit www.myanalog.com to sign up. Click Register to use MyAnalog.com.
Registration takes about five minutes and serves as a means to select the
information you want to receive.
xxviii VisualDSP++ 4.5 User’s Guide
Preface
If you are already a registered user, just log on. Your user name is your
e-mail address.
Processor Product Information
For information on embedded processors and DSPs, visit our Web site at
www.analog.com/processors, which provides access to technical publica-
tions, data sheets, application notes, product overviews, and product
announcements.
You may also obtain additional information about Analog Devices and its
products in any of the following ways.
• E-mail questions or requests for information to
processor.support@analog.com (World-wide support)
processor.europe@analog.com (Europe support)
processor.china@analog.com (China support)
• Fax questions or requests for information to
1-781-461-3010 (North America)
+49-89-76903-157 (Europe)
• Access the FTP Web site at
ftp ftp.analog.com or ftp 137.71.25.69
ftp://ftp.analog.com
Related Documents
For information on product related development software, see these
publications:
• VisualDSP++ 4.5 Getting Started Guide
• VisualDSP++ 4.5 Assembler and Preprocessor Manual
• VisualDSP++ 4.5 C/C++ Compiler and Library Manual for SHARC
Processors
VisualDSP++ 4.5 User’s Guide xxix
Product Information
• VisualDSP++ 4.5 C/C++ Compiler and Library Manual for
TigerSHARC Processors
• VisualDSP++ 4.5 C/C++ Compiler and Library Manual for Blackfin
Processors
• VisualDSP++ 4.5 Linker and Utilities Manual
• VisualDSP++ 4.5 Loader and Utilities Manual
• VisualDSP++ 4.5 Product Release Bulletin
• VisualDSP++ 4.5 Kernel (VDK) User’s Guide
• VisualDSP++ 4.5 Installation Quick Reference Card
L
For hardware information, refer to your processors’s hardware reference,
instruction set reference (or programming reference), and data sheet. All
documentation is available online. Most documentation is available in
printed form.
Visit the Technical Library Web site to access all processor and tools manuals and data sheets:
http://www.analog.com/processors/resources/technicalLibrary
Throughout this manual and online Help, tools manuals are often
identified by their titles, but without their software version (that is,
the 4.5 is not shown).
Online Technical Documentation
Online documentation comprises the VisualDSP++ Help system, software
tools manuals, hardware tools manuals, processor manuals, the Dinkum
Abridged C++ library, and Flexible License Manager (FlexLM) network
license manager software documentation. You can easily search across the
entire VisualDSP++ documentation set for any topic of interest. For easy
printing, supplementary
.PDF files of most manuals are also provided.
xxx VisualDSP++ 4.5 User’s Guide