Font Size: a A A

Design And Verification Of SPI Interface IP Core Based On UVM

Posted on:2022-11-20Degree:MasterType:Thesis
Country:ChinaCandidate:D W WangFull Text:PDF
GTID:2518306788956929Subject:Wireless Electronics
Abstract/Summary:PDF Full Text Request
At present,With the rapid development of SoC(System on Chip)design technology and its increasing complexity,it is an important challenge to quickly develop SoC products and promote them to the market under the fierce competition from major manufacturers.SoC is formed by the integration of a large number of IP(Intellectual Property).In order to quickly develop SoC products,the method of IP core reuse can be used.IP core reuse means that some IPs are developed in advance,and these completed IPs can be integrated into the SoC when developing the SoC,which saves the time for re-development of the IP and improves the development efficiency.IP development needs to follow certain bus specifications to facilitate multiplexing.AMBA(Advanced Microcontroller Bus Architecture)bus is a commonly used standard protocol.SPI(Serial Peripheral Interface)interface is an important peripheral interface in AMBA bus,which is used for communication between the CPU and external devices.It can be used in various fields such as embedded,wireless transceiver,RF communication,etc.Therefore,the development of SPI interface IP core is of great significance and value.According to the project requirements,this topic develops the SPI interface IP core.After the development,it can be used as a mature IP core and reused in other SoC products.The specific work involved is as follows:Firstly,the functional design of the SPI interface IP core was completed.This project is based on STMicroelectronics STM32F103 document,dividing into modules and using Verilog hardware description language for front-end design.The final designed SPI interface IP core can achieve the requirements of the functional description document and can be well reused for MCU chip development.The designed SPI can realize various communication modes such as full-duplex,half-duplex,and simplex,which improves the problem of single communication function of traditional SPI design.In addition,the CRC check function of data transmission is designed to enhance the communication reliability and improve the problem that traditional SPI cannot accurately monitor data.Secondly,I built a platform environment that can be efficiently simulated and verified.UVM(Universal Verification Methodology)is the latest verification methodology with powerful functions and advantages.This topic built a highly reusable verification platform environment according to UVM theory,improving the problem that the traditional verification environment is not easily portable.In addition,efficient scripts have been written to make the verification process more automated,improving the problem of long manual running time of traditional verification,and improving the efficiency of IC development.Thirdly,in order to verify the function points of the designed SPI interface,a large number of test cases were written for simulation.Using the built verification platform to run the test case of the SPI interface function point,the simulation result is correct.After using the prepared script to generate a large number of random number seeds,and applying a large amount of incentives for regression verification,the code coverage rate is 95.08%,the assertion coverage rate is 100%,and the function coverage rate is 100%,which shows the completeness of functional verification.The final developed SPI interface IP has been fully functionally verified to meet the verification requirements.
Keywords/Search Tags:UVM, IP core, verification
PDF Full Text Request
Related items