Vacuous Pass

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
€36.72
List Price:  €137.84
You save:  €101.11
£31.26
List Price:  £117.33
You save:  £86.07
CA$54.44
List Price:  CA$204.35
You save:  CA$149.91
A$59.96
List Price:  A$225.08
You save:  A$165.11
S$53.84
List Price:  S$202.10
You save:  S$148.25
HK$312.04
List Price:  HK$1,171.22
You save:  HK$859.18
CHF 36.38
List Price:  CHF 136.56
You save:  CHF 100.18
NOK kr418.80
List Price:  NOK kr1,571.95
You save:  NOK kr1,153.15
DKK kr274.02
List Price:  DKK kr1,028.53
You save:  DKK kr754.50
NZ$64.86
List Price:  NZ$243.44
You save:  NZ$178.58
د.إ146.73
List Price:  د.إ550.76
You save:  د.إ404.02
৳4,687.10
List Price:  ৳17,592.78
You save:  ৳12,905.67
RM187.51
List Price:  RM703.83
You save:  RM516.31
₦59,224.27
List Price:  ₦222,294.87
You save:  ₦163,070.60
₨11,116.08
List Price:  ₨41,723.59
You save:  ₨30,607.50
฿1,463.58
List Price:  ฿5,493.49
You save:  ฿4,029.90
₺1,285.63
List Price:  ₺4,825.54
You save:  ₺3,539.91
B$206.68
List Price:  B$775.78
You save:  B$569.09
R734.46
List Price:  R2,756.77
You save:  R2,022.30
Лв71.82
List Price:  Лв269.60
You save:  Лв197.77
₩54,285.05
List Price:  ₩203,755.80
You save:  ₩149,470.74
₪146.87
List Price:  ₪551.28
You save:  ₪404.41
₱2,316.68
List Price:  ₱8,695.52
You save:  ₱6,378.84
¥6,266.80
List Price:  ¥23,522.08
You save:  ¥17,255.27
MX$666.43
List Price:  MX$2,501.42
You save:  MX$1,834.98
QR145.61
List Price:  QR546.54
You save:  QR400.92
P542.33
List Price:  P2,035.64
You save:  P1,493.30
KSh5,293.37
List Price:  KSh19,868.37
You save:  KSh14,575
E£1,898.02
List Price:  E£7,124.12
You save:  E£5,226.10
ብር2,277.96
List Price:  ብር8,550.20
You save:  ብር6,272.24
Kz34,031
List Price:  Kz127,733.40
You save:  Kz93,702.40
CLP$36,020.33
List Price:  CLP$135,200.23
You save:  CLP$99,179.89
CN¥284.01
List Price:  CN¥1,066.03
You save:  CN¥782.02
RD$2,352.24
List Price:  RD$8,829.03
You save:  RD$6,476.78
DA5,374.30
List Price:  DA20,172.12
You save:  DA14,797.82
FJ$89.01
List Price:  FJ$334.11
You save:  FJ$245.10
Q310.26
List Price:  Q1,164.57
You save:  Q854.30
GY$8,361.19
List Price:  GY$31,383.27
You save:  GY$23,022.07
ISK kr5,490.72
List Price:  ISK kr20,609.12
You save:  ISK kr15,118.40
DH396.63
List Price:  DH1,488.72
You save:  DH1,092.09
L707.52
List Price:  L2,655.64
You save:  L1,948.11
ден2,262.67
List Price:  ден8,492.81
You save:  ден6,230.14
MOP$321.26
List Price:  MOP$1,205.86
You save:  MOP$884.59
N$733.65
List Price:  N$2,753.72
You save:  N$2,020.06
C$1,470.20
List Price:  C$5,518.33
You save:  C$4,048.12
रु5,309.89
List Price:  रु19,930.39
You save:  रु14,620.49
S/149.51
List Price:  S/561.21
You save:  S/411.69
K155.32
List Price:  K582.99
You save:  K427.67
SAR149.83
List Price:  SAR562.40
You save:  SAR412.56
ZK1,069.47
List Price:  ZK4,014.20
You save:  ZK2,944.73
L182.73
List Price:  L685.87
You save:  L503.14
Kč905.47
List Price:  Kč3,398.63
You save:  Kč2,493.16
Ft14,088.74
List Price:  Ft52,881.26
You save:  Ft38,792.52
SEK kr420.92
List Price:  SEK kr1,579.90
You save:  SEK kr1,158.98
ARS$35,695.32
List Price:  ARS$133,980.32
You save:  ARS$98,285
Bs275.99
List Price:  Bs1,035.94
You save:  Bs759.94
COP$154,573.23
List Price:  COP$580,181.64
You save:  COP$425,608.41
₡20,540.35
List Price:  ₡77,097.01
You save:  ₡56,556.66
L987.04
List Price:  L3,704.82
You save:  L2,717.77
₲300,484.24
List Price:  ₲1,127,850.11
You save:  ₲827,365.86
$U1,537.98
List Price:  $U5,772.73
You save:  $U4,234.75
zł156.17
List Price:  zł586.17
You save:  zł430
Subscription
$149.95
$39.95
per week
Payment Plan
$149.96
$39.95
per week
4 payments
Already have an account? Log In

