Low Latency 40-Gbps Ethernet Intel® FPGA IP User Guide: Stratix® 10
ID
683600
Date
5/31/2024
Public
1. About the Low Latency 40G Ethernet Core
2. Stratix® 10 Low Latency 40G Ethernet IP Core Parameters
3. Getting Started
4. Functional Description
5. Reset
6. Interfaces and Signal Descriptions
7. Control, Status, and Statistics Register Descriptions
8. Debugging the Link
9. Ethernet Toolkit Overview
10. Stratix® 10 Low Latency 40GbE IP Core User Guide Archives
11. Differences Between Stratix® 10 Low Latency 40G Ethernet IP Core and Low Latency 40G Ethernet IP Core That Targets an Arria 10 Device
12. Document Revision History for Stratix® 10 Low Latency 40G Ethernet User Guide
3.1. Installing and Licensing Intel® FPGA IP Cores
3.2. Specifying the Stratix® 10 LL 40GbE IP Core Parameters and Options
3.3. Simulating the IP Core
3.4. Generated File Structure
3.5. Integrating Your IP Core in Your Design
3.6. Stratix® 10 Low Latency 40G Ethernet IP Core Testbench
3.7. Compiling the Full Design and Programming the FPGA
6.1. TX MAC Interface to User Logic
The TX MAC provides an Avalon® streaming interface to the FPGA fabric. The datapath comprises 2, 64-bit words. The minimum packet size is nine bytes.
Signal |
Direction |
Description |
---|---|---|
clk_txmac | Output | 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 in the Stratix® 10 LL 40GbE parameter editor, the clk_txmac_in input clock drives clk_txmac. |
l2_tx_data[127:0] | Input | Data input to MAC. Bit 127 is the MSB and bit 0 is the LSB. Bytes are read in the usual left to right order. |
l2_tx_preamble[63:0] | Input | User preamble data. Available when you turn on Enable preamble passthrough in the Stratix® 10 LL 40GbE parameter editor. User logic drives the custom preamble data when l2_tx_startofpacket is asserted. |
l2_tx_valid | Input | When asserted, indicates valid data. |
l2_tx_startofpacket | Input | When asserted, indicates the first byte of a frame. When l2_tx_startofpacket is asserted, the MSB of l2_tx_data drives the start of packet. Packets that drive l2_tx_startofpacket and l2_tx_endofpacket in the same cycle are ignored. |
l2_tx_endofpacket | Input | When asserted, indicates the end of a packet. Packets that drive l2_tx_startofpacket and l2_tx_endofpacket in the same cycle are ignored. |
l2_tx_empty[3:0] | Input | Specifies the number of empty bytes when l2_tx_endofpacket is asserted. |
l2_tx_ready | Output | When asserted, indicates that the MAC can accept the data. The IP core asserts the l2_tx_ready signal on clock cycle <n> to indicate that clock cycle <n + readyLatency> is a ready cycle. The client may only assert l2_tx_valid and transfer data during ready cycles. |
l2_tx_error | Input | When asserted in an EOP cycle (while l2_tx_endofpacket is asserted), directs the IP core to insert an error in the packet before sending it on the Ethernet link.
Note: This functionality is not available in the Quartus Prime Pro 17.1 Stratix 10 ES Editions software.
|
l2_txstatus_valid | Output | When asserted, indicates that l2_txstatus_data and l2_txstatus_error[6:0] are driving valid data. |
l2_txstatus_data[39:0] | Output | Specifies information about the transmit frame. The following fields are defined:
|
l2_txstatus_error[6:0] | Output | Specifies the error type in the transmit frame. The following fields are defined:
|
Figure 13. Client to MAC Avalon® streaming interface l2_tx_data reception order is highest byte to lowest byte. The first byte of the destination address is on l2_tx_data[127:120] , 0xabe4233 . . . in this timing diagram. The ready latency is 0 in this example.
Related Information