GitXplorerGitXplorer
b

riscv-harmony

public
12 stars
2 forks
7 issues

Commits

List of commits on branch master.
Unverified
3fec5c7a4718a3bba7364f181acb1561f9698d93

Implement lui

bbrettcannon committed 8 years ago
Unverified
a92894293f8173b34fe6f85f1df934e03e63a803

Add SLLI, SRLI, and SRAI (#9)

KKevinMGranger committed 8 years ago
Unverified
df5e6533ef1eab8b9e3783f497b48a6ac6ebb567

Move the unmaintained badge

bbrettcannon committed 8 years ago
Unverified
d01778bcf0d6085d7b4b90f78d68f023bca1c069

Add a "not maintained" badge

bbrettcannon committed 8 years ago
Unverified
1c188e07b45b813988bfbe114490894c640b0e66

Document the NOT pseudo-op

bbrettcannon committed 8 years ago
Unverified
b5ba1922e45ccbbdd10b378bf38e2837a12f8489

Implement XORI

bbrettcannon committed 8 years ago

README

The README file for this repository.

riscv-harmony

A RISC-V ISA simulator written in Rust.

No Maintenance Intended

Build Status

Purpose

There are three reasons for this project. First and foremost is for me to learn Rust. Since the language is systems-oriented, I figured it would be a good fit for writing an ISA simulator (plus it might help me learn some low-level details of how CPU execution works). This also means that this project should not be viewed as a robust implementation of the RISC-V ISA until stated otherwise (if that ever even happens).

The second reason is to help support and promote RISC-V what little I can. The idea of a from-scratch, open-source, RISC ISA for CPUs seems like a great idea and since I am a programmer this is one of the few ways I feel like I could have a chance of helping out (RISC-V already has a simulator written in C++ and one in JavaScript, but I don't care to use either language for my personal, fun projects).

And the third reason is that I have fond memories of playing with SPIM in my CS 61C course at UC Berkeley. Since I was looking for a starter project for Rust, I thought RISC-V was neat, and I remember enjoying mucking about with a MIPS simulator during my undergrad, I thought this project might be fun as well.

What's with the name?

The RISC-V ISA currently has two simulators: Spike and Angel. Now either it is a major coincidence that both projects are named after (eventually) friendly vampires from the TV show Buffy the Vampire Slayer (Spike, and Angel, respectively), or it was on purpose. Since it's more fun to assume that it was on purpose, I decided to continue with the tradition by naming my simulator after another vampire that is (sort of) friendly towards the Scooby Gang: Harmony. The choice also seems apt as this simulator will more than likely not ever be complete or of high-quality, much like Harmony's help for Buffy and Angel.