Altera Arria 10 Avalon-MM User Manual
Page 159

Offset in BFM
Shared Memory
Value
Description
DW2
0x828
0
BFM shared memory data buffer 1 upper address value
DW3
0x82c
0x2800
BFM shared memory data buffer 1 lower address value
Data
Buffer 1
0x02800
Increment by 1
from 0x2525_
0001
Data content in the BFM shared memory from address:
0x02800
Table 14-4: Write Descriptor 2
Offset in BFM
Shared Memory
Value
Description
DW0
0x830
644
Transfer length in dwords and control bits as described in
Bit Definitions for the Control Field in the DMA Write
Control Register and DMA Read Control Register.
DW1
0x834
0
Endpoint address
DW2
0x838
0
BFM shared memory data buffer 2 upper address value
DW3
0x83c
0x057A0
BFM shared memory data buffer 2 lower address value
Data
Buffer 2
0x057A0
Increment by 1
from 0x3535_
0001
Data content in the BFM shared memory from address:
0x057A0
2. Sets up the chaining DMA descriptor header and starts the transfer data from the Endpoint memory to
the BFM shared memory. The transfer calls the procedure
dma_set_header
which writes four dwords,
DW0:DW3, into the DMA write register module.
Table 14-5: DMA Control Register Setup for DMA Write
Offset in DMA
Control Register
(BAR2)
Value
Description
DW0
0x0
3
Number of descriptors and control bits as described in
Chaining DMA Control Register Definitions.
DW1
0x4
0
BFM shared memory descriptor table upper address value
DW2
0x8
0x800
BFM shared memory descriptor table lower address value
UG-01145_avmm
2015.05.14
DMA Write Cycles
14-9
Avalon-MM Testbench and Design Example
Altera Corporation