Design and Implementation of Software for Heterogeneous Multi-Core Processors Based on VxWorks
- Author
- GuBaoGang
- Advisor
- LiuHengZhu
- School
- National University of Defense Science and Technology
- Major
- Computer Science and Technology
- Classification
- TP316.2 Real-time operating system
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 261
- Citations
- 3
Abstract
With the advances Of IC technology and processor architecture, heterogeneous multi-core processors have been widely used in embedded field. However, with the rapid development of hardware, the supporting of software for heterogeneous multi-core processors is relatively backward. The application development for heterogeneous multi-core processors is not only very difficult, but also inefficient.Facing this situation, the paper has analysed the source code of VxWorks kernel depthly and a global dynamic scene of a running VxWorks kernel has been shown. This paper has analysed the data structure, discovered the relationship of the data structure and shown the processes of the task rescheduling, the communications, the kernel depriving and the allocation of memory in the operating system. The paper has also analysed the defer work mechanism.The software introduced in the paper has realized a model that a DSP process can behave like any other GPP process based VxWorks by permitting the DSP process accesses the same VxWorks API. By this way, the software supports programing for heterogeneous multi-core processors. At the same time, a programmer transparent SDP library which based on the characteristics of the data-sharing pool (SDP) is provided by the software.In this paper, the design of the software are tested and verified. The results showed that the software could manipulate the heterogeneous multi-core processors rightly , the SDP library could achieve communication between the DSP core.
Table of contents
Abstract 10-11
ABSTRACT 11-12
first chapter 12-17
1.1 research background 12 - 13
1.2 development in the world 13-15
1.3 significance 15
1.4 this paper work and innovation 15
1.5 this organizational structure 15-17
Chapter VXWORKS operating system kernel analysis 17-49
2.1 overall structure 17-19
2.2 tasks organization and management 19-23
2.3 task scheduling 23-30
2.3.1 task state transitions and context switching 23-24
2.3. two priority-based preemptive scheduling 24-28
2.3.3 priority Inheritance prevent priority inversion 28-29
2.3.4 rotational scheduling 29-30
2.3.5 scheduler design 30
2.4 inter-task communication and synchronization mechanisms 30-36
2.4.1 shared Memory 30-32
2.4.2 semaphore 32-33
2.4.3 message queue 33-36
2.4.4 pipeline 36 < br /> 2.5 interrupt Management 36-44
2.5.1 interrupts and Interrupt service Routine 37-39
2.5.2 Operating extension mechanism 39-43 < br /> 2.5.3 performance Comparison with RTEMS interrupt 43-44
2.6 storage management 44-48
2.6.1 memory layout 44-45 < br /> 2.6.2 memory organization 45-47
2.6.3 memory Allocation 47-48
2.7 Summary 48-49
the third chapter is based on heterogeneous multicore support VXWORKS design 49-80
3.1 heterogeneous multi-core processor architecture 49-50
3.2 supports heterogeneous multicore software systems overall design 50-55
3.2.1 design Goals 50
3.2.2 GPP and DSP operating system for other programming model 50-53 <br / > 3.2.3 software system structure 53-54
3.2.4 the model program design constraints 54-55
3.3 DSP core API calls the request module OSLIB design 55-57
3.3.1 API call process 55-57
3.3.2 supported API 57
3.4 DSP interrupt management and DSP task scheduling management module design 57-70
3.4.1 DSP task creation and scheduling 57-62
3.4.2 MBI interrupt service design 62-64
3.4.3 API function calls specific treatment 64-69
3.4.4 WDT interrupt service design 69-70
3.5 SDP-based for flow calculation DSP core communication mechanism between 70-74
3.5.1 SDP Overview 70-71
3.5.2 SDP-based communication mechanism design 71-74
3.6 software system to compile and link 74-78
3.6.1 LEON side module compile and link 75-76
3.6.2 DSP tasks module edit, compile , link, 76-77
3.6.3 hybrid link 77-78
3.7 Chapter Summary 78-80
first chapters test verifies 80-82
4.1 simulator Introduction 80
4.2 experimental verification 80-81
4.3 chapter Summary 81 -82
Chapter Summary and Outlook 82-83
5.1 Summary 82
5.2 Prospects 82-83
Thanks 83-84
References 84-87
papers published during the study for a degree 87-88
Appendix A task control block structure in each domain meaning 88-90
Appendix B OSLIB the main code 90-92
Appendix C DSPLIB DSP tasks created in the main code 92-94 <br / > Appendix D DSPLIB API requests in response to the main code 94-96
Appendix E SDPLIB main code 96-99
Appendix F DSPLIB DSP-side data from the reader , the basic function of the interrupt triggering RESET 99-101
Related dissertations
- Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
- Intelligent Video Surveillance System Based on DSP
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- The Design of Monitoring System for the Photovoltaic Plant Based on DSP
- Design and Implementation of Multi-channel Data Acquisition System
- Research on Measuring System of Mid-Infrared Photoelectric Autocollimator
- Wire Rope On-line Detection System Design Based on DSP
- IMU Data Acquisition and Processing System Design and Realization Based on DSP
- Design of Marine Toxin Analvsis System Based on ECIS and Image Detection
- The Design of Multi-channel Optic-electronic Signal Acquisition and Processing System
- The Study Oh Fuzzy Controlin TIG Welding Prossess
- Control Method Research and Controller Development of AGV Based on DSP
- Research on Tension Control System of Fiber Placement Machine
- Research on Drive and Control Technology of Electromagnetic Traveling-wave for Automated Conveying System
- Research on the Slave Station for AC Servo Driver Based on DeviceNet Fieldbus
- Modeling and Implementation of Motor Function Module Based on PLCopen
- The Design and Research of Embedded Multi-axis Control System
- Design of the Measure and Control Terminal Based on EtherCAT Fieldbus
- Multifunctional Position Detection and Integration Method Research of Permanent Magnet AC Servo System
- 5D film motion experience platform motion control card design