Tampilkan postingan dengan label Basic Logical Gate. Tampilkan semua postingan
Tampilkan postingan dengan label Basic Logical Gate. Tampilkan semua postingan

Senin, 13 Mei 2024

OR Gate | Gerbang OR | Basic Logical Gate | Gerbang Logika Dasar

OR Gate

OR gates are basic logic gates, and are available in TTL and CMOS ICs logic families. The standard 4000 series CMOS IC is the 4071, which includes four independent two-input OR gates.

The TTL device is the 7432. There are many offshoots of the original 7432 OR gate, all having the same pinout but different internal architecture, allowing them to operate in different voltage ranges and/or at higher speeds. In addition to the standard 2-input OR gate, 3- and 4-input OR gates are also available.
In the CMOS series, these are: 4075: triple 3-input OR gate 4072: dual 4-input OR gate Variations include: 74LS32: quad 2-input OR gate (low power Schottky version)
74AC32: quad 2-input OR gate (advanced CMOS version) - similar to 74HC32, but with significantly faster switching speeds and stronger drive
74HC32: quad 2-input OR gate (high speed CMOS version) - has lower current consumption/wider voltage range 74LVC32: low voltage CMOS version of the same. Analytical representation f(a,b)=a+b-a*b is the analytical representation of OR gate: f(0,0) = 0+0-0*0 = 0 f(0,1) = 0+1-0*1 = 1 f(1,0) = 1+0-1*0 = 1 f(1,1) = 1+1-1*1 = 1 OR gates with many inputs
More efficient implementations use a cascade of NOR and NAND gates, as shown in the picture below.
OR gates with multiple inputs are designated with the same symbol, with more lines leading in.
While direct implementations with more than three inputs are possible in logic families like CMOS, these are inefficient.



Gerbang OR
IC CMOS CD4071BE
Basic Logical Gate - Gerbang Logika Dasar
Digital Electronic - Elektronika Digital
Hobi Elektronika
Electronic Hobbies

AND Gate | Gerbang AND | Basic Logical Gate | Gerbang Logika Dasar

AND Gate

The AND gate is a basic digital logic gate that implements logical conjunction (∧) from mathematical logic – AND gate behaves according to the truth table. 
A HIGH output (1) results only if all the inputs to the AND gate are HIGH (1). 
If not all inputs to the AND gate are HIGH, LOW output results. 
The function can be extended to any number of inputs.

The AND gate with inputs A and B and output C implements the logical expression  C=A.B 
This expression also may be denoted as C = A∧B or C = A&B

In logic families like TTL, NMOS, PMOS and CMOS, and AND gate is built from a NAND gate followed by an inverter. 
In the CMOS implementation above, transistors T1-T4 realize the NAND gate and transistors T5 and T6 the inverter. 
The need for an inverter makes AND gates less efficient than NAND gates.

AND gates can also be made from discrete components and are readily available as integrated circuits in several different logic families.

Analytical representation
f(a,b) = a*b is the analytical representation of AND gate:

f(0,0) = 0*0 = 0 
f(0,1) = 0*1 = 0 
f(1,0) = 1*0 = 0 
f(1,1) = 1*1 = 1 

AND gates with multiple inputs are designated with the same symbol, with more lines leading in. 
While direct implementations with more than four inputs are possible in logic families like CMOS, these are inefficient. More efficient implementations use a cascade of NAND and NOR gates, as shown in the picture on the right below. 
This is more efficient than the cascade of AND gates shown on the right.

Gerbang AND
IC CMOS CD4081BE
Basic Logical Gate - Gerbang Logika Dasar
Electronic Digital - Elektronika Digital
Electronic Hobbies
Hobi Elektronika