Skip to content
/ rvsv Public

RVSV is a SystemVerilog implementation of a 5-stage pipelined RISC-V CPU.

Notifications You must be signed in to change notification settings

fuad1502/rvsv

Repository files navigation

RVSV

CI

RVSV is a SystemVerilog implementation of a 5-stage pipelined RISC-V CPU.

Top level modules

  • systemverilog/rv32i_seq.sv (sequential implementation)
  • systemverilog/rv32i_pipe.sv (5-stage pipelined implementation)

Testing

Prerequisites

  • Rust
  • Verilator
  • CMake (version 3.14 or higher)

Runnig the testsuits

For simulation and testing, we use verilator to create verilated models that are then connected to our C++ testsuits (inside testsuits folder). Within the testsuis, we use rubbler to generate test instructions from assembly lines. Execute the following commands to run all test.

git clone https://github.com/fuad1502/rvsv.git
cd rvsv
cmake -Bbuild -S.
cmake --build build
cd build
ctest

About

RVSV is a SystemVerilog implementation of a 5-stage pipelined RISC-V CPU.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published