当前位置:网站首页>覆盖率系列学习之功能覆盖率COV
覆盖率系列学习之功能覆盖率COV
2022-04-21 23:59:00 【那么菜】
之前,从未系统化的学习覆盖率知识点,空闲,整理整理。
1. 覆盖组
1.1 基本原则
覆盖组,英文名字covergroup,它和类class相似,均是需要提前进行定义,然后进行被实例化。
covergroup 可以包含一个或者多个coverpoint,covergroup被定义在covergroup 内部,且全都在同一时间进行采样(采集)。
covergroup 可以定义在class,interface,module 等模块声明语句中。
covergroup 可以采样任何可见的变量,比如:TB 变量、interface 内部变量、接口信号、设计RTL内部变量等均可。
一个class中,可以包含多个covergroup。
当存在多个独立的covergroup时,每个covergroup 可以根据具体需求进行enable或者disable。
每个covergroup 可以单独的触发采样事件,允许多个源头收集数据。
covergroup 必须被实例化后,才可以用来收集数据。
举例:
class Transactor;
Transaction tr;
mailbox mbx_in;
covergroup CovPort;// covergroup 定义
coverpoint tr.port;
endgroup
function new(mailbox mbx_in);
CovPort = new();// covergroup 实例化
this.mbx_in = mbx_in;
endfunction
task main;
forever b
版权声明
本文为[那么菜]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_16423857/article/details/124304895
边栏推荐
- Deploy node project to ECS detailed tutorial original
- C Mandelbrot and Julia fractal image generation program updated to version 2010-9-14, supporting multi-threaded computing and multi-core processor
- CatBoost如何处理非数值型(Object)数据
- MySQL存储过程用法--含练习题
- Matlab implementation of Gan network notes
- JS notes data type judgment
- Fansea 4W single coil transmitting wireless charging 5W module
- Centos7 install MySQL using Yum - specify the version
- 【接口测试基础】第三篇 | 传统风格接口与RESTful风格接口区别
- 运动耳机选择哪种好、什么款式的耳机戴着舒服
猜你喜欢

AVL tree deletion, detailed illustration

Browser principle learning notes 1 - browser process

山洪灾害监测预警系统解决方案

Three special data types of redis -- geospatial geospatial

7.5 线程等待终止

Robot OS driven development

R language generalized linear model GLM: linear least squares, logarithmic transformation, Poisson, binomial logistic regression analysis, ice cream sales time series data and simulation

AVL balanced binary tree and its four rotation modes

【Leetcode-每日一题】山羊拉丁文

Dw07d two in one lithium battery protection IC
随机推荐
1.2V镍氢电池灯太阳能草坪灯升压驱动IC丝印AaTLB封装SOT23-6和SOP8单片机IC
Insert create array
7.5 线程等待终止
Fs2451 can replace the high-voltage DCDC chip of MPS mp2451 to help the design of smart meter 40v0 5A step-down IC
STM32&STM8系列MCU产品命名
7.4 thread exit
JDBC concept steps of creating JDBC project in idea
7.10 thread condition variables
Gartner发布新兴技术研究:深入洞悉元宇宙
APP优化及积分榜进阶下篇【MUI+Flask+MongoDB】
js-笔记-数据类型判断
Union, intersection and difference tool classes based on Apache set Toolkit
Solution of mountain torrent disaster monitoring and early warning system
vmware-vmx. Exe could not end the process
University four years, self-study programming commonly used 10 learning websites
【接口测试基础】第四篇 | 接口测试流程及接口文档解析
How to set the motion stroke and angle in SolidWorks
MySQL存储过程用法--含练习题
Kuangshi Research Institute | dark vision network: RGB IR Fusion low illumination imaging method using depth inconsistent a priori
【接口测试基础】第三篇 | 传统风格接口与RESTful风格接口区别