Performance Implications and Coverage Methodology

SystemVerilog Assertions and Functional Coverage From Scratch Performance Implications and Coverage Methodology
8 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.25
List Price:  €139.81
You save:  €102.56
£31.94
List Price:  £119.88
You save:  £87.94
CA$54.65
List Price:  CA$205.14
You save:  CA$150.49
A$61.21
List Price:  A$229.74
You save:  A$168.53
S$54.31
List Price:  S$203.86
You save:  S$149.54
HK$312.76
List Price:  HK$1,173.93
You save:  HK$861.17
CHF 36.48
List Price:  CHF 136.93
You save:  CHF 100.44
NOK kr437.45
List Price:  NOK kr1,641.97
You save:  NOK kr1,204.51
DKK kr277.83
List Price:  DKK kr1,042.85
You save:  DKK kr765.01
NZ$67.04
List Price:  NZ$251.66
You save:  NZ$184.61
د.إ146.73
List Price:  د.إ550.75
You save:  د.إ404.01
৳4,378.17
List Price:  ৳16,433.22
You save:  ৳12,055.04
RM190.86
List Price:  RM716.38
You save:  RM525.52
₦50,617.44
List Price:  ₦189,989.64
You save:  ₦139,372.20
₨11,106.46
List Price:  ₨41,687.46
You save:  ₨30,581
฿1,479.17
List Price:  ฿5,552.01
You save:  ฿4,072.83
₺1,298.49
List Price:  ₺4,873.83
You save:  ₺3,575.33
B$205.63
List Price:  B$771.82
You save:  B$566.19
R759.59
List Price:  R2,851.08
You save:  R2,091.49
Лв72.88
List Price:  Лв273.56
You save:  Лв200.68
₩54,905.43
List Price:  ₩206,084.35
You save:  ₩151,178.92
₪151.64
List Price:  ₪569.19
You save:  ₪417.55
₱2,308.77
List Price:  ₱8,665.83
You save:  ₱6,357.06
¥6,214.04
List Price:  ¥23,324.04
You save:  ¥17,110
MX$681.36
List Price:  MX$2,557.45
You save:  MX$1,876.09
QR145.49
List Price:  QR546.12
You save:  QR400.62
P553.29
List Price:  P2,076.75
You save:  P1,523.46
KSh5,373.27
List Price:  KSh20,168.27
You save:  KSh14,795
E£1,913.46
List Price:  E£7,182.06
You save:  E£5,268.60
ብር2,268.32
List Price:  ብር8,514.01
You save:  ብር6,245.68
Kz33,458.12
List Price:  Kz125,583.12
You save:  Kz92,125
CLP$38,059.56
List Price:  CLP$142,854.36
You save:  CLP$104,794.80
CN¥289.47
List Price:  CN¥1,086.53
You save:  CN¥797.06
RD$2,346.22
List Price:  RD$8,806.41
You save:  RD$6,460.19
DA5,366.56
List Price:  DA20,143.10
You save:  DA14,776.53
FJ$91.56
List Price:  FJ$343.69
You save:  FJ$252.12
Q310.09
List Price:  Q1,163.91
You save:  Q853.82
GY$8,351
List Price:  GY$31,345.01
You save:  GY$22,994
ISK kr5,591.40
List Price:  ISK kr20,987
You save:  ISK kr15,395.60
DH404.82
List Price:  DH1,519.49
You save:  DH1,114.66
L711.55
List Price:  L2,670.77
You save:  L1,959.22
ден2,294.80
List Price:  ден8,613.40
You save:  ден6,318.60
MOP$321.89
List Price:  MOP$1,208.23
You save:  MOP$886.33
N$764.99
List Price:  N$2,871.35
You save:  N$2,106.36
C$1,468.33
List Price:  C$5,511.31
You save:  C$4,042.97
रु5,317.95
List Price:  रु19,960.64
You save:  रु14,642.68
S/148
List Price:  S/555.52
You save:  S/407.51
K151.64
List Price:  K569.20
You save:  K417.55
SAR149.83
List Price:  SAR562.40
You save:  SAR412.56
ZK1,042.20
List Price:  ZK3,911.85
You save:  ZK2,869.65
L185.37
List Price:  L695.78
You save:  L510.41
Kč938.56
List Price:  Kč3,522.84
You save:  Kč2,584.28
Ft14,621
List Price:  Ft54,879.10
You save:  Ft40,258.09
SEK kr434
List Price:  SEK kr1,629.02
You save:  SEK kr1,195.01
ARS$34,886.01
List Price:  ARS$130,942.62
You save:  ARS$96,056.60
Bs275.67
List Price:  Bs1,034.74
You save:  Bs759.06
COP$155,475.85
List Price:  COP$583,569.56
You save:  COP$428,093.70
₡20,009.70
List Price:  ₡75,105.25
You save:  ₡55,095.55
L984.80
List Price:  L3,696.38
You save:  L2,711.58
₲296,355.57
List Price:  ₲1,112,353.39
You save:  ₲815,997.81
$U1,532.08
List Price:  $U5,750.59
You save:  $U4,218.50
zł160.72
List Price:  zł603.27
You save:  zł442.54
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 eight. In this lecture let us discuss a bit on performance implications of when bought and how you should cover. So, the first question is what you should cover you need to be very careful on how you create a PowerPoint and the bids. For example, let's say you have a 32 bit address bus like we, I've mostly shown you for bid address versus in the previous lectures, but more than likely will have a 32 bit address as well. You do not want to cover many cover meaning your test match does not need to create to raise to 32 different addresses to make sure that the address process covered because it's a good chance that if address zero is covered, it is one is covered. But what is important is for example, the by word the word aligned addresses are covered starting And addresses are covered, page crossing addresses are covered.

