litex/misoclib/com/liteusb/frontend/wishbone.py

10 lines
357 B
Python

from migen.fhdl.std import *
from misoclib.com.liteusb.common import *
from misoclib.tools.litescope.frontend.wishbone import LiteScopeWishboneBridge
class LiteUSBWishboneBridge(LiteScopeWishboneBridge):
def __init__(self, port, clk_freq):
LiteScopeWishboneBridge.__init__(self, port, clk_freq)
self.comb += port.sink.dst.eq(port.tag)