F-Tile CPRI PHY Multirate Intel® FPGA IP User Guide

ID 710578
Date 12/04/2023
Public
Document Table of Contents

2.4. RX MII Interface (64b/66b)

Table 12.  RX MII Interface
Port Name Width (Bits) Domain Description
o_rx_mii_d[63:0] 64 o_rx_clkout2

RX MII data. Data is in MII encoding. o_rx_mii_d[7:0] holds the first byte that the IP core received on the CPRI link. o_rx_mii_d[0] holds the first bit that the IP core received on the CPRI link.

o_rx_mii_c[7:0] 8 o_rx_clkout2 RX MII control bits. Each bit corresponds to a byte of RX MII data. o_rx_mii_c[0] corresponds to o_rx_mii_d[7:0], o_rx_mii_c[1] corresponds to o_rx_mii_d[15:8], and so on.

If the value of a bit is 1, the corresponding data byte is a control byte. If the value of a bit is 0, the corresponding data byte is data.

The Start of Packet byte (0xFB) and End of Packet byte (0xFD) are control bytes.

Figure 2. Receiving Data Using the RX MII InterfaceThis figure shows how to read packets from the RX MII interface.
  • The packets are MII encoded. Each byte in o_rx_mii_d has a corresponding bit in o_rx_mii_c that indicates whether the byte is a control byte or a data byte; for example, o_rx_mii_c[2] is the control bit for o_rx_mii_d[23:16].
  • The byte order for the RX MII interface flows from right to left. The first byte that the core receives is o_rx_mii_d[7:0].
  • The first bit that the IP receives is o_rx_mii_d[0].