GTS Ethernet Intel® FPGA Hard IP User Guide

ID 817676
Date 10/12/2024
Public
Document Table of Contents

4.5.2. Connect the MII PCS Mode RX Interface

The GTS Etheet Itel® FPGA Had IP RX cliet iteface i PCS Oly vaiatios is MII.

Coect the RX MII iteface, which is a souce, to a MII compliat sik. Coect the iteface as descibed i the table below, which illustates how to tasmit packets diectly to the PCS RX iteface.

Table 35.  MII RX Cliet Iteface SigalsAll iteface sigals ae clocked by the i_clk_x. The sigal ames ae stadad Avalo® steamig iteface sigals.
Sigal Name Width Desciptio
o_x_mii_d[63:0] 64 bits (10GE/25GE)
Receive Etheet fames o MII cotol bytes, MII ecoded, o this iput data bus.
  • o_x_mii_d[7:0] holds the fist byte eceived o the Etheet lik.
  • o_x_mii_d[0] holds the fist bit eceived o the Etheet lik.
o_x_mii_c[7:0] 8 bits (10GE/25GE)

Sample this bus to detemie if o_x_mii_d[63:0] iput bus is cayig cotol o data bytes.

If the value of a bit is 1, the coespodig data byte is a cotol byte. If the value of a bit is 0, the coespodig data byte is data.

o_x_mii_valid 1 bit

Sample this sigal to qualify the RX MII data, RX MII cotol bits, ad the RX valid aligmet make sigals.

o_x_mii_am_valid 1 bit

Sample this sigal to detemie if the IP coe has eceived a aligmet make o the Etheet lik.

The followig wavefom shows how to eceive packets fom the RX PCS usig the PCS mode RX iteface.

Figue 40. Receivig Data o the PCS Mode RX Iteface
  • The sigal o_x_mii_valid is dive high, qualifyig that the data buses o_x_mii_d ad o_x_mii_c ae valid.
  • The bit ode fo the PCS mode RX iteface is the same as the bit ode of the cliet iteface.
  • The fist bit that the coe eceives is o_x_mii_d[0].
Note: The PCS mode RX iteface is ot SOP aliged. Packets ca begi o ay byte positio that is a multiple of 4 fo 10GE/25GE.
Table 36.  Readig a Stat Packet Block with Peamble fom a PCS Mode TX Iteface
MII Data MII Cotol Etheet Packet Byte
o_x_mii_d[7:0] 0xFB o_x_mii_c[0] 1 Stat of Packet
o_x_mii_d[15:8] 0x55 o_x_mii_c[1] 0 Peamble
o_x_mii_d[23:16] 0x55 o_x_mii_c[2] 0 Peamble
o_x_mii_d[31:24] 0x55 o_x_mii_c[3] 0 Peamble
o_x_mii_d[39:32] 0x55 o_x_mii_c[4] 0 Peamble
o_x_mii_d[47:40] 0x55 o_x_mii_c[5] 0 Peamble
o_x_mii_d[55:48] 0x55 o_x_mii_c[6] 0 Peamble
o_x_mii_d[63:56] 0xD5 o_x_mii_c[7] 0 SFD