1
00:00:00,060 --> 00:00:05,670
So I presume generation is successful, the next step is to export and hardware five.

2
00:00:05,730 --> 00:00:11,330
OK, so we go to a file export export part of it, and this will be including a bitstream.

3
00:00:11,610 --> 00:00:14,040
So once we select the correct project?

4
00:00:14,610 --> 00:00:20,840
OK, so here we will automatically choose the project that actually we have the related.

5
00:00:21,180 --> 00:00:23,670
OK, so click next and then finish.

6
00:00:25,510 --> 00:00:31,600
So once platform export is successful, we go to tools and we launch like this, Heidi.

7
00:00:33,580 --> 00:00:40,000
Here we need to choose the right project, and let's go forward, which will serve as the workspace

8
00:00:40,000 --> 00:00:42,400
for our why you decided, so we click on browse button.

9
00:00:42,870 --> 00:00:46,330
OK, and then we choose Project and Disco 40 right now.

10
00:00:46,330 --> 00:00:52,020
Remember why this ad, by default, choose the previous project directory.

11
00:00:52,100 --> 00:00:59,880
OK, so as soon as you create a new project, you need to choose the theme that we have every project

12
00:00:59,890 --> 00:01:02,040
right, then click Launch Button.

13
00:01:03,620 --> 00:01:09,620
So once I would like to say it is launch, we go ahead and select Create Platform Project this we be

14
00:01:09,620 --> 00:01:11,240
naming as a studio.

15
00:01:11,570 --> 00:01:11,950
OK?

16
00:01:11,990 --> 00:01:12,680
Click next.

17
00:01:13,320 --> 00:01:19,870
We click on Browse Button, OK, and then we need to go to a folder where we have our accessible date

18
00:01:19,880 --> 00:01:22,220
so it will be inside project and disco fortified.

19
00:01:24,010 --> 00:01:29,770
So once we successfully lead and harvest specification, we just need to choose that and click on finish.

20
00:01:31,010 --> 00:01:36,140
So once our platform project is ready, first thing that we do is to build a platform project, right?

21
00:01:36,830 --> 00:01:39,690
So now you will see the out of date status is gone.

22
00:01:39,710 --> 00:01:42,380
Now we select a black phone project, right click new.

23
00:01:42,980 --> 00:01:44,780
Then we have an application project.

24
00:01:45,260 --> 00:01:48,830
Next, we will be using the same platform project.

25
00:01:48,860 --> 00:01:49,210
OK.

26
00:01:49,460 --> 00:01:50,510
That is you.

27
00:01:50,510 --> 00:01:55,130
Click next and we will be naming this as you underscore S2.

28
00:01:55,310 --> 00:01:56,750
Right click next.

29
00:01:56,750 --> 00:02:02,960
And then we will be choosing in Hallowell, because that provides us a series of an API which could

30
00:02:02,960 --> 00:02:04,660
be used to interact with the council.

31
00:02:05,630 --> 00:02:08,210
So we seek to select Hallowell and click Finish.

32
00:02:09,200 --> 00:02:14,600
Right now we go to Assault-style where we have our Hallowell Darcy and then we start building up our

33
00:02:14,600 --> 00:02:15,350
application, right?

34
00:02:15,770 --> 00:02:21,140
First thing that you do as soon as your application project is ready, go to a GPO right where you have

35
00:02:21,410 --> 00:02:26,810
a BSB file and look for the driver, which are recommended for the respect to IP.

36
00:02:26,810 --> 00:02:33,320
Right to our IP instance name is the Excite UPI zero, and for it, the recommended trailer is Cupido.

37
00:02:33,350 --> 00:02:38,540
So we just need to add up graphics ASICs and that will give an access to the channel rate.

38
00:02:38,540 --> 00:02:39,650
So we go ahead.

39
00:02:41,480 --> 00:02:49,160
And include the driver for our exciting plan, right, so this will be harsh, include then we need

40
00:02:49,160 --> 00:02:52,830
to add x GPIO dot h.

41
00:02:52,850 --> 00:02:53,150
Right.

42
00:02:53,150 --> 00:02:55,270
So this will be the driver for Audi side.

43
00:02:55,620 --> 00:03:01,280
I hope that we have added in a block design one more driver that we require to get an access to all

