Virtio implementation in SystemVerilog
Virtio implementation in SystemVerilog.
These 3rd party tools and libraries must be installed to build and run tests:
Clone repository:
git clone [email protected]:tymonx/virtio.git
Change current location to repository directory:
cd virtio
Clone git submodules:
git submodule init
git submodule update
Create build directory:
mkdir build
Change current location to build directory:
cd build
Create build scripts using CMake:
cmake ..
Build project using CMake:
cmake --build . --target all
Or build project using make:
make -j`nproc`
To build documentation:
cmake --build . target doc
Built HTML documentation can be found in:
doc/html
To view HTML documentation, open it using web browser:
<WEB_BROWSER> doc/html/index.html
Run all unit tests:
ctest
Run only unit tests for AXI4-Stream:
ctest -R axi4_stream
All waveforms generated from unit tests are located in:
output
All unit tests logs are stored in:
Testing/Temporary/LastTest.log
Run Verilator coverage after running all tests:
cmake --build . --target verilator-coverage