Merge pull request #2057 from Dolu1990/usb_ohci_phy_fix2

core/usb_ohci: fix SDRTristate clock
This commit is contained in:
enjoy-digital 2024-09-05 14:40:34 +02:00 committed by GitHub
commit fa47c62b6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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)