手把手教你学dspccs3 3setupdocspdfspru599d_第1页
手把手教你学dspccs3 3setupdocspdfspru599d_第2页
手把手教你学dspccs3 3setupdocspdfspru599d_第3页
手把手教你学dspccs3 3setupdocspdfspru599d_第4页
手把手教你学dspccs3 3setupdocspdfspru599d_第5页
已阅读5页,还剩44页未读, 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、TMS320C55x Instruction Set SimulatorTechnical ReferenceLiterature Number: SPRU599DApril 20052SPRU599D April 2005ContentsPreface .78991010101011Introduction to the TMS320C55x Simulator .1.1Features.1.2Processors Supported by the C55x Simulator .1.3Considerations for Choosing a Simulator .1.4Supported

2、 Hardware Resources .1.4.1CPU .1.4.2Memory .1.4.3Peripherals .Supported Simulation Features .1213141415171717171818181919191920202121232424242525252626262629External Event and Data Simulation .2.1.1Pin Connect .2.1.2Port Connect .Pipeline Stall Analyzer.Simulation Pipeline Modes .2.3.1Switching Betw

3、een the Modes .2.3.2Effects of Mode Switching .2.3.3Recommendations on Simulation Mode .2.3.4Related Warnings .Simulator Analysis.Address Trace Support .RTDX .DSP/BIOS .Bootload .Changing the Stack Configuration .C54x Compatible Mode Operation.Stack Size Reporting .Rewind.

4、2Detailed Capabilities of Individual Configurations .3C55x Rev 2.x CPU Functional Simulator/C55x Rev 3.0 CPU Functional Simulator .3.1.1Capabilities.3.1.2Unsupported Features.C55x Rev 2.x CPU Cycle Accurate Simulator/C55x Rev 3.0 CPU Cycle Accurate Simulator.3.2.1Capabilities.3.2.2Limitat

5、ions.C5502 Device Simulator.3.3.1CPU .3.3.2Internal Memory Subsystem .3.3.3Peripherals .3.3.4RTDX Support .SPRU599D April 2005Contents33.3.5Self-Modifying Code .C5510 Device Simulator.3.4.1CPU .3.4.2Internal Memory Subsystem .3.4.3Peripherals .3.4.4RTDX Support .3.4.5HWA Support .3.4.6Self-

6、Modifying Code .3.4.7Unsupported Modules .3.4.8Other Limitations .2930303030313232323233343435353738383838383939404040414141414142454748493.4Differences Between Simulator and Silicon .4.1Features to Detect Hardware Limitations .4.1.1Memory Bypass Detection .4.1.2Wrap-Around Detection .4.2Reload/Rest

7、art Behavior in the Simulator.Configuring the Simulator .45Setting the Wrap-Around Detection Feature.Setting the Bootload on the C5502 Device Simulator .Setting the Overlay Mode .Setting the Address Trace Generation Mode.Setting Up the Rewind Feature.Creating a Memory Map.5.6.1Configuration File.5.6

8、.2Fields in Memory Map Specifications .File Format for Pin Connect.5.7.1Setting Up the Input File.5.7.2Absolute Clock Cycle .5.7.3Relative Clock Cycle .5.7.4Repetition of Patterns for a Specified Number of Times .5.7.5Repetition to the End of Simulation (EOS).Setting the Memory Bypass Detection Mode

9、s .Applicable Configurable Features for Individual Configurations .Base Configuration File.5.10Statistics .6Performance Numbers.Cycle Accuracy .6.16.24ContentsSPRU599D April 2005List of TablesProcessors Supported by the C55x Simulator9Peripherals Supported by the C55x Simu

10、lator111-11-22-12-25-16-16-2Pins Supported by the Pin Connect Feature of theC55x Simulator .Available Memory Ranges for Port Connect for TMS320C55x Devices .Applicable Configuration File Entries for C55x Simulator Configurations.Performance Numbers of the C55x Simulator.Benchmarking Data for C5500 S

