All Projects → TheThirdOne → Rars

TheThirdOne / Rars

Licence: other
RARS -- RISC-V Assembler and Runtime Simulator

Programming Languages

java
68154 projects - #9 most used programming language
assembler
53 projects

Projects that are alternatives of or similar to Rars

Jupiter
RISC-V Assembler and Runtime Simulator
Stars: ✭ 326 (-21.07%)
Mutual labels:  risc-v, riscv, education, simulator
Ripes
A graphical processor simulator and assembly editor for the RISC-V ISA
Stars: ✭ 584 (+41.4%)
Mutual labels:  risc-v, education, simulator
Vulcan
RISC-V Instruction Set Simulator (Built for education).
Stars: ✭ 80 (-80.63%)
Mutual labels:  risc-v, education, simulator
ravel
A RISC-V simulator
Stars: ✭ 24 (-94.19%)
Mutual labels:  simulator, riscv, risc-v
drmips
I don't maintain this project anymore. Feel free to fork it! - Educational MIPS simulator
Stars: ✭ 41 (-90.07%)
Mutual labels:  education, simulator
arv
ARV: Asynchronous RISC-V Go High-level Functional Model
Stars: ✭ 18 (-95.64%)
Mutual labels:  riscv, risc-v
Scr1
SCR1 is a high-quality open-source RISC-V MCU core in Verilog
Stars: ✭ 393 (-4.84%)
Mutual labels:  risc-v, riscv
CircuitPython-online-IDE
CircuitPython online IDE
Stars: ✭ 15 (-96.37%)
Mutual labels:  education, ide
riscv em
Simple risc-v emulator, able to run linux, written in C.
Stars: ✭ 51 (-87.65%)
Mutual labels:  riscv, risc-v
hero-sdk
⛔ DEPRECATED ⛔ HERO Software Development Kit
Stars: ✭ 21 (-94.92%)
Mutual labels:  riscv, risc-v
NMSIS
Nuclei Microcontroller Software Interface Standard Development Repo
Stars: ✭ 24 (-94.19%)
Mutual labels:  riscv, risc-v
mdepx
MDEPX — A BSD-style RTOS
Stars: ✭ 17 (-95.88%)
Mutual labels:  riscv, risc-v
OpenCircuits
A free, open source, online digital circuit/logic designer.
Stars: ✭ 140 (-66.1%)
Mutual labels:  education, simulator
antares
Digital circuit learning platform
Stars: ✭ 15 (-96.37%)
Mutual labels:  education, simulator
rv32emu
RISC-V RV32I[MAC] emulator with ELF support
Stars: ✭ 61 (-85.23%)
Mutual labels:  riscv, risc-v
bx-docker
Tutorial on how to build Docker Images for the IAR Build Tools on Linux hosts. The IAR Build Tools on Linux are available for Arm, RISC-V and Renesas (RH850, RL78 and RX).
Stars: ✭ 28 (-93.22%)
Mutual labels:  riscv, risc-v
Shecc
A self-hosting and educational C compiler
Stars: ✭ 286 (-30.75%)
Mutual labels:  risc-v, riscv
Maxine Vm
Maxine VM: A meta-circular research VM
Stars: ✭ 274 (-33.66%)
Mutual labels:  risc-v, riscv
Lbforth
Self-hosting metacompiled Forth, bootstrapping from a few lines of C; targets Linux, Windows, ARM, RISC-V, 68000, PDP-11, asm.js.
Stars: ✭ 293 (-29.06%)
Mutual labels:  risc-v, riscv
sedna
Sedna - a pure Java RISC-V emulator.
Stars: ✭ 52 (-87.41%)
Mutual labels:  riscv, risc-v

RARS -- RISC-V Assembler and Runtime Simulator

RARS, the RISC-V Assembler, Simulator, and Runtime, will assemble and simulate the execution of RISC-V assembly language programs. Its primary goal is to be an effective development environment for people getting started with RISC-V.

Features

  • RISC-V IMFDN Base (riscv32 and riscv64)
  • Several system calls that match behaviour from MARS or SPIKE.
  • Support for debugging using breakpoints and/or ebreak
  • Side by side comparison from psuedo-instruction to machine code with intermediate steps
  • Multifile assembly using either files open or a directory

Documentation

Documentation for supported instructions, system calls, assembler directives and more can be found on the wiki. Documentation included in the download can be accessed via the help menu.

Download

RARS is distributed as an executable jar. You will need at least Java 8 to run it.

The latest stable release can be found here, a release with the latest developments can be found on the continuous release, and the releases page contains all previous stable releases with patch notes.

Alternatively, if you wish to make your own jar and/or modify the code, you should clone the repo with git clone https://github.com/TheThirdOne/rars --recursive. Running the script ./build-jar.sh on a Unix system will build rars.jar.

Screenshot

Screenshot of sample program

Changes from MARS 4.5

RARS was built on MARS 4.5 and owes a lot to the development of MARS; its important to note what are new developments and what come straight from MARS. Besides moving from supporting MIPS to RISC-V and the associated small changes, there are several general changes worth noting.

  • Instructions can now be hot-loaded like Tools. If you want to support an additional extension to the RISC-V instruction set. the .class files just need to be added to the right folder
  • ScreenMagnifier, MARS Bot, Intro to Tools, Scavenger Hunt, and MARS Xray were removed from the included tools. ScreenMagnifier, MARS Bot, Intro to Tools, and Scavenger Hunt were removed because they provide little benefit. And MARS Xray was removed because it is not set up to work with RISC-V, however if someone ports it, it could be merged in.
  • Removed delayed branching
  • Removed the print feature
  • Added a testing framework to verify compatability with the RISC-V specification
  • Significant internal restructuring and refactoring.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].