版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、2NEW FEATURES AND ENHANCEMENTSVisualDSP+ consists of an integrated project management and debug- ging environment for Analog Devices Digital Signal Processor (DSP) tools assembler, C/C+ compiler with run-time library, preprocessor, linker, and loader. The environment and tools work together to provi
2、de you an integrated environment for developing applications for the ADSP-21xxx SHARC DSP family of 32-bit, floating-point processors.This chapter describes the features of VisualDSP+ and SHARC Develop- ment Tools and the major enhancements introduced in VisualDSP+ Release 1.0.Processor SupportVisua
3、lDSP+ Release 1.0 supports the ADSP-21xxx SHARC family of 32-bit, floating-point processors ADSP-21060/60L,ADSP-21060C/LC, ADSP-21061/61L, ADSP-21062/62L, ADSP-21065L, ADSP-21160, and ADSP-21161N.VisualDSP+VisualDSP+ provides an easy-to-use project management environment comprised of an integrated d
4、evelopment environment (IDE) and a debug- ger. VisualDSP+ lets you manage projects from start to finish within a single, integrated interface. Because the project development and debug environments are integrated, you can move easily between editing, build- ing, and debugging activities.Product Bull
5、etin for VisualDSP+ and ADSP-21xxx Family DSPs2-1VisualDSP+The VisualDSP+ IDE and Debugger are supported on Windows 95,Windows 98, Windows NTTM, and Windows 2000. Consult the talla- tion Quick Reference Card, included in your software distribution kit, for information about minimum system requiremen
6、ts.VisualDSP+ Release 1.0 EnhancementsVisualDSP+ Release 1.0 includes some general enhancements that apply to both the IDE and Debugger:Extensive online Help. The Help system, now in HTML format, has been completely revised. It includes extensive context-sensitive help or popups for all fields, comm
7、ands, and menu items. It includes index and search functions, and enhanced procedural information about the VisualDSP+ interface, project development concepts, and debugging activities.Customizable user interface. The VisualDSP+ user interface has been enhanced to let you easily customize the Visual
8、DSP+ envi- ronment through preference dialogs. You can customize toolbars and windows, initialize tool activities, and define shortcuts. You can now also dock and undock windows.Other new features and enhancements to the IDE and Debugger are docu- mented later in this chapter; see “VisualDSP+ IDE En
9、hancements” on page 2-3 and “VisualDSP+ Debugger Enhancements” on page 2-5.VisualDSP+ IDE FeaturesThe Integrated Development Environment (IDE) provides flexible project management for the development of DSP applications. From the IDE, you can access all the activities necessary to create and debug D
10、SP projects. From the IDE, you can:2-2Product Bulletin for VisualDSP+ and ADSP-21xxx Family DSPsNew Features and EnhancementsEdit text files. You can create and modify source files, and view list- ing or map files generated by the ADSP-21xxx SHARC Develop- ment Tools. The IDE editor supports syntax
11、highlighting, color coding, OLE drag/drop, bookmarks, undo/redo, find/replace, cut, copy, paste and print functions.Define and manage projects. You can specify the files that the development tools process when building your projects. You can create this project definition once, or modify it to meet
12、changing development needs.Access the ADSP-21xxx SHARC Development Tools. The IDE provides dialogs through which you specify options for the Tools.These options control how the tools process inputs and generate outputs, and have a one-to-one correspondence to the tools com- mand line switches. You c
13、an define these options once, or modify them to meet changing development needs.View and respond to project build results. You can view the status of your project while the build is in progress and, if necessary, halt the build. You can click on an error message displayed in the Output window to vie
14、w the source file containing the error.Launch and debug programs. Once your projects are built, you can run the debugger directly from the IDE.VisualDSP+ IDE EnhancementsVisualDSP+ Release 1.0 has been enhanced to allow you to more easily manage your projects and project builds. The enhancements inc
15、lude: More flexible project build options. You nowhave more flexibility in defining project builds. On a project-wide basis, you can create mul- tiple build configurations and exclude a file from a build. On aper-file basis, you can define custom command lines or call a third-party utility.Product B
16、ulletin for VisualDSP+ and ADSP-21xxx Family DSPs2-3VisualDSP+ More extensive find/replace functions. You can now search and replace in any file within a project. Find/replace allows search for a text string or regular expressions. Improvedprojectfilemanagement.Youcan now includesubfolders and files
17、 of any type, including text files, in a project. Improved Makedependencies support. The IDE now calls the code generation tools to retrieve make dependencies information.The IDE is documented in online Help and in the VisualDSP+ UsersGuide for ADSP-21xxx Family DSPs.VisualDSP+ Debugger FeaturesThe
18、VisualDSP+ Debugger can be run from the IDE or as a stand-alone program. When you have finished building your project in the IDE, you click on the ladybug icon to open the current project, already configuredan loaded as the Debugger begrunning. You can move freely betweenthe IDE and debugger to corr
19、ect programming errors and rebuild projects.The debugger has an intuitive, easy-to-use, common interface for all pro- cessor simulators (software targets) and emulators (hardware targets). You only need to learn one debugging interface to debug all your DSP applica- tions. The VisualDSP+ Debugger su
20、pports SHARC development boards and emulators available from Analog Devices and many third party board support packages.From the Debugger, you can perform all activities necessary to debug and analyze your DSP projects. From the Debugger you can: View anddebugmixed C/C+ and assemblycode. You can vie
21、w C/C+ source interspersed with resulting assembly code. The debugger displays the line number and symbol information to assistyouource-level debugging of assembly files.2-4Product Bulletin for VisualDSP+ and ADSP-21xxx Family DSPsNew Features and EnhancementsPerformcoredebugoperations. You canviewt
22、hestate of aprocessor, including memory, registers, and stacks. You can set simulated watch points on stacks, registers, memory or symbols to halt pro- gram execution when a certain condition is met. You can set break- points to examine program execution.Analyze code behavior. Use the Debuggers trac
23、e capability to cap- ture a history of program execution. You can profile program exe- cution within a selected range of code or new to this release use statistical profiling to randomly sample the processors program counter to examine general program performance.Simulate the hardware environment. Y
24、ou can simulate random inter- rupts, data transfers, and processor booting from a PROM or host processor.Debug multiple processors in a single session. You can debug multi- ple processors concurrently within a single session, performing syn- chronous debug operations such as run, step, and halt. New
25、 to this release you can group processors to synchronize multiprocessor commands. Multiprocessing is supported during emulation for tar- get processors that can be emulated.Usecommand line scripts to customize the debugger. The debugger supports the Tool Command Language (Tcl) version 8. Using the T
26、cl language and its ADI extensions, you can to customize key fea- tures of the debugger. New to this release the debugger automati- cally executes Tcl commands entered in the output window.VisualDSP+ Debugger EnhancementsThe VisualDSP Debugger has been enhanced to allow you to more easily debug your
27、 applications. The enhancements include:Product Bulletin for VisualDSP+ and ADSP-21xxx Family DSPs2-5SHARC Development ToolsImproved information retrieval/display. The memory and disassem- bly windows have been redesigned to optimize calls to debugger tar- gets. As a result, windows are updated more
28、 efficiently.Statistical profiling. The Debugger samples the target processors program counter (PC) at random intervals to let you examine gen- eral program performance. Statistical profiling is non-intrusive for applications on emulator targets.Support for multiprocessing groups. You can now group
29、processors to synchronize on multiprocessor commands such as MP run and MP halt. By grouping processors, you can more easily manage debug- ging of multiprocessor applications. These new groups are easy to define and manage.Enhanced breakpoint settings. You can enable, disable, and define the number
30、of times to skip a breakpoint through the breakpointdialog or by clicking on antruction in the disassembly window.You can also define a conditional breakpoint based on an expressionevaluating as “true”.Enhanced Tcl support. You can now execute Tcl commands through the debugger console window. Tcl ex
31、tensions have been added to support the new breakpoint enable/disable settings.The VisualDSP+ debugger is documented in online Help and in theVisualDSP+ Users Guide for ADSP-21xxx Family DSPs.SHARC Development ToolsADSP-21xxx SHARC Development Tools support project development for the SHARC family p
32、rocessors. The tools now include support for the ADSP-21161N DSP, a new processor from Analog Devices.All development tools can be run from the VisualDSP+ environment orthrough the tools command line interface. Depending on the software kit2-6Product Bulletin for VisualDSP+ and ADSP-21xxx Family DSP
33、sNew Features and Enhancementsyou have selected, ADSP-21xxx SHARC Development Tools includes an Assembler, C/C+ Compiler and Run-time Library, and a Linker and util- ities that enable you to program applications to run efficiently on Analog Devices SHARC DSPs.This section provides an overview of the
34、 new features and enhancements to the Assembler, C/C+ Compiler and Run-time Library, Preprocessor, and Linker for VisualDSP+ Release 1.0. Changes that affect existing pro- grams or scripts are documented in Chapter 3, Differences Between Releases.The SHARC Development Tools are documented in online
35、Help, and inVisualDSP+ Users Guide for ADSP-21xxx Family DSPs, Assembler Manual for ADSP-21xxx Family DSPs,C/C+ Compiler & Library Manual for ADSP-21xxx Family DSPs, and Linker & Utilities Manual for ADSP-21xxx Family DSPs.Assembler EnhancementsThe Assembler introduces the following enhancements:Sup
36、port for mixed C+ and Assembly. Just as you can mix C and Assembly code, you can also mix C+ and Assembly. You can call assembly language subroutines from C+ and you can call C+ functions from an assembly language program. Refer to the C/C+ Compiler & Library Manual for ADSP-21xxx Family DSPs for a
37、full description of rules for each language.Supportfor Makedependencygeneration. Theassembler nowsup- ports Make dependency generation through four new command line switches: -M, - MM, -Mt, and -Mo. The IDE calls the assembler to obtain this Make dependency information for any build request.Product
38、Bulletin for VisualDSP+ and ADSP-21xxx Family DSPs2-7SHARC Development ToolsSupport for DSP-specific code generation. The assembler supports code generation for specific SHARC processors through the com- mand line switches -21060, -21061, -21062, -21065L, -21160 and-21161.Support for Assembler direc
39、tives. The Assembler introduces the.FILE and .SIZE directives and an enhancement to the .VAR directive to let you define variable-length arrays or implicit buffers. These directives are described in Table 2-1 New Assembler Directives and Operators.Table 2-1. New Assembler Directives and OperatorsFor
40、 information about Assembler changes that affect existing programs or command lines, see “Assembler/Preprocessor Changes” on page 3-1 of this manual.The Assembler is documented in the Assembler Manual for ADSP-21xxx Family DSPs. The SHARC DSP familytruction set is documented in the ADSP-2106x SHARC
41、Users Manual (for the ADSP-21060/60L, ADSP-21061/61L, and ADSP-21062/62L DSPs), the ADSP-21065LTechnical Reference (for the ADSP-21065L DSP), and the ADSP-21160 DSP truction Set Reference (for the ADSP-21160 and ADSP-21161N DSPs).2-8Product Bulletin for VisualDSP+ and ADSP-21xxx Family DSPsDirective
42、Description.FILEOverrides filename given on the command line. Used by compiler.SIZECalculates the size of a function.VAR bufferNamelength=initExpression1, initExpression2,.;Initializes bufferName by the number of ele- ments in the expression. The optional length defines the bufferName length in word
43、s.New Features and EnhancementsCompiler and Run-time Library EnhancementsThe compiler (cc21k) now supports the proposed Embedded C+ Stan- dard. The Embedded C+ Standard defines a subset of the full ISO/IEC 14882:1998 C+ language standard. cc21k supports the proposed stan- dard definition, templates,
44、 and all other features of the full C+ standard, except for exception handling and run-time type identifications. The cc21k compiler also includes the Abridged Library, a conforming subset of the Standard C+ Library. The Abridged Library includes the Embedded C+ and Embedded Standard Template Librar
45、ies.C+ and other new features and enhancements are discussed in the follow- ing sections “Compiler Enhancements” on page 2-9 and “Run-time Library Enhancements” on page 2-14.For information about Compiler and Run-time Library changes that affect existing programs or command lines, see “C Compiler Ch
46、anges” on page 3-2 and “Run-time Library Enhancements” on page 2-14 of this manual.Compiler EnhancementsThe C/C+ compiler (cc21k) introduces the following new features and enhancements to support C+ and new SHARC DSPs.C+ mode switch and file extensions. You specify C+ compiler mode through the comma
47、nd-line -c+. C+ input files are identi- fied through three new file extensions: .cpp, .cxx, and .pch. The .cpp and .cxx extensions identify C+ source files. The .pch extension identifies a precompiled C+ header file.Support for mixed C+ and Assembly. Just as you can mix C and Assembly code, you can
48、also mix C+ and Assembly. You can call assembly language subroutines from C+ and you can call C+ functions from an assembly language program. The C/C+ Com- piler & Library Manual for ADSP-21xxx Family DSPs, “C/C+ and Assembly Interface” provides a complete description of usage rules.Product Bulletin
49、 for VisualDSP+ and ADSP-21xxx Family DSPs2-9SHARC Development ToolsC+ Support for Common Switches and Extensions. The Release 4.1 C switches and extensions to the ANSI standard are supported in C+ mode.New compiler switches. cc21k supports several new switches that are common to C and C+. These swi
50、tches are listed inTable 2-2 New C/C+ Compiler Switches.Table 2-2. New C/C+ Compiler Switches2-10Product Bulletin for VisualDSP+ and ADSP-21xxx Family DSPsNew SwitchOperation-21161Generate code for the ADSP-21161 DSP.-A symboltokensAssert the specified name as a predicate.-aligned-stack-no-aligned-s
51、tackSpecify alignment of the program stack on the double-word boundary.-c+Compile C+ source.-default-linkageSet the default linkage type (C, C+, asm)-flags-prelinkDirect the compiler to pass -prelink switch to other build tools.-line-debugGenerate limited debug information.-path-output directorySpec
52、ify the location of non-temporary files.-path-prelinkSpecify a directory for use by specified compila- tion tool.-pchGenerate/use precompiled C+ header files.-pchdir directorySpecify location of the PCH Repository.-pplist filenameOutput a raw preprocessed listing to filename.New Features and Enhance
53、mentsTable 2-2. New C/C+ Compiler Switches(Contd)Predefined macros for the ADSP-21161 DSP and C+. The compiler supports new predefined macros, as described inTable 2-3 Predefined Macros:Table 2-3. Predefined MacrosSupport for Fractional and Saturated arithmetic. In C+ mode only, the compiler support
54、s fractional (fixed-point) and saturated arith- metic. Fractional values are declared with the fract data type. fract is a C+ class that supports standard arithmetic operations used in arithmetic expressions, and some type-conversion operations.Product Bulletin for VisualDSP+ and ADSP-21xxx Family D
55、SPs2-11MacroDescriptionADSP21161 ADSP21161 Defined as 1 when compiled with the -21161switch. cplusplusDefined as 1 when compiled with the -c+switch.New SwitchOperation-R directoryAppend directory to the standard source file search path.-showDisplay driver command-line information.-sysdefDefine syste
56、m definition macros.-warn-protosProduce a warning if a function is called without a prototype.-Werror|remark numberOverride the severity of a diagnostic message.-xref filenameOutput cross-reference information to filename.SHARC Development ToolsC+ mode switches. cc21k supports new switches specific
57、to C+ compile mode. These switches are listed in Table 2-4 C+ Compiler Mode Switches:Table 2-4. C+ Compiler ModeSwitches2-12Product Bulletin for VisualDSP+ and ADSP-21xxx Family DSPsSwitch NameDescription-alttokAllow alternative keywords and sequencesources.-boolEnable the bool keyword.-dollarAccept dollar signsymbols.-explicitSupport the explicit specifier on constructor declar
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026机动车检验机构授权签字人能力验证考核历年参考题库含答案详解
- 2026年外科主治医师突破试题及答案
- 2026山东乡村医生招聘考试(中医临床专业)历年参考题库含答案详解
- 2026四川省教师招聘考试(信息技术)历年参考题库含答案详解
- 2026年外科手术部位感染预防与控制技术指南题含答案
- 2026年外科护理考核试题(含答案)
- 初中地理八年级下册第五章第一节中国地理区域的划分教学设计
- 高中信息技术必修1 项目四 认识智能停车场中的数据处理 教学设计
- 中职电子商务专业二年级《网络营销实务》教学设计:大促节点下店铺限时免单与折扣叠加策略的落地推演
- 初中八年级生物教学设计:预防接种与免疫规划
- 2025~2026学年江苏省南京市金陵汇文中学九年级上学期12月月考化学试卷
- 2026年高校教师资格证之高等教育学考试题库附参考答案【综合题】
- 工程伦理-形考任务二(权重20%)-国开(SX)-参考资料
- 文学写作入门(华东师范大学)学习通网课章节测试答案
- 第7课 我是班级值日生(教学课件)小学二年级上册 统编版《道德与法治》新教材
- 冬季采购融雪剂项目方案投标文件(技术方案)
- 保定法院书记员考试试题及答案
- 板块运动与地貌课件高中地理选择性必修1
- 子宫穿孔护理技术规范
- GB/T 9799-2024金属及其他无机覆盖层钢铁上经过处理的锌电镀层
- 感悟考古-知到答案、智慧树答案
评论
0/150
提交评论