Low Latency Ethernet 10G MAC Intel® FPGA IP User Guide: Agilex™ 5 FPGAs and SoCs
                    
                        ID
                        813663
                    
                
                
                    Date
                    7/08/2024
                
                
                    Public
                
            A newer version of this document is available. Customers should click here to go to the newest version.
                
                    
                        1. Low Latency Ethernet 10G MAC Intel® FPGA IP Overview
                    
                    
                
                    
                        2. Getting Started
                    
                    
                
                    
                        3. Functional Description
                    
                    
                
                    
                    
                        4. Parameter Settings for the Low Latency Ethernet 10G MAC Intel® FPGA IP Core
                    
                
                    
                        5. Interface Signals
                    
                    
                
                    
                        6. Configuration Registers
                    
                    
                
                    
                    
                        7. Low Latency Ethernet 10G MAC Intel® FPGA IP User Guide: Agilex™ 5 FPGAs and SoCs Archives
                    
                
                    
                    
                        8. Document Revision History for the Low Latency Ethernet 10G MAC Intel® FPGA IP User Guide: Agilex™ 5 FPGAs and SoCs
                    
                
            
        
                        
                        
                            
                            
                                2.1. Introduction to Intel® FPGA IP Cores
                            
                        
                            
                            
                                2.2. Installing and Licensing Intel® FPGA IP Cores
                            
                        
                            
                            
                                2.3. Specifying the IP Parameters and Options ( Quartus® Prime Pro Edition)
                            
                        
                            
                            
                                2.4. Generated File Structure
                            
                        
                            
                            
                                2.5. Simulating Intel® FPGA IP Cores
                            
                        
                            
                                2.6. Upgrading the Low Latency Ethernet 10G MAC Intel® FPGA IP Core
                            
                            
                        
                            
                                2.7. Low Latency Ethernet 10G MAC Intel® FPGA IP Design Examples
                            
                            
                        
                    
                
                        
                        
                            
                            
                                5.1. Clock and Reset Signals
                            
                        
                            
                            
                                5.2. Speed Selection Signal
                            
                        
                            
                            
                                5.3. Error Correction Signals
                            
                        
                            
                            
                                5.4. Avalon® Memory-Mapped Interface Programming Signals
                            
                        
                            
                                5.5. Avalon® Streaming Data Interfaces
                            
                            
                        
                            
                            
                                5.6. Avalon® Streaming Flow Control Signals
                            
                        
                            
                                5.7. Avalon® Streaming Status Interface
                            
                            
                        
                            
                                5.8. PHY-side Interfaces
                            
                            
                        
                            
                                5.9. IEEE 1588v2 Interfaces
                            
                            
                        
                    
                3.9.2. TX Datapath
The IEEE 1588v2 feature supports 1-step and 2-step clock synchronizations on the TX datapath.
- For 1-step clock synchronization, 
    
- Timestamp insertion depends on the PTP device and message type.
 - The MAC function inserts a timestamp in the PTP packet when the client specifies the Timestamp field offset and asserts Timestamp Insert Request.
 - Depending on the PTP device and message type, the MAC function updates the residence time in the correction field of the PTP packet when the client asserts tx_etstamp_ins_ctrl_residence_time_update and Correction Field Update. The residence time is the difference between the egress and ingress timestamps.
 - For PTP packets encapsulated using the UDP/IPv6 protocol, the MAC function performs UDP checksum correction using extended bytes in the PTP packet.
 - The MAC function recomputes and reinserts CRC-32 into PTP packets each time the timestamp or correction field is updated, even when CRC insertion is disabled using the tx_crc_control[1] register bit.
 - The format of timestamp supported includes 1588v1 and 1588v2.
 - The MAC function updates tx_egress_p2p_val[45:0] into correction field of PTP packet when the client asserts tx_egress_p2p_update.
 - The MAC function updates asymmetry value into correction field of PTP packet when the client asserts tx_egress_asymmetry_update. The asymmetry value is retrieved from configuration registers.
 
 - For 2-step clock synchronization, the MAC function returns the timestamp and the associated fingerprint for all TX frames when the client asserts tx_egress_timestamp_request_valid.
 
The following table summarizes the timestamp and correction field insertions for various PTP messages in different PTP clocks.
| PTP Message | Ordinary Clock | Boundary Clock | E2E Transparent Clock | P2P Transparent Clock | ||||
|---|---|---|---|---|---|---|---|---|
| Insert Time stamp | Insert Correction | Insert Time stamp | Insert Correction | Insert Time stamp | Insert Correction | Insert Time stamp | Insert Correction | |
| Sync | Yes 1 | No | Yes1 | No | No | Yes 2 | No | Yes 2 | 
| Delay_Req | No | No | No | No | No | Yes 2 | No | No | 
| Pdelay_Req | No | No | No | No | No | Yes 2 | No | No | 
| Pdelay_Resp | No | Yes 1 2 | No | Yes 1 2 | No | Yes 2 | No | Yes 1 2 | 
| Delay_Resp | No | No | No | No | No | No | No | No | 
| Follow_Up | No | No | No | No | No | No | No | No | 
|  Pdelay_Resp_  Follow_Up  |  
      No | No | No | No | No | No | No | No | 
| Announce | No | No | No | No | No | No | No | No | 
| Signaling | No | No | No | No | No | No | No | No | 
| Management | No | No | No | No | No | No | No | No | 
  1 Applicable only when 2-step flag in flagField of the PTP packet is 0. 
 
 
 
  2 Applicable when you assert the tx_etstamp_ins_ctrl_residence_time_update signal.