Quickstart

Base repository for the project is located at https://github.com/antmicro/usb-test-suite-build

Prerequisites

Steps

  1. Clone the base repository

    git clone --recursive https://github.com/antmicro/usb-test-suite-build
    
  2. Run the setup script

    cd usb-test-suite-build
    ./setup.sh
    
  3. Run the tests

    cd usb-test-suite-testbenches
    make
    

Additional setup

Signal traces are saved in .vcd format. They can be viewed using GTKWave.

In order to decode USB signals sigrok decodes are used. You can obtain sigrok-cli and libsigrokdecode from its website or use conda package.

Note

Packages provided by your repository manager may be out-of-date, which can lead to significantly longer decoding times.