ENT4212 Lecture3
ENT4212 Lecture3
PROGRAMMMMABLE
DIGITAL
ELECTRONICS
R D RASANGIKA
B. SC. (SPECIAL) APPLIED ELECTRONICS
WUSL
LOGIC
FAMILIES
There are several different families of logic gates. Each family has its capabilities
and limitations, its advantages and disadvantages.
1. Diode Logic (DL)
2. Resistor-Transistor Logic (RTL)
3. Diode-Transistor Logic (DTL)
4. Transistor-Transistor Logic (TTL)
5. Emitter-Coupled Logic (ECL)
6. MOS/CMOS Logic
The most important are TTL and CMOS
• TTL (Transistor-Transistor Logic), made of bipolar transistors
It is called transistor–transistor logic because the logic
function and amplification are performed by transistors
• CMOS (Complementary Metal Oxide Semiconductor)
made from MOSFET transistors
In the modern world, CMOS is the dominate technology used
to construct digital circuit components, especially large-scale
integrated circuits
CHARACTERISTICS OF AN IDEAL LOGIC FAMILY
1.Power dissipation of a circuit or system defines battery life. The greater the power
dissipation, the shorter the battery life.
2.Power dissipation is proportional to the heat generated by the chip or system. Excessive
heat dissipation may increase operating temperature and cause gate circuitry to drift out
of its normal operating range
Ps - Static Power Dissipation : Power consumed when the gate is at logic high or logic low
(or when the clock is turned off).
Pd - Dynamic Power Dissipation : The power dissipated during input and output
transitions.
Total P = Ps +Pd
RISE TIME/FALL TIME AND
DELAYS
• RISE TIME, TR. - THIS IS THE TIME THAT ELAPSES BETWEEN 10 AND 90 % OF THE FINAL SIGNAL LEVEL WHEN THE SIGNAL
IS MAKING A TRANSITION FROM LOGIC LOW TO LOGIC HIGH.
• FALL TIME, TF . - THIS IS THE TIME THAT ELAPSES BETWEEN 90 AND 10 % OF THE SIGNAL LEVEL WHEN IT IS MAKING HIGH
TO
LOW TRANSITION.
Gate Delay
The gate delay is also known as the propagation delay. This is the delay caused by signal traveling through the
gate.
• The propagation delay is measured at midpoints
• Delay may not be the same for both transitions
• The maximum frequency of operation of the gate can be hindered by excessive delays
RISE TIME/FALL TIME AND
DELAYS
Wire Delay
Gates are connected together with wires and this wires do delay the signal they
carry.
also called as flight time
Adders are important not only in the computer but also in many types of
digital systems in which the numeric data are processed.
Types of adders
• Half adder
• Full adder
HALF
ADDER
The half adder accepts two binary digits on its inputs and produce two binary
digits Outputs a sum bit and a carry bit.
FULL
ADDER
The full adder accepts two inputs bits and an input carry and generates a sum output
and an output carry
The full-adder is usually a component in a cascade of adders, which add 8, 16,
32,etc. amount of binary numbers.
Question: Derive the output logic and the truth table for the full
adder
FULL
S = A ⊕ B ⊕ Cin ADDER
C = A*B + Cin *(A ⊕
B)
Half adder vs Full
adder HALF ADDER
PARAMETERS FULL ADDER
Definition Half Adder is Full Adder is a
combinational logic combinational circuit
circuit which adds two which adds three 1-bit
1-bit digits. digits.
Carry Addition Carry generated from Carry generated from
previous addition is previous addition is
not added in next added in the next
step. step.
Hardware components It consists of one EX-OR It consists of two EX-
gate and one AND OR, two AND gate and
gate. one OR gate.
Hence VQ ≈ 4.35V
In RTL (resistor transistor logic), all the logic are implemented using resistors and transistors. One
basic thing about the transistor (NPN), is that HIGH at input causes output to be LOW (i.e. like a
inverter). In the case of PNP transistor, the LOW at input causes output to be HIGH.
Advantage: Disadvantage:
•Less number of Transistors •High Power Dissipation
•Low Fan In
DIODE TRANSISTOR LOGIC
(DTL)
THE BASIC CIRCUIT ELEMENT IN DTL DIGITAL LOGIC FAMILY IS THE NAND GATE
THE CONSTRUCTION OF THISGATE IS THE COMBINATION OF DIODE LOGIC AND GATE AND THE
TRANSISTOR IN ITS INVERTER CONFIGURATION
Cutoff analysis
Assume at least one of the inputs A,B, or C is at 0.2
V transistor is in the cutoff region
Saturation analysis
If all the inputs to the gate are at logic 1 (5V)
transistor is in saturation.