11、imulators.1416434849SPRU599D April 2005List of Tables56List of TablesSPRU599D April 2005PrefaceSPRU599D April 2005Read This FirstAbout This ManualThis manual does the following:Names the TMS320C55x digital signal processors that are supported by configurations of the C55x Instruction Set Simulator.L

12、ists which modules and pins of each device are modeled Describes capabilities and limitations of the simulator Explains how to configure the simulatorProvides some benchmarking data on cycle accuracyNotational ConventionsThis document uses the following conventions:Program examples are shown in a sp

13、ecial typeface.In syntax descriptions, key words or symbols are shown in bold and variables are shown in italics. Portions of a syntax that are in bold should be entered as shown; portions of a syntax that are in italics describe the type of information that should be entered.Square brackets (and) i

14、dentify an optional parameter. If you use an optional parameter, you specify the information within the brackets. Unless the square brackets are in a bold typeface, do not enter the brackets themselves.Braces ( and ) indicate that you must choose one of the parameters within the braces; you do not e

15、nter the braces themselves.The pipe symbol ( | ) represents a logical OR.Related Documentation From Texas InstrumentsTMS320C55x DSP CPU Reference Guide (SPRU371) describes the architecture, registers, and operation of the CPU for the TMS320C55x fixed-point DSPs. This book also describes how to make

16、individual portions of the DSP inactive to save power.TMS320C55x DSP Peripherals Reference Guide (SPRU317) describes the peripherals, interfaces, and related hardware that are available on TMS320C55x DSPs.TMS320C55x DSP Mnemonic Instruction Set Reference Guide (SPRU374) describes the TMS320C55x DSP

17、mnemonic instructions individually. Also includes a summary of the instruction set, a list of the instruction opcodes, and a cross-reference to the algebraic instruction set.TMS320C55x DSP Algebraic Instruction Set Reference Guide (SPRU375) describes the TMS320C55x DSP algebraic instructions individ

18、ually. Also includes a summary of the instruction set, a list of the instruction opcodes, and a cross-reference to the mnemonic instruction set.TrademarksTMS320C55x, C55x, Code Composer Studio, TMS320C5000, RTDX, DSP/BIOS, C54x are trademarks of Texas Instruments.Intel, Pentium are trademarks of Int

19、el Corporation or its subsidiaries in the United States and other countries.SPRU599D April 2005Read This First7Chapter 1SPRU599D April 2005Introduction to the TMS320C55x SimulatorThe TMS320C55x Instruction Set Simulator, available within the Code Composer Studio Integrated Development Environment (I

20、DE) for TMS320C5000, simulates the instruction set of many members of the C55x family of devices.TopicPage8Introduction to the TMS320C55x SimulatorSPRU599D April 20051.1 Features91.2 Processors Supported by the C55x Simulator91.3 Considerations for Choosing a Simulator101.4 Supported Hardware Resour

21、Features1.1FeaturesThe TMS320C55x simulators support the following features:TMS320C55x CPU full instruction set architecture executionPipeline protection for internal registers and memory locations Parallel instruction executionSupport for embedded breakpoints by estop_1 instructionsC

22、onfigurable memory simulationExternal memory interface and subsystem for C5510 and C5502 device simulators Port Connect, supports external peripheral simulationPin Connect, supports external interrupt simulation Simulator analysis supportAddress trace supportRewind support for C55x CPU simulators RT

23、DX support Host-target and target-host communication DSP/BIOS Real-Time Analysis (RTA) support Pipeline stall analyzer supportSupport for generic hardware accelerator interface1.2Processors Supported by the C55x SimulatorTable 1-1 lists the processors supported, with the corresponding configuration

24、to be selected under the Import Configuration menu of Code Composer Studio Setup. The default configuration at installation is the C55x Rev 2.x CPU Functional Simulator. Subsequently, as Code Composer Studio IDE starts up it will load the most recent configuration selected in Code Composer Studio Se

