
Design and simulation implementation of SPI protocol interface based on Verilog
- 1 Nanjing University
- 2 Hubei University of Technology
- 3 Chongqing University of Posts and Telecommunications
* Author to whom correspondence should be addressed.
Abstract
The SPI bus protocol can communicate with multiple peripherals without address bits. The transmission speed is fast and the configuration is simple and flexible, which solves the problem of serial communication between microprocessors and peripherals. In order to simply realize the function of the SPI bus and verify its stability, the SPI bus is designed and simulated verified using Verilog language and Modelsim software. The results show that the design realizes the full-dus-duserial synchronous communication function of SPI bus, with high data transmission stability and a data transmission speed of more than 2Mb/s. At the same time, during the test, it is found that the serial communication protocol can continue to be improved in terms of reliability, stability, and efficiency. Under the current social needs, the security of serial communication protocols is also put forward higher requirements and needs to be further adapted to the needs of the Internet of Things.
Keywords
SPI, verilog language, Modelsim software, serial synchronous communication
[1]. Man Liu. Design and Implementation of SPI Protocol Interface. Xidian University, 2021.
[2]. Dongliang Jia. Research and Design of All Digital Phase-locked Loop (PLL) for SoC Clock. Nanjing University of Posts and Telecommunications, 2023.
[3]. James E. Stine. Digital Computer Arithmetic Datapath Design Using Verilog HDL, 2022.
[4]. Dawei Wang. Design and Verification of SPI Interface IP Core Based on UVM. North China University of Technology, 2023.
[5]. Boxiong Jia. IC Design and Research of SPI_IP Core Based on AMBA. North University of China, 2023.
[6]. Yang Xu. Design and Verification of High-Speed SPI Interface Circuit. Xidian University, 2021.
[7]. Stuart Sutherland, Simon Davidmann, Peter Flake. SystemVerilog For Design, 2022.
[8]. Fengjun Sun, Chunxuan Yu. Verilog Implementation of SPI Serial Bus Interface. Modern electronic technology, 2005, (16):105-106+109.
[9]. Hoppe Bernhard. Verilog: Model bildung für Synthese und Verifikation. 2006.
[10]. Vaibbhav Taraate. Digital Logic Design Using Verilog, 2021.
[11]. Kung Y, Quynh V N, Hieu T N, et al. Simulink/Modelsim Co-Simulation and FPGA Realization of Speed Control IC for PMSM Drive. Intelligent Information Technology Application Association. Proceedings of the 2011 International Conference on Power Electronics and Engineering Application (PEEA 2011). Elsevier, 2011:10.
[12]. Zhigang Chen. Research and Application of VHDL Simulation Technology Based on ModelSim. Computer Knowledge and Technology, 2019, 15(31): 286-287.
[13]. Zhang qiu. Circuit Architecture Test Verification Based on Hardware Software Co-design with ModelSim. IETE Journal of Research. 2014, 59(2): 132-140.
Cite this article
Jiang,B.;Wang,S.;Zhang,S. (2024). Design and simulation implementation of SPI protocol interface based on Verilog. Applied and Computational Engineering,35,159-164.
Data availability
The datasets used and/or analyzed during the current study will be available from the authors upon reasonable request.
Disclaimer/Publisher's Note
The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of EWA Publishing and/or the editor(s). EWA Publishing and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
About volume
Volume title: Proceedings of the 2023 International Conference on Machine Learning and Automation
© 2024 by the author(s). Licensee EWA Publishing, Oxford, UK. This article is an open access article distributed under the terms and
conditions of the Creative Commons Attribution (CC BY) license. Authors who
publish this series agree to the following terms:
1. Authors retain copyright and grant the series right of first publication with the work simultaneously licensed under a Creative Commons
Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this
series.
2. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the series's published
version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial
publication in this series.
3. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and
during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See
Open access policy for details).