So I presume generation is successful, the next step is to export and hardware five.
OK, so we go to a file export export part of it, and this will be including a bitstream.
So once we select the correct project?
OK, so here we will automatically choose the project that actually we have the related.
OK, so click next and then finish.
So once platform export is successful, we go to tools and we launch like this, Heidi.
Here we need to choose the right project, and let's go forward, which will serve as the workspace
for our why you decided, so we click on browse button.
OK, and then we choose Project and Disco 40 right now.
Remember why this ad, by default, choose the previous project directory.
OK, so as soon as you create a new project, you need to choose the theme that we have every project
right, then click Launch Button.
So once I would like to say it is launch, we go ahead and select Create Platform Project this we be
naming as a studio.
OK?
Click next.
We click on Browse Button, OK, and then we need to go to a folder where we have our accessible date
so it will be inside project and disco fortified.
So once we successfully lead and harvest specification, we just need to choose that and click on finish.
So once our platform project is ready, first thing that we do is to build a platform project, right?
So now you will see the out of date status is gone.
Now we select a black phone project, right click new.
Then we have an application project.
Next, we will be using the same platform project.
OK.
That is you.
Click next and we will be naming this as you underscore S2.
Right click next.
And then we will be choosing in Hallowell, because that provides us a series of an API which could
be used to interact with the council.
So we seek to select Hallowell and click Finish.
Right now we go to Assault-style where we have our Hallowell Darcy and then we start building up our
application, right?
First thing that you do as soon as your application project is ready, go to a GPO right where you have
a BSB file and look for the driver, which are recommended for the respect to IP.
Right to our IP instance name is the Excite UPI zero, and for it, the recommended trailer is Cupido.
So we just need to add up graphics ASICs and that will give an access to the channel rate.
So we go ahead.
And include the driver for our exciting plan, right, so this will be harsh, include then we need
to add x GPIO dot h.
Right.
So this will be the driver for Audi side.
I hope that we have added in a block design one more driver that we require to get an access to all
the hardware related information is x parameters done right.
So these are the two mandatory drivers, right?
Then we exclude the content of a GPI is so just click F3 to get an access to a driver.
Now here we will be utilizing the same fundamentals that we discussed in the start of the session,
right?
So here we have a conflict structure and an insurgent structure, right?
So we will be copying this.
Going back to our high level Darcy.
OK, so conflict structure should be a pointer that they just need this as you.
Config.
Right.
Then we required an instant structure.
So this will be our instant structure, right?
Then we declared one function, which could be used to initialize up any I right.
We just named this as value in it.
Now we go to a guy who had a fight.
So you have a look up conflict and see of judicial leadership, so there are two ways by which you would
provide the initialization.
OK, so you will utilize to look up conflict that can lead to conflict structure.
And then this conflict structure you will be utilizing in this year of initialize, along with an instance
structure and the address to initialize or you could just utilize initialized.
So this just required an instant structure, and the device attached to this doesn't require the.
Config structure, in fact, this if you explore, OK, so if you go to GPI, you initialize OK, so
there's in fact called lookup config and then see if initialized.
So we could.
We're all like this, so we could utilize CFD Initialise look up country for some time, we may also
utilize Tupaea.
You initialize if it exists, but so would the method will give us.
Right.
So let me just copy this and try to work around with this, right?
So.
We had this function over here.
Now this only have two argument.
First one is an instance structure.
Just you.
And the second argument that we have is U-16 device idea, right?
So to find out the device.
We just go to expert amateur doctor and look for GPI.
Right?
So here you have any sage, UPI or zero based address and then the device, right?
So we just copy this.
We go back to LULAC and this will be our second argument right now.
This function return if you just analyze the.
The description of dysfunction.
OK, so this return makes this two successive initialization also sets us apart, right?
So we just need to verify whether initialization is successful or not.
So we will be storing this cheaters into an incredible now why we are utilizing an incredible because
visited in the end, right?
So and they just named this as status, right?
And then we will be verifying whether statistics do say.
So if?
Status.
As equals to rate access to success in that case, we will just be utilizing to win death and we will
be launching mentioning device in it success for right.
And sales vehicle, just add to the.
OK.
And then here we will be adding device in it.
We think this makes sense.
This is how we will be utilizing an initialize function, Rachel, wherever you find the driver consisting
of both the method, you could prefer to choose any one.
Right.
So here we have utilized initialize in the previous example, we work around with a look config and
see of change.
So this complete the process of initialization.
Now we go to our mean code.
OK, and we will be removing this string, which are outdated by default since we are utilizing and
Hallowell template.
First thing that we do is to call that UPI unique function.
Right now, we know that we are working with the GPI already.
We need to set up the dedication and then we can start interacting with our pin today.
So we go to our GPO driver file and find out whether we have an API to set the data protection right?
So you could see we have an API to say the if you just read the description of it.
So this set and input output direction for all the discrete signal of the specified rate, so those
have.
Three argument first one is an instant structure.
Then the chain, all right, so if you observe the GPI, you IP, right click on in Dubai, you could
see we have a toolchain, but since we have not enabled the second chain.
OK, so we are predominantly working on a single channel, right?
So as we progress further, we will be understanding.
How we use a dual channel, the and UPI IP, right?
So this confirms us that we are only utilizing a single channel, so here we just need to add a one.
This function can be used to control the direction of Max 32bit right now we are utilizing only.
Before I leave, so we just need to work with analysts before, right, so this could be used to control
the direction of weather data, right?
So just copied this.
Go back to Anne Hallowell Darcy.
So the first argument that we have is the Insta structure, which is GPO in this case.
Then we need to specify the channel number.
So here we are, utilizing a single channel.
And since we are only utilizing the four areas we need to work on predominantly a list before, but
right now we just need to know what you need to add if you want to take the bin as an output, right?
So that action is.
Bit set two zero hour output and set to one hour in great, so whenever you want to utilize any of the
penis and output, we just need to add a seat, right?
So we go ahead and we ate zero zero, this is basically equivalent to Anheuser December to direct.
So if you convert this to a binary, this will be for binary zero two, and that will basically set
the LSP for bit to a zero.
So we.
I will be having the four pins, which are set as an output.
So once you correctly said that addiction, depending on the number of pins that you want to set, right,
we go ahead and we find out anyplace that could be used to read and write the data right.
We have a discreet right that could be used to write it down, but try to dig into quite an interesting
structure, the China number and the data that we will be writing, Rachel.
We just copy this.
OK, so here we have first documented an instance structure China number handed right to a lady.
Just go ahead and try to add this function.
OK, first one is the GPIO, then the China number is one and the that we want to regulate this as you
miss.
First, we will be turning on all lady.
Then we add one second, right?
And then.
We will be turning off, all right, so this could be done by.
Writing zero to the likes of Zero, A., S. C. Wright.
When this is, you will again be waiting for one second.
This will be indeed the blinking effect similar to what we accurate, and I hope not.
Right to this complete the goal.
What we did is we utilize the GPIO in it to initialize our AGP IP, which is exactly similar to what
we did with.
And I hope, yes, also, right?
We are calling upon this perform an initialization of our periphery.
Then we set up the detection, OK to set the pin as an output.
We need to apply C2 and then we are writing the detail by utilizing discrete red state so that it just
killed our project, so press control.
This will automatically start the process of building off project and was less finished.
We go ahead, select our application project, Debug, as we launch on heart rate.
This will open up the e-book perspective.
OK.
So let it go to a right click on this plus button, select the comfort gifts that help us to analyze
whether device initialization is successful or not, and then click on Resume button, right?
See here you could observe device and it is successful, and if you observe an LCD, you would actually
see the LCD blinking at an interval of one second.
So this is how we utilize any GPI.