Visible to Intel only — GUID: aeg1718417261517
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: aeg1718417261517
Ixiasoft
8.5.3. Run the Hardware Test
Follow these steps to test the hardware design example on the System Console:
- Open Tools > System Debugging Tools > System Console or type the command:
system-console &
- In the TCl Console window, type cd hwtest to change directory to <design_example_dir>/hardware_test_design/hwtest
- Type source main_10G_ptp.tcl to list the available JTAG masters:
- Type set_jtag <index> to select the appropriate JTAG master.
- Run one of the following commands:
- If you use the internal serial loopback, enter the following command:
run_test_with_loopback
- If you inserted an external loopback plug into the desired Ethernet port, enter the following command:
run_test
- If you use the internal serial loopback, enter the following command:
- The hardware design example uses the run_test/run_test_without_loopback command to initiate packet transmission from the packet generator to the IP core. Specifically, the script performs the following steps:
- chkphy_status: Displays the clock frequencies and PMA PHY lock status.
- chkmac_stats: Displays the MAC statistics counters.
- clear_all_stats: Clears the IP core statistics counters.
- start_pkt_gen: Starts the packet generator.
- stop_pkt_gen: Stops the packet generator.
- run_test_without_loopback: Turns on internal serial loopback.
- run_test: Turns off internal serial loopback.
- reg_read <addr>: Returns the IP core register value at <addr>. Example to read the GUI options: Type reg_read 0x100.
- reg_write <addr> <data>: Writes <data> to the IP core register at address<addr>. Example to initiate soft reset on RX datapath: Type reg_write 0x108 0x0004.
- Verify that the output of the TCL script matches the output from a sample test run, shown below:
% run_test --- Turning off packet generation ---- -------------------------------------- ----Waiting for EX Clock to settle.... -------------------------------------- ----Printing PHY status --------- -------------------------------------- RX PHY Register Access: Checking Clock Frequencies(KHz) TXCLK :161140 (KHZ) RXCLK :161140 (KHZ) TX PLL Lock Status 0x00000001 RX Frequency Lock Status 0x00000001 RX PCS Ready 0x1 TX Lanes Stable 0x1 Deskew status 0x0 Link Fault Status 0x00000000 RX Frame Error 0x00000000 RX AM LOCK Condition 0x1 ---- Clearing MAC stats counters ----- ------- Executing PTP Firmware ------- -------------------------------------- ------------------------------------------- --19:41:37-- Info: PTP Initialization beginning... Ethernet Variant: 0 ui: 0x018D3019 VL: 1 PL_FL_MAP: 1 tx_pma_delay_ui: 79 rx_pma_delay_ui: 88 ---------------------------------------------------------- | 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 ---------------------------------------------------------- 0000 | AB E4 23 39 F0 00 1E 84 33 9F 01 00 AE FE 00 0F 0010 | 10 11 12 13 00 00 00 00 00 28 09 DE 50 4C 1E 1F 0020 | 20 21 22 24 06 04 26 27 28 29 2A 2B 2C 2D 2E 2F 0030 | 30 31 32 33 34 35 36 37 BB CC 3A 3B 3C 3D 3E 3F 0040 | 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 0050 | 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 0060 | 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 0070 | 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F 0080 | 04 94 64 FF ---------------------------------------------------------- ------------------------------ TX PTP Command #16 ------------------------------ Egress Timestamp Request : 0 Insert Timestamp : 1 Update CorrectionField : 0 Clear UDP/IPv4 Checksum : 0 Update UDP/IPv6 Extended Bytes : 0 Add Peer-to-Peer (P2P) MinPathDelay : 0 Add Asymmetry Delay : 0 Asymmetry Delay Sign : 0 Asymmetry & P2P MinPathDelay Select : 0x0 Timestamp Field Offset : 0x0014 Correction Field Offset : 0x001e TX Fingerprint Data : 0x00000006 TX Ingress Timestamp : 0x000000000028000000000000 ------------------------------ Timestamps #16 ------------------------------ TX Egress Timestamp : 0x00000000002809de504c4a80 RX Ingress Timestamp : 0x00000000002809de504c2080 TX User Fingerprint : 0x00000006 TX Returned Fingerprint : 0x00000006 ------------------------------ Comparison #16 ------------------------------ RX_ITS - TX_ETS : 0xffffffffffffd600/-0.1641 ns TX Timestamp Fields : 0xAA1516AA18191A1B1C1D RX Timestamp Fields : 0x00000000002809DE504C TX Compensation Fields : 0x1E1F20212223BBCC RX Compensation Fields : 0x1E1F202122240604 %