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.46
List Price:  €140.63
You save:  €103.16
£32.29
List Price:  £121.23
You save:  £88.93
CA$54.94
List Price:  CA$206.24
You save:  CA$151.29
A$62.26
List Price:  A$233.71
You save:  A$171.44
S$54.38
List Price:  S$204.12
You save:  S$149.74
HK$312.86
List Price:  HK$1,174.33
You save:  HK$861.46
CHF 36.37
List Price:  CHF 136.52
You save:  CHF 100.15
NOK kr440.16
List Price:  NOK kr1,652.13
You save:  NOK kr1,211.96
DKK kr279.72
List Price:  DKK kr1,049.91
You save:  DKK kr770.19
NZ$67.84
List Price:  NZ$254.67
You save:  NZ$186.82
د.إ146.72
List Price:  د.إ550.72
You save:  د.إ403.99
৳4,374.82
List Price:  ৳16,420.65
You save:  ৳12,045.82
RM191.12
List Price:  RM717.36
You save:  RM526.24
₦51,815.15
List Price:  ₦194,485.15
You save:  ₦142,670
₨11,093.86
List Price:  ₨41,640.16
You save:  ₨30,546.30
฿1,470.18
List Price:  ฿5,518.24
You save:  ฿4,048.06
₺1,297.79
List Price:  ₺4,871.21
You save:  ₺3,573.41
B$207.86
List Price:  B$780.20
You save:  B$572.34
R770.82
List Price:  R2,893.25
You save:  R2,122.43
Лв73.22
List Price:  Лв274.84
You save:  Лв201.61
₩54,911.07
List Price:  ₩206,105.52
You save:  ₩151,194.45
₪150.25
List Price:  ₪563.97
You save:  ₪413.72
₱2,300.04
List Price:  ₱8,633.07
You save:  ₱6,333.02
¥6,177.26
List Price:  ¥23,186.01
You save:  ¥17,008.75
MX$683.16
List Price:  MX$2,564.21
You save:  MX$1,881.05
QR145.44
List Price:  QR545.93
You save:  QR400.48
P553.65
List Price:  P2,078.12
You save:  P1,524.46
KSh5,241.92
List Price:  KSh19,675.26
You save:  KSh14,433.34
E£1,930.78
List Price:  E£7,247.08
You save:  E£5,316.30
ብር2,264.97
List Price:  ብር8,501.45
You save:  ብር6,236.48
Kz33,438.15
List Price:  Kz125,508.15
You save:  Kz92,070
CLP$38,047.61
List Price:  CLP$142,809.52
You save:  CLP$104,761.90
CN¥289.21
List Price:  CN¥1,085.53
You save:  CN¥796.32
RD$2,372.03
List Price:  RD$8,903.28
You save:  RD$6,531.25
DA5,376.99
List Price:  DA20,182.22
You save:  DA14,805.23
FJ$90.98
List Price:  FJ$341.50
You save:  FJ$250.51
Q310.03
List Price:  Q1,163.70
You save:  Q853.67
GY$8,340.05
List Price:  GY$31,303.91
You save:  GY$22,963.86
ISK kr5,642.93
List Price:  ISK kr21,180.43
You save:  ISK kr15,537.50
DH403.83
List Price:  DH1,515.75
You save:  DH1,111.92
L715.50
List Price:  L2,685.60
You save:  L1,970.10
ден2,306.84
List Price:  ден8,658.60
You save:  ден6,351.76
MOP$321.61
List Price:  MOP$1,207.14
You save:  MOP$885.53
N$765.94
List Price:  N$2,874.94
You save:  N$2,108.99
C$1,476.55
List Price:  C$5,542.15
You save:  C$4,065.60
रु5,324.18
List Price:  रु19,984.01
You save:  रु14,659.82
S/148.73
List Price:  S/558.26
You save:  S/409.52
K151.82
List Price:  K569.87
You save:  K418.04
SAR149.86
List Price:  SAR562.52
You save:  SAR412.65
ZK1,023.48
List Price:  ZK3,841.60
You save:  ZK2,818.11
L186.54
List Price:  L700.17
You save:  L513.63
Kč946.79
List Price:  Kč3,553.74
You save:  Kč2,606.94
Ft14,778.70
List Price:  Ft55,471
You save:  Ft40,692.30
SEK kr436
List Price:  SEK kr1,636.50
You save:  SEK kr1,200.50
ARS$34,806.43
List Price:  ARS$130,643.93
You save:  ARS$95,837.50
Bs276.04
List Price:  Bs1,036.11
You save:  Bs760.06
COP$156,598.90
List Price:  COP$587,784.88
You save:  COP$431,185.98
₡20,018.98
List Price:  ₡75,140.09
You save:  ₡55,121.11
L984.13
List Price:  L3,693.90
You save:  L2,709.76
₲294,913.41
List Price:  ₲1,106,940.33
You save:  ₲812,026.92
$U1,533.85
List Price:  $U5,757.21
You save:  $U4,223.36
zł161.59
List Price:  zł606.54
You save:  zł444.94
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.