1
00:00:00,060 --> 00:00:06,330
So when we are working with it, you can see we do not have a simple qualification such as lowering

2
00:00:06,330 --> 00:00:11,840
a counter value and then you are ready to start to counter and then you'll get a respectively, OK,

3
00:00:11,850 --> 00:00:17,590
but instead we need to work around with our frequency as well as an incumbent right and then be skilled.

4
00:00:17,660 --> 00:00:20,040
So these are the parameters we need to calculate.

5
00:00:20,610 --> 00:00:24,750
And one more parameter, which is very useful for us, is an option.

6
00:00:24,780 --> 00:00:27,260
OK, so option frequency pre-schooler.

7
00:00:27,600 --> 00:00:34,200
But these are the few parameters which will be frequency utility, OK for achieving the specified operation

8
00:00:34,200 --> 00:00:35,100
for all markets.

9
00:00:35,190 --> 00:00:41,070
So usually what we do with an ETS is to define a structure that will hold all of them together, right?

10
00:00:41,430 --> 00:00:42,750
So we'll proceed with it.

11
00:00:43,040 --> 00:00:44,580
The Typekit struck.

12
00:00:44,580 --> 00:00:46,050
This is how we add a structure.

13
00:00:46,500 --> 00:00:51,410
OK, we'll just be naming this as DDC setup, right?

14
00:00:52,170 --> 00:00:53,640
And then take this.

15
00:00:53,640 --> 00:00:56,400
The members that we have is first.

16
00:00:56,400 --> 00:01:01,810
One is the frequencies of frequency, have you 32 as the data type.

17
00:01:01,830 --> 00:01:04,410
So we'll just go ahead, rely on you that you do.

18
00:01:04,530 --> 00:01:07,470
And this will represent our output frequency.

19
00:01:07,550 --> 00:01:07,830
Right.

20
00:01:07,840 --> 00:01:10,410
This is the first member that we have in and structure.

21
00:01:10,830 --> 00:01:14,460
The next one is an interval, so it is of Type X interval.

22
00:01:14,470 --> 00:01:19,450
So we'll just be utilizing the same data and we'll just be naming this as interval, right?

23
00:01:19,470 --> 00:01:24,510
The third member that we have is a scalar and that is of us type, right?

24
00:01:24,540 --> 00:01:25,740
So you wait.

25
00:01:26,400 --> 00:01:28,410
And then three scaled right.

26
00:01:28,450 --> 00:01:34,200
This is the third member and the last one that we require is an option and it is off you 32 type.

27
00:01:34,210 --> 00:01:38,670
So we will go ahead and you will lead you 32 option, right?

28
00:01:38,670 --> 00:01:42,150
So these are the all the members that we will be frequently utilizing.

29
00:01:43,510 --> 00:01:48,610
OK, so this complete structure now will go to a main program, and we'll just create an instance of

30
00:01:48,610 --> 00:01:49,180
a structure.

31
00:01:49,230 --> 00:01:49,450
Right.

32
00:01:49,450 --> 00:01:51,100
So this is a mean program here.

33
00:01:51,640 --> 00:01:54,950
We will be adding to this society and we'll just be naming this.

34
00:01:55,660 --> 00:02:02,320
Right now, here we are calling in and let it just initialize some random meet over here.

35
00:02:02,410 --> 00:02:05,740
So let's assume we are targeting an output frequency of one or so.

36
00:02:05,740 --> 00:02:10,240
We'll just be mentioning output frequency and the parameter will just be keeping zero.

37
00:02:10,310 --> 00:02:10,510
Right.

38
00:02:10,520 --> 00:02:16,870
So this will be the simplest set of data that we send to the TTC right now.

39
00:02:17,470 --> 00:02:21,940
Here the option is, you know, depending on the option that we want.

40
00:02:21,970 --> 00:02:30,490
So usually we will be starting with a very simple option that is utilizing an interval mode and counter

41
00:02:30,490 --> 00:02:32,920
that we are targeting is then down on the right.

42
00:02:32,920 --> 00:02:36,760
So due to achieve it, we have certain options, right?

43
00:02:36,760 --> 00:02:40,620
So we would see it basically decrement account for that.

44
00:02:40,630 --> 00:02:44,200
You have to apply this option and then interval mode.

45
00:02:44,350 --> 00:02:46,450
So these are the two things that will be hiding.

46
00:02:46,810 --> 00:02:49,590
So let it just go over here and option.

47
00:02:49,600 --> 00:02:56,200
OK, so data is an instance of party structure and then we have an option inside it.

48
00:02:56,410 --> 00:02:59,290
So the option will be equals.

