litex/lib/sata/transport/__init__.py

16 lines
410 B
Python
Raw Normal View History

2014-12-03 10:32:55 -05:00
from lib.sata.std import *
from lib.sata.transport.std import *
class SATATransportLayerTX(Module):
def __init__(self):
self.sink = Sink(transport_layout(32))
class SATATransportLayerRX(Module):
def __init__(self):
self.sink = Sink(transport_layout(32))
class SATATransportLayer(Module):
def __init__(self):
self.submodules.tx = SATATransportLayerTX()
self.submodules.rx = SATATransportLayerRX()