Coverage Options

SystemVerilog Assertions and Functional Coverage From Scratch Performance Implications and Coverage Methodology
7 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$39.95
List Price:  $149.95
You save:  $110
₹1,480
List Price:  ₹9,995
You save:  ₹8,515
€37.87
List Price:  €142.15
You save:  €104.28
£31.55
List Price:  £118.43
You save:  £86.87
CA$55.89
List Price:  CA$209.78
You save:  CA$153.89
A$61.42
List Price:  A$230.55
You save:  A$169.12
S$53.66
List Price:  S$201.43
You save:  S$147.76
HK$310.94
List Price:  HK$1,167.12
You save:  HK$856.17
CHF 35.38
List Price:  CHF 132.82
You save:  CHF 97.44
NOK kr441.52
List Price:  NOK kr1,657.24
You save:  NOK kr1,215.71
DKK kr282.47
List Price:  DKK kr1,060.24
You save:  DKK kr777.77
NZ$67.94
List Price:  NZ$255.04
You save:  NZ$187.09
د.إ146.73
List Price:  د.إ550.76
You save:  د.إ404.02
৳4,757.02
List Price:  ৳17,855.20
You save:  ৳13,098.18
RM178.63
List Price:  RM670.50
You save:  RM491.86
₦66,908.65
List Price:  ₦251,137.75
You save:  ₦184,229.10
₨11,062.35
List Price:  ₨41,521.90
You save:  ₨30,459.55
฿1,386.54
List Price:  ฿5,204.31
You save:  ฿3,817.77
₺1,376.80
List Price:  ₺5,167.77
You save:  ₺3,790.96
B$231.20
List Price:  B$867.82
You save:  B$636.61
R723.37
List Price:  R2,715.16
You save:  R1,991.78
Лв74.05
List Price:  Лв277.95
You save:  Лв203.90
₩55,812.30
List Price:  ₩209,488.24
You save:  ₩153,675.93
₪149.29
List Price:  ₪560.37
You save:  ₪411.07
₱2,357.82
List Price:  ₱8,849.97
You save:  ₱6,492.14
¥6,222.78
List Price:  ¥23,356.84
You save:  ¥17,134.06
MX$807.25
List Price:  MX$3,029.98
You save:  MX$2,222.73
QR145.17
List Price:  QR544.90
You save:  QR399.73
P541.58
List Price:  P2,032.82
You save:  P1,491.23
KSh5,173.52
List Price:  KSh19,418.52
You save:  KSh14,245
E£1,985.51
List Price:  E£7,452.51
You save:  E£5,467
ብር4,899.40
List Price:  ብር18,389.63
You save:  ብር13,490.22
Kz36,460.79
List Price:  Kz136,853.46
You save:  Kz100,392.67
CLP$38,803.03
List Price:  CLP$145,644.93
You save:  CLP$106,841.90
CN¥289.50
List Price:  CN¥1,086.62
You save:  CN¥797.12
RD$2,397.37
List Price:  RD$8,998.41
You save:  RD$6,601.03
DA5,330.55
List Price:  DA20,007.92
You save:  DA14,677.37
FJ$90.71
List Price:  FJ$340.49
You save:  FJ$249.77
Q307.31
List Price:  Q1,153.47
You save:  Q846.16
GY$8,324.22
List Price:  GY$31,244.48
You save:  GY$22,920.25
ISK kr5,502.71
List Price:  ISK kr20,654.11
You save:  ISK kr15,151.40
DH397.72
List Price:  DH1,492.82
You save:  DH1,095.10
L727.09
List Price:  L2,729.10
You save:  L2,002.01
ден2,327.48
List Price:  ден8,736.06
You save:  ден6,408.58
MOP$319.12
List Price:  MOP$1,197.83
You save:  MOP$878.70
N$719.71
List Price:  N$2,701.40
You save:  N$1,981.69
C$1,464.95
List Price:  C$5,498.63
You save:  C$4,033.67
रु5,378.70
List Price:  रु20,188.64
You save:  रु14,809.94
S/151.06
List Price:  S/567.01
You save:  S/415.95
K160.17
List Price:  K601.21
You save:  K441.03
SAR149.98
List Price:  SAR562.94
You save:  SAR412.96
ZK1,099.68
List Price:  ZK4,127.58
You save:  ZK3,027.90
L188.46
List Price:  L707.37
You save:  L518.91
Kč957.21
List Price:  Kč3,592.84
You save:  Kč2,635.63
Ft15,518.42
List Price:  Ft58,247.49
You save:  Ft42,729.07
SEK kr439.39
List Price:  SEK kr1,649.23
You save:  SEK kr1,209.83
ARS$40,020.14
List Price:  ARS$150,213.28
You save:  ARS$110,193.13
Bs276.06
List Price:  Bs1,036.20
You save:  Bs760.13
COP$176,073.59
List Price:  COP$660,881.98
You save:  COP$484,808.38
₡20,235.05
List Price:  ₡75,951.09
You save:  ₡55,716.04
L1,005.80
List Price:  L3,775.23
You save:  L2,769.43
₲310,029.48
List Price:  ₲1,163,677.61
You save:  ₲853,648.13
$U1,707.86
List Price:  $U6,410.37
You save:  $U4,702.50
zł164.29
List Price:  zł616.68
You save:  zł452.38
Subscription
$149.95
$39.95
per week
Payment Plan
$149.96
$39.95
per week
4 payments
Already have an account? Log In

