litex icon indicating copy to clipboard operation
litex copied to clipboard

How to use ethernet via SFP on VC707

Open ghost opened this issue 6 months ago • 1 comments

Hi, I'm new to LiteX and currently working on enabling Ethernet support for the VC707 board. I came across https://github.com/litex-hub/linux-on-litex-vexriscv/issues/256 which discusses a similar setup on the AC701 platform. However, I'm still confused about how to properly configure the reference clock (refclk) for the SFP interface on the VC707.

Unlike the AC701, which provides a dedicated GTP refclk input for the SFP, the VC707 doesn't seem to expose a straightforward GTP refclk option for Ethernet use. I'm not sure how to route or generate the correct refclk for the transceiver to get Ethernet working.

Could anyone with experience on VC707 and LiteX help clarify how to handle the refclk setup for the SFP?

ghost avatar Jun 20 '25 05:06 ghost

I think you can refer to the “xilinx_zc706” implementation and use a PLL to generate a 200 MHz cd_eth clock.

leeguang517 avatar Aug 09 '25 01:08 leeguang517