Digital System Design of FPGA – Based UART Protocol Using Verilog HDL

Authors

  • V Venkata Sai Raghava Professor, Koneru Lakshmaiah Educational Foundation, Green Fields, Vaddeswaram, Vijayawada, A.P
  • M Ravi Kumar Student, Koneru Lakshmaiah Educational Foundation, Green Fields, Vaddeswaram, Vijayawada, A.P

DOI:

https://doi.org/10.22399/ijcesen.3306

Keywords:

Baud rate, Asynchronous Transmitter/Receiver, Finite State Machine (FSM), Secure communication

Abstract

The paper centres on the design and implementation of a Universal Asynchronous Receiver/Transmitter (UART) communication protocol to efficiently send and receive 128-bit data with the aid of Verilog HDL, with verification carried out on a Field-Programmable Gate Array (ARTIX - 7 FPGA) platform. UART is a commonly used asynchronous serial communication protocol that facilitates data exchange between two devices via a straightforward two-wire interface (TX and RX) without necessitating a clock signal for synchronisation. The design comprises two primary elements: a transmitter unit that converts input data from a parallel structure to a serial configuration, including start and stop bits for synchronisation, and a receiver unit that captures the serial data, checks its accuracy, and transforms it back into a parallel format. A baud rate generator ensures reliable data transmission by producing consistent clock pulses, thus preventing data transmission rate discrepancies.

A thorough testbench is used to validate the system, simulating a range of transmission scenarios with distinct data values, start/stop bit configurations, and error states to verify proper operation. The system is synthesized and implemented on a field-programmable gate array (ARTIX - 7 FPGA), specifically the Xilinx Artix-7, to illustrate real-time functionality. Enhancing efficiency and scalability, the UART design increases the reliability of data transmission, thereby making it a versatile choice for various embedded communication systems.

References

[1] T. Zhan, "Verilog HDL-based implementation of UART design," International Conference on Physics, Photonics, and Optical Engineering (ICPPOE 2024), 7 March 2025.

[2] A. K. A. R. N. K. a. R. R. Gupta, "”Design and implementation of high-speed universal asynchronous re- ceiver and transmitter (UART).”," 7TH International Conference on Signal Processing and Integrated Networks (SPIN), vol. IEEE, 2020.

[3] O. L. P. R. P. a. R. H. Plugariu, "Hadoop ZedBoard cluster with GZIP compression FPGAacceleration," 11th International Conference on Electronics, Computers and ArtificialIntelligence(ECAI), vol. IEEE, pp. pp.1- 5, 2019.

[4] B. a. K. S. Jeevan, "A Review on different Logic Styles to design High Performance VLSI Decoders.," International Conference on Networking, Embedded and Wireless Systems (ICNEWS), vol. IEEE, pp. pp. 1-6, 2018.

[5] I. C. a. a. A. P. P. 2. Koren, "Computer arithmetic algorithms," vol. AK Peters/CRC Press, 2018.

[6] R. P. a. P. Z. Brent, "Modern computerarithmetic," no. Cambridge University Press, p. Vol. 18, 2010.

[7] H. S. S. K. W. a. Z. T. L. O. H. Gani, "Development of EEG Data Acquisition System Based on FPGA Zedboard," In 2017 5th International Conference on Instru- mentation, Communications, Information Technology, and Biomedical Engineering(ICICI-BME), vol. IEEE, pp. pp.1-5, 2017.

[8] U. a. S. K. P. Nanda, "Universal asyn- chronous receiver and transmitter (uart)," 3rd international con- ference on advanced computing and communication systems (ICACCS), vol. IEEE, pp. vol.1,pp.1-5, 2016.

[9] P. B. K. H. K. a. B. P. K. Gopal, "An FPGA Implementation of On Chip UART Testing with BIST Techniques.," International Journal of Applied Engineering Research, Vols. ISSN (2015): 0973-4562, 2015.

[10] B. C. N. B. C. V. K. a. K. S. Jeevan, "FPGA im- plementation of secure image compression with 2DDCT using Verilog HDL," 2nd International Conference on Devices, Circuits and Systems(ICDCS), vol. IEEE, pp. pp.1- 4, 2014.

[11] G. B. I. A. a. S. G. Wakhle, "Syn- thesis and Implementation of UART using VHDL Codes," International Symposium on Computer, Consumer and Control, vol. IEEE, pp. pp. 1-3, 2012.

[12] Y.-y. a. X.-j. C. Fang, "Design and simulation of UART se- rial communication module based on VHDL," 3rd International Workshop on Intelligent Systems and Applications, no. IEEE, pp. pp. 1-4, 2011.

[13] P. D. a. I. E. L. Minns, "FSM-based digital design using Verilog HD," 2008.

