Designing a Custom CPU Architecture Based on Hardware RTOS and Dynamic Preemptive Scheduler
Open Access
- 27 July 2022
- journal article
- research article
- Published by MDPI AG in Mathematics
- Vol. 10 (15) , 2637
Abstract
The current trend in real-time operating systems involves executing many tasks using a limited hardware platform. Thus, a single processor system has to execute multiple tasks with different priorities in different real-time system (RTS) work modes. Hardware schedulers can greatly reduce event trigger latency and successfully remove most of the scheduling overhead, providing more computing cycles for applications. In this paper, we present a hardware-accelerated RTOS based on the replication of resources such as program counters, general purpose registers (GPRs) and pipeline registers. The implementation of this new concept, based on real-time event handling implemented in hardware, is intended to meet the current rigorous requirements imposed by critical real-time systems. The most important attribute of this FPGA implementation is the time required for task context switching, which is only one clock cycle or three clock cycles when working with the atomic instructions used in the case of inter-task synchronization and communication mechanisms. The main contribution of this article is its focus on mutexes and the speed of response associated with related events. Thus, fast switching between threads is also validated, considering the handling of events in the hardware using HW_nMPRA_RTOS (HW-RTOS). The proposed architecture implements inter-task synchronization and communication mechanisms with high performance, improving the overall response time when the mutex or message is expected to relate to a higher-priority task.Keywords
Funding Information
- project “119722/Centru pentru transferul de cunoștințe către întreprinderi din domeniul ICT—CENTRIC—Contract subsidiar 15567/01.09.2020/DIW-PADCU/Fragar Trading” (P_40_305)
This publication has 15 references indexed in Scilit:
- The Events Priority in the nMPRA and Consumption of Resources Analysis on the FPGAAdvances in Electrical and Computer Engineering, 2018
- An approach of MPRA technique over ARM cache architecture2016
- CPU Architecture Based on a Hardware Scheduler and Independent Pipeline RegistersIEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2014
- FlexPRET: A processor platform for mixed-criticality systems2014
- The XMOS Architecture and XS1 ChipsIEEE Micro, 2012
- Merasa: Multicore Execution of Hard Real-Time Applications Supporting AnalyzabilityIEEE Micro, 2010
- A Hardware Implementation of a Run-Time Scheduler for Reconfigurable SystemsIEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2010
- The ARPA-MT Embedded SMT Processor and Its RTOS Hardware AcceleratorIEEE Transactions on Industrial Electronics, 2009
- Power-efficient flexible processor architecture for embedded applicationsIEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2003
- FPGA prototyping of a RISC processor core for embedded applicationsIEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2001