49
00:02:59,320 --> 00:02:59,620
Two.

50
00:03:00,460 --> 00:03:00,820
OK.

51
00:03:01,180 --> 00:03:05,050
Detailed options or whatever previous value that our option will have.

52
00:03:05,620 --> 00:03:05,980
OK.

53
00:03:06,580 --> 00:03:12,350
All with this will be all right with the two mode that we learned.

54
00:03:12,550 --> 00:03:15,050
So first one is an account.

55
00:03:15,070 --> 00:03:22,670
They should be operating in a download and the next thing that we will be adding is the interval right

56
00:03:22,720 --> 00:03:26,050
to decide the two things that will be adding here, right?

57
00:03:26,710 --> 00:03:32,040
So once we select an option, though, the next step is to set the option, right?

58
00:03:32,050 --> 00:03:34,680
So we'll go ahead right here.

59
00:03:35,590 --> 00:03:38,650
And we must be having an EPA to second option.

60
00:03:38,650 --> 00:03:39,780
So let me go.

61
00:03:40,570 --> 00:03:43,120
And here you haven't set the option, right?

62
00:03:43,120 --> 00:03:46,860
So you just need to pass an option over here that it just called EPA.

63
00:03:47,770 --> 00:03:48,160
OK.

64
00:03:48,190 --> 00:03:49,810
We just need to pass an instance.

65
00:03:49,810 --> 00:03:52,180
So for us, an instance, actually sudsy.

66
00:03:53,530 --> 00:03:59,320
And the option is student leader dark option, right?

67
00:03:59,350 --> 00:04:04,970
This completes the first configuration where we set up an option depending on the mood that we want.

68
00:04:04,990 --> 00:04:09,070
The next step is to configure in as well as.

69
00:04:09,910 --> 00:04:11,440
So we do not have a direct.

70
00:04:12,540 --> 00:04:20,100
So usually what we do instead of sitting up directly this killer, the interval value is we calculate

71
00:04:20,100 --> 00:04:26,250
interval and pre-schooler from this function that is basically calculate interval from our frequency.

72
00:04:26,460 --> 00:04:31,950
OK, and then we will be utilizing this pre-schooler into what which is written by this function into

73
00:04:31,950 --> 00:04:34,500
secretary skill set interval, right?

74
00:04:34,800 --> 00:04:36,690
So let's just first call this function.

75
00:04:37,500 --> 00:04:43,980
OK, here we just need to pass if you just analyze an argument, so instance structure.

76
00:04:43,980 --> 00:04:49,290
So for us, it is D.D.S., then we require two percent output frequency.

77
00:04:49,300 --> 00:04:57,780
Data output frequency is already in the structure, so data dot and output frequency right then we are

78
00:04:57,780 --> 00:05:01,680
required to bias the pointer to x interval.

79
00:05:01,680 --> 00:05:03,330
I'm going to do p schema, right?

80
00:05:03,330 --> 00:05:05,760
So we'll just be utilizing again and I'm pushing.

81
00:05:06,240 --> 00:05:09,300
OK, ampersand for us an interval.

82
00:05:09,310 --> 00:05:13,470
It's inside the data structure, so it's not interval, right?

83
00:05:13,470 --> 00:05:14,550
So it required a point.

84
00:05:14,550 --> 00:05:16,350
This will just be passing an address.

85
00:05:17,130 --> 00:05:22,250
And the last argument that we have is the pre-schooler, right?

86
00:05:22,260 --> 00:05:26,790
So data dot risk will just be passing an address of this right.

87
00:05:27,120 --> 00:05:34,080
So this will calculate the interval as well as flicking light from an output frequency that we specified

88
00:05:34,080 --> 00:05:34,560
over here.

89
00:05:34,830 --> 00:05:35,160
OK.

90
00:05:35,370 --> 00:05:42,440
And then we go utilize interval like v scalar to set the specific values inside, right?

91
00:05:42,780 --> 00:05:48,060
So to set up the pre-schooler, we have this EPA where we just need to pass an instance structure and

92
00:05:48,060 --> 00:05:53,250
a particular rally rate, so they just go ahead and try to this over here.

93
00:05:54,180 --> 00:06:01,020
OK, so whereas an instance of GTC and the scalar value is same, data are not.

94
00:06:01,980 --> 00:06:02,250
Right.

95
00:06:02,640 --> 00:06:07,730
So we have detailed a preschooler value from this function and then we'd just be passing it here.

96
00:06:08,250 --> 00:06:10,470
The next one is second table, right?

97
00:06:10,470 --> 00:06:13,320
So that is something which we've not done yet.

