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.06
List Price:  €139.11
You save:  €102.05
£30.82
List Price:  £115.68
You save:  £84.86
CA$55.49
List Price:  CA$208.30
You save:  CA$152.80
A$60.18
List Price:  A$225.88
You save:  A$165.70
S$52.78
List Price:  S$198.13
You save:  S$145.34
HK$310.58
List Price:  HK$1,165.75
You save:  HK$855.17
CHF 34.77
List Price:  CHF 130.50
You save:  CHF 95.73
NOK kr436.05
List Price:  NOK kr1,636.69
You save:  NOK kr1,200.64
DKK kr276.38
List Price:  DKK kr1,037.38
You save:  DKK kr761
NZ$66.52
List Price:  NZ$249.68
You save:  NZ$183.16
د.إ146.73
List Price:  د.إ550.76
You save:  د.إ404.02
৳4,761.58
List Price:  ৳17,872.33
You save:  ৳13,110.75
RM175.12
List Price:  RM657.30
You save:  RM482.18
₦67,177.12
List Price:  ₦252,145.42
You save:  ₦184,968.30
₨11,074.08
List Price:  ₨41,565.91
You save:  ₨30,491.83
฿1,360.53
List Price:  ฿5,106.69
You save:  ฿3,746.16
₺1,372.70
List Price:  ₺5,152.35
You save:  ₺3,779.65
B$227.45
List Price:  B$853.73
You save:  B$626.27
R698.88
List Price:  R2,623.21
You save:  R1,924.33
Лв72.48
List Price:  Лв272.06
You save:  Лв199.57
₩55,404.85
List Price:  ₩207,958.88
You save:  ₩152,554.03
₪148.93
List Price:  ₪559.03
You save:  ₪410.09
₱2,328.74
List Price:  ₱8,740.81
You save:  ₱6,412.06
¥6,079.63
List Price:  ¥22,819.54
You save:  ¥16,739.91
MX$793.11
List Price:  MX$2,976.89
You save:  MX$2,183.78
QR145.22
List Price:  QR545.09
You save:  QR399.87
P532
List Price:  P1,996.84
You save:  P1,464.83
KSh5,153.55
List Price:  KSh19,343.55
You save:  KSh14,190
E£1,969.47
List Price:  E£7,392.32
You save:  E£5,422.84
ብር4,904.97
List Price:  ብር18,410.55
You save:  ብር13,505.57
Kz36,408.44
List Price:  Kz136,656.98
You save:  Kz100,248.53
CLP$38,281.68
List Price:  CLP$143,688.08
You save:  CLP$105,406.40
CN¥286.01
List Price:  CN¥1,073.52
You save:  CN¥787.51
RD$2,395.40
List Price:  RD$8,990.99
You save:  RD$6,595.59
DA5,334.60
List Price:  DA20,023.11
You save:  DA14,688.51
FJ$90.40
List Price:  FJ$339.33
You save:  FJ$248.93
Q308.22
List Price:  Q1,156.90
You save:  Q848.67
GY$8,336.27
List Price:  GY$31,289.73
You save:  GY$22,953.45
ISK kr5,511.50
List Price:  ISK kr20,687.10
You save:  ISK kr15,175.60
DH394.05
List Price:  DH1,479.07
You save:  DH1,085.02
L716.53
List Price:  L2,689.45
You save:  L1,972.92
ден2,280.52
List Price:  ден8,559.80
You save:  ден6,279.28
MOP$319.72
List Price:  MOP$1,200.07
You save:  MOP$880.35
N$696.54
List Price:  N$2,614.44
You save:  N$1,917.89
C$1,466.20
List Price:  C$5,503.30
You save:  C$4,037.09
रु5,379.31
List Price:  रु20,190.95
You save:  रु14,811.63
S/150.60
List Price:  S/565.29
You save:  S/414.68
K159.91
List Price:  K600.23
You save:  K440.31
SAR150.05
List Price:  SAR563.23
You save:  SAR413.17
ZK1,079.81
List Price:  ZK4,053.03
You save:  ZK2,973.21
L184.40
List Price:  L692.15
You save:  L507.74
Kč935.14
List Price:  Kč3,510.02
You save:  Kč2,574.87
Ft15,053.94
List Price:  Ft56,504.10
You save:  Ft41,450.15
SEK kr428.54
List Price:  SEK kr1,608.53
You save:  SEK kr1,179.98
ARS$39,699.39
List Price:  ARS$149,009.35
You save:  ARS$109,309.96
Bs276.31
List Price:  Bs1,037.14
You save:  Bs760.82
COP$176,053.28
List Price:  COP$660,805.75
You save:  COP$484,752.47
₡20,405.61
List Price:  ₡76,591.27
You save:  ₡56,185.66
L1,005.23
List Price:  L3,773.07
You save:  L2,767.84
₲309,275
List Price:  ₲1,160,845.72
You save:  ₲851,570.72
$U1,669.34
List Price:  $U6,265.77
You save:  $U4,596.43
zł160.35
List Price:  zł601.88
You save:  zł441.53
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.