Font Size: a A A

Hardware Design And Implementation Of Semaphore Management In Real - Time Embedded Operating System

Posted on:2016-10-21Degree:MasterType:Thesis
Country:ChinaCandidate:Y X SunFull Text:PDF
GTID:2278330479491663Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
The conventional real-time embedded operating system implemented by software consumes a large amount of CPU time in system calls, depressing the executability of the application and the real-time of the system. Due to this drawback of software real-time operating system and based on the research at home and abroad, the convertional software operating system is partly implemented on hardware in this thesis. The hardware real-time operating system includes hardware part H/W and software part S/W. The H/W realizes task management, time management, event management, interrupt management and so on; the S/W realizes context switch and so on. Through the bus the S/W sends commands and parameters to the H/W, according to which the H/W carries on corresponding processing. If task switching is needed, the H/W notices the S/W through interrupt, during the H/W running the S/W can handle other tasks.This thesis takes the μC/OS-II as the research object and analyzes of the working principle of the task management module and semaphore management module in detail. According to the features of parallel hardware logic, some of the data structures of the μC/OS-II are modified. IP cores like the hardware task control block HTCB, the tridimensional ready table, the priority encoder and task waiting tables are realized based on the FPGA, which are called to realize the task management module and semaphore management module. Finally, the task management and signal management modules are described by Verilog HDL. The results of functional simulation verify the correctness and feasibility of the two modules.
Keywords/Search Tags:hardware real-time operating system, FPGA, μC/OS-II, Verilog HDL
PDF Full Text Request
Related items