Let us try to understand some of the fundamental differences that we get between an architecture of
a microcontroller and an architecture of an FPGA.
OK, so we'll consider it a very fundamental microcontroller, OK, which is an art, a no no.
And here what I did is I've written one code just to trigger analogies which have been connected all
and different digital open.
So if you just go through the circuit diagram, you'll be finding that we have an already a. been connected
at been number 13 to 11 11.
Okay.
So our agenda is basically to generate a square waveform on this three digital open.
So here we have set up the pin mode as an output since we want to send the signals to analogy.
And then what we are doing is we are writing a digital high on number 13, then we are waiting for one
second delay.
OK, and then again, we are turning it off.
So this basically give us a blinking effect on an already at an interval of one second.
Right.
And similarly, the same logic we have utilized for writing a values to the ladies, which have been
connected on PIN number two as well as 11.
So if they just try to execute a call, OK, and observe the circuit, you'll be noticing that for stability,
the real return on, then you have green vittone on and off.
And then finally you have a plurality which beento.
No, no.
OK, so we have written some lines of code and from the behavior that we are getting on any leads,
you can easily guess that the code is executing in a sequential manner.
Right.
So the Stutman, which are written first, will be executed and then we have other Stutman being executed.
Right.
So this is what we refer to as a sequential architecture of a microcontroller.
Right now, what we'll do is we'll write some very low code and see how FGB is right.
So here we are inside and we will do it.
That will be using throughout the course.
So here I have written to code.
OK, so one of the code will just try to execute without worrying much about the code right now, since
as you progress in, of course you'll be getting an fundamental understanding of whatever we have written
here.
Right.
So do not worry much about the code.
What will be doing is first we try to execute this.
OK, so here we have certain set of statements that we have written and our agenda is just to see the
code and perform our simulation.
So if you observe and we form that we are getting with the code that we have written, you will be finding
that all the free signals we are getting on an output would execute in parallel.
OK, so at the same instance she will be considered similarly at same instance we get our G and Y being
turned on.
So if we compare this with the sequential architecture that we discussed previously, it will be finding
there is no way to get a parallel architecture or the multiple segments running at a parallel when we
consider the microcontroller.
But with an SPG and a very low, we can write a code which can execute in a battle.
OK, so this is why often we refer to an FPGA as having a parallel architecture, because even though
you have written the code with a series of Stutman, but the architecture of an FPGA works in such a
way that you'll be finding.
All the signals are being generated in a parallel or on the different outputs.
OK, but let us assume that you have a situation where you want to have behavior.
Of a system working in a sequential manner.
OK, so if I just commend the school out.
OK, and if I just uncommented the other quote that we have written will be finding something interesting,
I guess we'll just uncommented this and will again perform a simulation.
And now if you observe a waveform, you'll be noticing that.
If I just try to zoom in a bit, OK, you'll be finding that we have modified our goal and we able to
get the sequential nature.
OK, so the very log and FPGA architecture are so much flexible that depending on the requirements,
they can behave as in parallel architecture.
But all the signals will be simultaneously generating a signal, if you want.
Or you can write a code such that it starts to behave as a sequential manner.
And that is the flexibility that we get with an FPGA that it can show the nature similar to a microcontroller
or it can show a nature exactly opposite to your microcontroller that is behaving in a parallel manner.