Non-consecutive Repetition, Non-consecutive GoTo

20 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.97
List Price:  €142.52
You save:  €104.55
£31.62
List Price:  £118.70
You save:  £87.08
CA$55.80
List Price:  CA$209.46
You save:  CA$153.66
A$61.35
List Price:  A$230.27
You save:  A$168.92
S$53.69
List Price:  S$201.55
You save:  S$147.85
HK$310.93
List Price:  HK$1,167.06
You save:  HK$856.13
CHF 35.30
List Price:  CHF 132.51
You save:  CHF 97.21
NOK kr441.57
List Price:  NOK kr1,657.43
You save:  NOK kr1,215.85
DKK kr283.22
List Price:  DKK kr1,063.06
You save:  DKK kr779.84
NZ$68.10
List Price:  NZ$255.62
You save:  NZ$187.52
د.إ146.73
List Price:  د.إ550.76
You save:  د.إ404.03
৳4,778.10
List Price:  ৳17,934.34
You save:  ৳13,156.23
RM178.37
List Price:  RM669.52
You save:  RM491.15
₦67,139.57
List Price:  ₦252,004.47
You save:  ₦184,864.90
₨11,115.15
List Price:  ₨41,720.08
You save:  ₨30,604.92
฿1,385.02
List Price:  ฿5,198.61
You save:  ฿3,813.59
₺1,380.34
List Price:  ₺5,181.04
You save:  ₺3,800.70
B$232.12
List Price:  B$871.28
You save:  B$639.15
R724.11
List Price:  R2,717.92
You save:  R1,993.80
Лв74.25
List Price:  Лв278.72
You save:  Лв204.46
₩55,978.29
List Price:  ₩210,111.28
You save:  ₩154,132.98
₪149.19
List Price:  ₪559.99
You save:  ₪410.79
₱2,359.60
List Price:  ₱8,856.64
You save:  ₱6,497.04
¥6,168.38
List Price:  ¥23,152.66
You save:  ¥16,984.28
MX$812.76
List Price:  MX$3,050.66
You save:  MX$2,237.89
QR145.80
List Price:  QR547.27
You save:  QR401.46
P546.22
List Price:  P2,050.20
You save:  P1,503.98
KSh5,163.53
List Price:  KSh19,381.03
You save:  KSh14,217.50
E£1,983.54
List Price:  E£7,445.10
You save:  E£5,461.56
ብር4,985.04
List Price:  ብር18,711.08
You save:  ብር13,726.04
Kz36,447.47
List Price:  Kz136,803.48
You save:  Kz100,356
CLP$38,904.10
List Price:  CLP$146,024.30
You save:  CLP$107,120.20
CN¥289.30
List Price:  CN¥1,085.89
You save:  CN¥796.58
RD$2,411.55
List Price:  RD$9,051.64
You save:  RD$6,640.08
DA5,336.91
List Price:  DA20,031.79
You save:  DA14,694.87
FJ$90.69
List Price:  FJ$340.41
You save:  FJ$249.72
Q308.66
List Price:  Q1,158.55
You save:  Q849.89
GY$8,365.18
List Price:  GY$31,398.24
You save:  GY$23,033.05
ISK kr5,525.08
List Price:  ISK kr20,738.08
You save:  ISK kr15,213
DH399.43
List Price:  DH1,499.24
You save:  DH1,099.81
L727.49
List Price:  L2,730.59
You save:  L2,003.10
ден2,336.54
List Price:  ден8,770.07
You save:  ден6,433.53
MOP$320.56
List Price:  MOP$1,203.22
You save:  MOP$882.65
N$725.20
List Price:  N$2,722.02
You save:  N$1,996.82
C$1,471.33
List Price:  C$5,522.58
You save:  C$4,051.24
रु5,396.91
List Price:  रु20,256.99
You save:  रु14,860.08
S/151.73
List Price:  S/569.52
You save:  S/417.79
K160.95
List Price:  K604.15
You save:  K443.19
SAR149.98
List Price:  SAR562.94
You save:  SAR412.96
ZK1,106.53
List Price:  ZK4,153.31
You save:  ZK3,046.77
L188.95
List Price:  L709.24
You save:  L520.28
Kč962.03
List Price:  Kč3,610.94
You save:  Kč2,648.91
Ft15,613.61
List Price:  Ft58,604.79
You save:  Ft42,991.18
SEK kr440.65
List Price:  SEK kr1,653.96
You save:  SEK kr1,213.31
ARS$40,059.13
List Price:  ARS$150,359.64
You save:  ARS$110,300.50
Bs276.88
List Price:  Bs1,039.26
You save:  Bs762.37
COP$176,322.29
List Price:  COP$661,815.48
You save:  COP$485,493.18
₡20,304.64
List Price:  ₡76,212.31
You save:  ₡55,907.66
L1,010.38
List Price:  L3,792.41
You save:  L2,782.03
₲313,132.78
List Price:  ₲1,175,325.66
You save:  ₲862,192.88
$U1,709.25
List Price:  $U6,415.58
You save:  $U4,706.32
zł165.08
List Price:  zł619.65
You save:  zł454.56
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 11. Continuing with the concurrent assertion operators, in the previous lecture, we saw consecutive reputation operator and in this lecture we will see non consecutive reputation as well as non consecutive go to operators. So, in the previous one we say consecutive means a given signal M with a star here should remain consecutively higher low, but there are many times when we know or we do not know for that matter that signal m should remain or should become high, non consecutively, m number of times. Let's look at the formal definition first. This means that the signal B must be true or not M clocks not necessarily consecutive, that is there can be a delay of one or more clocks between one measure the operand and the next successive match successively is important here and no match quickly in between. And let's look at some low points to solidify the concept.

