基于VMM构架之SPI控制器验证.docx
文本预览下载声明
基于VMM构架之SPI控制器验证作者姓名:唐治龙 专业班级:2007050101 指导老师:朱杰摘要具备高速度、低功耗、高密度和非易失性等特性的Flash memory已经在嵌入式系统中得到了广泛的应用。SPI(Serial Peripheral Interface串行外围设备接口)Flash是一种串行的Flash器件,主要用于代码存储或者其他非易失性存储应用。为了提高系统的处理能力,引入SPI Controller模块,系统把要对SPI Flash 进行操作的命令和数据放入SPI Controller模块后由SPI Controller模块把相关命令和数据转换成为满足SPI协议并通过SPI传给SPI Flash。本文在介绍了SystemVerilog和VMM验证方法原理的基础上,基于VMM(Verification Methodology Manual)验证方法学,搭建出了层次化、可重用、可扩展的SPI Controller模块验证平台,最后在该平台上对各功能测试点进行了验证。关键词: VMM架构,SPI 控制器,SPI Flash,SystemVerilogVMM-based?verification?framework for SPI?controllerAbstract:Because of the good characteristics at high speed, lower cost, high density, nonvolatile Flash memory has been widely used in embedded system. SPI (Serial Peripheral Interface) Flash is a kind of serial Flash device, they are ideal for code download as well as storing nonvolatile voice, text and data. For enhance the system capability, induct SPI Controller module, System put commands and dates that want write into the SPI Flash to SPI Controller module and then SPI Controller module send the dates and commands though SPI to SPI Flash.Base on introduction SystemVerilog and VMM verification methodology theory, and then base on VMM (Verification Methodology Manual), buildSPI Controller verification platform which is hierarchical, reusable and scalable, andlast verify every function points in this platform.Keywords:VMM Framework, SPI Controller, SPI Flash, SystemVerilog目 录第1章 前 言1第2章 VMM验证方法学32.1 功能验证和SystemVerilog32.1.1 功能验证32.1.2 验证平台的功能32.1.3 SystemVerilog42.1.4 SystemVerilog验证方法学介绍52.2VMM验证方法学62.2.1 VMM架构62.2.2 VMM提高验证效率的机制72.3 本章小结8第3章 SPI Controller验证环境设计93.1 应用背景介绍93.1.1 RGST BUS简介93.1.2 SPI通信原理103.1.3 SPI Flash介绍113.2 SPI Controller验证环境设计143.2.1 SPI Controller功能寄存器143.2.2 SPI Controller功能测试点173.2.3 验证环境设计思路183.2.4 验证环境组件设计实现223.3 本章小结35第4章仿真案例及结果364.1 不同案例及其测试结果364.1.1 test_code_rst.sv364.1.2 test_rgst_rst.sv374.1.3 test_fifo.sv374.1.4 test_rgst.sv384.1.5 test_secotr_corss_addr.sv394.1.6 test_read.sv394.1.7 test_rgst_error.
显示全部