USB ILA Backhaul¶
This module provides the interface for consuming data from the USB device provided by the USB ILA.
- class torii_ila.usb.USBIntegratedLogicAnalyzerBackhaul(ila, delay=3)¶
USB-based ILA backhaul interface, used in combination with
USBIntegratedLogicAnalyzer
to automatically set up a communications channel to get ILA samples off-device.An instance of this class is typically created by calling
USBIntegratedLogicAnalyzer.get_backhaul()
which lets the ILA configure the backhaul as needed.Alternatively you can pass the
USBIntegratedLogicAnalyzer
instance from the gateware to the constructor of this module.This backhaul interface works by sending a request to the bulk endpoint
BULK_EP_NUM
that is provided by the ILA backend for the USB device with the VID/PID also specified by the ILA.See
torii_ila.backhaul.ILABackhaulInterface
for public API.- Parameters:
ila (USBIntegratedLogicAnalyzer) – The ILA being used.
delay (int) – The number of second to delay the attempt to connect to the USB device, to allow for enumeration.