'and', 'or', 'intersect - Further Nuances

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.07
List Price:  €139.15
You save:  €102.07
£31.72
List Price:  £119.07
You save:  £87.35
CA$54.38
List Price:  CA$204.11
You save:  CA$149.73
A$61.58
List Price:  A$231.14
You save:  A$169.56
S$53.97
List Price:  S$202.58
You save:  S$148.60
HK$312.55
List Price:  HK$1,173.15
You save:  HK$860.60
CHF 36.20
List Price:  CHF 135.88
You save:  CHF 99.68
NOK kr433.59
List Price:  NOK kr1,627.47
You save:  NOK kr1,193.87
DKK kr276.48
List Price:  DKK kr1,037.77
You save:  DKK kr761.29
NZ$67.04
List Price:  NZ$251.65
You save:  NZ$184.60
د.إ146.70
List Price:  د.إ550.66
You save:  د.إ403.95
৳4,385.38
List Price:  ৳16,460.29
You save:  ৳12,074.90
RM189.08
List Price:  RM709.71
You save:  RM520.63
₦56,671.87
List Price:  ₦212,714.57
You save:  ₦156,042.70
₨11,111.22
List Price:  ₨41,705.33
You save:  ₨30,594.11
฿1,457.40
List Price:  ฿5,470.27
You save:  ฿4,012.87
₺1,291.36
List Price:  ₺4,847.06
You save:  ₺3,555.69
B$199.45
List Price:  B$748.64
You save:  B$549.18
R762.54
List Price:  R2,862.15
You save:  R2,099.61
Лв72.17
List Price:  Лв270.91
You save:  Лв198.74
₩54,016.88
List Price:  ₩202,749.24
You save:  ₩148,732.35
₪147.28
List Price:  ₪552.82
You save:  ₪405.54
₱2,250.97
List Price:  ₱8,448.90
You save:  ₱6,197.93
¥6,050.82
List Price:  ¥22,711.40
You save:  ¥16,660.58
MX$662.99
List Price:  MX$2,488.52
You save:  MX$1,825.52
QR145.55
List Price:  QR546.33
You save:  QR400.78
P547.73
List Price:  P2,055.89
You save:  P1,508.15
KSh5,253.42
List Price:  KSh19,718.42
You save:  KSh14,465
E£1,889.63
List Price:  E£7,092.63
You save:  E£5,203
ብር2,269.64
List Price:  ብር8,518.96
You save:  ብር6,249.32
Kz33,406.63
List Price:  Kz125,389.84
You save:  Kz91,983.21
CLP$39,146.20
List Price:  CLP$146,933
You save:  CLP$107,786.80
CN¥288.85
List Price:  CN¥1,084.18
You save:  CN¥795.33
RD$2,365.87
List Price:  RD$8,880.18
You save:  RD$6,514.30
DA5,390.12
List Price:  DA20,231.52
You save:  DA14,841.39
FJ$90.34
List Price:  FJ$339.11
You save:  FJ$248.76
Q311.58
List Price:  Q1,169.51
You save:  Q857.93
GY$8,359.78
List Price:  GY$31,377.95
You save:  GY$23,018.17
ISK kr5,572.22
List Price:  ISK kr20,915.02
You save:  ISK kr15,342.80
DH404.81
List Price:  DH1,519.44
You save:  DH1,114.63
L704.52
List Price:  L2,644.40
You save:  L1,939.87
ден2,278.22
List Price:  ден8,551.17
You save:  ден6,272.95
MOP$321.98
List Price:  MOP$1,208.56
You save:  MOP$886.57
N$756.50
List Price:  N$2,839.51
You save:  N$2,083
C$1,470.76
List Price:  C$5,520.43
You save:  C$4,049.67
रु5,328.11
List Price:  रु19,998.78
You save:  रु14,670.66
S/148.16
List Price:  S/556.13
You save:  S/407.97
K152.91
List Price:  K573.94
You save:  K421.03
SAR149.82
List Price:  SAR562.37
You save:  SAR412.54
ZK1,007.94
List Price:  ZK3,783.26
You save:  ZK2,775.31
L184.36
List Price:  L691.98
You save:  L507.62
Kč939.22
List Price:  Kč3,525.31
You save:  Kč2,586.09
Ft14,674.71
List Price:  Ft55,080.68
You save:  Ft40,405.97
SEK kr428.02
List Price:  SEK kr1,606.57
You save:  SEK kr1,178.54
ARS$34,267.27
List Price:  ARS$128,620.21
You save:  ARS$94,352.94
Bs276.09
List Price:  Bs1,036.32
You save:  Bs760.22
COP$154,855.16
List Price:  COP$581,239.86
You save:  COP$426,384.69
₡20,309.55
List Price:  ₡76,230.72
You save:  ₡55,921.17
L986.37
List Price:  L3,702.31
You save:  L2,715.93
₲294,782.87
List Price:  ₲1,106,450.34
You save:  ₲811,667.47
$U1,511.02
List Price:  $U5,671.53
You save:  $U4,160.51
zł160.11
List Price:  zł600.96
You save:  zł440.85
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 we have already seen the operators and or an intersect and this lecture provides a few more nuances on the same. Firstly, I'm showing these examples with very simple sub sequences. But you may replace this with much more complex sub sequences. And this concepts will be of use with those complex sub sequences. So here's a property where z with overlapping implication implies that ABCD should hold and ABCD is an intersection of A B and C, D. and a B says that B must follow everything five blocks, and here C, D and E. Each has a temporal domain of two clocks. So let's look at this example first, as required when z is Rule A B and C D should start at the same time because of the overlapping operator and that should now be arrives within one to five blocks that is also true and CD also follows the requirements.

