RISC-V SystemC-TLM模拟器
A RISC-V SystemC-TLM simulator
摘要:
本文提出了一种基于SystemC-TLM的RISC-V微控制器仿真器。该模拟器专注于RISC-V的简单性和易于扩展。它是围绕一个完整的RISC-V指令集模拟器构建的,支持完整的RISC-V ISA和扩展M,A,C,Zicsr和Zifencei。ISS封装在TLM-2包装器中,使其能够与任何其他TLM-2兼容模块进行通信。该模拟器还包括一组非常基本的外围设备,以实现完整的SoC模拟器。运行代码可以使用标准工具和标准C库进行编译,无需修改。模拟器能够正确执行riscv合规套件。整个模拟器作为Docker镜像发布,以方便开发人员安装和使用。最后给出了FreeRTOSv10.2.1在模拟SoC上的移植。
英文摘要:
This work presents a SystemC-TLM based simulator for a RISC-V microcontroller. This simulator is focused on simplicity and easy expandable of a RISC-V. It is built around a full RISC-V instruction set simulator that supports full RISC-V ISA and extensions M, A, C, Zicsr and Zifencei. The ISS is encapsulated in a TLM-2 wrapper that enables it to communicate with any other TLM-2 compatible module. The simulator also includes a very basic set of peripherals to enable a complete SoC simulator. The running code can be compiled with standard tools and using standard C libraries without modifications. The simulator is able to correctly execute the riscv-compliance suite. The entire simulator is published as a docker image to ease its installation and use by developers. A porting of FreeRTOSv10.2.1 for the simulated SoC is also published.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。