Introduction

SystemVerilog Assertions and Functional Coverage From Scratch SystemVerilog Functional Coverage Introduction and Methodology
6 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 the course on system Verilog functional coverage. This is a comprehensive course which will guide you step by step through the language, methodology and applications. The main goal of this course is to help you achieve an objective measure of the functional coverage of your design and test match. This course has nine lectures. This is simply a copyright notice, telling you that the course has been copyrighted. A bit about myself.

My name is Ashok Mehta. I've been a CPU and SOC design and verification engineer for over 30 years. I have 13 patents issued on SOC and 3d ic design verification. And I also published a book on system Verilog assertions and functional coverage in 2014. It was published by Springer. So let's see how did this course help you?

The foremost gain from this course is that you will objectively be able to measure the functional coverage of your test image and design. There is no subjectivity here the language will help you make sure that you are functionally covered everything in your design. And in today's design verification landscape, this is a very important part of overall functional verification methodology. And I believe that all the verification engineers do need this knowledge to be successful. And it will also be a highlight of your resume, as most of the employers now require you to know function coverage fundamentals. This course as I said earlier, will not only provide you a step by step guide to the learning or the language, but also it will show you your real life applications to solidify your concepts.

Okay, let's first see how functional coverage fits under the overall IEEE 1800 standard system or log language, even though most people think that system Verilog is just but one language, there are indeed sub languages under this umbrella. So let's start with your duty your design under test, you need to provide the simulators, you need to check the response. And now even increasingly important, you have to know if you have covered everything in your design. In other words, you can also say, easier test bench comprehensive. If the test bench is not comprehensive, then your coverage will not be comprehensive. So in some sense, it's a measure of your test page also.

Now, under the system Verilog language, you have a complete set of features, which are like classes are also known as object oriented programming features. It is under this feature set that the universal verification methodology fits And also you have constrained random features. So those are what I call test which controls the other sub language as I call it is functional coverage language. We discover groups and cover points that we will soon see in other language. Know that the functional coverage language is orthogonal, meaning its syntax and semantics is different from the OP syntax and semantics constrained random syntax and also orthogonal to the system, such as language. In other words for you to learn functional coverage language, under system Verilog, you don't really need to know or P or the SBA.

Okay, the important thing that we need to understand during this introductory lecture is the difference between code coverage and functional coverage. code coverage, as you probably know is derived from directly from the design, it is not user specified. You simply give your RTL design to a given simulator, turn on the code coverage and you get the code coverage of things like branch expressions, state transitions, case statements, etc. In other words, that design structure has been covered not the intent. So, it does not evaluate the intent of the design, what is it that the design really wants to do? For example, let's say your end of specifying bus grant equal to bus request and idle or bank reset.

This is what you write in your RTL code. code coverage will go through and tell you if reset have been exercised idle have an exercise bus request has been exercised and thereby bus Grant has been exercised. He does not know whether this equation is correct or not. So if you Your intent was at bus grinding call the bus requests and idle and bank reset code coverage has no idea. That's our functional coverage comes into picture. So functional coverage is user specified.

You tell the simulator, this is the function this is the intent I want to cover. So, obviously is based on design spec, you read the design spec and you decide what is it that you want to cover functionally. So, it will give you an answer in an objective manner rather than guessing. Hey, can we tape out? This is probably the most important question you face during any SOC project. And just a couple of points on what kind of functional coverage for example control oriented coverage, have I exercise all possible protocols that the recycled supports, burst, non burst etc.

And there is also what I called Data oriented coverage, how are exercised the cache line at all granular levels, byte word, quad, quad word, etc. So this kind of control coverage and data oriented coverage is simply not possible with code coverage. And that's what functional coverage really comes into picture and you will see a lot more different types of control and data oriented coverage in coming lectures. So that's all folks for this introductory lecture. Thanks for attending. And I will soon 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.