Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 427 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 427 Bytes

verilog-unittest-sample

Sample project for unit testing Verilog modules with Verilator and GoogleTest.

Build Instructions

To build the project, follow these steps:

cmake -S . -B build -G Ninja
ninja -C build

Once the project is built, you can run the Verilated simulation using the following command:

build/test_all

This command will perform a unit test of the module and output the results.