core/usb_ohci: fix SDRTristate clock

This commit is contained in:
Dolu1990 2024-09-05 10:17:22 +02:00
parent 84e7e816c7
commit 1f2418de3b
1 changed files with 2 additions and 0 deletions

View File

@ -95,12 +95,14 @@ class USBOHCI(LiteXModule):
o = usb_ios[i].dp_o, o = usb_ios[i].dp_o,
oe = usb_ios[i].dp_oe, oe = usb_ios[i].dp_oe,
i = usb_ios[i].dp_i, i = usb_ios[i].dp_i,
clk = ClockSignal("usb")
) )
self.specials += SDRTristate( self.specials += SDRTristate(
io = pads.dm[i], io = pads.dm[i],
o = usb_ios[i].dm_o, o = usb_ios[i].dm_o,
oe = usb_ios[i].dm_oe, oe = usb_ios[i].dm_oe,
i = usb_ios[i].dm_i, i = usb_ios[i].dm_i,
clk = ClockSignal("usb")
) )
self.add_sources(platform) self.add_sources(platform)