ASPI Protocol Design in Verilog and Simulation

Authors

  • Praveen Kumar
  • Basavalinga Swamy
  • Sadhana C.

Keywords:

ASPI protocol, ASPI signals, Controller, FPGA prototyping, Serial communication

Abstract

In this project, we present a design of a multi-slave ASPI communication controller intended for integration into system-on-chip platforms and embedded systems. The proposed controller emphasizes reusability, modularity, and robustness, supported by a complete verification methodology that includes RTL simulation, testbench-based validation, and FPGA prototyping. The main objective of this work is to develop a four-wire advanced serial peripheral interface controller for educational and research applications. The design process begins at the micro-architectural level, focusing on RTL development of individual functional units. Each internal block of the ASPI controller is modeled in Verilog HDL and verified independently using dedicated testbenches to ensure correctness before system-level integration. Once functional verification is complete, the ASPI controller is mapped to the memory I/O space and incorporated into an existing RISC32 pipelined CPU designed at UTAR. Following successful integration, the synthesized design is implemented on FPGA hardware. Finally, the controller is interfaced with the serial communication to demonstrate wireless communication. In this setup, the ASPI controller operates as the master device, while the CC2420 transceiver functions as the slave, using the standard four-wire ASPI signals: MOSI, MISO, SCLK, and SS. The expected deliverables include the Verilog HDL source code for the advanced serial peripheral interface controller with test benches, simulation and verification results, FPGA-synthesized hardware design, and a fully integrated FPGA implementation that is tested and analyzed using serial communication.

References

Manish Kundu and Abhijeet Kumar, “Implementation of low power ASPI protocol with clock domain crossing,” Int. J. VLSI Design Commun. Syst., vol. 2, no. 3, May 2014. Available: https://www.ijvdcs.org/uploads/354612IJVDCS1334-35.pdf

T. D. Shingare and R. T. Patil, “SPI Implementation on FPGA,” Int. J. Innov. Technol. & Exploring Eng. (IJITEE), vol. 2, no. 2, pp. 7–9, Jan. 2013. https://www.ijitee.org/wp-content/uploads/papers/v2i2/B0350012213.pdf

Xilinx, Cool Runner Advanced Serial Peripheral Interface Master, XAPP348 (v1.2), Dec. 13, 2002. Available: https://docs.amd.com/api/khub/documents/bOsEV3_6Uz3yS2~y610m3w/content

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, Amman, Jordan, 2010, pp. 1–6, Available: https://ieeexplore.ieee.org/abstract/document/5585592

S. Saha, M. A. Rahman, and A. Thakur, “Design and implementation of SPI bus protocol with Built-in-self-test capability over FPGA,” 2014 International Conference on Electrical Engineering and Information & Communication Technology, Dhaka, Bangladesh, 2014, pp. 1–6 https://ieeexplore.ieee.org/abstract/document/6919076

J. Kurapati, “A design methodology for implementation of advanced serial peripheral interface using VHDL,” M.S. thesis, Dept. of Electrical Engineering, University of South Florida, Tampa, FL, 2005. Available: https://digitalcommons.usf.edu/cgi/viewcontent.cgi?article=1732&context=etd&sei-redir=1

A. K. Oudjida, M. L. Berrandjia, R. Tiar, A. Liacha, and K. Tahraoui, “FPGA implementation of I2C & SPI protocols: A comparative study,” 2009 16th IEEE International Conference on Electronics, Circuits and Systems - (ICECS 2009), Yasmine Hammamet, Tunisia, 2009, pp. 507–510, Available: https://ieeexplore.ieee.org/abstract/document/5410881

M. Greco, M. P. Bussa, L. Ferrero, M. Maggiora, and A. Verna, “VHDL implementation of a SPI controller for PANDA digital signal processing,” 2011 IEEE Nuclear Science Symposium Conference Record, Valencia, Spain, 2011, pp. 885–888. Available: https://ieeexplore.ieee.org/abstract/document/6154562

Published

2025-12-11

How to Cite

Praveen Kumar, Basavalinga Swamy, & Sadhana C. (2025). ASPI Protocol Design in Verilog and Simulation. Advance Research in Analog and Digital Communications, 21–29. Retrieved from https://matjournals.net/engineering/index.php/ARADC/article/view/2822