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.
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.