Friday, January 11, 2008

Basic Logic Gate

Logic gates are the basic parts of binary computers. Basically what logic gates do is mapping one, two or more digital signal into a digital output. There are basically 8 kinds of logic gates, they are AND, OR, NOT, NAND, NOR, XOR, NXOR, and BUF.

AND logic gate gives true (1) output, if and only if, all of its input are true (1).
OR logic gate gives true (1) output, if and only if, at least one of its input are true (1).
NOT logic gate is a single input single output logic gate, which output is the negation of its input.
NAND logic gate gives false (0) output, if and only if, all of its input are true(1).
Basically it can be thought as if a NAND logic gate is a combination of an AND and a NOT logic gate.
NOR logic gate gives false (0) output, if and only if, at least one of its input are true (1).
Basically it can be thought as if a NOR logic gate is a combination of an OR and a NOT logic gate.

XOR logic gate gives true (1) output, if and only if, the number of its true (1) input are odd.


NXOR logic gate gives true (1) output, if and only if, the number of its true (1) input are even.
BUF logic gate is a single input single output logic gate, which output is the same as its input.
Probably it doesn't make sense that there is such gate, but actually it have its own application in digital electronics as signal amplifier.

1 comment:

akbar said...

* fen, animal shaped equation mesti nya jadiin kategori aja di orimath. jangan terlalu byk blog

* lagipula animalshapedequations.com itu terlalu panjang. gimana cara ngingetinnya.

* jgn lupa fen, selalu tampilkan sisi manusiawi setiap cerita biar lebih gampang di kunyah. jgan langsung klimaks. selalu siapin pendahuluan dan kesimpulan yg manusiawi. jgan mentah2 dan terlalu vulgar langsung ke isi pokok masalah.

* blog2 yg bagus tuh contohny seperti:
www.stevepavlina.com/blog
steve-yegge.blogspot.com
http://www.sethgodin.typepad.com/

* after all lumayan lah. ^_* good job bro.
regards, Yuri & Akbar