Demo firmware runs clean decode + noisy decode (vector 0) and reports pass/fail on GPIO[7:0]. All 5 cocotb tests pass: ldpc_basic, ldpc_noisy, ldpc_max_iter, ldpc_back_to_back, and ldpc_demo. Also adds .cf/project.json with GPIO configuration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Overview
This directory contain tests to verify the example user project 16 bit counter and 2 other simple tests as examples.
directory hierarchy
counter_tests
contain tests for 16 bit counter for more info refer to counter_tests
hello_world
Example test with empty firmware that only power and reset caravel the print "Hello World"
hello_world_uart
Example test That uses the firmware to send "Hello World" using UART TX
cocotb_tests.py
Module that should import all the tests used to be seen for cocotb as a test
Run tests
run hello_world_uart
```bash
caravel_cocotb -t hello_world_uart -tag hello_world
```
run all counter testlist
```bash
caravel_cocotb -tl counter_tests/counter_tests.yaml -tag counter_tests
```
run from different directory
```bash
caravel_cocotb -t hello_world_uart -tag hello_world -design_info <path to design_info.yaml>
```
run with changing the results directory
```bash
caravel_cocotb -t hello_world_uart -tag hello_world -sim <path to results directory>
```