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
€38.30
List Price:  €143.76
You save:  €105.46
£31.77
List Price:  £119.28
You save:  £87.50
CA$57.36
List Price:  CA$215.29
You save:  CA$157.93
A$63.90
List Price:  A$239.88
You save:  A$175.97
S$54.15
List Price:  S$203.27
You save:  S$149.11
HK$310.60
List Price:  HK$1,165.85
You save:  HK$855.24
CHF 35.71
List Price:  CHF 134.03
You save:  CHF 98.32
NOK kr452.23
List Price:  NOK kr1,697.44
You save:  NOK kr1,245.21
DKK kr285.70
List Price:  DKK kr1,072.38
You save:  DKK kr786.67
NZ$70.63
List Price:  NZ$265.11
You save:  NZ$194.48
د.إ146.73
List Price:  د.إ550.76
You save:  د.إ404.03
৳4,754.86
List Price:  ৳17,847.12
You save:  ৳13,092.25
RM180.09
List Price:  RM675.97
You save:  RM495.88
₦61,731.10
List Price:  ₦231,704.12
You save:  ₦169,973.01
₨11,075.45
List Price:  ₨41,571.07
You save:  ₨30,495.62
฿1,366.34
List Price:  ฿5,128.49
You save:  ฿3,762.15
₺1,401.11
List Price:  ₺5,259.01
You save:  ₺3,857.89
B$243.13
List Price:  B$912.59
You save:  B$669.46
R731.81
List Price:  R2,746.81
You save:  R2,015
Лв74.86
List Price:  Лв280.99
You save:  Лв206.13
₩57,784.47
List Price:  ₩216,890.67
You save:  ₩159,106.20
₪145.36
List Price:  ₪545.63
You save:  ₪400.26
₱2,350.45
List Price:  ₱8,822.30
You save:  ₱6,471.85
¥6,249.97
List Price:  ¥23,458.92
You save:  ¥17,208.95
MX$802.24
List Price:  MX$3,011.19
You save:  MX$2,208.94
QR145.05
List Price:  QR544.45
You save:  QR399.39
P549.96
List Price:  P2,064.24
You save:  P1,514.28
KSh5,137
List Price:  KSh19,281.44
You save:  KSh14,144.43
E£2,032.78
List Price:  E£7,629.93
You save:  E£5,597.15
ብር4,960.09
List Price:  ብር18,617.44
You save:  ብር13,657.34
Kz36,674.10
List Price:  Kz137,654.10
You save:  Kz100,980
CLP$39,466.77
List Price:  CLP$148,136.25
You save:  CLP$108,669.47
CN¥291.49
List Price:  CN¥1,094.09
You save:  CN¥802.60
RD$2,422.99
List Price:  RD$9,094.58
You save:  RD$6,671.58
DA5,388.33
List Price:  DA20,224.80
You save:  DA14,836.47
FJ$92.54
List Price:  FJ$347.35
You save:  FJ$254.81
Q306.58
List Price:  Q1,150.76
You save:  Q844.17
GY$8,324.65
List Price:  GY$31,246.11
You save:  GY$22,921.45
ISK kr5,532.92
List Price:  ISK kr20,767.51
You save:  ISK kr15,234.58
DH400.46
List Price:  DH1,503.12
You save:  DH1,102.65
L733.83
List Price:  L2,754.42
You save:  L2,020.58
ден2,356.18
List Price:  ден8,843.79
You save:  ден6,487.61
MOP$318.54
List Price:  MOP$1,195.63
You save:  MOP$877.09
N$732.55
List Price:  N$2,749.60
You save:  N$2,017.04
C$1,464.21
List Price:  C$5,495.84
You save:  C$4,031.62
रु5,412.46
List Price:  रु20,315.36
You save:  रु14,902.90
S/148.16
List Price:  S/556.13
You save:  S/407.97
K161.35
List Price:  K605.63
You save:  K444.28
SAR150.06
List Price:  SAR563.25
You save:  SAR413.19
ZK1,101.18
List Price:  ZK4,133.23
You save:  ZK3,032.05
L190.62
List Price:  L715.48
You save:  L524.86
Kč962.48
List Price:  Kč3,612.64
You save:  Kč2,650.15
Ft15,857.75
List Price:  Ft59,521.15
You save:  Ft43,663.40
SEK kr440.75
List Price:  SEK kr1,654.33
You save:  SEK kr1,213.58
ARS$40,665.03
List Price:  ARS$152,633.83
You save:  ARS$111,968.80
Bs274.96
List Price:  Bs1,032.05
You save:  Bs757.09
COP$174,170.28
List Price:  COP$653,738.02
You save:  COP$479,567.74
₡20,075.51
List Price:  ₡75,352.29
You save:  ₡55,276.77
L1,010.05
List Price:  L3,791.18
You save:  L2,781.12
₲310,263.73
List Price:  ₲1,164,556.88
You save:  ₲854,293.14
$U1,774.74
List Price:  $U6,661.41
You save:  $U4,886.66
zł163.33
List Price:  zł613.07
You save:  zł449.73
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.