44
00:03:01,280 --> 00:03:05,840
the hardware related information is x parameters done right.

45
00:03:05,870 --> 00:03:08,540
So these are the two mandatory drivers, right?

46
00:03:08,870 --> 00:03:14,540
Then we exclude the content of a GPI is so just click F3 to get an access to a driver.

47
00:03:15,740 --> 00:03:23,210
Now here we will be utilizing the same fundamentals that we discussed in the start of the session,

48
00:03:23,340 --> 00:03:23,600
right?

49
00:03:23,610 --> 00:03:27,130
So here we have a conflict structure and an insurgent structure, right?

50
00:03:27,140 --> 00:03:29,210
So we will be copying this.

51
00:03:29,840 --> 00:03:32,800
Going back to our high level Darcy.

52
00:03:33,050 --> 00:03:37,580
OK, so conflict structure should be a pointer that they just need this as you.

53
00:03:38,600 --> 00:03:39,240
Config.

54
00:03:39,350 --> 00:03:39,620
Right.

55
00:03:39,980 --> 00:03:42,230
Then we required an instant structure.

56
00:03:42,350 --> 00:03:45,620
So this will be our instant structure, right?

57
00:03:45,950 --> 00:03:52,190
Then we declared one function, which could be used to initialize up any I right.

58
00:03:52,220 --> 00:03:54,110
We just named this as value in it.

59
00:03:55,030 --> 00:03:56,860
Now we go to a guy who had a fight.

60
00:03:57,310 --> 00:04:02,290
So you have a look up conflict and see of judicial leadership, so there are two ways by which you would

61
00:04:02,290 --> 00:04:04,630
provide the initialization.

62
00:04:04,660 --> 00:04:08,410
OK, so you will utilize to look up conflict that can lead to conflict structure.

63
00:04:08,410 --> 00:04:13,510
And then this conflict structure you will be utilizing in this year of initialize, along with an instance

64
00:04:13,510 --> 00:04:17,860
structure and the address to initialize or you could just utilize initialized.

65
00:04:18,000 --> 00:04:23,440
So this just required an instant structure, and the device attached to this doesn't require the.

66
00:04:25,010 --> 00:04:32,420
Config structure, in fact, this if you explore, OK, so if you go to GPI, you initialize OK, so

67
00:04:32,420 --> 00:04:36,200
there's in fact called lookup config and then see if initialized.

68
00:04:36,410 --> 00:04:37,880
So we could.

69
00:04:39,080 --> 00:04:45,380
We're all like this, so we could utilize CFD Initialise look up country for some time, we may also

70
00:04:45,380 --> 00:04:47,050
utilize Tupaea.

71
00:04:47,080 --> 00:04:50,210
You initialize if it exists, but so would the method will give us.

72
00:04:50,780 --> 00:04:50,900
Right.

73
00:04:50,900 --> 00:04:55,410
So let me just copy this and try to work around with this, right?

74
00:04:55,430 --> 00:04:55,790
So.

75
00:04:56,730 --> 00:04:58,350
We had this function over here.

76
00:04:58,650 --> 00:05:00,780
Now this only have two argument.

77
00:05:00,810 --> 00:05:02,420
First one is an instance structure.

78
00:05:02,640 --> 00:05:03,690
Just you.

79
00:05:04,080 --> 00:05:08,990
And the second argument that we have is U-16 device idea, right?

80
00:05:09,000 --> 00:05:10,230
So to find out the device.

81
00:05:10,830 --> 00:05:14,820
We just go to expert amateur doctor and look for GPI.

82
00:05:14,850 --> 00:05:15,180
Right?

83
00:05:15,660 --> 00:05:21,210
So here you have any sage, UPI or zero based address and then the device, right?

84
00:05:21,210 --> 00:05:22,360
So we just copy this.

85
00:05:22,380 --> 00:05:27,300
We go back to LULAC and this will be our second argument right now.

86
00:05:27,300 --> 00:05:30,390
This function return if you just analyze the.

87
00:05:31,570 --> 00:05:33,100
The description of dysfunction.

88
00:05:33,130 --> 00:05:38,080
OK, so this return makes this two successive initialization also sets us apart, right?

89
00:05:38,110 --> 00:05:41,410
So we just need to verify whether initialization is successful or not.