Transcript

Hello and welcome to lecture number nine. In this lecture we will explore some of the so called coverage options available for our groups and cover points. So, first, let's see what are the instance specific coverage options. So here's an example I have two variables address and offset. I will cover group called CG one. Now as you notice, I have parameterize it and we saw a similar example in earlier lecture.

With the integer i w and string I comment and we'll see how they get used. This cover group is sample that pauses of clock. Now, first thing I'm doing here is I'm saying option, which is a keyword dot per underscore instance, there's also keyword equal to one. What this means is that track the coverage information for each instance of CD one, there are two instances, CD one instance CD two, it's so attractive Coverage information for each instance of CD one in addition to the accumulative coverage information for the entire hour group CD one. So, you can you can specify this kind of options to make the overall coverage report that you get more meaningful. Similarly, there is option called comment and echoed why comment I comment is the the formal that I use here, this hormone will get the actual comment string from because it's of type string or venue instantiate, so comment for each instance of this color group.

So when there are two instances we can in the in the coverage report, you will see coverage for CG ones and coverage for CG two ns based on a string that I have provided here. This one is a very useful option auto min max. So, as you can see here, I'm not providing any bins here at all. I'm simply saying CounterPoint. ADR, ADR is a variable here. But what I'm also saying is that only create maximum of four automatic bins for this particular counterpoint label AR.

And so, this is another way, when you have an explosion of guard points, bins and so on and so forth. You can provide cover group instance based options to limit certain for example number of beans in this case. This is also another interesting option. It's called dot weight. What this means is that this cover point, this cover point which is labeled offset, it contributes i w times as much to the coverage of an instance of CG one There are two instances for each instance, this particular PowerPoint offset, it can be, it's either two times as much to the coverage of an instance of CG one, then our point AR. So let's say I have, I'm passing in two different weights.

One is for the first incentive two for the second instance is three. So if you if you cover this, all the bins of corporate offset they will have twice or three times as much weight as the beans covered by the PowerPoint, ADR. And this is become important right now there may not look so useful, but when you have a large SOC with hundreds of IPS in it, and hundreds of interfaces and you're trying to make sure everything is covered. As I interface may mean mean more to you. Then PCI Express or the memory interface, and then you want to make sure that that gets covered and it has more weight than the other interfaces. So that's where the weight comes into picture.

This is another example of cover group type options. What we saw was instances specific. And and again, they were called option dot something. Now here we are going to say type underscore option. So type underscore option. Comment means for example, comment for the group CG one as a whole.

Here we saw instance specific comments. Our coverage for this instance can correct for that instance. But here we are, we want to have one particular comment for the entire group as well. And that's where type underscore option comes into picture. Type underscore option, comment, type underscore often got stroke, meaning at anything that you sample in this Covered group, everything that you evaluate in samples needs to take place at the end of the time slot. This is just like dollar stroeve in Verilog.

Or, or even, which I particularly don't recommend, but it's using lb zero and Verilog basically sample and to see if this particular bin have been covered at the end of the simulation time. This way it is exactly what I explained in the previous slide. But here the over over here the wait was for a particular PowerPoint instance specific here it is for the for the whole cover. So that's why I'm saying here that that is specifies the weight of this cover group for computing the overall cumulative coverage of the saved database. And it has to be a constant you cannot have. So the type underscore option dot weight has to be a constant.

But option got weight can be a variable and then you can pass different rates. In specific ways, but for a given cover group, it has to be a constant. And this again, option option dot something or instance specific. And this dot per instance, comment dot auto Bane and auto dot weight are exactly the same that I explained in this previous slide. So there are a lot more options available both instance specific and cover group type. I've not going through the detail of each one of those they are very exhaustive list, please refer to the LRM for for reading through all the different options available to you to manage your project even better.

Well, that's all folks. This was a brief but in depth introduction to functional coverage, hope it has been of help to you. I wish you the best in your project. And make sure you do functionally cover everything. Thank you

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.