This PR adds testing environment written with cocotb and pyuvm Python libraries, which allows for writing RTL tests that can reuse software tests (such as programs generated by RISC-V DV) as one of stimuli sources for DUT.
Testbench dependencies can be installed with pip:
pip3 install -r verification/requirements.txt
Example cocotb test can be launched with command:
MODULE=verification.test_base make -f tools/Makefile verilator-cocotb
PyUVM test is contained in a separate module:
MODULE=verification.test_uvm make -f tools/Makefile verilator-cocotb
Usage description and first proper RTL tests will be later added to this PR as well.
This PR adds testing environment written with
cocotb
andpyuvm
Python libraries, which allows for writing RTL tests that can reuse software tests (such as programs generated by RISC-V DV) as one of stimuli sources for DUT.Testbench dependencies can be installed with
pip
:Example
cocotb
test can be launched with command:PyUVM test is contained in a separate module:
Usage description and first proper RTL tests will be later added to this PR as well.