Basic gates and operation performed on basic gates
How Basic gates Works
Hello friend in this blog we are going to learn how CPU work and how all process in CPU is going to work how ALU build logic and how data store and how memory is created in we will learn all in-depth
We will start with basic gates well if you don’t know what is basic gates and all don’t worry we will cover all we will start with the definition of gates
Getas are a basic fundamental part of any computer which has one or more input and one output and which is you to build logical and mathematical operation and which is made up of semiconductor
1)not gate: this gate perform negation operation in another word the output of this gate is inverted ( opposite ) to the given input
As we know computer understands the only low-level language that is binary eg 0,1 so whatever signal you given to not gate it will produce it opposite signal for example
If I give input as 1 then the output will be 0 and vice versa
[Note that in binary logic 1 is mean high logic 0 means low]
AND-GATE
And the gate has two input port and one output port when both inputs are high output will high otherwise the output will be zero (to understand it we can also consider it as multiplication or product gate for ex: 1*1 =1 similarly 1*0=0 and all) this is how and the gate will work
OR-GATE
This gate has two input port and one output port and when either of the input is high output will be become high otherwise the output will be low (to understand this gate we will consider it as an addition gate when among two input if single input is high output will be high 1+0=1,
0+0 =0 ,1+1=0 )
Above mention all are basic gates now will learn universal gates NAND AND NOR,The reason behind they call as universal gates is that using these gates we can build any gate by using De Morgan's lows
NAND -GATE
This gate is similar to the AND gate but the difference is only the output of this gate is opposite of AND gate
The logic behind NAND is the same as AND gate but in inverted format, this is due to that noob after and gate due to which output of and AND is becoming inverted
NOR -GATE
As like previous one this gate also perform a similar operation as the OR gate but the difference is that the output will be inverted due to the nob
XOR GATE
EX-OR gate has two input and one output when we will give one input high and second input low and vice versa at that time output will be high otherwise the output will below
X-NOR
Similar to XOR gate when both the input of gate is either high or low at that time it produces logical high output otherwise output will low
The next part đŸ‘€coming soon ......
Comments