FPGA AI Suite: IP Reference Manual

ID 768974
Date 12/16/2024
Public
Document Table of Contents

5.8. DMA Transaction Counters

Hardware counters are provided to measure the number of data words accessed by the DMA from the external DDR memory.

The counter values are separated into input feature reads, input weights and biases reads, and output feature writes. The width of each memory word in bytes matches the dma/ddr_data_bytes value in the architecture description file.

Table 21.  DMA Transaction Counter Registers

Register

Offset

Attribute

Description

Total number of input feature words read by the FPGA AI Suite IP

(lower 32 bits)

0x000

RO

This counter is incremented by 1 for every input feature word transferred from the external memory to the IP DMA on the AXI4 read bus.

Total number of input feature words read by the FPGA AI Suite IP

(upper 32 bits)

0x004

RO

Same as above.

Total number of input filter and biases words read by the FPGA AI Suite IP

(lower 32 bits)

0x008

RO

This counter is incremented by 1 for every filter-bias word transferred from the external memory to the IP DMA on the AXI4 read bus.
Total number of input filter and biases words read by the FPGA AI Suite IP

(upper 32 bits)

0x00C

RO

Same as above.

Total number of output feature words written by the FPGA AI Suite IP

(lower 32 bits)

0x010 RO This counter is incremented by 1 for every feature word written to the external memory by the IP DMA on the AXI4 write bus.
Total number of output feature words written by the FPGA AI Suite IP

(upper 32 bits)

0x00C RO Same as above.