Research and Design of Tool-chain Software Development Based on Spock Processor

Author
ZhangChunFang
Advisor
YanXiaoLang
School
Zhejiang University
Major
Circuits and Systems
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2007
Downloads
26
Citations
0

Request the full text

Abstract

With the rapid development of integrated circuits and semiconductors , DSP processor has been widely promoting the DSP design consists of three parts : the DSP hardware implementation , design and system software development tool chain synthesis and verification . Software development tool chain occupies an important role in the whole process . In this paper, a software development tool chain organization structure , design theory and implementation principle tool chain related to the compiler , assembler , linker , emulator and debugger . On this basis , a software development tool chain designed for independent research and development of embedded DSP processor Spock . Spock is a 32 - bit instructions , 16-bit data , the the RISC structure of DSP processor , can be used for audio processing and video processing SoC entropy encoding / decoding acceleration . Software development tool chain , the compiler is based on LCC design improvements , then transplant the front-end code , and the development of back-end and join optimization . Used to compile C / C development , complete front-end syntax analysis and back-end target code generation , link Used XML script -aided design , complete the symbol resolution and relocation . Emulator and debugger-use C / C to complete the implementation. Of this study design compiler, assembler , linker , simulator and debugger has played a good role in promoting good performance and reliability , the DSP design . The same time, are summarized in the design of the software development tool chain chain software tools for DSP design flow , this method has a certain universal value , especially with an important contribution to the to explore DSP Development rationalization process .

Table of contents

Abstract 3-4 Abstract 4-5 directory 5-8 first chapter 8-13 <br / > 1.1 domestic IC design conditions 8-9 1.2 DSP development 9-10 1.3 software development tool chain design methods 10-11 1.4 tool chain structure 11 1.5 source topic, purpose 11-12 1.5.1 source topics 11-12 <br / > 1.5.2 Objective 12 1.6 This paper studies the structure and main contents 12-13 Chapter II DSP, and Spock describes 13-23 2.1 DSP concepts and features 13-14 2.1.1 Instruction Set Comparison 13-14 2.1.2 Architecture Comparison 14 <br / > 2.2 Spock's structure and characteristics 14-23 2.2.1 Spock DSP hardware structure 14-15 2.2.2 Spock main features 15 - 17 2.2.3 Spock instruction set 17-18 2.2 4 Spock pipeline definitions 18-19 2.4.5 Spock control path 19 -20 2.2.6 Spock datapath 20-23 Chapter tool chain structure 23-31 3.1 tool chain introduced 23 3.2 compiler principle and process 23-29 3.2.1 lexical analysis procedures 24-25 3.2.2 parser 25 -26 3.3.3 semantic analysis procedures 26-27 3.3.4 intermediate code generator 27 3.3.5 code optimization procedures 27 -28 3.3.6 target code generation 28 3.3.7 symbol table management 28 3.3.8 Error Handling 28-29 3.3 assembler works 29 3.4 Linker Description 29-30 3.5 emulator debugger 30-31 first Spock chapters LCC principle and the realization 31-62 4.1 LCC introduction 31 4.2 LCC principle analysis 31-46 4.2 .1 LCC data structure 32-39 4.2.2 LCC compiler processes 39-42 4.2.3 LCC lexical and syntax analysis 42 - 44 4.2.4 LCC backend design 44-46 4.3 LCC Spock on the realization 46-59 4.3.1 Basic data structure definitions 46-47 4.3.2 registers and memory usage conventions 47-50 4.3.3 function calling convention 50 4.3.4 instruction selection 50-52 4.3.5 register allocation 52-53 4.3.6 front-end interface functions to achieve 53-59 4.4 Spock in the right LCC optimization 59-62 4.4.1 temporary register allocation optimization 59-61 4.4.2 Optimization of register variables are allocated register 61-62 Chapter Spock toolchain other tools designed 62-68 5.1 Spock assembler 62-64 5.2 Spock linker 64 - 66 5.3 Spock instruction emulator and debugger 66-68 Chapter Summary and Outlook 68-70 6.1 Summary 68 6.2 Prospects 68-70 References 70-73 Thanks 73

Related dissertations

  1. Design and Implementation of Configurable Compiling Tools
    ZouYao ·Shanghai Jiaotong University ·2008 ·Master's thesis
  2. Design and Implementation of game scripting engine
  3. The Primary Assembler Optimizing of DSP C Compiler Based on GCC
    ZuoFeng ·Suzhou University ·2005 ·Master's thesis
  4. Design and Implementation of Robot Graphic Programming System
    XuCheng ·Wuhan University of Technology ·2010 ·Master's thesis
  5. Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
    GuoJian ·Central South University ·2013 ·Master's thesis
  6. Intelligent Video Surveillance System Based on DSP
  7. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  8. The Design of Monitoring System for the Photovoltaic Plant Based on DSP
  9. Design and Implementation of Multi-channel Data Acquisition System
  10. Research on Measuring System of Mid-Infrared Photoelectric Autocollimator
  11. Wire Rope On-line Detection System Design Based on DSP
  12. IMU Data Acquisition and Processing System Design and Realization Based on DSP
  13. Design of Marine Toxin Analvsis System Based on ECIS and Image Detection
    SuKaiZuo ·Zhejiang University ·2014 ·Master's thesis
  14. The Design of Multi-channel Optic-electronic Signal Acquisition and Processing System
    WangJianFei ·University of North ·2014 ·Master's thesis
  15. The Study Oh Fuzzy Controlin TIG Welding Prossess
    ZhangJun ·Shanghai Jiaotong University ·2008 ·Master's thesis
  16. Control Method Research and Controller Development of AGV Based on DSP
    SunXiaoMeng ·Harbin Institute of Technology ·2012 ·Master's thesis
  17. Research on Tension Control System of Fiber Placement Machine
    LiuJiCheng ·Harbin Institute of Technology ·2012 ·Master's thesis
  18. Research on Drive and Control Technology of Electromagnetic Traveling-wave for Automated Conveying System
  19. Research on the Slave Station for AC Servo Driver Based on DeviceNet Fieldbus
  20. Modeling and Implementation of Motor Function Module Based on PLCopen