Skip to content
Projects

About

ARES RISC-V Educational Simulator

Learning & Education

How these counts are measured

Measured star growth

in 24h
Collecting history
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

ARES

A minimal assembler, editor, simulator and debugger for RISC-V (RV32IMC), meant to be a useful tool for computer architecture students. This project was inspired by RARS. You can use it on ares-sim.github.io

Screenshot of the ARES Web UI, debugging a recursive factorial program

Features

This initial release introduces the following core features:

Web UI version:

  • modern editing experience:
    • whole-UI light and dark themes
    • Custom themes
    • CodeMirror 6-based editor with RV32IMC syntax highlighting
    • live assembler error reporting
  • debugging tools:
    • register and memory visualization with animation to highlight writes
    • breakpoint management
    • step/next/continue debugging
    • reverse debugging (step back)
    • call stack inspector with parameters
  • calling convention checker (CallSan):
    • detect uninitialized reads at program start, at function entry, and after function return
    • detect invalid stack movement and access
    • validate callee-saved register save and restore
    • detect mismatched call stack
  • assignment mode:
    • embedded instructions
    • CodeRunner-style test suite with expected/actual

Command-line utilities

  • minimal, cross-platform C
  • ELF binary and object file generation
  • headless execution of the emulator

Installation

Command-line utilities

[!NOTE] The test version relies on unity, so make sure you cloned recursively, or alternatively do git submodule update --init --recursive

A working C compiler and

make

Web UI

Clang with support for WASM (if you're using macOS, ensure you're not using AppleClang), node and npm

npm install
npm run dev # for a development live reload server
npm run build # to build in dist/

Explore related projects

Loading…