Those are the things that your test page needs to exercise. But if you try to cover the entire 32 bit address was first of all, you will not have enough simulation time for sure your test bench will be totally redundant and absolutely waste of time all over. So just be absolutely careful on you understand what you should cover. For example, another example is let's say you have a counter, there is no need to go to the entire count or the counter range. What is important is for example, only the roll over counter values. Whenever the counter goes from all ones or zeros, you may have a bug or the counter may not act accordingly and that's what you want to cover.

That's what you want to make sure that your test bench exercises. Another example let's say you have to KD FIFO you're not going to Right to each of the entry of the took a five four and read from each of the entry of the two care FIFO to make sure that the FIFO works, you will randomly write and read from a few locations and if that work then was important to cover for example, for something like a FIFO is you want to make sure that you have exercise your test might have driven condition such that five four does become full. And then see what how the design reacts when the five four is full. For example, when you try to write to a five for that is full what happens or greater conditions said that the fiber is empty. Okay, and here 544 for example, cross with five foot push, like I just said, you know, you cross the two that means you have to make sure that your test bench not only drove conditions to make the FIFO full, but when the FIFO was full, it also tried to push another item To the FIFO.

Now, that's where you may have a bug and similarly cross five four empty with FIFO read and this is where the the cross coverage comes into picture that we saw in the previous lectures. So, not only what you should cover is important, you also need to understand when you should cover So, for example, let's say you want to disable the coverage during reset simple as simple can get there is no point in trying to cover things during reset. All these have performance implications. The second thing is for example, you have a test mode signal. Now, try to cover the test mode signal only when you are in test mode, which is basically in j tech tap controller. If the TMA signal is asserted, then only the remaining boundary scan in our SMS signals have us or are important.

So cover only when the TMS is asserted. And then I will show you in the next slide also you can make effective use of coverage methods such as START STOP sample started this particular condition stop at this particular condition and sample in between, as I will show you the very next slide. So, overall unit to be very careful because if you end up creating hundreds of thousands of bins and PowerPoints, too many issues with that one is your coverage report will be so huge. You would not know what you're looking for. And the second thing is your simulation will drag if you're trying to cover so many things. And again, it is at this point knowing what you should cover is where the illegal means.

Ignore beans, cross beans, transition Beans, beans have interesting All these features that we discuss come into picture because that's how you narrow down or pare down the number of bins and the car points. And one more point, which is we haven't covered symbolic assertions in this course, because that's outside the scope of the course. But like I said in the very first lecture, so several other sessions have a keyword called cover and that cover will help you cover very low level temporal domain conditions. That means Have you exercise this temporal domain condition. So all those temporal domain conditions transitions that you cover with the SVR cover, you do not want to repeat those and put those into the cover group score points and for example, transition cover, think of transition cover in the functional coverage more as a transaction level transition coverage. While the transitions that take place in the system where log assertions were removed, At signal level, this is just but one differentiation you can keep in mind.

So here's an example of when you can have, you can start stop and sample, a particular color group, for example. So here I have a core group call RG. It has two core points, and I've instantiated RG and the instance name is Maya underscore RG. And what I'm saying is always a positive request. Start sampling or start covering start collecting information for this cover group. At the borders of grind, stop gathering this particular information stop collecting the coverage information.

And anytime in between in between started strong at every positive clock. That's my sampling is I go ahead and sample the color group RG and tell me whether I've exercised the core points. note one thing here that in all the previous lectures, we covered group RG, I always showed you at pauses of clock, for example, or some sampling edge. Here, there is no sampling edge. If you as I said in the very first lecture, if you have a gold cover group without a sampling edge, then you have to explicitly sample it from a procedural block. And that's what I'm showing here.

Since there is no sampling edge, I'm going to tell it that always add pauses of claw sample, do the evaluation of this code points, so to say, but do that only between the start and stop and points. So that's all folks are very simple lecture. Very straightforward, but very important for you to keep in mind when you design your coverage. Apply. Thank you for attending and I'll see you in the next lecture.

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.