Design and Implementation of DMA Controller using Verilog

Authors

  • Bhavana B. V.
  • Pradeepkumar Naragund
  • Madhumathy P.

Keywords:

DMA controller, FPGA, FSM design, Memory transfer, Verilog HDL, Xilinx ISE

Abstract

This article presents the design and implementation of a Direct Memory Access (DMA) controller for a high-performance Global Positioning System (GPS) receiver operating on the Real-Time Executive for Multiprocessor Systems (RTEMS) platform. As GPS receivers process large volumes of navigation and signal data, efficient data transfer mechanisms are essential to achieve high-speed performance and reduce processor workload. To address these requirements, a DMA-based architecture is proposed and integrated into the navigation baseband system. The primary objective of the proposed design is to optimize communication between memory and peripheral components without excessive intervention from the CPU. By allowing data transfers to occur independently, the DMA controller significantly reduces CPU overhead and enables the processor to focus on critical navigation and signal-processing tasks. This approach improves overall system efficiency and responsiveness. The hardware architecture of the DMA Intellectual Property (IP) core is carefully designed to maximize resource utilization and system performance. The design incorporates a multiplexing strategy, enabling multiple data transfer operations to share hardware resources efficiently. This not only reduces hardware complexity but also enhances the flexibility of the system. To ensure reliable and controlled data movement, the architecture employs registers and First-In-First-Out (FIFO) buffers. These components facilitate effective read and write operations while maintaining data integrity and synchronization between system modules. The DMA controller is developed using Verilog Hardware Description Language (HDL), which provides a flexible and scalable framework for hardware implementation. Verilog-based modeling allows the controller to be synthesized and tested across different hardware platforms while maintaining design portability. The controller’s functional behavior, timing characteristics, and data transfer capabilities are thoroughly evaluated during the development process. The proposed DMA controller provides a practical and efficient solution for enhancing the performance of RTEMS-based GPS navigation systems. The integration of optimized hardware architecture, multiplexing techniques, and FIFO-based data management contributes to faster processing and improved system reliability, making the design suitable for high-performance embedded navigation applications.

References

H. Kim and J. Lee, “Implementation and evaluation of a DMA controller for PCIe-based FPGA boards,” Journal of KIISE, vol. 48, no. 2, pp. 141–146, 2021.

H. Wang, P. Dong, Q. Mu, W. Liu, S. Lu and R. Zhang, “Research and implementation of DMA based on SR-IOV,” 2023 International Conference on Mobile Internet, Cloud Computing and Information Security (MICCIS), Nanjing, China, 2023, pp. 204-210.

G. Tatar, “Latency and resource Trade-off analysis of AXI-DMA and BRAM integration approaches on SoC-FPGA,” Firat University Journal of Experimental and Computational Engineering, vol. 5, no. 1, pp. 316–329, Feb. 2026.

Z. Huang, S. Zhang, H. Gao, X. Zhang, and S. Yang, “A configurable multiplex data transfer model for asynchronous and heterogeneous FPGA accelerators on single DMA device,” Microprocessors and Microsystems, vol. 77, Sept. 2020.

S. Idris, D. Jovel, and L. Mannan, “OpenPCIe: An Open-Source PCIe Controller,” Applied Sciences, vol. 16, no. 7, Apr. 2026.

G. B. Thieu, S. Gesper, and G. Payá-Vayá, “DCMA: Accelerating parallel DMA transfers with a multi-port direct cached memory access in a massive-parallel vector processor,” ACM Transactions on Architecture and Code Optimization, vol. 22, no. 2, pp. 1–25, Jun. 2025.

A. Agarwal, A. J. Anil, R. Nair, and K. Sivasankaran, “ASIC implementation of DMA controller,” International Journal of Electrical and Electronics Research, vol. 4, no. 1, pp. 1–4, Mar. 2016.

J. Lee, J. An, J. Kim, and Y.-H. Seo, “Efficient matrix transposition in LLM accelerators via Direct Memory Access (DMA) integration,” Journal OF Broadcast Engineering, vol. 30, no. 6, pp. 989–996, Nov. 2025.

A. Forencich, A. C. Snoeren, G. Porter, and G. Papen, “Corundum: An open-source 100-Gbps Nic,” 2020 IEEE 28th Annual International Symposium on Field-Programmable Custom Computing Machines (FCCM), 2020, pp. 38–46.

L. Qiao and Z. Wang, “Design of DMA controller for multichannel PCI bus frame engine and data link manager,” IEEE 2002 International Conference on Communications, Circuits and Systems and West Sino Expositions, vol. 2, 2002, pp. 1481–1485.

A. Kidwell, M. P. Horvath, D. Hanna, and B. Jones, “Lightweight direct memory access on FPGA using AXI protocol,” 2023 Congress in Computer Science, Computer Engineering, &; Applied Computing (CSCE), Las Vegas, NV, USA, 2023, pp. 881–886.

W. J. Lee, C. H. Kim, Y. Paik, and S. W. Kim, “PISA-DMA: Processing-in-Memory instruction set architecture using DMA,” IEEE Access, vol. 11, pp. 8622–8632, 2023.

K. Cheng, W. Liu, Q. Shen, and S. Liao, “Design and implementation of high-throughput PCIe with DMA architecture between FPGA and PowerPC,” arXiv , 2018.

T. Benz, A. Vanoni, M. Rogenmoser, and L. Benini, “A direct memory access controller (DMAC) for irregular data transfers on RISC-V linux systems,” arXiv, 2025.

J. Haglund and R. Guanciale, “Trustworthy isolation of DMA devices,” Journal of Banking and Financial Technology, vol. 4, no. 1, pp. 75–94, May 2020.

Published

2026-07-31

Issue

Section

Articles