Ethernet Packet Generator
USER GUIDE
APG-UG-V2-1
25
8 February 2018
5.4
T
RANSMIT
P
ATH
Each port contains a transmit engine that comprises:
8 parallel independent configurable Ethernet stream generators
Stream multiplexer
Transmit port configuration and status
Module configuration and status
STREAM 0
STREAM 1
STREAM 2
STREAM 3
STREAM 4
STREAM 5
STREAM 6
STREAM 7
+
PORT N
MODULE
Status
Status
Enable
Rate
Length
Header
Payload
Enable
Enable
Contents
Counters
Per Stream:
The streams are processed in a round-robin sequence, transmitting a packet if it queued and
ready to send.
To bring a link up, both the port and module must be enabled.
To transmit a stream, the port, module and stream must be enabled.
The transmit mode must be CONTINUOUS or a non-zero BURST.
5.4.1
Stream Generation
The Stream Generator defines an Ethernet frame:
HEADERS
PAYLOAD
TIMESTAMP
(OPTIONAL)
FRAME LENGTH
4 BYTES
FIXED, INCREMENTING, DECREMENTING, RANDOM
HEADER AND FIELD LENGTHS NOT DRAWN TO SCALE
SFD
Start-of-
Frame
Delimiter
FRAME
IPG
Inter
Packet
Gap
12 BYTES
(min)
8 BYTES
PACKET
FRAME
NEXT PACKET
FRAME
PREVIOUS PACKET
SFD
IPG
FCS
Frame
Checksum
A transmit stream generates a controlled number of Ethernet frames at a controlled length and
rate; with a fixed header configuration, fixed or varying header contents, and a fixed or
varying payload.
Each stream can be enabled or disabled (Section 6.5.1).