greatscottgadgets / luna

Amaranth HDL framework for monitoring, hacking, and developing USB devices
https://greatscottgadgets.com/cynthion/
BSD 3-Clause "New" or "Revised" License
991 stars 171 forks source link

Additional constructor arguments for `USBSpeedTestDevice` #234

Closed martinling closed 8 months ago

martinling commented 9 months ago

This PR adds some optional constructor arguments to USBSpeedTestDevice that allow overriding the VID/PID, and disabling clock generation so that the code can be used as part of a larger design with its own clock arrangements.

Required by cynthion-test, which builds a bitstream with the speed test gateware running on all three ports simultaneously.