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
€38.44
List Price:  €144.28
You save:  €105.84
£31.93
List Price:  £119.86
You save:  £87.93
CA$57.45
List Price:  CA$215.64
You save:  CA$158.19
A$64.12
List Price:  A$240.67
You save:  A$176.55
S$54.27
List Price:  S$203.70
You save:  S$149.43
HK$310.47
List Price:  HK$1,165.34
You save:  HK$854.86
CHF 35.74
List Price:  CHF 134.15
You save:  CHF 98.41
NOK kr456.25
List Price:  NOK kr1,712.53
You save:  NOK kr1,256.27
DKK kr286.72
List Price:  DKK kr1,076.21
You save:  DKK kr789.48
NZ$70.92
List Price:  NZ$266.22
You save:  NZ$195.29
د.إ146.73
List Price:  د.إ550.75
You save:  د.إ404.02
৳4,792.38
List Price:  ৳17,987.92
You save:  ৳13,195.54
RM180.09
List Price:  RM675.97
You save:  RM495.88
₦62,179.77
List Price:  ₦233,388.17
You save:  ₦171,208.40
₨11,161.13
List Price:  ₨41,892.66
You save:  ₨30,731.52
฿1,376.19
List Price:  ฿5,165.47
You save:  ฿3,789.28
₺1,405.79
List Price:  ₺5,276.58
You save:  ₺3,870.78
B$246.73
List Price:  B$926.09
You save:  B$679.36
R734.27
List Price:  R2,756.05
You save:  R2,021.78
Лв75.23
List Price:  Лв282.40
You save:  Лв207.16
₩57,882.25
List Price:  ₩217,257.66
You save:  ₩159,375.41
₪145.78
List Price:  ₪547.21
You save:  ₪401.42
₱2,350.49
List Price:  ₱8,822.45
You save:  ₱6,471.96
¥6,261.91
List Price:  ¥23,503.72
You save:  ¥17,241.81
MX$810.63
List Price:  MX$3,042.66
You save:  MX$2,232.03
QR146.36
List Price:  QR549.38
You save:  QR403.02
P552.40
List Price:  P2,073.41
You save:  P1,521.01
KSh5,163.53
List Price:  KSh19,381.03
You save:  KSh14,217.50
E£2,034.16
List Price:  E£7,635.12
You save:  E£5,600.95
ብር5,099.95
List Price:  ብር19,142.37
You save:  ብር14,042.42
Kz36,674.10
List Price:  Kz137,654.10
You save:  Kz100,980
CLP$39,616.41
List Price:  CLP$148,697.91
You save:  CLP$109,081.50
CN¥291.59
List Price:  CN¥1,094.47
You save:  CN¥802.87
RD$2,439
List Price:  RD$9,154.65
You save:  RD$6,715.65
DA5,375.65
List Price:  DA20,177.19
You save:  DA14,801.54
FJ$92.73
List Price:  FJ$348.08
You save:  FJ$255.34
Q308.92
List Price:  Q1,159.54
You save:  Q850.61
GY$8,390.52
List Price:  GY$31,493.33
You save:  GY$23,102.81
ISK kr5,555.04
List Price:  ISK kr20,850.54
You save:  ISK kr15,295.50
DH402.49
List Price:  DH1,510.75
You save:  DH1,108.25
L735.86
List Price:  L2,762.03
You save:  L2,026.16
ден2,366.27
List Price:  ден8,881.68
You save:  ден6,515.40
MOP$320.99
List Price:  MOP$1,204.85
You save:  MOP$883.85
N$733.03
List Price:  N$2,751.42
You save:  N$2,018.38
C$1,476.03
List Price:  C$5,540.19
You save:  C$4,064.16
रु5,459.94
List Price:  रु20,493.58
You save:  रु15,033.64
S/149.71
List Price:  S/561.93
You save:  S/412.22
K162.56
List Price:  K610.15
You save:  K447.59
SAR150.11
List Price:  SAR563.45
You save:  SAR413.33
ZK1,109.90
List Price:  ZK4,165.96
You save:  ZK3,056.06
L191.30
List Price:  L718.05
You save:  L526.74
Kč966.19
List Price:  Kč3,626.54
You save:  Kč2,660.35
Ft15,901.88
List Price:  Ft59,686.78
You save:  Ft43,784.90
SEK kr440.95
List Price:  SEK kr1,655.10
You save:  SEK kr1,214.15
ARS$40,829.29
List Price:  ARS$153,250.37
You save:  ARS$112,421.08
Bs277.12
List Price:  Bs1,040.18
You save:  Bs763.05
COP$174,918.24
List Price:  COP$656,545.43
You save:  COP$481,627.19
₡20,168.90
List Price:  ₡75,702.82
You save:  ₡55,533.91
L1,018.04
List Price:  L3,821.16
You save:  L2,803.12
₲313,289.69
List Price:  ₲1,175,914.62
You save:  ₲862,624.93
$U1,782.11
List Price:  $U6,689.05
You save:  $U4,906.94
zł163.79
List Price:  zł614.79
You save:  zł451
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.