niosHD / vscale

Playground for testing various tools. Verilog version of Z-scale.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vscale

Verilog version of Z-scale, a microarchitectural implementation of the 32-bit RISC-V ISA (RV32IM).

Attention! This code base is outdated, not maintained and should only be used for experimenting with hardware/software development tools.

Usage with Verilator

Since verilator translates verilog code into C++ and given that various C++ libraries (see external directory) are integrated into the verilator build, CMake has been used as build system.

Building

As the result, vscale with verilator can be built like any other cmake project with the following commands:

$ cmake -B _build
$ cmake --build _build

After building, the vscale executable can be found in the build directory. Additionally, the check target (e.g., cmake --build _build --target check) can be used to perform a quick functionality check.

Executing Software

To execute your own software in hex or elf format on vscale, the following command can be used:

$ ./_build/vscale --loadmem <path-to-hex-or-elf-file>

About

Playground for testing various tools. Verilog version of Z-scale.

License:Other


Languages

Language:Verilog 52.6%Language:CMake 17.9%Language:Tcl 17.7%Language:C++ 6.9%Language:SystemVerilog 4.8%