Design and Verification of an SPI-Wishbone Controller

Authors

  • Thien Tung Vo Ho Chi Minh City University of Technology and Education, Vietnam
  • Duong Tuan Thanh Thai Ho Chi Minh City University of Technology and Education, Vietnam
  • Phan Man Dat Vo Ho Chi Minh City University of Technology and Education, Vietnam
  • Le Ngoc Hoa Dang Ho Chi Minh City University of Technology and Education, Vietnam
  • Van Thuong Nguyen Ho Chi Minh City University of Technology and Education, Vietnam
  • Ba Huy Van Ho Chi Minh City University of Technology and Education, Vietnam
  • Thi Quynh Nhi Le Ho Chi Minh City University of Technology and Education, Vietnam
  • Minh Nhat Nguyen Ho Chi Minh City University of Technology and Education, Vietnam
  • Duy Tan Do Ho Chi Minh City University of Technology and Education, Vietnam

Corressponding author's email:

tandd@hcmute.edu.vn

DOI:

https://doi.org/10.54644/jte.71B.2022.1142

Keywords:

SPI standard, Wishbone bus, FPGA, Verilog, Testbench

Abstract

SPI (Serial Peripheral Interface) is a synchronous serial communication standard for connecting and transferring data between electronic devices proposed and developed by Motorola Inc. The main advantages of SPI standard are high data transmission speed, synchronization, simple connection, and low logic resources. Furthermore, Wishbone is a popular bus standard with open source codes, widely used in Silicore Corporation's projects. In this paper, we present a detailed design of a controller called SPI-Wishbone, which communicates with peripheral devices based on the SPI standard that can be configured in either Master mode or Slave mode. The designed module can be controlled, transmit, and receive data from a central processing unit via Wishbone bus. Finally, we conduct extensive simulation results and a summary of logic resource usage and power consumption to validate the functionality and effectiveness of the proposed design. We use Verilog Hardware Description Language in the design and simulation processes of the SPI-Wishbone module.

Downloads: 0

Download data is not yet available.

Author Biographies

Thien Tung Vo, Ho Chi Minh City University of Technology and Education, Vietnam

Vo Thien Tung is currently a student at the Ho Chi Minh City University of Technology and Education (HCMUTE), Vietnam. His main research interests include wireless communication networks and FPGA-based designs for DSP applications.

Duong Tuan Thanh Thai, Ho Chi Minh City University of Technology and Education, Vietnam

Thai Duong Tuan Thanh is currently a student at the Ho Chi Minh City University of Technology and Education (HCMUTE), Vietnam. His main research interests include wireless communication networks and digital system designs.

Phan Man Dat Vo, Ho Chi Minh City University of Technology and Education, Vietnam

Vo Phan Man Dat is currently a student at the Ho Chi Minh City University of Technology and Education (HCMUTE), Vietnam. His main research interests include wireless communication networks and FPGA-based designs for DSP applications.

Le Ngoc Hoa Dang, Ho Chi Minh City University of Technology and Education, Vietnam

Dang Le Ngoc Hoa is currently a student at the Ho Chi Minh City University of Technology and Education (HCMUTE), Vietnam. His main research interests include wireless communication networks and digital system designs.

Van Thuong Nguyen , Ho Chi Minh City University of Technology and Education, Vietnam

Nguyen Van Thuong is currently a student at the Ho Chi Minh City University of Technology and Education (HCMUTE), Vietnam. His main research interests include wireless communication networks and digital system designs.

Ba Huy Van, Ho Chi Minh City University of Technology and Education, Vietnam

Van Ba Huy is currently a student at the Ho Chi Minh City University of Technology and Education (HCMUTE), Vietnam. His main research interests include wireless communication networks and digital system designs.

Thi Quynh Nhi Le, Ho Chi Minh City University of Technology and Education, Vietnam

Le Thi Quynh Nhi is currently a student at the Ho Chi Minh City University of Technology and Education (HCMUTE), Vietnam. His main research interests include wireless communication networks and FPGA-based designs for DSP applications.

Minh Nhat Nguyen , Ho Chi Minh City University of Technology and Education, Vietnam

Nguyen Minh Nhat is currently a student at the Ho Chi Minh City University of Technology and Education (HCMUTE), Vietnam. His main research interests include wireless communication networks and FPGA-based designs for DSP applications.

Duy Tan Do, Ho Chi Minh City University of Technology and Education, Vietnam

