Font Size: a A A

Research And Implementation Of Hardware For Real-Time Operating System Kernel

Posted on:2020-01-24Degree:MasterType:Thesis
Country:ChinaCandidate:X Y ZhangFull Text:PDF
GTID:2428330572981025Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
The real-time operating system RTOS is widely used in embedded devices due to its high real-time,reliability and security.With the improvement of system performance requirements of the Internet of Things and automation technology,the integration degree of the chip is getting higher and higher,and the task scheduling algorithm is basically reaching the limit.Improvements in system performance are minimal by simply improving the scheduling algorithm or increasing the speed of the processor.Today's real-time systems are basically a program running inside the CPU,compiled with the user program.This not only increases the overhead of the storage space,but more importantly increases the overhead of the processor power.In addition,for the increasingly complex application requirements in the embedded field,multi-task scheduling under multi-core heterogeneous processor systems will be a trend in the development of real-time operating systems.In view of the above problems,this paper separates the system kernel from the user program,so that the CPU focuses on the operation of the user program,and in the program scheduling,the logic circuit built by the FPGA is used for scheduling.In order to maximize the performance of the hardware system,this paper builds a multi-core heterogeneous scheduler by using the features of FPGA parallelization design,and proposes a new system operation mode VMP for the task scheduling of heterogeneous processors.In this mode,the system kernel can dynamically change between BMP and SMP operating modes,improving task scheduling flexibility.In addition,the semaphore,mutual exclusion semaphore and timing counter in the software system are also hardware designed and implemented,and the interrupt mapping controller not included in the software system is added.The time-consuming abstract functions in the above software system are implemented by using a programmable logic device FPGA to form a complete hardware operating system kernel.The system can complete all kernel commands in one clock.In view of the bloated structure and resource waste caused by the lack of system portability and tailoring of the existing hardware operating system,this paper uses VHDL language to modularize the system and build the hardware system kernel with software system.Transplantability and tailoring.The complete system kernel includes the hardware system kernel and the system software programs that communicate with it.This part of the software program is called the software system kernel.In this paper,the underlying part of the software system kernel is redesigned according to the hardware system kernel,and the hardware system interface layer function and task context switching program are written in C language and assembly generation.Finally,the system is functionally simulated and the power-on test verifies the correctness and feasibility of the system.
Keywords/Search Tags:real-time operating system, task scheduling, operating mode, multi-core scheduling, hardware
PDF Full Text Request
Related items