98
00:06:14,040 --> 00:06:19,890
So if you just analyze the EPA is that we have so quick, we will be over here.

99
00:06:19,890 --> 00:06:25,110
OK, so this gives us an idea without schooling for an entire drive, but we could just look for the

100
00:06:25,110 --> 00:06:26,460
function that we are targeting.

101
00:06:26,670 --> 00:06:28,200
So we are targeting set interval.

102
00:06:28,230 --> 00:06:34,170
You just need to click over here and then we will automatically take you to the specific function.

103
00:06:34,980 --> 00:06:36,990
But just this spacing it over here.

104
00:06:38,210 --> 00:06:44,260
And do things that it acquired as forcefully as an insurgent structure and then kill bin Laden, so

105
00:06:44,270 --> 00:06:46,370
it is brethren inside Detroit.

106
00:06:46,910 --> 00:06:47,210
Right?

107
00:06:47,780 --> 00:06:54,170
So this completes the setting up an option in which we will be operating our kids that is working in

108
00:06:54,170 --> 00:06:54,830
it endowment.

109
00:06:55,280 --> 00:07:03,120
And we also said to the peace killer, as well as interval from the frequency right now will proceed.

110
00:07:03,140 --> 00:07:05,300
So let me just utilize.

111
00:07:06,860 --> 00:07:11,980
OK, so this means we will be running our operation until we forcefully apply this strike.

112
00:07:12,530 --> 00:07:15,080
We'll just be calling the start function.

113
00:07:15,080 --> 00:07:15,340
No.

114
00:07:15,620 --> 00:07:21,350
OK, then we'll be waiting for timer to roll out and then we will be stopping.

115
00:07:22,050 --> 00:07:22,340
Right?

116
00:07:22,850 --> 00:07:30,370
So for setting an EDC, OK, here, if you just look for stuff, so you have a start up.

117
00:07:30,560 --> 00:07:33,470
So we'll just be calling it and we need to pass an instance.

118
00:07:34,100 --> 00:07:44,320
So let it just start our GDC that we do not have something like is expired as we have in a private timeout,

119
00:07:44,390 --> 00:07:44,640
right?

120
00:07:44,840 --> 00:07:47,450
But here we do have a counter right.

121
00:07:47,550 --> 00:07:47,790
Right.

122
00:07:47,810 --> 00:07:52,630
So this basically since we are working in and down mode.

123
00:07:53,060 --> 00:07:58,640
So as we start to counter, OK, good start from some value and then it will reach to zero, and that

124
00:07:58,640 --> 00:08:04,370
could also be utilized well over the counter expired on lower rates as soon as it reaches to zero.

125
00:08:04,370 --> 00:08:06,280
That basically it's expired today.

126
00:08:07,700 --> 00:08:11,990
So we'll just be waiting till I very just to settle.

127
00:08:12,650 --> 00:08:16,850
OK, so the EPA that we have with us, is this right?

128
00:08:17,240 --> 00:08:21,770
It will be simply returning the counter when we just need to pass.

129
00:08:23,080 --> 00:08:28,100
Look, you know, this will continue to work until we reach this to zero and as soon as we reach to

130
00:08:28,130 --> 00:08:29,830
zero, we come out of a break.

131
00:08:29,870 --> 00:08:33,470
So we'll be waiting here until our country just to zero.

132
00:08:33,470 --> 00:08:38,660
Once we reach two zero, the first thing that we do is to stop our.

133
00:08:40,530 --> 00:08:43,440
So we'll just be calling the stop over here.

134
00:08:44,520 --> 00:08:49,260
OK, and then so when we consider when hertz frequency.

135
00:08:49,390 --> 00:08:51,690
It basically gave us a delay of one second, right?

136
00:08:52,050 --> 00:08:54,870
So after we stop our.

137
00:08:56,340 --> 00:08:58,380
See, you just mentioned that we.

138
00:08:59,810 --> 00:09:04,420
OK, we received one second delay and then we could just restart.

139
00:09:04,510 --> 00:09:10,460
Now we then we are going to take a while, so this will give us a continuous once again, so to again

140
00:09:11,630 --> 00:09:15,740
restart our counter from the value that we calculate from an interval.

141
00:09:15,770 --> 00:09:18,260
We just need to reset our counter and do that.

142
00:09:18,260 --> 00:09:21,650
We must be having a great reset counterbalance.

143
00:09:21,800 --> 00:09:25,770
This will basically initialize our counter back to a value that users set, right?

144
00:09:26,270 --> 00:09:32,410
Just be calling this and this requires just an instant structure, right?

145
00:09:32,420 --> 00:09:32,630
So.

