8000 GitHub - niosHD/vscale: Playground for testing various tools. Verilog version of Z-scale. · GitHub
[go: up one dir, main page]

Skip to content

niosHD/vscale

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Contributors

Languages

  • Verilog 52.7%
  • CMake 17.9%
  • Tcl 17.7%
  • C++ 6.9%
  • SystemVerilog 4.8%
0