25、tup.Table 1-1. Processors Supported by the C55x Simulator(1)C5510 Device Simulator configuration is the nearest possible configuration for the C5509 device. Users can use the C5510 Device Simulator with the memory configuration of the C5509 device, which can be configured using the SIM5510.cfg file.

26、 Peripheral simulation is not supported for USB, I2C, MMC and Memory Stick.SPRU599D April 2005Introduction to the TMS320C55x Simulator9PROCESSORCODE COMPOSER STUDIO IDE IMPORT CONFIGURATIONTMS320C55xC55x Rev 2.x CPU Functional SimulatorTMS320C55xC55x Rev 3.0 CPU Functional SimulatorTMS320C55xC55x Re

27、v 2.x CPU Cycle Accurate SimulatorTMS320C55xC55x Rev 3.0 CPU Cycle Accurate SimulatorTMS320C5502C5502 Device SimulatorTMS320C5510C5510 Device SimulatorTMS320C5509C5510 Device Simulator(1)Considerations for Choosing a Simulator1.3Considerations for Choosing a SimulatorThe different simulato

28、r configurations provide a trade-off between the functionality modeled, cycle accuracy of the simulation and simulation performance. Based on the needs of the application, in terms of the target functionality modeled and the levels of cycle accuracy required, different configurations can be used.The

29、 Functional Simulator can be used when the user is interested in functional verification of the core algorithm. Here, the user is not concerned about the cycle numbers and full device features.The Cycle Accurate CPU Simulator configuration can be used if the users primary interest is in optimizing t

30、he core algorithms. Here the user is concerned with cycle accuracy of the core and does not need full device simulation. Cycle-accurate SARAM/DARAM memory modules are supported with this configur- ation.The Device Simulator configurations model most of the peripherals of the device. The peripherals

31、modeled are cycle accurate, as in the silicon. These simulators can be used to get an indication of the cycle behavior of the application.1.4Supported Hardware ResourcesThe following sections provide a concise overview of the supported hardware resources for each of the simulator configurations. For

32、 more detailed information, see Chapter CPUCPU Revision 2.2 forms the core of C55x Rev 2.x simulators and C55x-based device simulators. CPU Revision 3.0 forms the core of C55x Rev 3.0 simulators. C55x simulators are available at the following two levels of accuracy: Functional Accuracy - the

33、simulator simulates all the instructions functionally, neglecting pipeline effects. Cycle Accuracy - the simulator is pipeline accurate. Cycle effects are modeled.All the C55x devices (C5510 and C5502) use the Cycle Accurate CPU simulator. In both cases the full instruction set architecture executio

34、n is supported. For more information, refer to the TMS320C55x DSP CPU Reference Guide (SPRU371), the TMS320C55x DSP CPU Mnemonic Instruction Reference Guide (SPRU375), and the TMS320C55x DSP CPU Algebraic Instruction Reference Guide (SPRU374).1.4.2MemoryThe memory supported varies by the simulator c

35、onfiguration.C55x Rev 2.x CPU Functional SimulatorThe C55x Rev 2.x CPU Functional Simulator uses the flat memory system (memory with no latency and no DARAM/SARAM).C55x Rev 3.0 CPU Functional SimulatorThe C55x Rev 3.0 CPU Functional Simulator uses the flat memory system (memory with no

36、 latency and no DARAM/SARAM).C55x Rev 2.x Cycle Accurate CPU SimulatorThe C55x Rev 2.x Cycle Accurate CPU Simulator supports program/data memory with latency for SARAM/DARAM models. If the memory configuration is not provided, a flat memory system is used as default.10Introduction to the TMS320C55x SimulatorSPRU599D April 2005Supported Hardware ResourcesC55x Rev 3.0 Cycle Accurate CPU SimulatorThe C55x Rev 3.0 Cycle Accurate CPU Simulator supports program/data memory with latency for SARAM/DARAM models. If the memory configuration is not provided, a

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论