90
00:05:41,410 --> 00:05:47,140
So we will be storing this cheaters into an incredible now why we are utilizing an incredible because

91
00:05:47,140 --> 00:05:48,460
visited in the end, right?

92
00:05:48,790 --> 00:05:53,670
So and they just named this as status, right?

93
00:05:53,680 --> 00:05:58,090
And then we will be verifying whether statistics do say.

94
00:05:58,540 --> 00:05:59,050
So if?

95
00:06:00,010 --> 00:06:00,670
Status.

96
00:06:01,720 --> 00:06:12,250
As equals to rate access to success in that case, we will just be utilizing to win death and we will

97
00:06:12,250 --> 00:06:18,940
be launching mentioning device in it success for right.

98
00:06:20,090 --> 00:06:22,770
And sales vehicle, just add to the.

99
00:06:24,170 --> 00:06:24,540
OK.

100
00:06:24,920 --> 00:06:28,700
And then here we will be adding device in it.

101
00:06:29,820 --> 00:06:31,500
We think this makes sense.

102
00:06:31,890 --> 00:06:39,330
This is how we will be utilizing an initialize function, Rachel, wherever you find the driver consisting

103
00:06:39,330 --> 00:06:43,320
of both the method, you could prefer to choose any one.

104
00:06:43,390 --> 00:06:43,620
Right.

105
00:06:43,620 --> 00:06:49,370
So here we have utilized initialize in the previous example, we work around with a look config and

106
00:06:49,380 --> 00:06:50,150
see of change.

107
00:06:50,590 --> 00:06:52,740
So this complete the process of initialization.

108
00:06:53,010 --> 00:06:54,970
Now we go to our mean code.

109
00:06:54,990 --> 00:07:00,210
OK, and we will be removing this string, which are outdated by default since we are utilizing and

110
00:07:00,230 --> 00:07:01,050
Hallowell template.

111
00:07:01,510 --> 00:07:04,800
First thing that we do is to call that UPI unique function.

112
00:07:04,860 --> 00:07:07,170
Right now, we know that we are working with the GPI already.

113
00:07:07,740 --> 00:07:12,420
We need to set up the dedication and then we can start interacting with our pin today.

114
00:07:12,810 --> 00:07:19,860
So we go to our GPO driver file and find out whether we have an API to set the data protection right?

115
00:07:19,860 --> 00:07:24,630
So you could see we have an API to say the if you just read the description of it.

116
00:07:25,630 --> 00:07:33,130
So this set and input output direction for all the discrete signal of the specified rate, so those

117
00:07:33,130 --> 00:07:33,460
have.

118
00:07:35,080 --> 00:07:37,450
Three argument first one is an instant structure.

119
00:07:37,480 --> 00:07:45,190
Then the chain, all right, so if you observe the GPI, you IP, right click on in Dubai, you could

120
00:07:45,190 --> 00:07:49,780
see we have a toolchain, but since we have not enabled the second chain.

121
00:07:49,960 --> 00:07:53,250
OK, so we are predominantly working on a single channel, right?

122
00:07:53,260 --> 00:07:55,450
So as we progress further, we will be understanding.

123
00:07:56,940 --> 00:08:00,170
How we use a dual channel, the and UPI IP, right?

124
00:08:00,570 --> 00:08:06,180
So this confirms us that we are only utilizing a single channel, so here we just need to add a one.

125
00:08:07,720 --> 00:08:13,300
This function can be used to control the direction of Max 32bit right now we are utilizing only.

126
00:08:14,310 --> 00:08:19,650
Before I leave, so we just need to work with analysts before, right, so this could be used to control

127
00:08:19,650 --> 00:08:21,360
the direction of weather data, right?

128
00:08:21,660 --> 00:08:22,800
So just copied this.

129
00:08:23,160 --> 00:08:24,750
Go back to Anne Hallowell Darcy.

130
00:08:26,510 --> 00:08:33,230
So the first argument that we have is the Insta structure, which is GPO in this case.

131
00:08:34,510 --> 00:08:38,680
Then we need to specify the channel number.

132
00:08:38,730 --> 00:08:40,720
So here we are, utilizing a single channel.

133
00:08:40,750 --> 00:08:47,200
And since we are only utilizing the four areas we need to work on predominantly a list before, but

