Lectures-Digital Circuit Design
Lectures-Digital Circuit Design
CMOS Logic
Course Grading
Midterm exam (25 Marks)
2- IC is low cost
Saturated IC
It means that the transistors are driven into saturation region, such as RTL,
DTL, and TTL.
Non saturated IC
It means that the transistors are driven into cutoff or active regions, such as
ECL.
Introduction to Digital ICs
Logic Levels
The input and output voltages of a gate represented as LOW and HIGH.
0V LOW 0 +5 V HIGH 1
Introduction to Digital ICs
driving gate
driving Gate
Introduction to Digital ICs
Noise Immunity
The logic circuit's ability to tolerate a noise signal without causing a false change in
its output.
Introduction to Digital ICs
Characteristics of Digital ICS
4- Noise Margin
A mathematical measure of noise immunity of a logic circuit.
It is maximum undesired noise voltage that can be added to a logic gate input which will not affect the output.
The higher noise margin, it is a better logic circuit.
Introduction to Digital ICs
Characteristics of Digital ICS
Noise Margin
There are two values of noise margin for a logic gate (VNH and VNL).
VNH: the difference between the minimum voltage HIGH output and the minimum voltage required for a HIGH input
VNL: the difference between the maximum voltage LOW output and the maximum voltage required for a LOW input
High level
noise margin
Low level
noise margin
Characteristics of Digital ICS Introduction to Digital ICs
Output Switching Time
The minimum amount of time needed for a logic gate to switch from
a logic 0 to a logic 1 level and back again.
Truth Table
Resistor Transistor Logic (RTL) Gates (Lec 2)
BJT Transistor can operate in four modes “regions”
1- Saturation
2- Cut-off
3- Linear (active)
4- Inverse active
In RTL, the transistors are driven “biased” in cut-off region or in saturation region.
Resistor Transistor Logic (RTL) Gates
RTL is the first family of logic circuits in 1960
Advantage of RTL
is simple design Resistor& Transistor Symbol of NOR gate
Disadvantage of RTL
is low switching speed and Low noise immunity
iC = VCCR− VO
C
IB = N IBN = IC
Value of N must satisfy this condition hfe IB ≥ ICsat , which confirm that
transistor driven in saturation region. where hfe is β of transistor
Fig 1
IB will be 0.767 mA , hfe = 6.92 ~7
Is the hfe is suitable for this circuit ?
Emitter Coupled Logic (ECL) Gates (Lec 3)
In ECL, the transistors are driven “biased” in cut-off region or in active region
Advantages of ECL
1- It has shortest propagation delay time among bipolar digital circuits.
2- So, it has highest switching speed of all logic families.
Disadvantages of ECL
It is complex circuit and costly.
Low noise immunity
Emitter Coupled Logic (ECL) Gates
Q1,Q2 are cut-off “Off” and QR is biased in active region “ON”,where ICXY
= 0 “since VCC = 0”, vo1 = VC1 = 0 – ICXY RC1 = 0 V, vo2 = negative, therefore,
vo1 > vo2 and vNOR = vo1 – VBEonQ4 = 0 – 0.7 V = – 0.7 V. “due to – 0.7 V is
largest possible voltage”.So, vNOR is HIGH “-0.9V”,and vOR is LOW “-1.7
V” .
It is designed to operate with VCC = 0 V , and VEE- = - 5.2 V
QR is supplied by constant voltage VR from an external power supply.
vE = vR – VBEonQR
vE – V −
iCR = iE =
RE
Emitter Coupled Logic (ECL) Gates
Circuit Operation of the ECL Gate
vE – V −
iCXY = iE = R
E
Emitter Follower Circuit is used to shift the output and input voltage
levels of an ECL circuit. So that V (0) and V (1) are the same for inputs
and outputs. In addition, amplify the current.
Emitter Coupled Logic (ECL) Gates
Ground
connected to V- Emitter follower
ECL circuit
Calculation of Power Dissipation for an ECL
It consists of R1 , R2 , R5 , D1 , D2 , Q5
D1 and D2 are forward biased “ON” and Q0 will be ON “ driven in saturation”, vo = VCEsat = 0.1 V “defined as logic 0”.
VB > V E
v1 = VɤD1+ VɤD2 + VBEsat
KCL iB = i2 – iR
iDX
iDX = iDY = 0
iDY
So, i2 = iR = iB= iC = 0 , vB = 0 V
If vX = vY = logic 1
If vX = vY = logic 0
PD = (i1 ) (VCC – 0)
PD(0) + PD(1)
PDaverage = 2
Fan-out of the DTL Gate
For vX and vY is High
IL’= N IL N is an integer
iRC + N IL = β iB
VCC – v1
IL =
R1
v1 = VɤDx+ vx = 0.7 + 0.1
VCC − VCEsat
iRC = iC =
RC
Transistor Transistor Logic (TTL) Gates (Lec 5)
In TTL, the transistors are driven “biased” in cutoff region or in saturation region.
Advantage of TTL
It increases switching speed of the output transistor Q0 from saturation to cut off.
It is faster than CMOS
Transistor Transistor Logic (TTL) Gates
Circuit Operation of TTL
1- if two inputs vX = vY are high “logic 1 or 5 V”, the base–emitter junctions of Q1 is forward biased (Q1 operate in
inverse active mode). So, i1 passes to the base of Q2 and Q0. and transistors Q2 and Qo are driven into saturation “ON”.
VE > VB
vO = VCEsat = 0.1 V
vB2 = VCEsat Q1 + Vx = 0.1 + 0.1 = 0.2 V. Therefore, Q2 and Q0. are biased in cutoff “OFF”.
VCC – VB1
i1 = i2 = i3 = i4 = 0 A , vBo = 0 V. vo = VCC = 5 V “defined as logic 1”.
R1
PD = (i1 + i2 + i3 ) ( VCC – 0)
if vX = vY = logic 0
PD = (i1) (VCC – 0)
PD(0) + PD(1)
PDaverage = 2
Combinational Logic
Combinational logic circuit: we can combine different logic gates in the circuit, this circuit
hasn’t any memory.
For example, NMOS and PMOS transistors can be used together. So, it is called CMOS.
Advantages of CMOS
The highest speed and least power consumption, then NMOS, then PMOS.
We will design a combinational logic circuit using NMOS and PMOS transistors. How ?
CMOS Logic Gates
MOS transistors can be used as ON/OFF switches. They are two types n-channel (NMOS) and p-channel (PMOS).
Truth table
A Y
0 1
1 0 CMOS Inverter circuit
2- When the input “A” is 1, the pMOS transistor is OFF and nMOS transistor is ON.
The output Y will be “0”..
CMOS Logic Gates
CMOS AND Circuit
Series Connection
CMOS OR Circuit
Parallel Connection
Fig. 1
Solution
Y = A . B + C. D
CMOS Logic Gates
Function of Transmission Gate: it is used as bi-directional switch that controlled by control signals.
Transmission Gate
CMOS Logic Gates
Advantages
Disadvantages
Transition Time: The amount of time that the output of a logic circuit takes to change from one state to another
Rise Time (tr): is the time taken by the output to change from LOW to HIGH.
Fall Time (tf): is the time taken by the output to change from HIGH to LOW.
CMOS Logic Gates
Dynamic Electrical Behavior of CMOS
The switching speed and power consumption of CMOS gates are depend on the dynamic characteristics and a load.
1- AC “dynamic” characteristics of the CMOS, which are the output changes between states.
2- Its load which consists of DC load (RL and VL) and AC load (CL).
The rise time and fall time of a CMOS output depend on load capacitance (CL), if CL increases, transition time will be increase
Load
Rn CL is time constant
CMOS Logic Gates
Dynamic Power of a CMOS Circuit
Due to charging and discharging the CL
𝑃𝑇 = 𝐶𝑃𝐷 × 𝑓 × (𝑉𝐷𝐷)2
𝑃𝐷 = 𝑃𝑇 + 𝑃𝐿
BiCMOS Logic Gates
BiCMOS Inverter
It combine between advantages of BJT and CMOS transistors.
2- If Vin = 5 V “logic 1”
T4 will be off. so, T2 will be off. T3 is on and supplies base current to T1 which
conducts and acts as current source to charge the load CL which discharges
through it to 0 V “GND”.
Random Access Memory (RAM): a read–write memory in which each individual cell can be
addressed at any particular time.
Read-Only Memory (ROM): The set of data in this memory is considered to be fixed.
Fan-out 5 25 8 10 50
Speed power product 144 pJ 0.5 pJ 1800 pJ 100 pJ 0.7 pJ
Power supply voltage Fixed 5 V - 4.5 to - 5.2 V Fixed 5 V Fixed 5 V 3 to 15 V
References
[1] R. P. Jain, "Modern Digital Electronics", 3rd ed., McGraw Hill Publication, India, 2003.
[2] Donald. A. Neamen "Microelectronics Circuit Analysis and Design", 4th ed., 2018.
[3] A. Anand Kumar, "Fundamental of Digital Circuits", 1ist ed., USA, 2016.