Professional Documents
Culture Documents
Current State
Next state
Registers
Q D
CLK
Output not only depends upon the current values of the inputs,
but also upon preceding input values.
D DATA CLK
STABLE t
tc q
Q DATA
STABLE t
Also:
tcdreg + tcdlogic > thold
a register is edge-triggered.
D Q D Q
Clk Clk
Clk Clk
D D
Q Q
Nebyu Yonas & Henok
8 Teklewold
AAIT, School of Electrical
and Computer Engineering
Latches
Positive Latch Negative Latch
In D Q Out In D Q Out
G G
CLK CLK
clk clk
In In
Out Out
Vo 2 = Vi 1
Q 0 Q
1
D 0 D 1
CLK CLK
CLK
CLK
Similar functionality to SR-latch but advantage
that the sizing of the device
Nebyu Yonas & Henok
12 Teklewold
AAIT, School of Electrical
and Computer Engineering
(Positive Edge-Triggered) Register
The most common approach for constructing an edge-
triggered register is to use a master-slave configuration
Slave
Master
0 Q D
1 QM
1
QM
D 0 Q
CLK
CLK
I2 T2 I3 I5 T4 I6 Q
QM
D I1 T1 I4 T3
CLK
CLK
D Q
D
CLK
CLK
Nebyu Yonas & Henok
15 Teklewold
AAIT, School of Electrical
and Computer Engineering
Other Latches/Registers: C MOS(Clocked CMOS) Register 2
VDD VDD
• insensitive to
clock overlap M2 M6
CLK M4 CLK M8
X
D Q
CL1 CL2
CLK M3 CLK M7
M1 M5
Master Stage
• CLK = 0 (CLK’ = 1): The first tri-state driver is turned on, and the master stage acts
as an inverter sampling the inverted version of D on the internal node X. The master
stage is in the evaluation mode. Meanwhile, the slave section is in a high impedance
mode, or in a hold mode.
• Both transistors M7 and M8 are off, decoupling the output from the input. The output
Q retains its previous value stored on the output capacitor CL2
Nebyu Yonas & Henok
16 Teklewold
AAIT, School of Electrical
and Computer Engineering
Pipelining
REG
REG a
REG
REG
REG
CLK log Out
REG
log Out
REG
CLK b CLK CLK CLK
REG
b CLK
CLK
CLK Pipelined
Reference
Reading assignment
Read about ALU Design.