Back to search

Nanyang Technological University

Design of serial peripheral interface using System Verilog

Abstract

dc:description.abstract

SPI (Serial peripheral interface) is a serial communication bus interface. The thesis aims to design an SPI peripheral per industrial standards to operate in a microcontroller environment. The design is done using System Verilog hardware description language. SPI typically uses two data lines (MISO and MOSI), one clock line, and one slave selection line for serial communication. One device acts as the master and drives the SCK clock. Other devices work as a slave and respond to the master’s requests synchronously with the master’s clock. The SPI design has the following features. It supports full-duplex, half-duplex, and simplex data transfer modes. The supported data size is 8-bit and 16-bit. The data bit order is configurable, i.e., LSB or MSB can be transferred first. It supports four modes of SCK polarity and phase. Fast data transfer is achieved using DMA. Burst data read and write supported by implementing FIFOs. Serial communication is assisted with CRC for validating the transferred data. All the above configurations and operation modes can be programmed using control registers, and HW status is accessible via status registers. An APB interface is exposed to read and write into the control and status register to work as part of a microcontroller system. The RTL is compiled using Synopsys VCS RTL compiler. The design is unit tested, and the simulated waveform is visualized using Synopsys VCS Verdi tool.

Degree

thesis:*
College dc:contributor.school
School of Electrical and Electronic Engineering
Grantor dc:publisher
Nanyang Technological University
Year dc:date.issued
2023

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Jeyaraj Rahul
Advisor dc:contributor.supervisor
  • Meng-Hiot Lim

Subjects

dc:subject × 1

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Dc Identifier Citation
Jeyaraj Rahul (2023). Design of serial peripheral interface using System Verilog. Master's thesis, Nanyang Technological University, Singapore. https://hdl.handle.net/10356/165644

Chain of custody

source
Harvested from
Nanyang Technological University
Base URL
dr.ntu.edu.sg/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Jeyaraj Rahul. Design of serial peripheral interface using System Verilog. Nanyang Technological University, 2023. https://hdl.handle.net/10356/165644