RISC-V Instruction Set Simulator (Built for education)

  Flutter App, Simulator

Vulcan

RISC-V Instruction Set Simulator Built For Education.

Features

  •  RV32I Extension.
  •  RV32M Extension.
  •  Visualization of programming counter (PC), machine code and original instructions side-by-side.
  •  Embedded editor inside Vulcan.
  •  Integer registers visualization.
  •  Single precision floating-point registers visualization.
  •  Memory visualization.
  •  Syntax Error Alert.

To do (In the near future)

  •  RV32F Extension. (Studying how to do it in a proper way…)
  •  RV32A Extension. (Maybe…)

Limitations

  • Unfortunately, by the time that I did the initial version, Flutter Web does not support responsive web apps. Because of it, one must use Vulcan in fullscreen mode. Otherwise, the app will throw overflow exceptions.

Usage

Web Browser Status

  •  Google Chrome
  •  Mozilla Firefox
  •  Microsoft Edge

How to use it?

  • You must be familiar with the RISC-V Assembly in order to use Vulcan properly. If you want to learn about it, you can check the documentation folder inside this repository.

How to simulate my RISC-V Assembly code?

  • You must go to the “Editor” tab and write your code inside the editor. When you are done, press the “Simulate” button.

Local Usage

  • First of all, you must install the Dart SDK on your computer: https://dart.dev/
  • Then, you need to install the Flutter framework: https://flutter.dev/
  • Since Vulcan is a Flutter WebApp, you must install the Web extension. More info can be found here: https://flutter.dev/docs/get-started/web
  • After that, you can download this repository as a zip folder. Extract it in your machine. In the command line, get inside it and finally run the following command:
flutter run -d chrome
  • Then you can use it as you please.
  • This is the version 1.0 (not the final).

Web usage

Bugs and Errors

  • If you find any bugs, errors or strange behavior, feel free to open an issue. The only thing that I ask is to provide a detailed explanation of the bug/error/strange behavior. If possible, provide a screenshot.

Screenshots

Home Page

homepage

Editor Page

editorpage

Simulator Page 1

simpage1

Simulator Page 2

simpage2

Simulator Page 3

simpage3

Simulator Page 4

simpage4

Download RISC-V Instruction Set Simulator source code on GitHub

https://github.com/vmmc2/Vulcan