VLSI Design-R19-Unit-4-ToTAL-CMOS Combinational & Sequential Logic Circuit Design
VLSI Design-R19-Unit-4-ToTAL-CMOS Combinational & Sequential Logic Circuit Design
Integrated Circuits
A Design Perspective
Jan M. Rabaey
Anantha Chandrakasan
Borivoje Nikolić
VLSI Design-R-19-Unit-4-Part-1
CMOS Combinational Logic Circuit
Design
1
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Combinational vs. Sequential Logic
In Out
Combinational Combinational
In Logic Out Logic
Circuit Circuit
State
Combinational Sequential
2
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Static CMOS Circuit
At every point in time (except during the switching
transients) each gate output is connected to either
VDD or Vss via a low-resistive path.
The outputs of the gates assume at all times the value
of the Boolean function, implemented by the circuit
(ignoring, once again, the transient effects during
switching periods).
This is in contrast to the dynamic circuit class, which
relies on temporary storage of signal values on the
capacitance of high impedance circuit nodes.
3
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Static Complementary CMOS
VDD
In1
PMOS only
In2 PUN
InN
F(In1,In2,…InN)
In1
In2 PDN
NMOS only
InN
4
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
NMOS Transistors
in Series/Parallel Connection
Transistors can be thought as a switch controlled by its gate signal
NMOS switch closes when switch control input is high
A B
X Y Y = X if A and B
X B Y = X if A OR B
Y
A B
X Y Y = X if A AND B = A + B
X B Y = X if A OR B = AB
Y
7
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Example Gate: NAND
8
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Example Gate: NOR
9
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Complex CMOS Gate
B
A
C
D
OUT = D + A • (B + C)
A
D
B C
10
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Constructing a Complex Gate
VDD VDD
C
SN1 F SN4 A
F
SN2 B
A A
D D SN3
B C B C D
11
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
CMOS Properties( or advantages)
Full rail-to-rail swing; high noise margins
Logic levels not dependent upon the relative
device sizes; ratioless
Always a path to Vdd or Gnd in steady state;
low output impedance
Extremely high input resistance; nearly zero
steady-state input current
No direct path steady state between power
and ground; no static power dissipation
Propagation delay is function of load
capacitance and resistance of transistors
12
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Ratioed Logic
13
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Ratioed Logic
14
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Ratioed Logic
VDD
• N transistors + Load
Resistive
Load • VOH = V DD
RL
• VOL = RPN
F RPN + RL
15
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Active Loads
VDD VDD
Depletion PMOS
Load VT < 0 Load
VSS
F F
In1 In1
In2 PDN In2 PDN
In3 In3
VSS VSS
16
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Pseudo-NMOS
VDD
F
CL
A B C D
V2 k 2
k V – V V OL p V
n DD Tn OL
– ------------- = ------ DD
– V
Tp
2 2
kp
V OL = VDD – V T 1 – 1 – ------ (assuming that V T = V Tn = VTp )
kn
M1 M2
Out Out
A
A PDN1 PDN2
B
B
VSS VSS
18
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
DCVSL Example
Out
Out
B B B B
A A
XOR-NXOR gate
19
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Pass-Transistor
Logic
20
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Pass-Transistor Logic
Switch Out A
Out
Inputs
Network B
B
• N transistors
• No static consumption
21
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Example: AND Gate
A
B
F = AB
22
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Transmission Gate
C
C
A B A B
C
C
C = 2.5 V
A = 2.5 V
B
CL
C=0V
23
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Pass-Transistor Based Multiplexer
V DD
S
A
M2
S F
M1
B
24
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Dynamic Logic
25
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Dynamic CMOS
In static circuits at every point in time (except
when switching) the output is connected to
either GND or VDD via a low resistance path.
fan-in of n requires 2n (n N-type + n P-type)
devices
off
Clk Mp Clk Mp on
1
Out Out
In1 CL ((AB)+C)
A
In2 PDN
C
In3
B
Clk Me
off
Clk Me on
29
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Properties (Advantages) of Dynamic Gates
30
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Properties (Disadvantages) of Dynamic Gates
32
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Speed and power dissipation of Dynamic Logic
A CL
VOut Evaluate
Clk Me
Precharge
Leakage sources
Clk Mp Mkp
A Out
CL
B
Clk Me
35
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Issues in Dynamic Design 2:
Charge Sharing or redistribution
Clk Me CB
36
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Solution to Charge Sharing or redistribution
Clk Me
37
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Issues in Dynamic Design 3:
Backgate Coupling
Clk Mp Out1 =1
Out2 =0
A=0 In
CL1 CL2
B=0
Clk Me
38
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Issues in Dynamic Design 4: Clock
Feedthrough
39
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Clock Feedthrough
Clock feedthrough
Clk
Out 2.5
In1
In2 1.5
In3 In &
0.5 Clk
In4 Out
Clk -0.5
0 0.5 Time, ns 1
Clock feedthrough
40
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Other Effects
Capacitive coupling
Substrate coupling
Minority charge injection
Supply noise (ground bounce)
41
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Cascading Dynamic Gates
V
V
Out2
43
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Domino Logic
Clk Me Clk Me
44
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Properties of Domino Logic
45
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Choosing a Logic style
46
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Choosing a Logic style
47
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Gate design in the Ultra Deep-Submicron
Era(Nanometer Technology)
Ultra deep submicron means latest nanometer technology
such as 22 nm, 7 nm, 4 nm etc.
Reason for going to Ultra deep submicron technology is to
increase packaging density and fabricate very small area
chips and devices(miniaturization).
In Ultra deep submicron technology channel length is very
very small, and we call it as Short channel.
Also we use lower supply voltages and threshold voltages to
minimize Power dissipation.
Subthreshold leakage current is a very serious issue in Short
channel MOS transistors in Ultra deep submicron era.
Gate design in the Ultra deep submicron technology needs
to consider the following short channel effects :
48
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Gate design in the Ultra Deep-Submicron
Era(Nanometer Technology)
1.Velocity saturation
2.Channel depletion region charge reduction
3.Drain Induced Barrier lowering(DIBL)
4.Punch-through effect
5.Hot electron effects
6.Narrow channel effect
7.Thinning of oxide layer thickness(tox)
So due to above short channel effects large subthreshold
leakage current results.
So Gate design in ultra deep submicron era have to address
the above short channel effects and special designs are
needed to minimize leakage current and increase speed.
49
© Digital
EE141 Integrated Circuits2nd Combinational Circuits
Source:Digital
Integrated Circuits
A Design Perspective
Jan M. Rabaey
Anantha Chandrakasan
Borivoje Nikolic
VLSI Design-R19-Unit-4-Part-2
CMOS Sequential Logic Circuit
Design
Current State
Next state
Registers
Q D
CLK
2 storage(Memory) mechanisms
• positive feedback
• charge-based
Here
a latch is level sensitive
a register is edge-triggered
D Q D Q
Clk Clk
Clk Clk
D D
Q Q
A Positive latch passes the D input to the Q A negative latch passes the D input to
output(transparent) when the clock signal is high. the Q output (transparent) when the
clock signal is low.
© Digital Integrated Circuits2nd
Sequential Circuits
Latch-Based Design
In this the design of the sequential circuits such as Registers, counters
etc. involve Negative latch and Positive latches as shown in fig.
N P
Logic
Latch Latch
Logic
CLK
t Register
tsu thold D Q
D DATA CLK
STABLE t
tc 2 q
Fig.Timing definitions of a
Q DATA
Synchronous register
STABLE t
Assuming that the set-up and hold-times are met, the data at the D input is copied
to the Q output after a worst-case propagation delay (with reference to the clock
edge) denoted by tc-q.
Meta-Stability : Gain
should be larger
than 1 in the
transition region
Multiplexer-
based latch pair
© Digital Integrated Circuits2nd
Sequential Circuits
Timing Properties of Multiplexer-based Master-Slave Registers
2.Hold Time:
CLK CLK
(a) Schematic diagram
CLK
CLK
(b) Overlapping clock pairs
Fig.(a).Master-slave register based on NMOS-only pass transistors.
CLK
CLK
D Q
Q
CLK
CLK
D
CLK