[14] S. L. Y. W. C. a. Z. W. Yu, "Implementation of a Multi-channel UART Controller Based on FIFO Technique and FPGA," 2nd IEEE Conference on Industrial Electronics and Applications, vol. IEEE, pp. pp. 2633-2638, 2007.

[15] J. a. H. H. M. Norhuzaimin, "The design of high speed UART," Asia-Pacific Conference on Applied Electromagnetics, vol. IEEE, pp. 5-pp, 2005.

[16] M. Gordon, "The semantic challenge of Verilog HDL.," In Proceed- ings of tenth annual IEEE symposium on logic in computer science, vol. IEEE, pp. pp. 136-145, 1995.

[17] A. (Intel), " UART Megafunction User Guide," Altera Corporation, 2011.

[18] R. &. Y. R. Ali, "Low Power UART Design Based on FPGA Implementation," 2010.

[19] W. e. a. Al Khateeb, "Design and Implementation of UART Serial Communication on FPGA using VHDL," 2014.

[20] V. &. M. M. Amarnath, "Design of Low Power UART with Adaptive Baud Rate Generator," International Journal of Computer Applications, 2016.

[21] M. &. Y. A. Ayub, "Design and FPGA implementation of UART with automatic baud rate detection," 2015.

[22] S. Banerjee, " Use Verilog to Create Practical Digital Designs," IEEE, 2020.

[23] J. Bhaskar, The Verilog HDL Primer (3rd ed.), BS Publications, 2005.

[24] G. &. R. D. B. Gajjar, "Design and Implementation of UART on FPGA," 2011.

[25] E. &. A. K. M. Habib, "Design and Implementation of Parameterized UART Transmitter for FPGA Applications," 2013.

[26] X. Inc., "Vivado Design Suite User Guide: Synthesis (UG901)," Xilinx Inc., 2020.

[27] S. &. B. P. Kaur, "A review paper on the UART protocol," 2014.

[28] A. &. S. S. Kumari, "Design and Simulation of UART Protocol Based on Verilog HDL," 2014.

[29] Z. &. H. J. Liu, Semantics of Programming Languages: Structures and Techniques, Springer, 2009.

[30] H. L. Y. &. C. L. Zhang, "Design of a UART Communication Module Based on FPGA," 2014.

[31] A. &. S. P. Maiti, "Improving the Robustness of Ring Oscillator Based True Random Number Generators," 2010.

[32] M. M. &. C. M. D. Mano, Digital Design: An Introduction to Verilog HDL (5th ed.), Pearson, 2013.

[33] S. Palnitkar, Verilog HDL: A Guide to Digital Design and Synthesis (2nd ed.), Pearson Education, 2003.

[34] P. Pong, Digital System Design with FPGA: Implementation Using Verilog and VHDL, Springer, 2021.

[35] J. M. C. A. &. N. B. Rabaey, Digital Integrated Circuits: A Design Perspective (2nd ed.), Pearson Education, 2003.

[36] S. R. &. S. S. Sahu, "Design and Implementation of UART Protocol Based on FPGA," International Journal of Advanced Research in Electrical, Electronics, and Instrumentation Engineering, 2016.

[37] Y. &. Z. M. Tang, "Low Power Design Techniques for FPGA Based UART Controllers," 2014.

[38] D. E. &. M. P. R. Thomas, Verilog Hardware Description Language (5th ed.), Springer Science and Business Media, 2002.

[39] S. M. Trimberger, "Three Ages of FPGAs: A Retrospective on the First Thirty Years of FPGA Technology," 2015.

[40] F. &. G. A. Vahid, "Embedded System Design: A Unified Hardware/Software Introduction," 2001.

[41] J. F. Wakerly, Digital Design: Principles and Practices (5th ed.), Pearson Education, 2018.

[42] G. B. A. I. &. G. S. Wakhle, "Synthesis and Implementation of UART using VHDL Codes," 2012.

[43] F. &. J. Z. Wang, "FPGA Based UART Design and Simulation," 2010.

[44] W. Wolf, "FPGA Based System Design," 2004.

[45] K. C. &. L. C. N. Young, " Implementation of Reconfigurable UART Controller Using FPGA," International Journal of Engineering Research and Technology (IJERT), 2013.

[46] S. Y. L. C. W. &. W. Z. Yu, "Implementation of a Multi-channel UART Controller Based on FIFO Technique and FPGA," 2007.

[47] L. &. Y. G. Zhang, "FPGA based UART Implementation and Verification," 2012.

Downloads

Published

2025-08-06

How to Cite

V Venkata Sai Raghava, & M Ravi Kumar. (2025). Digital System Design of FPGA – Based UART Protocol Using Verilog HDL. International Journal of Computational and Experimental Science and Engineering, 11(3). https://doi.org/10.22399/ijcesen.3306

Issue

Section

Research Article