Do Duy Tan received his B.S. degree from Ho Chi Minh City University of Technology (HCMUT), Vietnam, and M.S. degree from Kumoh National Institute of Technology, Korea, in 2010 and 2013, respectively. He received his Ph.D. degree from Autonomous University of Barcelona, Spain, in 2019. He is currently with the Department of Computer and Communication Engineering, Ho Chi Minh City University of Technology and Education (HCMUTE) in Vietnam as an Assistant Professor. His main research interests include real-time optimisation for resource allocation in wireless networks and coding applications for wireless communications

References

G. Sung, L. Tung, H. Wang and J. Lin, "USB Transceiver With a Serial Interface Engine and FIFO Queue for Efficient FPGA-to-FPGA Communication," in IEEE Access, vol. 8, pp. 69788-69799, 2020. DOI: https://doi.org/10.1109/ACCESS.2020.2986510

I. I. b. Jamaludin and H. b. Hassan, "Design and Analysis of Serial Peripheral Interface for Automotive Controller," 2020 IEEE Student Conference on Research and Development (SCOReD), 2020, pp. 498-501. DOI: https://doi.org/10.1109/SCOReD50371.2020.9250981

Anand N, G. Joseph, S. S. Oommen and R. Dhanabal, "Design and implementation of a high speed Serial Peripheral Interface," 2014 International Conference on Advances in Electrical Engineering (ICAEE), 2014, pp. 1-3. DOI: https://doi.org/10.1109/ICAEE.2014.6838431

M. Koushik, R. Anushree, B. J. Sowmya and N. Geethanjali, "Design of SPI Protocol with DO-254 Compliance for Low Power Applications," 2017 International Conference on Recent Advances in Electronics and Communication Technology (ICRAECT), 2017, pp. 186-190. DOI: https://doi.org/10.1109/ICRAECT.2017.45

D. Trivedi, A. Khade, K. Jain and R. Jadhav, "SPI to I2C Protocol Conversion Using Verilog," 2018 Fourth International Conference on Computing Communication Control and Automation (ICCUBEA), 2018, pp. 1-4. DOI: https://doi.org/10.1109/ICCUBEA.2018.8697415

A. K. Oudjida, M. L. Berrandjia, A. Liacha, R. Tiar, K. Tahraoui and Y. N. Alhoumays, "Design and test of general-purpose SPI Master/Slave IPs on OPB bus," 2010 7th International Multi- Conference on Systems, Signals and Devices, 2010, pp. 1-6. DOI: https://doi.org/10.1109/SSD.2010.5585592

M. Hafeez and A. Saparon, "IP Core of Serial Peripheral Interface (SPI) with AMBA APB Interface," 2019 IEEE 9th Symposium on Computer Applications & Industrial Electronics (ISCAIE), 2019, pp. 55-59. DOI: https://doi.org/10.1109/ISCAIE.2019.8743871

B. Zhou, D. Li and G. Lu, "Design of high-speed and reusable SPI IP core based on Wishbone interface," 2011 International Conference on Electrical and Control Engineering, 2011, pp. 1040-1042. DOI: https://doi.org/10.1109/ICECENG.2011.6058000

J. Yang, Y. Xiao, D. Li, Z. Li, Z. Chen and P. Wan, "A Configurable SPI Interface Based on APB Bus," 2020 IEEE 14th International Conference on Anti-counterfeiting, Security, and Identification (ASID), 2020, pp. 73-76. DOI: https://doi.org/10.1109/ASID50160.2020.9271704

Ngoc P.T., Bao H.N., Tan D.D., Phuc T.Q., Ca P.V., "A novel multichannel UART design with FPGA-based implementation", International Journal of Computer Applications in Technology, vol. 67, no. 4, pp 358–369, 2022. DOI: https://doi.org/10.1504/IJCAT.2021.10046400

Richard Herveille, WISHBONE System-on-Chip (SoC) Interconnection Architecture for Portable IP Cores, rev. version: B4, Open Cores Organization, p.7, 2010. www.opencores.org

C. Dongye, "Design of the on-chip bus based on Wishbone," 2011 International Conference on Electronics, Communications and Control (ICECC), 2011, pp. 3653-3656. DOI: https://doi.org/10.1109/ICECC.2011.6067598

Published

30-08-2022

How to Cite

Vo, T. T., Thai, D. T. T., Vo, P. M. Đạt, Dang, L. N. H., Nguyen , V. T., Van, B. H., Le, T. Q. N., Nguyen , M. N., & Do, D. T. (2022). Design and Verification of an SPI-Wishbone Controller. Journal of Technical Education Science, 17(Special Issue 02), 108–117. https://doi.org/10.54644/jte.71B.2022.1142

Most read articles by the same author(s)

Similar Articles

You may also start an advanced similarity search for this article.