0x00 |
number_packet |
32 |
RW |
0x00 |
Used to specify the number of packets to be generated. |
0x04 |
config_register |
32 |
RW |
0x00 |
- Bit 0
- 0: Fixed packet length
- 1: Random packet length
- Bits [14:1]—Specifies the fixed packet length and the valid values are between 24 to 9600 bytes. It is applicable only when you set bit 0 to 0.
- Bit 15—Specifies the data pattern for random packet length. Set this bit to 0 for incremental data pattern. For random data pattern, set this bit to 1.
- Bits [31:16]—Reserved.
|
0x08 |
rand_seed0 |
32 |
RW |
0x00 |
- The lower 32 bits of the random seed.
- Occupies bits 31:0 of the PBRS generator when you set the data pattern to random (bit 15 of the configuration register).
|
0x0c |
rand_seed1 |
32 |
RW |
0x00 |
- The upper 32 bits of the random seed.
- Occupies bits 63:32 of the PBRS generator when you set the data pattern to random (bit 15 of the configuration register).
|
0x10 |
source_addr0 |
32 |
RW |
0x00 |
- Used to specify 6-bytes source/destination MAC address.
- source_addr0/destination_addr0 = last four bytes of the address
- Bits [15:0] of source_addr1/destination_addr1 = first two bytes of the address
- Bits [31:16] of source_addr1/destination_addr1 = unused
- For example, if the source MAC address is 00-1C-23-17-4A-CB, you get the following assignments:
- source_addr0 = 0x17231C00
- source_addr1 = 0x0000CB4A
|
0x14 |
source_addr1 |
32 |
RW |
0x00 |
0x18 |
destination_addr0 |
32 |
RW |
0x00 |
0x1C |
destination_addr1 |
32 |
RW |
0x00 |
0x20 |
operation |
32 |
RW/RO |
0x00 |
- Bit 0—Set this bit to 1 to trigger packet generation. This bit clears after the packet generation is started.
- Bit 1—Set this bit to 1 to stop the packets generation. The generator will complete its current packet transmission 1st before terminates the packet generation.
- Bit 2—A value of 1 indicates that the packet generator completes generating the total number of packets specified in the number_packet register. This bit clears each time packet generation triggers.
- Bit [31:3]—Reserved.
|
0x24 |
packet_tx_count |
32 |
RO |
0x00 |
This register will keep track the number of packets that the generator transmitted successfully. This register will clear if the packet generation is triggered. |