Now again just like in non range operators, m cannot be in finite, which again if you think about it does not quite make sense. So, let's look at what this means, at pauses of clock a implies that starting next clock, we should remain we should be true anytime after one clock, do not confuse this non overlapping operator which means lb lb one Do not think that after a we must arrive one clock later and then it should arrive anytime after that this is very important and this is where many people get confused. So, again a one clock later we should be true non consecutively twice whenever, what that means is one clock later, which is a non overlapping we can be the first time we can be true can be anytime after one clock, there can be 100 clocks here and once it is true, one clock later or just one clock later or any number of clocks later be can be true.

Okay, so let's look at the simulation log file. So, again this this repeats that note that the first occurrence of B does not necessarily have to happen Exactly one clock after a. Okay, so B is not true, exactly one clock later is true two clocks later, then again, it's true after four clocks non consecutive, and then the property passes here. So, he here's the simulation log file is true. Well, in this case B is for one proc later, it doesn't have to be but it is true. And then a few plots later be true again and the property will pass.

In this case, B is a is true, B is not dropped on top, but it can be true any number of blocks after a is true. And then again, it is true a few blocks later in this case one block later. And when this happens, the property passes. Now, let me ask you this question. Will this property ever fail? Think about it.

No, it will never fail. Because what we're doing is we're waiting for one way to be true that the very first be Macomb may not come to the end of the simulation property won't fail, unless it's a strong property or let's say the first becomes the second B may not come until the end, it may not fail it may be incomplete. So, my point is, is when you write a property Be very careful. So, having such a property fail if you write in simply what I have done here it will not fail. So, let's look at the next slide. Which again just like in consecutive reputation operator, it is is lb lb one c one clock c makes all the difference.

This is the qualifying or an event as I call it So, what this means is that the signal B must be true on n non consecutive clocks just like we saw in the previous slide and C needs to match after any number of clocks after at least one clock after the match of B. So may read a little confusing but let's look at the diagrams as true to clocks later bees true which is fine. A few clouds later another bee arrives which is what is required and is fine. Now see this he says one clock later see should arrive or she does see does not arrive one clock. That's also ok. It is the same thing here one clock later non overlapping we should arrive.

This one clock does not mean strictly one clock later B should arrive like we see here. We can arrive any number of clocks after a and then any number of clocks. After the first v second can arrive, and any number of clubs after the last B, because there is equal to C Canada, C does not necessarily have to arrive one clock later it can, but it doesn't necessarily. So as you can see here, C needs to match anytime after the last match of B and B should not match in between, in between the last measure B and the last match and the match of C. If B let's say arrives here again on this clock, this property will fake. So let's look at the simulation law arrives at time five v arrives at time 25 o'clock later, the second v arrives as required by equal to two and then a few calls later see arrives and this matches the property and the property passes in the previous example as to when this property ever fail, in this case property can fail.

Let's look at how he arrives, one calculator B arrives it can be any number of clocks, B arrives again. But now, once we have arrived two times, we must see a see any number of clots after the last occurrence of P. So what's happening here is we are waiting for C after the second occurrence of B, it arrives here, time 175 but before it arrives, B arrives again. And like I just told you, if b arrives here, then the property fail property will fail right there. So because a third we arrived, property fails, right and this is why this operator With a qualifying event becomes very useful. I want to see a signal remain true or false for that matter, or m number of times and then after that I want to see another event occur anytime after that, but once the signal has arrived and number of times it should not arrive again and plus one number of times until my so called end unit arrives.

Let's look at so we just saw the non range operator. Now let's look at the range non consecutive operator. Here's the property and M colon and Bond. Bond bond one c means the property matches over an interval interval of clocks provided a true As you hear, on the first clock take and see through on the last clock, take and there are at least two an at most five not necessarily consecutive clocks strictly in between the first and the last measure of B. So that's another way to read this property. And again M has to be greater than or equal to zero.

And, n can be greater than or equal to zero or in finite. Let's look at this log. As you can see, Ace through one clock later bass through again we can be true any number of clocks after is true. And minimum number of times b needs to be true. Non consecutively is too severe. So twice c arrives anytime after two beers and the property passes.

Again, just Like in consecutive. My question is When will you wait for five? Here's the explanation. After a is true B arrives, first we arrives and in this case consecutively which is fine. consecutive is a subset of non consecutive B arrives. Now what the property is going to do is after a second be just like here is going to look for SQL two one is going to look for SQL two one summit.

