mirror of
https://github.com/enjoy-digital/usb3_pipe.git
synced 2025-01-04 10:18:41 +08:00
kc705: Add SFP support (Through Xillybus's SFP2USB) and remove HiTechGlobal USB3.0 FMC support.
This commit is contained in:
parent
3d0bea4453
commit
55eee1a81f
24
kc705.py
24
kc705.py
@ -29,17 +29,7 @@ from usb3_core.core import USB3Core
|
|||||||
# USB3 IOs -----------------------------------------------------------------------------------------
|
# USB3 IOs -----------------------------------------------------------------------------------------
|
||||||
|
|
||||||
_usb3_io = [
|
_usb3_io = [
|
||||||
# HiTechGlobal USB3.0 FMC P3 connector
|
# PCIe / Through PCIsh-to-USB3 breakout board.
|
||||||
("usb3_rx", 0,
|
|
||||||
Subsignal("p", Pins("HPC:DP0_M2C_P")),
|
|
||||||
Subsignal("n", Pins("HPC:DP0_M2C_N")),
|
|
||||||
),
|
|
||||||
("usb3_tx", 0,
|
|
||||||
Subsignal("p", Pins("HPC:DP0_C2M_P")),
|
|
||||||
Subsignal("n", Pins("HPC:DP0_C2M_N")),
|
|
||||||
),
|
|
||||||
|
|
||||||
# PCIe
|
|
||||||
("pcie_rx", 0,
|
("pcie_rx", 0,
|
||||||
Subsignal("p", Pins("M6")),
|
Subsignal("p", Pins("M6")),
|
||||||
Subsignal("n", Pins("M5")),
|
Subsignal("n", Pins("M5")),
|
||||||
@ -58,6 +48,16 @@ _usb3_io = [
|
|||||||
Subsignal("p", Pins("K6")),
|
Subsignal("p", Pins("K6")),
|
||||||
Subsignal("n", Pins("K5"))
|
Subsignal("n", Pins("K5"))
|
||||||
),
|
),
|
||||||
|
|
||||||
|
# SFP / Through XillyUSB's SFP2USB.
|
||||||
|
("sfp_tx", 0,
|
||||||
|
Subsignal("p", Pins("H2")),
|
||||||
|
Subsignal("n", Pins("H1")),
|
||||||
|
),
|
||||||
|
("sfp_rx", 0,
|
||||||
|
Subsignal("p", Pins("G4")),
|
||||||
|
Subsignal("n", Pins("G3")),
|
||||||
|
),
|
||||||
]
|
]
|
||||||
|
|
||||||
# CRG ----------------------------------------------------------------------------------------------
|
# CRG ----------------------------------------------------------------------------------------------
|
||||||
@ -79,7 +79,7 @@ class _CRG(Module):
|
|||||||
# USB3SoC ------------------------------------------------------------------------------------------
|
# USB3SoC ------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
class USB3SoC(SoCMini):
|
class USB3SoC(SoCMini):
|
||||||
def __init__(self, platform, connector="pcie", with_etherbone=True, with_analyzer=True):
|
def __init__(self, platform, connector="sfp", with_etherbone=True, with_analyzer=True):
|
||||||
sys_clk_freq = int(125e6)
|
sys_clk_freq = int(125e6)
|
||||||
|
|
||||||
# SoCMini ----------------------------------------------------------------------------------
|
# SoCMini ----------------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user