Visible to Intel only — GUID: jmx1725845977229
Ixiasoft
1. Overview
2. Install and License the GTS Ethernet Intel® FPGA Hard IP
3. Configure and Generate Ethernet Hard IP variant
4. Integrate GTS Ethernet Intel® FPGA Hard IP into Your Application
5. Simulate, Compile, and Validate (MAC+PCS) - Single Instance
6. Simulate, Compile, and Validate (MII PCS Only /PCS66 OTN/PCS66 FlexE) - Single Instance
7. Simulate, Compile, and Validate SyncE - Single Instance
8. Simulate and Compile PTP1588 - Single Instance
9. Simulate, Compile, and Validate - Multiple Instance
10. Simulate, Compile, and Validate - Auto-Negotiation and Link Training
11. Troubleshoot and Diagnose Issues
A. Appendix A: Functional Description
B. Appendix B: Configuration Registers
C. Appendix C: Document Revision History for the GTS Ethernet Intel® FPGA Hard IP User Guide
4.1. Implement Required Clocking
4.2. Implement Required Resets
4.3. Connect the Status Interface
4.4. Connect the MAC Avalon Streaming Client Interface
4.5. Connect the MII PCS Only Client Interface
4.6. Connect the PCS66 Client Interface – FlexE and OTN
4.7. Connect the Precision Time Protocol Interface
4.8. Connect the Ethernet Hard IP Reconfiguration Interface
4.9. Connect the Auto-Negotiation and Link Training
4.1.1. Implement MAC Synchronous Clock Connections to Single Instance
4.1.2. Implement MAC Synchronous Clock Connections to Multiple Instances
4.1.3. Implement Clock Connections to MAC Asynchronous Operation
4.1.4. Implement Clock Connections in Synchronous Ethernet Operation (Sync-E)
4.1.5. Implement Clock Connections in PTP-Based Design
4.4.1.1. Drive the Ethernet Packet to the TX MAC Avalon Streaming Client Interface with Disabled Preamble Passthrough
4.4.1.2. Drive the Ethernet Packet on the TX MAC Avalon Streaming Client Interface with Enabled Preamble Passthrough
4.4.1.3. Use i_tx_skip_crc to Control Source Address, PAD, and CRC Insertion
4.4.1.4. Assert the i_tx_error to Invalidate a Packet
4.4.2.1. Receive Ethernet Frame on the RX MAC Avalon Streaming Client Interface with Preamble Passthrough Disabled
4.4.2.2. Receive Ethernet Frame with Preamble Passthrough Enabled
4.4.2.3. Receive Ethernet Frame with Remove CRC bytes Disabled
4.4.2.4. Monitor Status and Errors on the RX MAC Avalon Streaming Client Interface
Visible to Intel only — GUID: jmx1725845977229
Ixiasoft
10.5.3. Run the Hardware Test
Follow these steps to test the hadwae desig example o the System Cosole:
- Ope Tools > System Debuggig Tools > System Cosole o type the commad:
system-cosole &
- I the TCl Cosole widow, type cd hwtest to chage diectoy to <desig_example_di>/hadwae_test_desig/hwtest
- Type souce mai_10G.tcl to list the available JTAG mastes:
- Type set_jtag <idex> to select the appopiate JTAG maste.
- Ru oe of the followig commads:
- If you use the iteal seial loopback, ete the followig commad:
u_test_alt
- If you iseted a exteal loopback plug ito the desied Etheet pot, ete the followig commad:
u_test_without_loopback_alt
- If you use the iteal seial loopback, ete the followig commad:
- The hadwae desig example uses the u_test/u_test_without_loopback commad to iitiate packet tasmissio fom the packet geeato to the IP coe. Specifically, the scipt pefoms the followig tasks:
- chkphy_status: Displays the clock fequecies ad PMA PHY lock status.
- chkmac_stats: Displays the MAC statistics coutes.
- clea_all_stats: Cleas the IP coe statistics coutes.
- stat_pkt_ge: Stats the packet geeato.
- stop_pkt_ge: Stops the packet geeato.
- u_test: Tus o iteal seial loopback.
- u_test_without_loopback: Tus off iteal seial loopback.
- eg_ead <add>: Retus the IP coe egiste value at <add>. Example to ead the TX datapath PCS eady egiste: Type eg_ead 0x322.
- eg_wite <add> <data>: Wites <data> to the IP coe egiste at addess<add>. Example to iitiate soft eset o RX datapath: Type eg_wite 0x108 0x0004.
- Veify that the output of the TCL scipt matches the output fom a sample test u, show below:
% u_testAN CFG1 Registe Value:0x737d0281 FSM:0x00002002 FSM:0x000001f0 AN STAT:0x000010e6 LT STAT:0x00000001 --- Tuig off packet geeatio ---- -------------------------------------- --------- Eablig loopback ---------- -------------------------------------- Seial loopback o INST_NUM:0 Lae# 3 is disabled ---Assetig CSR RX Reset ---- Value fom issp eset pobe is 0x89/0b10001001 1. 0x6A340 2. 0x0006a340 Pollig Successful Bit 15: 0x000001, Bit 14: 0x000000 1. 0x62340 2. 0x0033236e Pollig Successful Bit 15: 0x000000, Bit 14: 0x000000 ---Releasig CSR Reset ---- Seial loopback o INST_NUM:0 Lae# 3 is disabled --- Wait fo RX clock to settle... --- -------------------------------------- -------- Pitig PHY status --------- -------------------------------------- RX PHY Registe Access: Checkig Clock Fequecies (KHz) TXCLK :161140 (KHZ) RXCLK :161130 (KHZ) TX PLL Lock Status 0x00000001 Rx Fequecy Lock Status 0x00000001 RX PCS Ready 0x1 TX Laes Stable 0x1 Deskewed Status 0x0 Lik Fault Status 0x00000000 Rx Fame Eo 0x00000000 Rx AM LOCK Coditio 0x0000ffff ---- Cleaig MAC stats coutes ----- -------------------------------------- --- Iitialize PKT ROM Read addess fo IP_INST[0]---- --------- Sedig packets... --------- -------------------------------------- ----- Readig MAC stats coutes ----- -------------------------------------- ========================================================================================== STATISTICS FOR BASE 0x50000 (Rx) ========================================================================================== Fagmeted Fames : 0 Jabbeed Fames : 0 Ay Size with FCS E Fame : 0 Right Size with FCS E Fa : 0 Multicast data E Fames : 0 Boadcast data E Fames : 0 Uicast data E Fames : 0 Multicast cotol E Fame : 0 Boadcast cotol E Fame : 0 Uicast cotol E Fames : 0 Pause cotol E Fames : 0 64 Byte Fames : 0 65 - 127 Byte Fames : 16 128 - 255 Byte Fames : 0 256 - 511 Byte Fames : 0 512 - 1023 Byte Fames : 0 1024 - 1518 Byte Fames : 0 1519 - MAX Byte Fames : 0 > MAX Byte Fames : 0 Rx Fame Stats : 16 Multicast data OK Fame : 16 Boadcast data OK Fame : 0 Uicast data OK Fames : 0 Multicast Cotol Fames : 0 Boadcast Cotol Fames : 0 Uicast Cotol Fames : 0 Pause Cotol Fames : 0 Data ad paddig octets : 800 Fame octets : 1088 ========================================================================================== STATISTICS FOR BASE 0x50000 (Tx) ========================================================================================== Fagmeted Fames : 0 Jabbeed Fames : 0 Ay Size with FCS E Fame : 0 Right Size with FCS E Fa : 0 Multicast data E Fames : 0 Boadcast data E Fames : 0 Uicast data E Fames : 0 Multicast cotol E Fame : 0 Boadcast cotol E Fame : 0 Uicast cotol E Fames : 0 Pause cotol E Fames : 0 64 Byte Fames : 0 65 - 127 Byte Fames : 16 128 - 255 Byte Fames : 0 256 - 511 Byte Fames : 0 512 - 1023 Byte Fames : 0 1024 - 1518 Byte Fames : 0 1519 - MAX Byte Fames : 0 > MAX Byte Fames : 0 Tx Fame Stats : 16 Multicast data OK Fame : 16 Boadcast data OK Fame : 0 Uicast data OK Fames : 0 Multicast Cotol Fames : 0 Boadcast Cotol Fames : 0 Uicast Cotol Fames : 0 Pause Cotol Fames : 0 Data ad paddig octets : 800 Fame octets : 1088 -------------------------------------- u_test:pass -------------------------------------- ---------------- Doe ---------------- Seial loopback o INST_NUM:0 Lae# 3 is eabled ---Assetig CSR RX Reset ---- Value fom issp eset pobe is 0x89/0b10001001 1. 0x0A340 2. 0x0000a340 Pollig Successful Bit 15: 0x000001 , Bit 14: 0x000000 1. 0x02340 2. 0x0033236e Pollig Successful Bit 15: 0x000000 , Bit 14: 0x000000 ---Releasig CSR Reset ---- Seial loopback o INST_NUM:0 Lae# 3 is disabled