Example Design Configuration Registers
Default value for all DWORD offsets are
| Dword Offset | Name | R/W | Description |
|---|---|---|---|
| 0x200 | mac_sw_rst | R/W | Assert high to trigger the proto_reset signal. The register output is tied to the proto_reset signal. |
| 0x204 | Bit 0 - axi4_st_mux_select | R/W | 0: Transmit AXI4-Stream TX packet from pattern generator. 1:
Loopback AXI4-Stream RX path to AXI4-Stream TX path. |
| Bit 1 - pat_mux_select | R/W | 0: Select UDP pattern generator. 1: Select the MAC pattern
generator. |
|
| 0x208 | Bit 0 - udp_pat_gen_en | R/W | Assert high then low to trigger a UDP packet. |
| Bit 1 - mac_pat_gen_en | R/W | Assert high then low to trigger MAC packet. | |
| 0x20c | Bit [15:0] - pat_gen_num | R/W | The number of transmit packet to send. Zero indicates unlimited packets. |
| Bit [31:16] - pat_gen_ipg | R/W | The UDP/MAC interpacket gap. | |
| 0x210 | pat_dst_mac [31:0] | R/W | The UDP/MAC pattern’s destination MAC address. |
| 0x214 | pat_dst_mac [47:32] | R/W | |
| 0x218 | pat_src_mac [31:0] | R/W | The UDP/MAC pattern’s source MAC address |
| 0x21c | pat_src_mac [47:32] | R/W | |
| 0x220 | pat_mac_dlen [15:0] | R/W | The length of a MAC pattern packet. The complete MAC pattern packet is pat_mac_dlen + 14 bytes (excluding CRC). |
| 0x224 | pat_src_ip [31:0] | R/W | The UDP pattern’s source IP address. |
| 0x228 | pat_dst_ip [31:0] | R/W | The UDP pattern’s destination IP address. |
| 0x22c | Bit [15:0] pat_src_port | R/W | The UDP pattern’s source port. |
| Bit [31:16] pat_dst_port | The UDP pattern’s destination port. | ||
| 0x230 | pat_udp_dlen [15:0] | R/W | The length of a UDP pattern packet. The complete UDP pattern packet is pat_udp_dlen + 45 bytes (excluding CRC). |