So, that is also true, but intersect requires that both a B and C D and at the same time and they do not. So, it will go back and fill the property when the first subsequence is not true. Similarly, here we can see that z CNA started the same time, but, and we arrived 1234 and on the fifth clock that is also true, and C D is also true, but because they don't and at the same time the property will fail. The shorter sequence. Now in this case, I have shown the same sequence. But I'm simply saying that a 1234 b arrives within five clocks.

And C D E also follows its requirements and is both and at the same time that the property will pass at the end. So, here's an example to make a point. Here, the ABC sequence has fixed time delay, and so does CDE. So will this property ever pass? No, it won't, because these two properties very clearly show that they never end at the same time. So the point is that it makes sense to use intersect with sub sequences with ranges when you have a range.

Is there's a good chance that the two properties manned at the same time, as we saw in the previous example. Now, here's a very interesting application that I consider as an idea generator. So the specification says that data it goes high within four crops after the rising edge of reach. Now, first off the bat, this is a very simple specification to model. So you can simply say at positive clock dollar rose retry implies that we didn't want to fall close our clocks, data rate should go high. And that's it.

If the data did goes high in the fifth clock, then the property will fade. I'm doing the same thing with a much more complex way. And you may wonder why, but I will tell you that it is an idea generator. So again, dollar rows retry there are two steps Frequency This is one and this is another. So, this subsequence Is that true will remain true. Consequently, from one to four clocks.

And this subsequence is that when retries true, we don't know when so from one clock to forever dollar rows or data does that mean data rate can go high anytime after retry has been found to be true. Now let's say that data arrives in the fifth clock. So this sequence will end on the fifth clock. But since this sequence subsequence is true only for four crowds, it ends after four Gox. So then these two sequences do not end at the same time and the property will fail as required. But let's say data rate arrived in the third clock.

So, this sequence a will and on the third clock, while this sequence will also end on the third clock because it is true for one to four clocks on the third clock it is true. So, both sequences are true in the third clock and the property will pass as required. So, as I say, this is an idea generator whenever you want to restrict a very complex subsequence for within a given time frame, then you may use this particular approach as I've shown in one of the lectures. I use this concept to model variable delay where the delays are required to be always constant. They are operator simple sequences again Same property and sequences, where z A and z must be true at the same time which they are, but we must follow after two clouds it does not. So, AB sequence fails.

So, the simulator will continue to look for the other sequence to be true because this is an or and CD he does meet his requirements. So, the property will pass here at the larger sequence. And here A and B has a correct relationship and so, the C D and E, but the property will pass as soon as a B is true because this is an order, it will not care to see what happens to c d. So, the property will pass as soon as one of the two sequence is true. In this case, the problem is right off the bat Where z A and z must start at the same time because of the overlapping operator, but a B does not start when a does not arrive the same time as z. So, AB fades, but the simulator will continue to look for CD E to be true and it is indeed true.

So, the property will pass here and in this case z A and z arrive at the same time as required, but b does not arrive after two clocks. So, he fails and in CDE sequence he never arrives as required to cross after d. So, it also fails. So, both sub sequences fail and the or will fail on this clock. And this is yet another example where there is a range in sequence AB Content delays in CDE. So Z and Z arrive at the same time as required. But B does not arrive even after five Crocs, but CDE does meet this requirement.

So the property passes. Now here, B does not arrive even after five clogs, and c d c did not arrive the same time is z as required by the overlapping operator. So, CD also fails, and both sequences fail and the property fails here. So, that's pretty much it a simple lecture. Again, the sequences or sub sequences that I have used are very simple, but this concept will come in use when you have complex sequences to deal with. So, 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.