Skip to content
This repository has been archived by the owner on Nov 11, 2017. It is now read-only.

brettcannon/riscv-harmony

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A RISC-V ISA simulator written in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages