Hello, guys, and welcome back.
Now we are going to talk about more complex gates and we're going to see what are their logic and how
do they function.
So we're going to talk about two different type of gates, the X or gates and the external gate.
Now, the X or gate is represented with a simple like the old gate.
But it has an arc behind it.
They ignore the same it is it looks like an old gate, it has an arc behind it, but the difference
is it has a circle as well and in the front seat.
So what does the gate do?
It checks if two signals are different than each other.
If it is the case, then we will get that one.
There is no gate checks if both signals are equal to each other.
If it is, then they were going to get an output of one.
So let us take a look here.
When we have two different signals, like take a look at JMB, when we have zero one or one zero, we're
going to get an output.
Otherwise, when the signals are similar, we will get a zero.
See, here are one, we are getting a one one zero we can go on if they are similar, we don't get anything.
So Xol tells the difference.
Now, take a look at the snow right here.
If they are similar, we get an output.
So A and B are similar.
We get an output of one here.
They are different.
So we get nothing here and B are similar one and one.
So we get that one.
So again, if we take a look at zero zero, we get a one one one.
We get the one because they are similar.
When they are different, we get a zero.
So this is very important when you are trying to compare to signals or to numbers, these circuits come
in real handy.
Now, we still have two more gates that we want to talk about the gate and in our gate now is the end
game.
Looks like an end, but it has a not in front of it.
This circle always represent the Newdegate.
The north gate is also looks like an all, but it has a circle in front of it.
Don't confuse it with X or because X or has an arc behind it.
So an end gate is just an end gate inverted that the outward and it looks like that.
See, if you put an end gate and you have another gate in front of it, you're going to get a gate and
you might ask why would anyone and then that what is the use?
Well, it turns out that it is easier to design transistors or gates using transistors when you have
NAND gates and Norgay's because, well, usually the transistor logic is inverted when you're excited
from the input with one, usually you get the zero of the output and vice versa.
So it's easier to work with NAND and nor is when trying to design real electronic circuits.
Next, the north gate is just an inverted.
So it's like you have an OR gate and you have a Northgate in front of it and it will be represented
like that.
And as I said, they are really, really, really useful when you try to design electronic circuits.
We are not going to get into that for now.
But just bear in mind, before you have this question, pop up in your head, like, why would we need
an engaged or a Norgay's when we already have and gates and objects.
Now let's check the truth tables for these and then get as you have.
So it's just an Engert inverted.
So if you get take the truth table of the end and you just invert all the output, you're going to get
your logic because in the end and the only way to get the one is when you have one here and one here.
So one here and one here, you would get the one at the output if you have and get in order to invert
everything.
Well, here we're going to have a zero and everything else.
We're going to have one because in the end game, these three cases will give you a zero and only this
case will give you a one.
So we just inverted.
Now, the north.
Is it just then or with an object?
Right.
So it is just the old logic inverted.
Now, usually in the aggregate, all of these are three cases are the ones.
Right, because either of these should be one in order to have one at the output and only this case
when we have both zeros.
We were used to get a zero right here.
So this is why we have inverted everything.
Now, if you have zero zero, we get that one.
Otherwise, whatever we do, we just get all zero.