Media processor - based real-time operating system design
- Author
- WangJin
- Advisor
- YaoQingDong , LiuPeng
- School
- Zhejiang University
- Major
- Communication and Information System
- Classification
- TP316 Operating system
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 116
- Citations
- 0
- Media Signal Processor
- System-on-Chip (SOC)
- software/hardware co-design
- Real-Time Operating System (RTOS)
- software/hardware co-verification
Abstract
As an application hotspot, multimedia application also greatly improves the development of IC industry. With the powerful processing ability, programmable media signal processor has been more and more important in the application. The real time operating system (RTOS) can not only improve the performance and reliability of the media processor SOC, but also simplify the development and debugging of media processor SOC. There is a growing consensus that RTOS has become an indispensable part of SOC. We designed and realized a real-time operating system, named Iota, for media processor. MediaDSP3200 (MD32) is the prototype media processor.The real-time microkernel we designed includes the following parts: task management, synchronization and communication, memory management, time management, interrupt handling and system call. The real-time microkernel supports 16 tasks. The preemptive scheduling mechanism is adopted for the real-time tasks. Iota utilizes semaphore to synchronize the access of shared resource and execution order of processes. Mutex exclusion semaphore is implemented for avoiding the priority inversion. According to the characteristics of processor MMU, a simple memory protection and sharing mechanical is designed. Iota also supplies a dynamic memory management mechanism to meet dynamic memory allocation need for some programs. Time management offers time function for tasks, and the system can read and set the time. Interrupt handling is implemented for the system to find and repair system or user program errors. System call is implemented for tasks to enter kernel space and execute system service.A simple file management is completed in Iota. A device can be operated and managed as a file. Because of the existence of file management, Iota can ignore the characteristics of the hardware platform and regard the hardware devices as the files, so it can be easy to be migrated for the other hardware platform. Because the data of media processing is large, a simple network protocol is also implemented to speedup the data transmission between the host machine to the target platform when we simulate the media processing program.We present a methodology for software/hardware co-verification based on RTOS according to the characteristic of our media processor chip. A co-verification platform based on RTOS is the basic and vital elements in this methodology and could be migrated easily. In the phase of chip designing, we establish a software verification platform whose hardware is close to our chip. We verify the correctness of software in this co-verification platform, then use this correct software to verify the correctness of chip in the hardware verification platform. Adopting this methodology, it could not only verify the correctness of the chip and reduce the possibility of the errors in the chip, but also shorten the co-verification time.
Table of contents
Abstract 2-3
ABSTRACT 3-6
first chapter 6-19
Section 1 media processor chip and real-time operating system 6-10
1.1.1 media processing and media processor 6-7
1.1.2 system media processor chip (SOC, the System-On-Chip) 7-8
1.1.3 media processor SOC requirements of an RTOS 8-10
Section II Real Time Operating System Overview 10-16 <br / > 1.2.1 real-time operating system 10-11
1.2.2 Typical RTOS analysis 11-14
1.2.3 an RTOS several evaluation 14 -16
Section III real-time operating system The Iota 16-18
section IV of this article is organized and major research 18-19
Chapter II of RTOS kernel design 19-38
Section Task Manager 19-23
2.1.1 task definition and multi-task 19
2.1.2 task scheduling of several commonly used algorithms 19-21
2.1.3 Task Manager to achieve 21-23
Section II task synchronization and communication 23 - 26
2.2.1 between tasks synchronization 23
2.2.2 between tasks mutually exclusive 23-25 ??
2.2.3 task communication 25 - 26
Section III storage management 26-33
2.3.1 Virtual Storage Manager 26-27
2.3.2 real-time operating systems, storage management, 27
2.3.3 Iota storage management 27-33
the fourth quarter clock management 33-34
2.4.1 time management 33
2.4.2 system time management 33-34
section V, exception handling and system calls 34-37
2.5.1 MD32 exception handling model 34-35
2.5.2 Iota interrupt handling to achieve 35
2.5.3 Iota system call 35-37
Section VI kernel configuration and can be cut design 37
VII Summary 37-38
Chapter III RTOS file system and network protocol stack 38-53 < br /> Section 1 device file system 38-42
3.1.1 device file system data structures 39-40
3.1.2 device file system services primitives 40-42
Section II network protocol stack 42-52
3.2.1 network protocol stack design, zero-copy technology 42-44 < br /> 3.2.2 network protocol stack, the overall framework and data flow 44-45
3.2.3 network protocol stack layers of the table, the key function 45-46 <br / > 3.2.4 polling functions for network protocol stack NET_poll 46-47
3.2.5 basic protocol design framework 47-52
Section III of this chapter section 52-53
Chapter IV of RTOS simulation platform and the time to test 53-63
first section based on the RTOS software and hardware co-simulation verification platform 53-60
4.1.1 software and hardware co-simulation verification platform 54-55
4.1.2 software simulation 55-56
4.1.3 Hardware validation 56 - 58
4.1.4 Conclusion 58-60
Section II the Iota time performance testing 60-62
4.2.1 test content 60 < br /> 60
4.2.4 4.2.2 test platform 60
4.2.3 test method test results 60-62
. 4.2.5 results 62
Section III of this chapter section 62-63
summary 63-64
References 64-67
Master of papers published during 67
, to participate during the research work 67-68
thank 68
Related dissertations
- Research on Key Technologies of Mapping and Router in Network-on-Chip
- The Research and Implementation of the Key Technology of the Image Mosaic SoC
- Research on the Communication Protocol in Cluster Interconnection System Based on Software/Hardware Co-Design
- The Research on Real-time Operating System for System-on-chip
- The Research and Prototype Implementation of a General Satellite Realtime Operating System-SATOS
- Research on Software/Hardware Co-design Using UML and SystemC
- Embedded real-time operating system support platform to achieve
- Development of an Embedded Software Platform Based on μC/OS-Ⅱ and Application for Intelligent Flowmeter
- The Research of RTOS Based on DSP
- Study of Water Long-Distance Monitoring and Forecasting System in Irrigation District Based on μC/OS-Ⅱ
- Embedded digital multimedia network teaching Termination System Design and Implementation
- Hardware/Software Co-Design of Audio Codec Based on OpenRISC
- The Development of MP3 Player Based on SP Platform
- Research of Design, Verification and Application for Configurable RISC Core
- Research on the On-line tanδ Monitoring Technique for Capacitive Power Equipments
- The testability design technology in the chip design
- The Research and Implementation of the Coal Mine Safety Monitoring System Based on CAN-BUS
- EoS system based on the data processing module ASIC chip verification method
- Research on Parallelism Base Software Hardware Co-edsign Virtual Machine