lowRISC / sonata-system

A full micro-controller system utilizing the CHERIoT Ibex core, part of the Sunburst project funded by UKRI
Apache License 2.0
24 stars 15 forks source link

Create basic CHERI USB device test from existing check #193

Open AlexJones0 opened 1 week ago

AlexJones0 commented 1 week ago

This PR incorporates USB device tests into the existing Sonata CHERI test runner, and for now just adds a simple smoke/configuration test based on the existing USB device check, which simply attempts to connect and set up a basic configuration.

This also makes a minor refactoring change to the hyperram test to avoid name clashes between tests.

This has been tested on FPGA with a USB Type-A to Type-C connector in the User USB port, and has been tested in a Verilator build using the DPI. This has also been tested running for 100 iterations on FPGA and it passes consistently.