So let's consider this simple application, what we're going to do is DTC will be generating a delay
for UPI.
OK, so we'll be utilizing in my OLED.
And then we'll to having a blinking effect.
So this will give us an idea how we utilize that.
UGC In an actual scenario today.
So when we consider the basic lock design flaw, I think, OK, we will be nibbling DTC over, which
will be utilizing.
And one more thing that we require is the GPI OLED rate.
So if you go to an email configuration, there are very reliable.
So there you have a duplicate rate.
So this will automatically select or enable all the fifty four pins that we have.
OK.
And we already know that we have an elite connector set, right?
This is what we're going to do.
So once you configure sync pricing system, OK, just generate wrapper and create bitstream out of it,
right?
So once that SIM generation is successful, go to an SDK right now will go through an entire code for
AGP will be required to have a driver GP.
I hope you sign for the required X C, P S S parameter, give us and all the information related to.
Heart rate, we required this structure to certify D.D.S., which consists of an frequency interval
pre-schooler, an option rate that will be utilizing it, our frequency to computing double, as well
as Beachler.
And depending on an operation that we want to perform, we will be selecting a specific option, right?
So we will be selecting an option as interval mode and along with this.
Don't cooperate, so this two option will be enacted, so then we consider an innate function first
for GPIO required this to structure first one is an instance structure and conflict structure.
Similarly, 42C also required an instance structure as well as in conflict structure when we go to doing
it function, so we declared a single variable to do this.
First, we'll be looking for GPI, always A.D., and we'll be generating a value for our config structure.
Right.
So once we have in conflict structure value for our you will be utilizing CFG initialize OK to initialize
our GPI, right?
So we'll be specifying an instance structure, config, structure, end the etc. So this will be retaining
this data.
So first will verify whether I.
Device initialization for GPI was successful, right?
So we'll just be comparing it to an existing design, if that is the case, we will be seeing that GPI
initialization is success rate will be utilizing the same status variable to achieve three purpose.
So you're checking whether initialization for GPI is successfully checking whether initialization for
UTC successful and lasting is performing.
The self-test for duties right now will go.
It will generate the config structure for our DTC by utilizing again the lookup config function, passing
that device Haiti and then utilizing CFG initialize.
We will be initializing heart rate again, will be connecting students to see of generation.
So after this, we will be verifying whether status is access to success.
And if that is the case, we will be seeing that DDC initialization is success, right?
The last hope that we will be performing at an intermediate bit is that it is to verify their set distribution,
right?
So we'll be calling a self-test from our DTC driver and then we just need to pass an instance structure.
Right now, we will again be verifying whether this is equal access to success.
If that is the case, we will be saying that if this is successful and self-destruct, right?
So these are the three check that we are performing and two initialization we are doing were here one
to initialize our GPO and either to initialize our ADC.
Now this init function, we will be calling and not mean program rates.
They need platform which will initialize a you pay for it and then unit which will initialize our.
DuPont, as well as duties right off evil, we are considering of you, Typekit will be holding an lead.
In fact, we just need to work it with analysts right there.
Let's be of this will be sending or taking on an elite events since we only have a single entity connected
to any my right.
So setting up a direction pin number seven or a minus seven is where we have energy.
So we need to set the direction.
And whenever the port is an output port, we also need to enable an output.
So these are the two function that we already discussed.
We need to apply one to both of them, right?
So let's consider the pin number seven as an output port, OK, and then it will also enable and what?
OK.
So the structure we wish to generate the delay of or frequency of a nerd.
So the blinking frequency for a lady is one heart.
So we are just updating a value of one over here and rest.
All right.
Here we are setting an download for our counter at interval mode, right?
Then once we update the reader option, that is to remember that we have an structure will just be utilizing,
said the option to set said the option that we described in the bow line do RTC right.
Then we would be calculating an interval like this killer from our frequency.
We just need to pass an output frequency, which is what?
OK?
And then interval and be scalar.
I will be computing from this frequency, right?
So once we get an interval n frequency, so here we initialize them to zero.
We'll just be calling set pre-schooler and send Interval Oogie to set the specific value that have been
generated from calculate interval from frequency function.
Right.
Once we complete this, we'll just be going ahead with the Wildwood.
Now specific reason for calling while doing is we want to continuously analyze the blinking effect rate.
We will be starting.
Our DDC will be waiting for timer to reach zero.
OK, then we'll be stopping RDC, resetting the counter value back to what you just specified.
And here we are, just complementing all the LCD.
Right.
So if the initial value is zero, when we perform a compliment, this will give us basically all what
right?
And then we are just utilizing the right thing and applying this value to energy.
Now what this will do is so initial value be zero.
So after an delay of one ticket, we will be having one on an LCD and so on.
And so since we are calling, let's do this again, this entire thing will be repeated, right?
So here we go, I'll just add when.
They'll bring that just to analyze whether we correctly generate the value for our religious right so
we could just display the value of an elderly, and that is what we're going to value.
S..
OK.
On an LCD is that it just brings the value in then binary format, right?
And we will be creating the value of OLED.
So this will give us an idea of the value that we are sending, in fact, will be actually seeing that
hybrid demonstration.
OK, because am I OLED blinking could actually be a higher rate.
So first thing that we do is to program and FPGA.
So once programming is successful, go ahead and connect to the serial terminal.
Right.
So we will be selecting on four and then we will be executing our application.
All right, let's launch on hardware.
So now you could see that GPIO and it is successful DDC and it is also successful, and so you know,
some success, right?
So we won't be able to see a value of an alibi.
In fact, we also forget to add the new line characters already to score ahead and add a new line character,
and this will be considering it.
So it'll be.
So let's just re launch a debug session.
So now you could see that Dubai, when it is successful, DDC and it is successful and sell this to
the also successful, so here with the binary weren't able to analyze anything.
So let me just proceed to decimal, right?
So once we do this modification?
So now you could see the value that we are sending on energy is zero and 250 rate, and you could actually
observe that blinking on it.
Am I right?
So this is how you can utilize that EDC, OK to need the specific delay or you need a specific frequency
on an output thing.