10 2348 Ijset06150601
10 2348 Ijset06150601
M.Tech, Dept. of ECE, B.N.M Institute of Technology, Bengaluru, India, E‐mail: rajesh.cgowda@gmail.com
Assoc. Professor, Dept. of ECE, B.N.M Institute of Technology, Bengaluru, India, E‐mail: cshivananda@gmail.com
Senior Technical Staff, Maven Silicon Softech Pvt Ltd, Bengaluru, India, Email: shanthi@maven‐silicon.com
ABSTRACT
The main objective of the work is to design an SPI Master Core using Verilog HDL and Verify the designed SPI Master Core
using Universal Verification Methodology. SPI (Serial Peripheral Interface) facilitates the transfer of synchronous serial data,
which is now a day’s engineer’s favorite choice for its convenience and saving system resource. SPI (Serial Peripheral
Interface) operates in full duplex mode. It communicates in master/slave mode where the master device initiates the data
frame. Multiple slave devices are allowed with individual slave select line .Serial Peripheral Interface of symmetrical structure
can be designed using Verilog HDL and Synthesized using Xilinx 13.2, and then can be simulated using Questasim 10.0b. SPI is
a very popular interface used for connecting peripherals to each other and to microprocessors.
Key Words: SPI, WISHBONE, QUESTASIM, XILINX ISE, Verilog, UVM, Coverage
In many applications the interface between these modules SPI is a synchronous serial bus protocol developed by
is still a bottleneck of system performance. In such Motorola and integrated in many of their
prospect the reuse of IP (intellectual property) macro microcontrollers. Normally SPI is used for short distance
cells is becoming the centre of gravity for design communication,
productivity and the key for being able to produce chips
that work efficiently. Every integrated components should 2.1 ARCHITECTURE OF SPI
be connected each other and every SoC should be linked
with each other in an efficient manner that allows an
error‐free and fast communication. Communication
among SoC is the key to yield higher performances: the
most widely used solution used for interconnecting SoC is
a serial bus, as it gives a great advantage in terms of cost.
With the development of the IC manufacturing, the
communication between hardware devices became very
important. Presently widely used protocols such as I2C
bus protocol, ARM bus protocol, WISHBONE bus protocol,
etc., allows the hardware devices to communicate through
the appointment of the rules and match the timing for
achieving the purpose of data communication. Compared
to other protocols, SPI has is simple to use, has higher
transmission speed, and little pins advantages. SPI
standard protocol requires at least four interfaces.
Normally, the devices which are based on SPI protocol are
divided into slave‐device and master‐device for Fig.1: Architecture of SPI
transmitting the data. The clock signal and slave select
signal have to be generated by the master‐device during SPI Master Core consists of three main building blocks:
the data exchange processing. Therefore, the master
device should have multiple slave select interfaces for • Clock generator
• WISHBONE Interface
Clock generation module is synthesized by ISE. Module
synthesized shown below shown in Fig 2.
Fig.4 Top Level Circuit Module
4. CONCLUSION
Available
http://en.wikipedia.org/wiki/Serial_Peripheral_Interface
_Bus.