Transcript

So this is a fun lecture. The name itself may confuse you, but don't panic. I bail explained. So let's start with a very simple property as we have seen in previous lectures. I have a property br one and I'm simply saying it bothered of crop request should be followed by Grant after two clocks. If the property passes and said display pass, Elle's display fade.

Very simple. Now let's see what happens when we simulate this property. So at time 10, request is equal to zero and see what happens the property fails. At time 30 request goes high, and two clocks later, grant is still zero. So property fails. But guess what since request is zero property fails again.

You will get to display statements telling you that the property have failed. So how can this be? What we are saying is if request is true, then grant would be true to clocks later. No, that's not what we're saying. As a sequence specified this way simply says that pause edge of clock request be true. Request must be true, and then look for grant to clocks later.

If the request is not true, right off the bat, the property fails. When I was learning as VA, this really confused the heck out of me. And I don't want you to go through this. So that's why I'm explaining this. And at time 90 Look at this. request is zero.

But grantee is one because request was one at 52 clocks later on. Grant is one so guess what the property passes. But because request zero property also fails. So at 1090, you'll get two display statements, one for failed one for pass. How can that be? So again, without an implication operator, when you simply say request to cleanslate a grant, whenever a request is low, property will fail.

Okay, so no big deal. Let's put an implication operator in the middle. So now we are saying if request is true, if the antecedent is true, then check for grant to grok. Like they sound very reasonable to me. If the property passes display pass as display fail. Now see what happens at time 10 requests is zero.

So you would think that the antecedent is zero. So consequent will not fire make sense, but don't Because the request is zero the property will now tell you it has passed and so on and so forth. Anytime request is zero property will pass and you can get to pass or two passes also just like to fails in the previous slide. So, what is going on? How are you supposed to model a property so far I have shown you this way of modeling and it is correct, but you get this pass anytime request is zero. That makes no sense.

That's where vacuous bias comes into picture. The way backers bias works is anytime NDC antecedent is not true, the property will pass vacuously as written in the LRM if that is no match of that dissidents sequence expression, then the evaluation of the implication sexes vacuously and returns true. So what if I want this property to work the way I want it to work only when grant doesn't come after two clocks, it should fail. If the grant comes after two o'clock it should pass. So that is a solution. This is a solution that we used before 2012 LRM.

And I'll tell you how, finally, the language developers fix this the right way. But here is the same property. I'm not changing anything. All I'm doing is when I assert the property, I don't put any past statement here. So if there is a vacuous, pass it you won't know it. More importantly, I also cover the property.

Just like we saw in previous lectures, covered property will pass whenever this sequence is true. Attach sequence and property antecedent and consequent have satisfied the requirements for cover, there is no fail action block. So what I'm saying is, so this property if it fails, tell me that it failed and covered the property when the property is satisfied. Tell me that it has passed it has been covered. So now in the log, you see that the request is zero, you don't get any vacuous pass indication anymore because I don't have a display there. And when the crutches one and two crops later grant is one the property passes, every question is one and took off later grant is not one the property phase.

This makes sense. This is what you want to see. So this was a workaround and offer a lot of heartache. Everyone started using this and this is what I've shown you in previous slides, but to our sq. Now they have added an execution control class. So, if you simply say assert vacuous off, then it will turn off the pass indication based on a vacuous access.

So you won't get a pass whenever their request is zero, like we saw in this case and, and you can also have, so, the other thing you can do is if you want to turn on only the non vacuous paths, which is what we want, then you can use this execution control task which says assert non vacuous on. So this assert vacuous off is your Savior. So, you can use an antecedent and you can have an antecedent that is not true, and still you won't get a vacuous fast indication. So, as I say, This is a fun lecture. And it's a very simple lecture, but very easy to miss, especially when you're starting off with learning system or log assertions. 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.