GTS Ethernet Intel® FPGA Hard IP User Guide

ID 817676
Date 10/12/2024
Public
Document Table of Contents

B.2. Packet Client Registers

You ca customize the GTS Etheet Itel® FPGA Had IP hadwae desig example by pogammig the packet cliet egistes fo IP vaiats. These egistes ae ot icluded i the Agilex™ 5 Etheet Itel® FPGA Had IP Registe Map.

To access the packet cliet egistes, the addess value is calculated usig both the base ad offset addess. Fo example, to access hw_test_om_add egiste, add offset addess 0x08 to the packet cliet egiste base addess 0x100000, which esults i 0x100008.

Table 66.  Packet Cliet Registes fo MAC Avalo® ST Iteface
Note: All addess offsets ae specified i the byte addess fomat.
Addess Name Bit Offset Default Value Access Desciptio
0x00 hw_pc_ctl 0 1'b0 RW Stat ad stop of the TX packet geeatio.
  • 0: Stop packet geeato
  • 1: Stat packet geeato
2 1'b0 RW Packet tasmissio mode.
  • 0: Oe time mode
  • 1: Cotiuous mode

Whe you switch fom cotiuous to oe time mode, you must set hw_pc_ctl[0] to 1 to esue the pedig packet tasmissio is completed.

4 1'b0 RW Packet cliet loopback.
  • 0: Packet geeato data path: Data flow fom packet cliet to TX data path
  • 1: Loopback cliet data path: RX MAC Avalo Steamig loopback to TX MAC Avalo Steamig Cliet Iteface
6 1'b0 RW The sapshot status fo all statistics coute egistes.
  • 0: No sapshot
  • 1: Sapshot available
7 1'b0 RW The clea status of the sapshot egistes.
  • 0: Do ot clea the iteal egistes
  • 1: Clea the iteal egistes
8 1'b0 RW The EOP of TX packet ad cleas the coutes.
0x0C Loopback_FIFO_status [0] 0 RW Loopback FIFO wite full eo
[1] 0 RW Loopback FIFO ead empty eo
[15:2] 14'h0000 RW Reseved. Default 0s
0x1C cfg_om_pkt_gap [4:0] 0 RW

Gap isetio betwee the packets. avst: mi gap = 0; max gap = 31

[31:5] 0 RW Reseved. Default 0s.
0x04 hw_test_loop_ct [15:0] 16'd1 RW Idicates the umbe of times the ROM packet data ae set.
0x08 hw_test_om_add [15:0] 16'd0 RW ROM packet data stat addess
[31:16] 16'd0 RW ROM packet data ed addess
0x10 Latecy Reg [7:0] 8'h00 RO Latecy Value i tems of o_clk_pll
[30:8] 23'd0 RO Reseved
[31] 0 RW Latecy eable bit (self- cleaig)
0x14 cfg_om_da_add [31:0] 0 RW Destiatio addess LSB 32 bits
0x18 Cfg_om_da_ad_h [15:0] 0 RW Destiatio addess LSB 16 bits
[16] 0 RW 16th bit = 1/0 to eable/disable DA isetio
[31:17] 0 RW Reseved. Default 0s
0x20 stat_tx_sop_ct_lsb [31:0] 32'b0 RO Lowe 32-bits of the TX stat-of-packet (SOP) coute
0x24 stat_tx_sop_ct_msb [31:0] 32'b0 RO Uppe 32-bits of the TX stat-of-packet (SOP) coute
0x28 stat_tx_eop_ct_lsb [31:0] 32'b0 RO Lowe 32-bits of the TX ed-of-packet (EOP) coute
0x2C stat_tx_eop_ct_msb [31:0] 32'b0 RO Uppe 32-bits of the TX ed-of-packet (EOP) coute
0x30 stat_tx_e_ct_lsb [31:0] 32'b0 RO Lowe 32-bits of the TX eo coute
0x34 stat_tx_e_ct_msb [31:0] 32'b0 RO Uppe 32-bits of the TX eo coute
0x38 stat_x_sop_ct_lsb [31:0] 32'b0 RO Lowe 32-bits of the RX stat-of-packet (SOP) coute
0x3C stat_x_sop_ct_msb [31:0] 32'b0 RO Uppe 32-bits of the RX stat-of-packet (SOP) coute
0x40 stat_x_eop_ct_lsb [31:0] 32'b0 RO Lowe 32-bits of the RX ed-of-packet (EOP) coute
0x44 stat_x_eop_ct_msb [31:0] 32'b0 RO Uppe 32-bits of the RX ed-of-packet (EOP) coute
0x48 stat_x_e_ct_lsb [31:0] 32'b0 RO Lowe 32-bits of the RX eo coute
0x4C stat_x_e_ct_msb [31:0] 32'b0 RO Uppe 32-bits of the RX eo coute
Table 67.  Packet Cliet Registes fo PCS, OTN, ad FlexE Iteface
Note: All addess offsets ae specified i the byte addess fomat.
Addess Name Bit Offset Default Value Access Desciptio
0x10 cfg_stat_pkt_ge 0 1'b0 RW Stat ad stop TX packet geeato.
  • 0: Stop packet geeato.
  • 1: Stat packet geeato.
0x58 cfg_clea_coutes 0 1'b0 RW Whe set, cleas packet geeato coutes.
0x18 stat_tx_sop_ct [31:0] 32'b0 RO Lowe 32-bits of the TX stat-of-packet (SOP) coute
0x1C stat_tx_sop_ct [31:0] 32'b0 RO Uppe 32-bits of the TX stat-of packet (SOP) coute
0x20 stat_tx_eop_ct [31:0] 32'b0 RO Lowe 32-bits of the TX ed-of-packet (EOP) coute
0x24 stat_tx_eop_ct [31:0] 32'b0 RO Uppe 32-bits of the TX ed-of-packet (EOP) coute
0x30 stat_x_sop_ct [31:0] 32'b0 RO Lowe 32-bits of the RX stat-of-packet (SOP) coute
0x34 stat_x_sop_ct [31:0] 32'b0 RO Uppe 32-bits of the RX stat-of-packet (SOP) coute
0x38 stat_x_eop_ct [31:0] 32'b0 RO Lowe 32-bits of the RX ed-of-packet (EOP) coute
0x3C stat_x_eop_ct [31:0] 32'b0 RO Uppe 32-bits of the RX ed-of-packet (EOP) coute
0x50 stat_x_e_ct [31:0] 32'b0 RO Lowe 32-bits of the RX eo status
0x54 stat_x_e_ct [31:0] 32'b0 RO Uppe 32-bits of the RX eo status