E-Tile Hard IP Stratix® 10 Design Examples User Guide: Ethernet, CPRI PHY, and Dynamic Reconfiguration
ID
683578
Date
5/05/2025
Public
2.1.1. Directory Structure
2.1.2. Generating the Design
2.1.3. Simulating the E-Tile Hard IP for Ethernet Intel FPGA IP Design Example Testbench
2.1.4. Compiling the Compilation-Only Project
2.1.5. Compiling and Configuring the Design Example in Hardware
2.1.6. Testing the E-Tile Hard IP for Ethernet Intel FPGA IP Hardware Design Example
2.2.1.1. Non-PTP 10GE/25GE MAC+PCS with Optional RS-FEC Simulation Design Example
2.2.1.2. PTP 10GE/25GE MAC+PCS with Optional RS-FEC Simulation Design Example
2.2.1.3. 10GE/25GE PCS Only, OTN, or FlexE with Optional RS-FEC Simulation Design Example
2.2.1.4. 10GE/25GE Custom PCS with Optional RS-FEC Simulation Design Example
2.3.1. Simulation Design Examples
2.3.2. Hardware Design Examples
2.3.3. 100GE MAC+PCS with Optional RS-FEC Design Example Interface Signals
2.3.4. 100GE PCS with Optional RS-FEC Design Example Interface Signals
2.3.5. Multiple 25G Synchronous Ethernet Channels
2.3.6. 100GE MAC+PCS with Optional RS-FEC Design Example Registers
2.3.7. 100GE PCS with Optional RS-FEC Design Example Registers
2.3.1.1. Non-PTP E-Tile Hard IP for Ethernet Intel FPGA IP 100GE MAC+PCS with Optional RS-FEC Simulation Design Example
2.3.1.2. E-Tile Hard IP for Ethernet Intel FPGA IP 100GE MAC+PCS with Optional RS-FEC and PTP Simulation Design Example
2.3.1.3. E-Tile Hard IP for Ethernet Intel FPGA IP 100GE PCS Only with Optional RS-FEC Simulation Design Example
2.3.1.4. E-Tile Hard IP for Ethernet Intel FPGA IP 100GE OTN with Optional RS-FEC Simulation Design Example
2.3.1.5. E-Tile Hard IP for Ethernet Intel FPGA IP 100GE FlexE with Optional RS-FEC Simulation Design Example
2.3.2.1. 100GE MAC+PCS with Optional RS-FEC and PMA Adaptation Flow Hardware Design Example Components
2.3.2.2. 100GE MAC+PCS with Optional RS-FEC and PTP Hardware Design Example
2.3.2.3. 100GE PCS with Optional RS-FEC Hardware Design Example Components
2.3.2.4. Ethernet Adaptation Flow for 100G (CAUI-2) PAM4 <---> 100G (CAUI-4) NRZ Dynamic Reconfiguration Design Example
3.1.1. Hardware and Software Requirements
3.1.2. Generating the Design
3.1.3. Directory Structure
3.1.4. Simulating the Design Example Testbench
3.1.5. Compiling the Compilation-Only Project
3.1.6. Compiling and Configuring the Design Example in Hardware
3.1.7. Testing the E-tile CPRI PHY Intel® FPGA IP Hardware Design Example
4.1. Quick Start Guide
4.2. 10G/25G Ethernet Dynamic Reconfiguration Design Examples
4.3. CPRI Dynamic Reconfiguration Design Examples
4.4. 25G Ethernet to CPRI Dynamic Reconfiguration Design Example
4.5. 100G Ethernet Dynamic Reconfiguration Design Example
4.6. Document Revision History for the E-Tile Dynamic Reconfiguration Design Example
4.5.1. Functional Description
4.5.2. Testing the 100G Ethernet Dynamic Reconfiguration Hardware Design Example
4.5.3. Simulation Design Examples
4.5.4. 100GE DR Hardware Design Examples
4.5.5. 100G Ethernet Dynamic Reconfiguration Design Example Interface Signals
4.5.6. 100G Ethernet Dynamic Reconfiguration Examples Registers
4.5.7. Steps to Enable FEC
4.5.8. Steps to Disable FEC
2.3.1.1. Non-PTP E-Tile Hard IP for Ethernet Intel FPGA IP 100GE MAC+PCS with Optional RS-FEC Simulation Design Example
The simulation block diagram below is generated using the following settings in the IP parameter editor:
- Under the IP tab:
- Single 100GE with optional RSFEC or 100GE or 1 to 4 channel 10GE/25GE with optional RSFEC and PTP as the core variant.
- 100GE Channel as Active channel(s) at startup if you choose 100GE or 1 to 4 channel 10GE/25GE with optional RSFEC and PTP as the core variant.
- Enable RSFEC to use the RS-FEC feature.
Note: The RS-FEC feature is only available when you select 100GE or 1 to 4 channel 10GE/25GE with optional RSFEC and PTP as the core variant.
- Under the 100GE tab:
- 100G as the Ethernet rate.
- MAC+PCS as Select Ethernet IP Layers to use instantiate MAC and PCS layer or MAC+PCS+(528,514)RSFEC/MAC+PCS+(544,514)RSFEC to instantiate MAC and PCS with RS-FEC feature.
- Enable asynchronous adapter clocks to use the asynchronous adapter feature.
Figure 13. Simulation Block Diagram for E-Tile Hard IP for Ethernet Intel FPGA IP 100GE MAC+PCS with Optional RS-FEC Design Example
Note: If Enable asynchronous adapter clocks is enabled, the o_clk_div66 feeds the i_clk_tx and i_clk_rx clocks.
The testbench sends traffic through the IP core, exercising the transmit side and receive side of the IP core.
To speed up simulation, the IP core simulation model sends alignment marker tags at shorter intervals than required by the IEEE Ethernet standard. The standard specifies an alignment marker interval of 16,384 words in each virtual lane. The simulation model with the testbench implements an alignment marker interval of 512 words.
Perform these steps in order to run simulation with the IEEE Ethernet standard specified interval:
- Open <design_example>/ex_<speed>/synth/ex_<speed>.v and disable sim_mode parameter.
- Uncommand the following in the file.
- <example_design_varaition_name>\example_testbench\basic_avl_tb_top.sv
- Command in //defparam dut.alt_ehipc3_fm_hard_inst.E100GX4_FEC.altera_xcvr_native_inst.xcvr_native_s10_etile_0_example_design_4ln_ptp.generate_RSFEC_block.inst_ct3_hssi_rsfec.ct3_hssi_rsfec_encrypted_inst.ct1_hssirtl_rsfec_wrap_inst.die_specific_inst.x_rsfec_wrap.LOG2_MRK = 10;
The successful test run displays output confirming the following behavior:
- The client logic resets the IP core.
- Waits for RX datapath to align.
- Once alignment is complete, client logic transmits a series of packets to the IP core.
- The client logic receives the same series of packets through RX MAC interface.
- The client logic then checks the number of packets received and verify that the data matches with the transmitted packets.
- Displaying Testbench complete.
The following sample output illustrates a successful simulation test run for a 100GE, MAC+PCS with optional RS-FEC IP core variation.
# o_tx_lanes_stable is 1 at time 345651500 # waiting for tx_dll_lock.... # TX DLL LOCK is 1 at time 398849563 # waiting for tx_transfer_ready.... # TX transfer ready is 1 at time 399169435 # waiting for rx_transfer_ready.... # RX transfer ready is 1 at time 410719813 # EHIP PLD Ready out is 1 at time 410776000 # EHIP reset out is 0 at time 411040000 # EHIP reset ack is 0 at time 412282101 # EHIP TX reset out is 0 at time 413160000 # EHIP TX reset ack is 0 at time 462643731 # waiting for EHIP Ready.... # EHIP READY is 1 at time 462750387 # EHIP RX reset out is 0 at time 463088000 # waiting for rx reset ack.... # EHIP RX reset ack is 0 at time 463283667 # Waiting for RX Block Lock # EHIP RX Block Lock is high at time 467376591 # Waiting for AM lock # EHIP RX AM Lock is high at time 468643131 # Waiting for RX alignment # RX deskew locked # RX lane aligmnent locked # ** Sending Packet 1... # ** Sending Packet 2... # ** Sending Packet 3... # ** Sending Packet 4... # ** Sending Packet 5... # ** Sending Packet 6... # ** Sending Packet 7... # ** Received Packet 1... # ** Sending Packet 8... # ** Received Packet 2... # ** Sending Packet 9... # ** Received Packet 3... # ** Received Packet 4... # ** Sending Packet 10... # ** Received Packet 5... # ** Received Packet 6... # ** Received Packet 7... # ** Received Packet 8... # ** Received Packet 9... # ** Received Packet 10... # ====>MATCH! ReaddataValid = 1 Readdata = 11112015 Expected_Readdata = 11112015 # # ====> writedata = ffff0000 # # ====>MATCH! ReaddataValid = 1 Readdata = 11112015 Expected_Readdata = 11112015 # # ====> writedata = 4321abcd # # ====>MATCH! ReaddataValid = 1 Readdata = 4321abcd Expected_Readdata = 4321abcd # # ====> writedata = a5a51234 # # ====>MATCH! ReaddataValid = 1 Readdata = a5a51234 Expected_Readdata = a5a51234 # # ====> writedata = abcda5a5 # # ====>MATCH! ReaddataValid = 1 Readdata = abcda5a5 Expected_Readdata = abcda5a5 # # ====> writedata = 4321abcd # # ====>MATCH! ReaddataValid = 1 Readdata = 4321abcd Expected_Readdata = 4321abcd # # ====> writedata = a5a51234 # # ====>MATCH! ReaddataValid = 1 Readdata = a5a51234 Expected_Readdata = a5a51234 # # ====> writedata = abcda5a5 # # ====>MATCH! ReaddataValid = 1 Readdata = abcda5a5 Expected_Readdata = abcda5a5 # # TX enabled # ** # ** Testbench complete. # ** # *****************************************