146
00:09:33,560 --> 00:09:35,620
And you could be going from this.

147
00:09:35,620 --> 00:09:36,440
So just be quiet.

148
00:09:36,440 --> 00:09:37,070
And it's just.

149
00:09:38,750 --> 00:09:41,360
This completes that entire application that we're targeting.

150
00:09:41,660 --> 00:09:41,910
OK.

151
00:09:42,350 --> 00:09:46,880
So what we are doing here is we are starting our GDC.

152
00:09:47,180 --> 00:09:50,210
Then we are waiting for our timer to go to zero.

153
00:09:50,570 --> 00:09:52,260
Then we have stopping UTC.

154
00:09:52,280 --> 00:09:55,370
This basically give us the respect to delay that we are targeting.

155
00:09:55,400 --> 00:09:58,160
Here we are working around on anyone hurt.

156
00:09:58,160 --> 00:10:01,460
So we are getting a delay of one ticket and then we are again resetting.

157
00:10:02,060 --> 00:10:06,260
So what this will do is this will continuously Gendry a one second deal, right?

158
00:10:06,530 --> 00:10:10,220
So let me just go ahead and try to execute, OK?

159
00:10:10,640 --> 00:10:16,730
So we already programmed RPG will just be relaunching our debug section.

160
00:10:17,640 --> 00:10:25,140
OK, so now you could see that pizza in Texas will serve this two sets as well, and we again start

161
00:10:25,180 --> 00:10:29,010
to see the two once again continues.

162
00:10:29,520 --> 00:10:36,150
Now to analyze the values, we could also be modifying this logic so that we are able to analyze the

163
00:10:36,150 --> 00:10:36,630
value added.

164
00:10:36,630 --> 00:10:39,120
We are actually going up or down, right?

165
00:10:39,120 --> 00:10:41,130
So what are we going to do?

166
00:10:41,160 --> 00:10:47,780
Here it is so that it just modified this school a bit so that we are also able to analyze that account

167
00:10:47,790 --> 00:10:52,050
of values is going up or down to the 16 bit, right?

168
00:10:52,380 --> 00:10:52,710
OK.

169
00:10:52,920 --> 00:10:58,200
So what are we going to do here is we'll just be calling our start.

170
00:10:58,260 --> 00:10:59,160
EPA OK?

171
00:10:59,610 --> 00:11:01,680
Then let it just read for some random.

172
00:11:02,340 --> 00:11:05,250
So you slip, basically giving us a detailed microsecond.

173
00:11:05,670 --> 00:11:09,040
You just be specifying two hundred millisecond over here, right?

174
00:11:09,060 --> 00:11:10,800
Two hundred and then three.

175
00:11:11,250 --> 00:11:14,150
And they will just be utilizing this EPA, right?

176
00:11:14,160 --> 00:11:19,110
So let me just declare one temporary variable and count.

177
00:11:19,290 --> 00:11:20,940
OK, initialize it to zero.

178
00:11:21,690 --> 00:11:24,960
And then we are utilizing a counter here.

179
00:11:25,050 --> 00:11:26,400
OK, and this will be.

180
00:11:27,610 --> 00:11:31,090
Beating with whatever the value that our great counter value is at stake.

181
00:11:31,120 --> 00:11:36,490
So here we just as an instant sector and then we will be printing the value right to this.

182
00:11:36,490 --> 00:11:42,460
Give us an idea as we ready the delivery count is incremental or diclemente.

183
00:11:42,700 --> 00:11:48,190
So let me just go ahead and mention here the pound value great.

184
00:11:48,190 --> 00:11:51,000
And we'll be printing the value in a decimal format here.

185
00:11:51,010 --> 00:11:55,300
We just need to buy second grade know what we are doing over here is.

186
00:11:56,550 --> 00:12:02,400
And then what are we going to do is before we come out of it, it would just be waiting here for an

187
00:12:02,400 --> 00:12:04,860
entire operation to complete and then we'll be stopping.

188
00:12:04,900 --> 00:12:10,200
So remember, after you complete your application, you need to purposefully stop it.

189
00:12:10,320 --> 00:12:14,460
OK, so these are some of the mandatory step that you need to perform.

190
00:12:14,640 --> 00:12:17,370
OK, so what we are doing is we are starting our D.D.S..

191
00:12:17,710 --> 00:12:20,160
This is purely random diligence to verify over.

192
00:12:20,160 --> 00:12:22,230
The counter is going up or down, right?

193
00:12:22,290 --> 00:12:26,940
Remember, we are working in a decrement mode so comfortable we will be declaring digging up pending

