12Microcontrollers&EmbeddedSystems2023年第2期www.mesnet.com.cn基于UVM平台实现SDHost控制器的验证刘璐1,赵启林2,李超1,戴兆麟1(1.上海电力大学电子与信息工程学院,上海201306;2.上海摩尔精英集成电路产业发展有限公司)摘要:随着数字信息技术的发展,SDHost控制器的应用逐渐广泛。本文对SDHost控制器的相关功能进行验证,基于UVM验证方法学搭建完整的验证平台,通过直接测试和大量的随机测试案例以及Makefile脚本自动化编译,完成代码覆盖率以及功能覆盖率的统计,最终代码覆盖率和功能覆盖率均满足要求。UVM验证平台以及自动化脚本的使用提升了验证效率,对验证流程做了简化,同时保证了验证的完备性。关键词:通用验证方法学;SDHost;功能覆盖率中图分类号:TN407文献标识码:AVerificationofSDHostControllerBasedonUVMPlatformLiuLu1,ZhaoQilin2,LiChao1,DaiZhaolin1(1.ElectronicsandInformationEngineering,ShanghaiUniversityofElectricPower,Shanghai201306,China;2.MooreIntegratedCircuitIndustryDevelopmentCo.,Ltd)Abstract:Withthedevelopmentofthedigitalinformationage,SDHostcontrolleriswidelyusedinmanyproducesgradually,thefunc-tionalverificationofSDHostcontrollerisintroduced.BasedonUVM(UniversalVerificationMethodology),thecompleteverificationplat-formforSDHostverificationisbuilt.Bydirecttestandmanyofrandomtestcase,andMakefilescriptautomaticcompile,collectionRTLcoverageandfunctioncoverage,eventua...