Current Version: 0.2.0
This is a very little riscv32 assembler. It's main feature is to generate binary code, ready to embed in hardware description code. There are barely any plans to add any other features. Also I will only continue working on this, when I need to generate riscv-assembly for VHDL myself.
Rivas is meant to be used with vhdl (and maybe verilog in the future, if I need that). The assembler can output code, that is ready to embed in a 32-bit readonly-memory.
There are two ways to use this program using linux:
The prebuilt binary is located at target/release/rivas
and should be working on it's own on any linuy distribution.
Install git and cargo.
git clone https://github.com/yannickreiss/rivas
cd rivas
cargo build --release
./target/release/rivas
To build and use this program under windows, you need to have rust and cargo installed.
git clone https://github.com/yannickreiss/rivas
cd rivas
cargo build --release
- run the executable in
target/release/rivas
- commandline option
-o
to specify output name (Done) - Output a file with code ready to embed in VHDL (Done) (Output to stdout and .o.vhdl)
- Assemble all 32I-Base instructions (Done)
- reserved registers names (done)
- ABI-Syntax (done)
- Input a file to generate RISC-V binary with same name
- labels
- Generate full VHDL memory entity
There is currently no release, as the program is still in developement of it's basic features. The first release will be the version 0.2.0.