Skip to content

Kompusim is a RISC-V ISA simulator with a primary focus on being a user-friendly, self-contained learning tool.

License

Notifications You must be signed in to change notification settings

dvoytik/kompusim

Repository files navigation

Kompusim

Kompusim is a work-in-progress simple CPU / SoC ISA level simulator with focus on education and debugging functionality. Currently, it supports only RISC-V ISA.

There are GUI and TUI (terminal user interface) versions of the simulator. GUI is currently the primary focus and TUI is lagging behind in debugging and learning capabilities.

See screenshots.

How to build and run the GUI simulator

It is expected that Rust tool chain is installed.

cargo run -p kompusim-gui

How to build and run TUI simulator

It is expected that Rust tool chain is installed.

A demo of running the bare metal program that prints "Hello, World!" to the UART in TUI simulator:

./tests/test_programs/uart_hello_world/run.sh

Run the demo program in the interactive mode:

./tests/test_programs/uart_hello_world/run.sh -i

Press s repeatedly to step over instructions.
Press h to see the full list of commands.

About

Kompusim is a RISC-V ISA simulator with a primary focus on being a user-friendly, self-contained learning tool.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published