Design of system memory protection unit based on bus matrix

YANG Xiaogang, ZHU Zhangmin, WEI Jinhe, HU Kai

Integrated Circuits and Embedded Systems ›› 2025, Vol. 25 ›› Issue (5) : 16-23.

PDF(10289 KB)
PDF(10289 KB)
Integrated Circuits and Embedded Systems ›› 2025, Vol. 25 ›› Issue (5) : 16-23. DOI: 10.20193/j.ices2097-4191.2025.0005
Research Paper

Design of system memory protection unit based on bus matrix

Author information +
History +

Abstract

This paper presents a system-level memory protection unit based on bus matrix. The unit supports supervisor and user modes. It can not only be flexibly configured according to the number of bus matrix masters, but also monitor all masters’ activities in the system in real time, effectively preventing unauthorized masters from accessing specific memory areas. It addresses the functional safety problem of task interference caused by a single master-based memory access protection mechanism. In addition, the design supports the implementation of different protection strategies for the same memory region. This capability can protect the private data and shared data of each core, and solves the data consistency problem in multi-core system architecture with minimum hardware cost.

Key words

bus matrix / memory protection unit / functional safety / multi-core system / data consistency

Cite this article

Download Citations
YANG Xiaogang , ZHU Zhangmin , WEI Jinhe , et al. Design of system memory protection unit based on bus matrix[J]. Integrated Circuits and Embedded Systems. 2025, 25(5): 16-23 https://doi.org/10.20193/j.ices2097-4191.2025.0005

References

[1]
编辑部. 中国汽车工程学术研究综述2023[J]. 中国公路学报, 2023, 36(11):1-192.
Editorial Department. Review on China’s Automotive Engineering Research Progress 2023[J]. China Journal of Highway and Transport. 2023, 36(11):1-192 (in Chinese).
[2]
HARUTYUNYAN G E. SHOUKOURIAN S K, TSHAGHARYAN G A, et al. Functional Safety Compliant Test&Repair Framework for System-on-Chip Lifecycle Management[J]. Mathematical Problems of Computer Science, 2021,56:7-17.
[3]
B MADABHUSHI, C S MUMMIDI, S KUNDU, et al. Resurrection Attack:Defeating Xilinx MPU's Memory Protection[C]// 2024 IEEE International Symposium on Hardware Oriented Security and Trust (HOST),Tysons Corner,VA,USA, USA,2024:394-403.
[4]
WANG X, WANG Z, HU Q, et al. A memory allocation method for MPU memory protection unit[C]// 2023 IEEE International Conference on Control,Electronics and Computer Technology (ICCECT),Jilin, China,2023:205-209.
[5]
FAN L, HU Q, WANG X, et al. An Implementation Method of Multi Process MPU Protection Based on Cortex-M Processor[C]// 2022 IEEE 10th Joint International Information Technology and Artificial Intelligence Conference, San Francisco,CA, USA:IEEE,2022:231-234.
[6]
葛红舞, 徐春晓, 左浩然, 等. RISC-V 架构的轻量化内存保护单元[J]. 集成电路与嵌入式系统, 2024, 24(4):63-66.
Abstract
随着互联网和物联网的快速发展,全球联网设备数量高速增长,“万物互联”成为全球网络未来发展的重要方向。边缘物联代理设备繁荣的同时也催生了多样化的安全问题,然而传统的安全保护机制在现有边缘物联代理设备上已变得低效,且可信执行环境过大,需要依赖远程授权。目前应用普遍存在被破解、数据被窃取篡改等安全风险,对金融数据安全、个人隐私数据保护、业务数据完整性等带来极大的威胁。本文提出了一种基于RISC-V架构的轻量化内存保护单元,实现基于硬件可信根的硬件安全启动机制。通过对RISC-V指令集进行扩展,并利用新增指令创建内存安全空间,将一般的内存转换成安全的加密空间,实现可信嵌入式系统。
GE H W, XU C X, ZUO H R, et al. Lightweight memory protection unit based on RISC-V architecture[J]. Integrated Circuits and Embedded Systems, 2024, 24(4):63-66 (in Chinese).

The rapid development of contemporary information technology not only brings convenience to people, but also creates many security risks. With the rapid development of the Internet and the Internet of Things, the number of globally connected devices is growing rapidly, and "Internet of Things" has become an important direction for the future development of global networks. However, the prosperity of edge IoT proxy devices has also given rise to diverse security issues. However, traditional security protection mechanisms have become inefficient on existing edge IoT proxy devices. However, the trusted execution environment is too large and relies on remote authorization and other issues. At present, there are common security risks in applications such as being cracked, data being stolen and tampered with, posing a great threat to financial data security, personal privacy data protection, and business data integrity.This article proposes a lightweight memory protection unit based on the RISC-V architecture,implementing a hardware secure boot mechanism based on hardware trusted roots.By extending the RISC-V instruction set and using newly added instructions to create a memory secure space, the general memory is converted into a secure encrypted space, achieving a trusted embedded system.

[7]
朱英, 田增, 陈叶, 等. 一款高可靠嵌入式处理器芯片的设计[J]. 计算机工程与科学, 2023, 45(3):390-397
ZHU Y, TIAN Z, CHEN Y, et al. Design of an embedded processor with high reliability[J]. Computer Engineering & Science, 2023, 45(3):390-397 (in Chinese).
[8]
LUO L, SHAO X, LING Z, et al. fASLR:Function-Based ASLR via TrustZone-M and MPU for Resource-Constrained IoT Systems[J]// IEEE Internet of Things Journal, 2022, 9(18):17120-17135.
[9]
J YIU. Chapter 2—Getting started with Cortex-M programmingin Definitive Guide to Arm Cortex-M23 and Cortex-M33 Processors[EB/OL].[2025-01].https://www.sciencedirect.com/science/article/pii/B97801282073520000204.
[10]
罗惠文, 吴斌, 尉志伟, 等. AHB Matrix互连总线IP的设计与实现[J]. 微电子学与计算机, 2015, 32(10):54-57.
LUO H W, WU B, WEI Z W, et al. Design and Implementation of Multi-layer AHB Matrix Interconnect Bus Based on AMBA 2.0[J]. Microelectronics & Computer, 2015, 32(10):54-57 (in Chinese).
[11]
姚文祥. ARM Cortex-M3 与 Cortex-M4 权威指南[M]. 3版. 北京: 清华大学出版社,2015:47.
YAO W X. The Definitive Guide to ARM Cortex-M3 and Cortex-M4 Processor[M]. ThirdEdition. Beijing: Tsinghua University Press,2015:47 (in Chinese).
PDF(10289 KB)

Accesses

Citation

Detail

Sections
Recommended

/

〈 〉