Multi Channel DMA for PCI Express* Intel® FPGA IP Design Example User Guide
A newer version of this document is available. Customers should click here to go to the newest version.
2.8.1.2. QCSR Registers(Base address 64’h10000)
This space contains control and status registers for external descriptor controller. Host maintains separate descriptor ring for both D2H & H2D queues. External descriptor controller example design supports 16 channels. Descriptor context for each channel can be updates in the following CSR registers.
Address [11:8] = Channel number (Queue ID).
Address [7] = Data Mover direction. 0 = D2H, 1 = H2D.
Address [6:3] = Register offset.
Bit[63:0] | Name | R/W | Default | Description |
---|---|---|---|---|
[63:0] |
Start_addr |
R/W |
0 |
D2H ring buffer start address [63:0]. |
Bit[63:0] | Name | R/W | Default | Description |
---|---|---|---|---|
[63:16] | rsvd | Reserved | ||
[15:0] |
size |
R/W |
0 |
D2H ring buffer size |
Bit[63:0] | Name | R/W | Default | Description |
---|---|---|---|---|
[63:16] |
rsvd |
Reserved |
||
[15:0] |
tail_ptr |
R/W |
0 |
D2H ring buffer tail pointer, Updated by Host SW & Read-only for DMA HW. |
Bit[63:0] | Name | R/W | Default | Description |
---|---|---|---|---|
[63:16] |
rsvd |
Reserved |
||
[15:0] |
head_ptr |
RO |
0 |
D2H ring buffer head pointer, Updated by DMA HW & Read-only for Host SW. |
Bit[63:0] | Name | R/W | Default | Description |
---|---|---|---|---|
[63:0] |
wb_addr |
R/W |
0 |
D2H write back address [63:0]. |
Bit[63:0] | Name | R/W | Default | Description |
---|---|---|---|---|
[63:16] |
rsvd |
Reserved |
||
[15:0] |
cmpl_ptr |
RO |
0 |
D2H ring buffer completion pointer, Updated by DMA HW & Read-only for Host SW. |
Bit[63:0] | Name | R/W | Default | Description |
---|---|---|---|---|
[63:0] |
Start_addr |
R/W |
0 |
H2D ring buffer start address [63:0]. |
Bit[63:0] | Name | R/W | Default | Description |
---|---|---|---|---|
[63:16] |
rsvd |
Reserved |
||
[15:0] |
size |
R/W |
0 |
H2D ring buffer size |
Bit[63:0] | Name | R/W | Default | Description |
---|---|---|---|---|
[63:16] |
rsvd |
Reserved |
||
[15:0] |
tail_ptr |
R/W |
0 |
H2D ring buffer tail pointer, Updated by Host SW & Read-only for DMA HW. |
Bit[63:0] | Name | R/W | Default | Description |
---|---|---|---|---|
[63:16] |
rsvd |
Reserved |
||
[15:0] |
head_ptr |
RO |
0 |
H2D ring buffer head pointer, Updated by DMA HW & Read-only for Host SW. |
Bit[63:0] | Name | R/W | Default | Description |
---|---|---|---|---|
[63:0] |
wb_addr |
R/W |
0 |
H2D write back address [63:0]. |
Bit[63:0] | Name | R/W | Default | Description |
---|---|---|---|---|
[63:16] |
rsvd |
Reserved |
||
[15:0] |
cmpl_ptr |
RO |
0 |
H2D ring buffer completion pointer, Updated by DMA HW & Read-only for Host SW. |