Hardware Implementation of Semaphore Management in Real-Time Operating Systems

Shi-Hai Zhu · International Conference on Electronics, Communications and Control · 2012

Semaphore is a kind of mechanism used in a multithreaded environment to ensure that two or more key code segments will not be concurrently invoked. In order to enhance the response capability of real-time operating systems, the hardware design scheme to implement semaphore management based on FPGA is put forward in this paper. We take µC/OS-II real-time operating system as an example to implement hardware logical circuits of semaphore management function module according to its parallel characteristics, and simulation test under the ISE 8.2 software environment is performed. The simulation results show that implementing semaphore management by hardware can obviously improve the execution time of creating/deleting, applying for/releasing a semaphore.

Read the paper · More papers on PaperTik