1.9.2. Packet Generator Registers
The packet generator is a sub-block of the traffic controller and the traffic monitor.
| Byte Offset | Name | Description | Access | Reset Value |
|---|---|---|---|---|
| 0x00 | NUMPKTS | The total number of Ethernet packets that the traffic generator generates and transmits to the design components. | RW | 0x0 |
| 0x04 | RANDOMLENGTH | Enables random packet length up to the value of the PKTLENGTH register.
|
RW | 0x0 |
| 0x08 | RANDOMPAYLOAD | Enables random contents of the payload.
|
RW | 0x0 |
| 0x0C | START | Start the generation of the Ethernet traffic by writing 0x01 to this register. | RW | 0x0 |
| 0x10 | STOP | Stops the generation of the Ethernet traffic by writing 0x01 to this register. | RW | 0x0 |
| 0x14 | MACSA0 | The lower 32 bits of the source address. | RW | 0x0 |
| 0x18 | MACSA1 | The upper 16 bits of the source address. The remaining 16 bits are not used. | RW | 0x0 |
| 0x1C | MACDA0 | The lower 32 bits of the destination address. | RW | 0x0 |
| 0x20 | MACDA1 | The upper 16 bits of the source address. The remaining 16 bits are not used. | RW | 0x0 |
| 0x24 | TXPKTCNT | The number of packets that the traffic generator transmitted. Read this register when the traffic generator is not active, for example, when the testing has completed. | RO | 0x0 |
| 0x34 | PKTLENGTH | When random-sized packets are enabled, this register specifies the maximum payload length. Otherwise, it specifies the length of the packet to be generated. | RW | 0x0 |