Axi Characteristics For A Dma Transfer - Altera cyclone V Technical Reference

Hard processor system
Hide thumbs Also See for cyclone V:
Table of Contents

Advertisement

16-4

AXI Characteristics for a DMA Transfer

The DMAC has eight DMA channels. Each channel supports a single concurrent thread of DMA
operation. In addition, a single DMA manager thread exists, and you can use it to initialize the DMA
channel threads.
The DMAC executes one instruction per clock cycle. To ensure that it regularly executes each active
thread, the DMAC alternates by processing the DMA manager thread and then a DMA channel thread. It
performs a round-robin process when selecting the next active DMA channel thread to execute.
The DMAC uses variable-length instructions that consist of one to six bytes. It provides a separate
program counter (
The DMAC includes a 16-line instruction cache to improve the instruction fetch performance. Each
instruction cache line contains eight, four-byte words for a total cache line size of 32 bytes. The DMAC
instruction cache size is therefore 16 lines times 32 bytes per line which equals 512 bytes. When a thread
requests an instruction from an address, the cache performs a lookup. If a cache hit occurs, then the cache
immediately provides the instruction. Otherwise, the thread is stalled while the DMAC performs a cache
line fill through the AXI master interface. If an instruction spans the end of a cache line, the DMAC
performs multiple cache accesses to fetch the instruction.
Note: When a cache line fill is in progress, the DMAC enables other threads to access the cache. But if
another cache miss occurs, the pipeline stalls until the first line fill is complete.
When a DMA channel thread executes a load or store instruction, the DMAC adds the instruction to the
relevant read or write queue. The DMAC uses these queues as an instruction storage buffer prior to it
issuing the instructions on the AXI. The DMAC also contains an MFIFO data buffer in which it stores data
that it reads or writes during a DMA transfer.
The DMAC provides multiple interrupt outputs to enable efficient communication of events to the system
CPUs. The peripheral request interfaces support the connection of DMA-capable peripherals to enable
memory-to-peripheral and peripheral-to-memory DMA transfers to occur without intervention from the
microprocessor.
Dual slave interfaces enable the operation of the DMAC to be partitioned into the secure state and
non-secure states. You can access status registers and also directly execute instructions in the DMAC with
the slave interfaces.
AXI Characteristics for a DMA Transfer
This table is a reference table to find out more information about how the DMAC AXI controls the AXI
control signals.
Table 16-1: AXI Characteristics for a DMA Transfer
Access Type
DMA
channel load
DMA
channel
store
Altera Corporation
) register for each DMA channel.
PC
Protection
Length
For more information, refer to the "Channel Control Registers" chapter in the CoreLink
DMA Controller DMA-330 Revision: r1p2 Technical Reference Manual.
Burst
Size
cv_5v4
2016.10.28
Cache
DMA Controller
Send Feedback

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents