检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:余涛[1] 刘芹 赵紫微 YU Tao;LIU Qin;Zhao Zi-wei(School of Cyber Science and Engineering,Wuhan University,Wuhan Hubei 430079,China)
机构地区:[1]武汉大学国家网络安全学院,湖北武汉430079
出 处:《计算机仿真》2024年第1期365-371,384,共8页Computer Simulation
基 金:国家自然科学基金项目(61872431)。
摘 要:在嵌入式领域,业界主要使用ARM公司Keil系列仿真工具进行ARM嵌入式系统开发,芯片仿真是其重要功能之一。然而ARM Keil是国外商业软件,购买License价格不菲,且仿真器也是影响芯片验证和软件开发的关键技术之一。针对上述情况,以Cortex-M3芯片为例设计了一种基于开源模拟器Gem5的系统调用仿真方法。首先,分析Gem5模拟器的源码结构、运行过程以及指令集仿真流程,描述Gem5仿真原理。然后,通过为Gem5添加Cortex-M3寄存器和指令集支持实现Cortex-M3在Atomic SimpleCPU的SE(System Emulation)模式下的仿真。最后,设计了灵活可扩展的指令集自动化测试工具,以验证指令功能是否正确仿真。实验结果表明,经过充分测试实现的仿真器能够正确仿真,且仿真效率较高,提供了一种开源、技术可控的Cortex-M3的软仿真方案。In the embedded systems area,the industry mainly uses the ARM Keil series simulation tools for ARM embedded system development,where software simulation of chip is an important function.However,ARM Keil is a foreign commercial software,and purchasing a license is expensiv.To address this situation,a system call simulation method based on the open source simulator Gem5 is proposed with Cortex-M3 chip as an example.Firstly,the Gem5 simulator's source code structure,operation process and instruction set simulation flow were analyzed to describe the Gem5 simulation principle.Secondly,the simulation of Cortex-M3 in System Emulation(SE)mode of AtomicSimpleCPU was implemented by adding Cortex-M3 registers and instruction set support to Gem5.Finally,a flexible and scalable instruction set test tool was designed to verify that the instruction functions are simulated correctly.The experimental results show that the simulator implemented can work correctly and efficiently in testing,which provides an open source and technically controllable soft simulation solution for Cortex-M3.
关 键 词:嵌入式系统 仿真 开源模拟器 指令集 自动化测试
分 类 号:TP391.9[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.7