This commit is contained in:
Lukas F. Hartmann 2023-04-25 17:15:44 +02:00
commit 1b7d229668
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ from litex.build.io import SDRTristate
class USBOHCI(Module): class USBOHCI(Module):
def __init__(self, platform, pads, usb_clk_freq=48e6, dma_data_width=32): def __init__(self, platform, pads, usb_clk_freq=48e6, dma_data_width=32):
self.pads = pads self.pads = pads
self.usb_clk_freq = usb_clk_freq self.usb_clk_freq = int(usb_clk_freq)
self.dma_data_width = dma_data_width self.dma_data_width = dma_data_width
self.wb_ctrl = wb_ctrl = wishbone.Interface(data_width=32) self.wb_ctrl = wb_ctrl = wishbone.Interface(data_width=32)