Font Size: a A A

Study And Functional Verification Of Bluetooth Memory Controller In Logical Link Layer

Posted on:2020-04-28Degree:MasterType:Thesis
Country:ChinaCandidate:C ZhaoFull Text:PDF
GTID:2428330602450784Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of chip design scale,the main bottleneck restricting chip design is no longer people's imagination or technological level,but chip verification.Verification runs through the whole process of chip design and takes up most of the time.For enterprises,a scientific and efficient verification can ensure the correctness of the design,that could improve product productivity and avoid major losses caused by design defects,which provide a strong guarantee for the great benefit of the chip when bringing into market.For users,Verification improves the reliability of the product and greatly improves the user experience.In a word,the improvement of verification technology is playing an increasingly important role in current chip field.This paper mainly studies the Bluetooth memory controller module(Bt_mem_ctrl)and carries on functional verification.Firstly,I understand the significance and importance of verification through material,and get acquaintance with the research status of SOC at home and abroad.Then summarize the methods and characteristics of verification,and analyses the challenges of verification,so as to determine the core idea of the paper that is functional verification.System Verilog verification language and UVM methodology are essential knowledge and tools for digital verification.SV integrates the technical the features of object-oriented programming,and UVM is a library based on SV,which provides a series of interfaces and rules used to create a verification testbench.It helps us to build a verification testbench with strong logic,high reusability and readability.Bluetooth HCI layer memory controller is used in the link controller of Bluetooth lower protocol,which mainly controls the data sending and receiving of HCI layer.Host control interface(HCI)is mainly responsible for data transmission between host and control layer.It is the key channel to connect Bluetooth upper layer protocol(host)and lower layer protocol(controller).Data transmission is usually controlled by software,while the HCI layer memory controller(Bt_mem_ctrl)in the link controller of Bluetooth lower layer protocol can replace CPU to complete data transmission.Its main function is to harden the memory management module in firmware,that is,to transfer the tasks handled by software to hardware management,so as to save time and space,thereby reducing the burden of CPU and power consumption.This paper focuses on the process of building the memory controller module testbench which is base on the UVM as well as functional verification of it.Firstly,I study the protocol of Bluetooth technology,especially the Controller Protocol of the bluetooth Lower layer.Then I analysed the design specification of memory controller,get deep understands with the main principle and design structure,for example,two working modes,RX and TX.Then I summarized its functions,listing the verification plan.This report focuses on functional verification of the design.Through the research to the protocol and the RTL,design the main structure of the verification testbench.The verification testbench is established based on SV and UVM methodology.Virtual sequence is used to complete the scheduling of multiple sequence.Then compile the verification plan,After doing this,build up test cases for function points.Besides normal sequence,also abnormal sequence is injected to achieve the completeness of verification.During the process of simulation,debug is constantly carried out to find out the errors of DUT and verification testbench and then maintain them one by one.After all cases are passed,the coverage rate is measured,mainly the code coverage rate and the function coverage rate.By improving the test cases and stimulation generation methods as much as possible,the code coverage rate is close to 100%,and the function coverage rate reaches 100%.Thus,it can be considered that the verification of memory controller module has been completed.
Keywords/Search Tags:Bluetooth, UVM, HCI, Testbench, Function Verification
PDF Full Text Request
Related items