chipsalliance / Cores-VeeR-EL2

VeeR EL2 Core
https://chipsalliance.github.io/Cores-VeeR-EL2/html/
Apache License 2.0
243 stars 73 forks source link

Add cocotb verification environment #78

Closed koluckirafal closed 11 months ago

koluckirafal commented 1 year ago

This PR extends the verification environment and adds example test written using cocotb library.

└─ verification
   ├── test_cocotb
   ├── test_dev

In the directory test_cocotb you find a Python coroutine, which calls the top-level testbench testbench/tb_top.sv and simulates execution of a program. The core can be fed programs from external sources, e.g. RISC-V DV. To execute the test, a recipe in tools/Makefile is prepared. In the directory test_dev you find an ALU test, which serves as an example and a starting point for developing rapid block-level unit tests, if needed.

mkurc-ant commented 11 months ago

Superseeded by PRs with microarchitectural tests. Closing.