Visible to Intel only — GUID: gen1592263905303
Ixiasoft
Visible to Intel only — GUID: gen1592263905303
Ixiasoft
6.3. TX PCS Interface to User Logic
The Low Latency 40G for ASIC Proto Ethernet IP core TX client interface in PCS Only variations employs the Media Independent Interface (MII) protocol.
The client acts as a source and the TX PCS acts as a sink in the transmit direction.
Signal Name |
Description |
---|---|
clk_txmac | The TX clock for the IP core is clk_txmac. The frequency of this clock is 312.5 MHz. If you turn on Use external TX MAC PLL parameter, the clk_txmac_in input clock drives clk_txmac. |
tx_mii_d[127:0] |
TX MII input data from MAC to PCS. Data must be in MII encoding. The IP core handles two data blocks per clock cycle. |
tx_mii_c[15:0] |
TX MII control bits. Each bit corresponds to a byte of i_tx_mii_d. i_tx_mii_c[0] corresponds to i_tx_mii_d[7:0], i_tx_mii_c[1] corresponds to i_tx_mii_d[15:8], and so on. The IP core handles two data blocks per clock cycle. |
tx_mii_valid | Indicates that tx_mii_d is valid. You must assert this signal a fixed number of clock cycles after the IP core raises tx_mii_ready, and must deassert this signal the same number of clock cycles after the IP core deasserts tx_mii_ready. The number must be in the range of 1–10 clock cycles. While you hold the value of this signal at 0, you must freeze the values of both tx_mii_d and tx_mii_c stable. |
tx_mii_ready | Indicates the PCS is ready to receive new data. |
tx_pcs_am | Alignment marker insertion bit. You must hold this signal asserted for 2 clk_txmac consecutive clock cycles, counting only the valid cycles, to drive the insertion of an alignment marker. A valid cycle is one in which tx_mii_valid has the value of 1. The number of valid clock cycles from deassertion of tx_pcs_am (alignment marker insertion bit signal) to reassertion of tx_pcs_am is the am_period.
For an example that handles this setting for simulation and drives the tx_pcs_am signal appropriately for simulation, refer to the IP core design example for PCS Only variations. For information about how to generate the IP core design example, refer to the Low Latency 40G for ASIC Proto Ethernet Intel® FPGA IP Design Example User Guide. For information about the sim_mode RTL parameter, refer to the RTL Parameters section of this user guide. While you hold the value of this signal at 1, you must freeze the values of both tx_mii_d and tx_mii_c. |