IJRR

International Journal of Research and Review

| Home | Current Issue | Archive | Instructions to Authors | Journals |

Research Paper

Year: 2022 | Month: November | Volume: 9 | Issue: 11 | Pages: 46-53

DOI: https://doi.org/10.52403/ijrr.20221107

Design, Verification and Testing of Comprehensive Serial Peripheral Interface

Arjumanth Farraj R1, Dr. Kiran V2

1Master’s student, Department of Electronics and Communication Engineering, RV College of Engineering, Bengaluru, India
2Associate Professor, Department of Electronics and Communication Engineering, RV College of Engineering, Bengaluru, India

Corresponding Author: Arjumanth Farraj R

ABSTRACT

Synchronous serial interfaces are frequently employed to offer cost-effective board-level interfaces between various devices, including microcontrollers, DACs, ADCs, and others. Components that are compatible with SPI and Microwire are made by numerous IC makers. An interface called Serial Peripheral Interface (SPI) makes it easier to send synchronous serial data. In master/slave mode, data frames are initiated by the master device. With a separate slave choose line, multiple slave devices are permitted. It is necessary to guarantee that the given hardware design operates as intended and produces the desired outcomes. The design phases would need to be repeated after the functional flaws were discovered. Verification is thus a process that is time and money efficient. Due to this, a strong testbench structure is required, one that includes large broad verification elements that are easily extensible across designs and are extensively reusable. To gain good control over stimulus creation, functional coverage, and other factors, an industry standard verification technique is needed. The primary goal of this work is to design the Master SPI Core and use System Verilog to validate the code. Serial Peripheral Interface of symmetrical structure was synthesized using Cadence genus, and then simulated using Questa IDE. The testing of the SPI core was done by inserting the scan chains using the Cadence Genus tool and finally the code coverage of the SPI core was captured using the Questa IDE.

Keywords: SPI, Coverage, Protocol, I2C, Functional Verification

[PDF Full Text]