You can access the following registers to control and view the statistics of the packet generator and monitor. All the given addresses are relative to the base address.
This register selects the segment in which to write. This register must be programmed before programming the RAM.
| Bits | Default | Type | Description |
|---|---|---|---|
| 31:4 | 0x0000000 | RO | Unused bits |
| 3:0 | 0x0 | RW | SEGMENT SELECT. Value 0 selects segment 0, 1 selects segment 1, 2 selects segment 2, and so forth. |
This register is responsible for starting the packet transactions with Interlaken after programming the RAM entries and the number of repetitions.
| Bits | Default | Type | Description |
|---|---|---|---|
| 31:1 | 0x00000000 | RO | Unused bits |
| 0 | 0 | RW | Packet transactions start on writing 1. This bit must be set to 0 after bit 0 GENREPEATDONE is set to 1. |
This register is used to program the number of times the packet generator repeats the sequence of segmented AXI4 interface control signals that were written to the RAM. With every repetition the data sent varies but the control signals remain the same.
| Bits | Default | Type | Description |
|---|---|---|---|
| 31:0 | 0x00000000 | RW | Number of repetitions . This register must only be written when the EN bit of the GENREPEATEN is a value of 0. |
This register determines the last entry of a generator repetition. After enabled, the entries in the RAM are read from the first or 0th entry until the entry specified by this register. Then they are repeated. As entries are written beginning from 0, this entry contains the total number of entries minus 1. If there are only 5 entries, write 4 to this register.
| Bits | Default | Type | Description |
|---|---|---|---|
| 31:0 | 0x00000000 | RW | Last entry to be read from the RAM |
This register causes the generator statistics registers to be reset to zero.
| Bits | Default | Type | Description |
|---|---|---|---|
| 31:1 | 0x00000000 | RO | Unused bits |
| 0 | 0 | WO | CLEAR. Writing a value of 1 to this self-clearing bit causes all the statistics registers to be cleared. |
This register contains the accumulated checksum.
| Bits | Default | Type | Description |
|---|---|---|---|
| 31:0 | 0x00000000 | RO | CHECKSUM. Contains the accumulated checksum of all valid bytes. |
This register contains the accumulated byte count.
| Bits | Default | Type | Description |
|---|---|---|---|
| 31:0 | 0x00000000 | RO | TOTAL BYTE COUNT. Contains the accumulated number of valid bytes. |
This register contains the accumulated channel sum.
| Bits | Default | Type | Description |
|---|---|---|---|
| 31:0 | 0x00000000 | RO | CHANNEL SUM. Contains the accumulated sum of all channels with SOP. |
This register contains the accumulated SOP count.
| Bits | Default | Type | Description |
|---|---|---|---|
| 31:0 | 0x00000000 | RO | TOTAL SOP COUNT. Contains the accumulated number of valid SOPs. |
This register contains the accumulated EOP count.
| Bits | Default | Type | Description |
|---|---|---|---|
| 31:0 | 0x00000000 | RO | TOTAL EOP COUNT. Contains the accumulated number of valid EOPs. |
This register contains the accumulated ERR count.
| Bits | Default | Type | Description |
|---|---|---|---|
| 31:0 | 0x00000000 | RO | TOTAL ERR COUNT. Contains the accumulated number of valid ERRs. |
This register causes the statistics registers to be reset to zero.
| Bits | Default | Type | Description |
|---|---|---|---|
| 31:1 | 0x00000000 | RO | Unused bits |
| 0 | 0 | WO | CLEAR. Writing a value of 1 to this self-clearing bit causes all the statistics registers to be cleared. |
This register contains the accumulated checksum.
| Bits | Default | Type | Description |
|---|---|---|---|
| 31:0 | 0x00000000 | RO | CHECKSUM. Contains the accumulated checksum of all valid bytes. |
This register contains the accumulated byte count.
| Bits | Default | Type | Description |
|---|---|---|---|
| 31:0 | 0x00000000 | RO | TOTAL BYTE COUNT. Contains the accumulated number of valid bytes. |
This register contains the accumulated checksum.
| Bits | Default | Type | Description |
|---|---|---|---|
| 31:0 | 0x00000000 | RO | CHANNEL SUM. Contains the accumulated sum of all channels with SOP. |
This register contains the accumulated SOP count.
| Bits | Default | Type | Description |
|---|---|---|---|
| 31:0 | 0x00000000 | RO | TOTAL SOP COUNT. Contains the accumulated number of valid SOPs. |
This register contains the accumulated EOP count.
| Bits | Default | Type | Description |
|---|---|---|---|
| 31:0 | 0x00000000 | RO | TOTAL EOP COUNT. Contains the accumulated number of valid EOPs. |
This register contains the accumulated ERR count.
| Bits | Default | Type | Description |
|---|---|---|---|
| 31:0 | 0x00000000 | RO | TOTAL ERR COUNT. Contains the accumulated number of valid ERRs. |
This write-only register contains control bits to be written to RAM Entry N. To be used along with GENSEGSEL register to define the Segmented AXI4-Stream user interface control signals to be driven at clock cycle N. RAM Entry 0 would contain the signals to be driven at clock cycle 0 and so on.
| Bits | Default | Type | Description |
|---|---|---|---|
| 31:17 | - | WO | Unused bits |
| 16:13 | - | WO | MTY signal of Segmented AXI4-Stream Interface |
| 12 | - | WO | ERR signal of Segmented AXI4-Stream Interface |
| 11 | - | WO | EOP signal of Segmented AXI4-Stream Interface |
| 10 | - | WO | BCTL signal of Segmented AXI4-Stream Interface |
| 9 | - | WO | SOP signal of Segmented AXI4-Stream Interface |
| 8 | - | WO | EOP signal of Segmented AXI4-Stream Interface. Writing 0 to this register has no effect if segment 0 is selected. |
| 7:0 | - | WO | CHAN signal Segmented AXI4-Stream Interface. |