| As the scale of integrated circuits is geting larger and larger,it is difficult for the traditional verification methods to meet the increasing verification requirements of modern VLSI.However,UVM(Universal Verification Methodology)is becoming a research hotspot in the verification field due to its characteristics of high efficiency,non-directional testing and reusability.Therefore,this paper will study the UVM methodology and build a UVM-based AMB(Advanced Microcontroller Bus Architecture)bus verification platform.The UVM verification methodology is firstly studied,as well as the function,characteristics and applications of AMBA bus protocol and the port and timing of the AMBA bus modules.Based on the research of UVM and AMBA bus,System Verilog is used to build an AMBA bus verification platform based on UVM,which is composed of AHB(Advanced High performance Bus),APB(Advanced Peripheral Bus)and APB bridge sub-platforms.The sub-platform uses UVM’s sequence,config_db,and phase mechanisms and the TLM(Transaction-Level Modeling)communication method of UVM to construct the hierarchical tree structure of UVM.By calling virtual interface function,the functions of AHB protocol,APB protocol and APB bridge are verified respectively.At the same time,each sub-platform supports the adding and removing of function points,random sending of excitation waveforms of different function points,monitoring and comparing of excitation waveforms and feedback waveforms,automatic reporting of error results and automatic generating of verification reports,etc.In this thesis,a special makefile script files is coded for the unique functions and features of each sub-platform to simplify the use of the platform through parametric configuration,that guarentees the correctness of the sub-platform call instructions,three verilog modules,AMBA bus fixed priority arbiter module,APB bridge module and memory module,are also designed to verify the basic functions of the sub-platform and the main platform.By analysing the measured waveforms,the platform functions are correct and meet the expected design requirements.An AMBA bus verification platform is built based on UVM,which can be used to verificate the modules conforming to AMBA bus protocol with simple parameter configuration,the testing results shows that the proposed UVM verification platform is practical in AMBA bus verifacating. |