Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

XAUI Phy in Stratix IV GX

Hi,

actually I'm using the Stratix IV GX Devkit (EP4SGX230KF40) and try to implement a communication using the HSMC- loobpack adapter on port HSMCA. The protocol I'm using is XAUI. I started with the ALTGX and ALTGX_RECONFIG Megafunctions and a pattern generator in conjunction with a pattern checker. This little testdesign works fine in some cases. Mostly the lanes on the receiver are mixed up compared to the transmitter even though the rx_channelaligned signal is set to '1' from the ALTGX function.

There is an example desing on Alterawiki (http://www.alterawiki.com/wiki/xaui_design_example_1 (http://www.alterawiki.com/wiki/xaui_design_example_1) for Stratix V. This example use the XAUI_PHY and ALT_XCVR_RECONFIG megafunctions. I want to check if these functions solve my problem. Does any body know if the ALT_XCVR_RECONFIG are available for Stratix IV?

Are there some ideas about the lane mix up?

Jens

12 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thank you for all the support and help!

    On the 10Gbps MAC Megacore User Guide (page 148), it is written that the Recofiguration is not necessary for Stratix IV GX Devices.

    Unfortunately I don't have any SFP+ interfaces available here (my supervisor haven't bought it yet), that's why I'm trying to loopback the XAUI interface to test it. Isn't there any way of doing this with the HSMC Loopback Module?

    Thank you once more!

    --- Quote Start ---

    Yes, you need the reconfiguration controller because the offset cancellation must be done. Look at my attached screenshots.

    They show the settings for the LPMs, which I use actually on a custom hardware. For the devkit it should be the same. The analog options in

    XAUI Phy may vary.

    xaui_lpms.jpg show the connection between reconfig controller and phy. The signal reconfig_fromgxb is splitted between the 2 phys. (described in

    Stratix IV Device Handbook Volume 2: Transceivers, Feb. 2011, p. 5-77)

    reconfig_clk.jpg shows the constraints for the clock to the reconfig controller. Use an appropriate clock on the devkit.

    The connection from xgmii_rx_clk to xgmii_tx_clk is correct. I use this clock to drive the control logic for send and receive data over the XAUI channels.

    I do not use a MAC (10GE) just the low level XAUI protocol.

    best regards

    Jens

    --- Quote End ---

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello again.

    I have tried to run even the original Altera projects (i.e. an638) and had no success. As always, xgmii_rx_clk didn't work, which made me think that could perhaps be some type of hardware fault.

    So I've switched my project to a Stratix V and it worked fine with the loopback!

    So again, thanks for everyone who help me!