FPGA-based implementation of task management in μC/OS-II operating system
COMPUTER MODELLING & NEW TECHNOLOGIES 2014 18(12B) 678-685
Institute of Information Engineering and Art Design, Zhejiang University of Water Resources and Electric Power, Hangzhou, China
Task management is one of the most basic functions of an operating system. We took μC/OS-II real-time operating system as an example in this paper, put forward hardware design scheme of task management based on FPGA, and carried out the simulation and verification by means of Xilinx ISE software. We mainly designed and implemented hardware logical circuits of task management module so that the potential parallelism of multitasking was greatly improved; In the meantime hardware logical circuits of interrupt task management module was also designed and implemented. Specifically speaking, as interrupt tasks, external interrupt requests enjoyed higher priorities than those of ordinary tasks. If external interrupt arrived, then corresponding task was set to ready state, thus task scheduling was triggered, and then interrupt task was given higher priority for processing in order that the response time was improved. The simulation results showed that task management implemented by hardware could obviously reduce the executing time of a task, thus greatly expanded the application ranges of μC/OS-II operating system.