Open this publication in new window or tab >>Show others...
2025 (English)In: IEEE Transactions on Very Large Scale Integration (vlsi) Systems, ISSN 1063-8210, E-ISSN 1557-9999, Vol. 33, no 11, p. 2907-2915Article in journal (Refereed) Published
Abstract [en]
Context switching is both a highly utilized and highly repetitive routine in interrupt-driven systems, such as safety-critical control systems. Conventional context switching routines are sequential and dependent on data memory access, which may be detrimental to time-predictability. This publication explores the use of stacked register files for efficient and predictable context switching. Two complementary microarchitectures are characterized: combinationally addressed register windowing, and a novel parallel context stack (PCS). Both implementations enable minimal latency and inherent predictability in context switching. To efficiently utilize the benefit of stacked register files while limiting hardware costs, the heterogeneous interrupt (HETI) architecture is proposed. HETI integrates a small stacked register file for accelerating a dynamically selected subset of high-priority interrupts. Automatic firmware generation is contributed to enable seamless utilization of the HETI architecture. A total of four HETI configurations on an open-source RISC-V microcontroller are evaluated against the baseline platform and an implementation of Cortex-M style hardware-assisted stacking. Implementations on a TSMC 22nm technology demonstrate low area overhead for small HETI configurations and favorable frequency characteristics against the hardware-assisted stacking implementation. A representative layout of the full system with a HETI-4 instance is presented with a gate count overhead of 1.2% and no frequency detriment in relation to the baseline design. The functional performance evaluated in a synthetic case study demonstrates how the HETI design can reduce retired instruction count by up to 26% and allow for 21% more sleep in comparison to the software baseline and Cortex-M style solution, promising significant improvements to real-time response and energy efficiency.
Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers Inc., 2025
Keywords
Context switch, interrupt latency, mixed criticality, predictable computing, real-time systems, RISC-V
National Category
Computer Systems Computer Engineering
Research subject
Dependable Communication and Computation Systems
Identifiers
urn:nbn:se:ltu:diva-115111 (URN)10.1109/TVLSI.2025.3612433 (DOI)001587318700001 ()2-s2.0-105017929325 (Scopus ID)
Note
Validerad;2025;Nivå 2;2025-12-01 (u5);
Funder: Together for RISC-V and Applications (TRISTAN) (1010959479; European Union (20366918);
Full text license: CC BY
2025-10-152025-10-152025-12-03Bibliographically approved