A RISC-V SystemC-TLM simulator
M\`arius Mont\'on

TL;DR
This paper introduces a simple, expandable SystemC-TLM simulator for a RISC-V microcontroller supporting full ISA and extensions, with Docker deployment and FreeRTOS porting for embedded system development.
Contribution
It presents a lightweight, fully compliant RISC-V simulator with modular peripherals and Docker support, facilitating easy adoption and extension for embedded system research.
Findings
Successfully executes the riscv-compliance suite
Supports full RISC-V ISA and extensions M, A, C, Zicsr, Zifencei
Includes a port of FreeRTOS for the simulated hardware
Abstract
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.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Real-time simulation and control systems · Advanced Data Storage Technologies
