mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
15 lines
410 B
Python
15 lines
410 B
Python
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()
|