We have talked already about that.
How about now that we create a half or then we instantiate it in order to create a full adger?
Let us get started.
I'm going to start with, again, a block diagram.
And if you remember, what does the have other looks like?
It actually looks like that, so we have one orgeat and one and gate and then we have A and B and that's
it.
So that does create a half either.
Really quickly here.
And we're going to go to symbol here and we'll go to logic.
We need an X or gate.
This is an X or gate going to add here.
Next, I need an end gate.
So let's go back here and let us get an end gate with two input.
Like that, that's great now.
The sun will come out from the shore and the carrier will come out from here.
So we need two inputs and one output.
Remember, we go to relatives and then bends in order to get inputs and outputs.
We need to hear one and two.
Next, I'm going to need an output.
So this is my output.
We need one here.
Essentially.
And we need one here as well.
That's great.
Now, what I want to do is I want to start interconnecting this.
So we let us zoom in and first let us call these with their names.
So this is called a.
This input is going to be called be here, I'm going to have my son, and here I'm going to have my
carry.
Oh.
OK.
This is what a father looks like now if we interconnected.
It's going to take this year and one here, this according to the schematic we have studied.
Next, we have this one here and then we will extend it here.
Now we can take the output's.
Make sure that you don't have extra bubbles, you can always press controls that in order to undo a
move, then.
Here we have this and this is my half.
Now, let us try it out.
I'm going to file saver's.
I'm going to call this half.
On the rescore.
Harder now, this half hour was going to be my top entity and then compile and you're ready now let
us go and test this half hour really quickly.
New we of course, I guess you already know what to do, insert notes, not find our list at everything,
like OK, like OK again and go through a simulation simulation settings.
We defaults save compiled together first save it with the right name, which is half.
Adam Azer.
Let us get there.
Go to simulation settings again.
The full.
To leave this click save and now let us start preparing the way for so we have to input so we have four
combinations zero zero.
One zero.
01.
And, of course.
I want to have.
One, one, so that us put the sum here, OK?
So as a sun zero zero zero zero one zero sum one zero zero one, meaning someone going out zero and
one one sum will be zero and kickout will be one that doesn't really.
So.
This is the correct one here and we're getting one here at the sun and what both inputs are one, we're
getting some of the running out of one.
Perfect.
Now, next lecture, I'm going to show you how to create a full adder and how to instantiate to have
others to create this FLEDER.