134
00:08:47,200 --> 00:08:53,380
right now we just need to know what you need to add if you want to take the bin as an output, right?

135
00:08:54,250 --> 00:08:55,780
So that action is.

136
00:08:56,840 --> 00:09:03,800
Bit set two zero hour output and set to one hour in great, so whenever you want to utilize any of the

137
00:09:03,800 --> 00:09:06,260
penis and output, we just need to add a seat, right?

138
00:09:07,380 --> 00:09:13,710
So we go ahead and we ate zero zero, this is basically equivalent to Anheuser December to direct.

139
00:09:13,740 --> 00:09:19,530
So if you convert this to a binary, this will be for binary zero two, and that will basically set

140
00:09:19,530 --> 00:09:22,620
the LSP for bit to a zero.

141
00:09:22,710 --> 00:09:23,280
So we.

142
00:09:24,240 --> 00:09:29,040
I will be having the four pins, which are set as an output.

143
00:09:29,550 --> 00:09:34,860
So once you correctly said that addiction, depending on the number of pins that you want to set, right,

144
00:09:35,100 --> 00:09:40,670
we go ahead and we find out anyplace that could be used to read and write the data right.

145
00:09:40,770 --> 00:09:45,990
We have a discreet right that could be used to write it down, but try to dig into quite an interesting

146
00:09:45,990 --> 00:09:49,980
structure, the China number and the data that we will be writing, Rachel.

147
00:09:51,640 --> 00:09:52,930
We just copy this.

148
00:09:52,960 --> 00:09:58,900
OK, so here we have first documented an instance structure China number handed right to a lady.

149
00:09:58,900 --> 00:10:02,200
Just go ahead and try to add this function.

150
00:10:02,320 --> 00:10:09,250
OK, first one is the GPIO, then the China number is one and the that we want to regulate this as you

151
00:10:09,250 --> 00:10:09,520
miss.

152
00:10:09,880 --> 00:10:11,980
First, we will be turning on all lady.

153
00:10:12,040 --> 00:10:15,940
Then we add one second, right?

154
00:10:16,030 --> 00:10:17,650
And then.

155
00:10:19,110 --> 00:10:24,000
We will be turning off, all right, so this could be done by.

156
00:10:25,260 --> 00:10:30,080
Writing zero to the likes of Zero, A., S. C. Wright.

157
00:10:31,270 --> 00:10:34,030
When this is, you will again be waiting for one second.

158
00:10:34,360 --> 00:10:38,440
This will be indeed the blinking effect similar to what we accurate, and I hope not.

159
00:10:38,580 --> 00:10:39,850
Right to this complete the goal.

160
00:10:40,180 --> 00:10:47,680
What we did is we utilize the GPIO in it to initialize our AGP IP, which is exactly similar to what

161
00:10:47,680 --> 00:10:48,430
we did with.

162
00:10:48,430 --> 00:10:50,530
And I hope, yes, also, right?

163
00:10:50,650 --> 00:10:54,400
We are calling upon this perform an initialization of our periphery.

164
00:10:54,430 --> 00:10:57,760
Then we set up the detection, OK to set the pin as an output.

165
00:10:57,760 --> 00:11:03,850
We need to apply C2 and then we are writing the detail by utilizing discrete red state so that it just

166
00:11:03,850 --> 00:11:05,620
killed our project, so press control.

167
00:11:06,100 --> 00:11:10,870
This will automatically start the process of building off project and was less finished.

168
00:11:12,420 --> 00:11:18,210
We go ahead, select our application project, Debug, as we launch on heart rate.

169
00:11:18,990 --> 00:11:21,810
This will open up the e-book perspective.

170
00:11:22,090 --> 00:11:22,410
OK.

171
00:11:24,160 --> 00:11:30,940
So let it go to a right click on this plus button, select the comfort gifts that help us to analyze

172
00:11:30,940 --> 00:11:35,490
whether device initialization is successful or not, and then click on Resume button, right?

173
00:11:35,490 --> 00:11:41,020
See here you could observe device and it is successful, and if you observe an LCD, you would actually

174
00:11:41,020 --> 00:11:45,010
see the LCD blinking at an interval of one second.

175
00:11:45,250 --> 00:11:47,970
So this is how we utilize any GPI.