That is no SQL two one so now is going to wait for the third v. After third we again is going to look for SQL two one there is no sequel to one eight ways for fourth B, it was for fifth B and after fifth B, it must have received c equal to one after 234 it may or may not receive c equal to one, but after five because five is the limit here. It must get to see a few number of crops or right after the last week is detected. But again in the, in the previous example, let's say after the fifth V, before c arrives, if that is a sixth B, the property will fail right there. And that's what I'm showing in this particular example is B, B is true twice there is no C. look further there is no C, no portfolio, there is no c look for five.

Now, after five you must get c equal to one but before c equal to one comes B again becomes true the sixth time Okay, and these are real simulation logs. So simulators basically have proven what the LRM says, and here the property will fail. So again, the qualifying event is important. Again, you can read this as a face through B needs to be true, non consecutively, twice, or five times and TLC arrives. Let's look at an example and application. If non verse read of length eight is asserted that the ready act must be asserted eight times you have, you're going to read eight or a non verse read of eight numbers, meaning that eight data is not going to come consecutively.

It's an on burst, but you do need to get a radio and only with the radio the data is meaningful, so radio must be asserted eight times and ready done must be asserted anytime after the last read, and that there are no more radio x between the last Radio Shack and return. This is pretty much identical to what we saw in the previous Slide. So here's the property, I have purposely parameterised it with a formal call length, what we are saying is at pauses of claw number three, again the antecedent is carefully selected, because here if non birth read of atheists asserted length ages asserted, which is antecedent, everything starts with this particular condition. So, if numbers radius asserted, then starting next clock read act must be a certain number of times here length, I'm when I set the property I brought in actual of eight.

So, the redact must be asserted eight times should be found high, that can be latencies. So, it's non consecutive but After the eight read egg, I must get read done anytime after the eight read EQ. Just like we saw in the previous example if I get a nine to read egg the property will fail. Now, so so this was non consecutive operator, there is also an operator called nonconsecutive go to reputation operator, non consecutive operator, non consecutive operator and non consecutive go to operator there are three kinds of operators here. So, what is go to me what we have seen in the previous example is now let's just look at the property without the so called qualifying event. So, here the syntax is carefully no there is this arrow okay in the non consecutive we had an equal to sign So here there's an arrow it means that the signal B must be true on M clocks not necessarily consecutive.

And and that can be a delay of one or more clocks between one measure of the operand and the next successive message and no mess trickly in between and and must be greater than or equal to zero and cannot be finite. If you read this definition carefully, it is identical to the definition of be equal to many non consecutive operator and you will I will, you may scratch your head and say, why do you need a separate operator if it is identical to the equal to this operator nonconsecutive with equal to sign here. Let's Let's continue here. here's here's your two non consecutive plots identical to what we Just saw in the previous slides, here's your simulation log, if A is true, b can be true anytime, after a is true, second b can be true or must be true anytime after the first week and the property will pass and so on and so forth.

If you look at this slide, and I encourage you to go back and look at the slide with the equal to sign here meaning conjugate non transitive operator, without the word goto in it, you will see that he is identical this whole thing is identical. So, as I just say it says, There is no qualifying event here. There is no an event here. After we go to operator two in this example, there's no difference between this example and the one with the quarter two. It's the quarter Find event that differentiates between the non consecutive and non consecutive goto construct. So let's put a qualifying event here.

This means that the signal B must be true on two non consecutive clocks and C must be true exactly one clock after the last iterative measure of V. This is the difference when we had an equal to sign here. Bound bound once he meant that after the last iterative non consecutive manager B, C can come anytime after the last p go to means c must come exactly one clock or two or whatever you put here after the last iterative match of B. That's the difference. That's pretty much it. There is no other difference between non consecutive or non consecutive go to So, here again I have shown a beacon array, first beacon array anytime after a second beacon arrived anytime after first B, but C must arrive. However number of however many number of blocks you have put here, it must arrive exactly that many number of clubs after the last beat.

And here's the simulation log a arrives B arrives, secondary arrives and exactly one clock as required by Pong Pong one here, C arrives and it passes. Here again it arrives some clocks later B arrives. Another few clocks later again v arrives as required by do a number here. But exactly one clock later c does not arrive. The property is right there. See it is one clock later.

That's a bug in that design. So basically that's the difference to repeat non consecutive one on one c means C can arrive any number of clocks after the last p in the go to C must arrive as many number of clocks specified here after the last p. So, here Here is the example with equal to, Here is Example we go to and side by side you can see from 25 to 9525 to 95 everything is the same. But, after the 12345 B's see can arrive anytime after the last week in equal to non consecutive operator. But in the go to CMS that I one clock later which doesn't in the property face right there. So, the simulation log in Identical between these two I created a test bench so that the simulation log looks identical. In this case the property passes in this case the property fails.

That's it. That's pretty much the difference between non consecutive and non consecutive go to. Okay, I'm trying to keep the lectures short. So we have seen non consecutive and non consecutive goto operator. Thanks for attending the lecture and I'll soon see you in the next lectures.

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.