d3f86a55b8c8fed97a3ea062e0117fbdea536393
1 from litesata
.common
import *
2 from litesata
.phy
import *
3 from litesata
.core
import *
4 from litesata
.frontend
import *
6 from migen
.bank
.description
import *
8 class LiteSATA(Module
, AutoCSR
):
9 def __init__(self
, phy
, buffer_depth
=2*fis_max_dwords
,
10 with_bist
=False, with_bist_csr
=False):
15 self
.core
= LiteSATACore(self
.phy
, buffer_depth
)
18 self
.crossbar
= LiteSATACrossbar(self
.core
)
20 self
.bist
= LiteSATABIST(self
.crossbar
, with_bist_csr
)