.. _components-dma: Dma === The Dma component handles the configuration and control of the Direct Memory Access (DMA). It is used to transfer data from the hardware design to the memory. Word width depends on the product: 16-bit (raw, count, max, risetime), 32-bit (charge, fraction), or 64-bit AXIS packing. Additional information ---------------------- The Dma component works only with the Dma implementation of AMD/Xilinx [#axi_dma_ip_core]_. When creating a Dma object the corresponding DMA is configured using a :ref:`memory map` to access the DMA registers and a :ref:`descriptor control` to access the descriptor control registers. A :ref:`Uio device ` is used to wait for Dma interrupts. On each interrupt it is checked if the interrupt was caused by the measurement stop. If this happened the DMA waits for the last transfer to finish and then the DMA is stopped. Classes ------- .. contents:: :local: :class: this-will-duplicate-information-and-it-is-still-useful-here DMA Class ~~~~~~~~~ .. doxygenclass:: nexmess::components::dma::Dma :members: :protected-members: :private-members: 16-bit DMA Class ~~~~~~~~~~~~~~~~ .. doxygenclass:: nexmess::components::dma::Dma16 :members: :protected-members: :private-members: 32-bit DMA Class ~~~~~~~~~~~~~~~~ Charge (int32) and fraction (IEEE float32) streams use this class. The AXI S2MM map is still 64-bit wide; the buffer is interpreted as packed 32-bit words. .. doxygenclass:: nexmess::components::dma::Dma32 :members: :protected-members: :private-members: 64-bit DMA Class ~~~~~~~~~~~~~~~~ .. doxygenclass:: nexmess::components::dma::Dma64 :members: :protected-members: :private-members: .. _components-dma-descriptorcontrol: DescriptorControl Class ~~~~~~~~~~~~~~~~~~~~~~~ .. doxygenclass:: nexmess::components::dma::DescriptorControl :members: :protected-members: :private-members: Bibliography ------------ .. [#axi_dma_ip_core] `AXI DMA IP Core `_