194
00:12:26,940 --> 00:12:32,640
on the day that we specify right and we are printing the value, then we are waiting for an entire process

195
00:12:32,640 --> 00:12:34,960
to compete and then we are just stopping, right?

196
00:12:34,980 --> 00:12:38,430
Remember this process that you call the stop function?

197
00:12:39,560 --> 00:12:41,870
After you specified your logic, right?

198
00:12:42,950 --> 00:12:46,910
So let me just go ahead and again, relaunch ended the session.

199
00:12:48,180 --> 00:12:53,670
So this will be a common area that you'll be finding while working with entities in Egypt to as soon

200
00:12:53,670 --> 00:12:56,210
as you see this, that is, do you see anything?

201
00:12:56,620 --> 00:12:58,350
Look, you just click on programs.

202
00:12:58,650 --> 00:13:02,460
That is, you will be first resetting zinc processing systems.

203
00:13:02,470 --> 00:13:06,750
You really have the program reset button on the development will just take it.

204
00:13:06,760 --> 00:13:09,480
And then again, every program and FPGA.

205
00:13:10,870 --> 00:13:14,380
And once you do that, you just need to relaunch your application.

206
00:13:14,430 --> 00:13:19,300
OK, so these are the steps that you need to do when you find out that your device initialization.

207
00:13:19,660 --> 00:13:19,880
Right?

208
00:13:20,620 --> 00:13:28,050
So you see the count of three four one five when you add a delay of twenty millisecond rate.

209
00:13:28,060 --> 00:13:35,290
So if you just increase the delay to three two hundred milliseconds, OK, you are getting the value

210
00:13:35,290 --> 00:13:38,190
of three four one right now if you increase the delay.

211
00:13:38,200 --> 00:13:40,130
So this should be increment deployed, right?

212
00:13:40,180 --> 00:13:42,480
Because our counter is operating in a download.

213
00:13:42,490 --> 00:13:43,210
So let us see.

214
00:13:44,150 --> 00:13:46,530
I've gone through by Louis ActionScript, right?

215
00:13:46,540 --> 00:13:47,860
So if you just go ahead.

216
00:13:48,980 --> 00:13:53,480
And perform an execution, so you could actually see that it is again coming down.

217
00:13:53,700 --> 00:13:56,000
So if you just increase it, you will resume.

218
00:13:56,760 --> 00:13:58,910
Seven hundred millisecond.

219
00:13:59,750 --> 00:14:00,680
So here.

220
00:14:01,910 --> 00:14:04,670
You can still see we are recommending divided, right?

221
00:14:05,150 --> 00:14:11,690
And if you just try to disable this decree, many more great to let it just remove this recruitment

222
00:14:11,690 --> 00:14:12,590
move from here.

223
00:14:14,110 --> 00:14:16,400
OK, so now countersued working in.

224
00:14:18,320 --> 00:14:18,620
Right.

225
00:14:18,950 --> 00:14:21,080
So let it just clear the answer.

226
00:14:21,110 --> 00:14:25,850
First, we start with end delay of two hundred millisecond.

227
00:14:27,160 --> 00:14:30,400
There they just go ahead and try to perform an execution of this.

228
00:14:31,730 --> 00:14:36,800
So the count that we are getting is one zero eight three, nine eight, so let it just increase this

229
00:14:36,800 --> 00:14:43,610
to three hundred millisecond and you'll see that we are receiving must be greater than one zero eight

230
00:14:43,610 --> 00:14:45,610
three nine two one six two five.

231
00:14:45,870 --> 00:14:51,020
Right now, you would see by default, if you do not set the decrement mode, it will be working in

232
00:14:51,020 --> 00:14:51,560
an upward.

233
00:14:51,830 --> 00:14:56,240
OK, if you specify the option to be.

234
00:14:57,480 --> 00:15:02,940
Our download, so it will be counting, right, so these are some of the phenomenon that you need to

235
00:15:02,940 --> 00:15:04,740
work around when you are working with that.

236
00:15:05,400 --> 00:15:11,100
So this is simple, Gilmore, because he able to really see we are waiting for a counter to roll back

237
00:15:11,100 --> 00:15:18,870
and then only we are performing the your boss right now will be considering few examples, OK, which

238
00:15:18,870 --> 00:15:22,030
could be very, very used as equal gender generate variability.

239
00:15:22,170 --> 00:15:27,750
This could be used in various situations so that just try to understand the different application that

240
00:15:27,750 --> 00:15:33,550
you put that you with this specific you see, similar to what we did with Dimora as well as well as

241
00:15:33,600 --> 00:15:33,870
Dr..
