Escolar Documentos
Profissional Documentos
Cultura Documentos
Sequential Circuits
Difference b/w combinational & sequential circuits
inputs p
Combinational Circuit
outputs
inputs
Combinational Circuit
outputs
Memory Elements
Sequential Circuits
Motivation
S (a) Circuit t1 1 R 0 1 S 0 1 Qa 0 1 Qb 0 t2 t3
Qb
S 1 1 0 0
R 1 0 1 0
Qa 0/1 0 1 1
Q
(b) Characteristic Table
S Q Clk Q R
Clk 0 1 1 1 1 S x 0 0 1 1 R x 0 1 0 1 Q(t+1) Q(t) Q(t) 0 1 x (no change) (no change)
Clk Q
Clk Q
Clock P2 6 Q
P4
Clock
(a) Circuit
(a) Circuit
Clock D Qa Qb Qc
Clear (a) Circuit Preset D Q Q Clear (b) Graphical symbol Fundamentals of Digital Logic Department of Electrical Engineering
7.5 T Flip-Flops
T 0 D T Q Q Q Q 1 Q( t + 1) Q( t ) Q( t )
Clock
Q Q
(a) Circuit
Clock T Q
7.6 JK Flip-Flops
J D K Clock Q Q Q Q
(a) Circuit
J K Q ( t + 1) 0 0 1 1 0 1 0 1 Q (t) 0 1 Q (t ) J K Q Q
7.8 Registers
In Cl k Clock D Q Q Q1 D Q Q Q2 D Q Q Q3 D Q Q Q4 Out
(a) Circuit
In t0 t1 t2 t3 t4 t5 t6 t7
Fundamentals of Digital Logic
Q1 0 1 0 1 1 1 0 0
Q2 0 0 1 0 1 1 1 0
Q3 0 0 0 1 0 1 1 1
Q4 = Out 0 0 0 0 1 0 1 1
Department of Electrical Engineering
1 0 1 1 1 0 0 0
7.8 Registers
Parallel output Q3 Q2 Q1 Q0
Q Q
Q Q
Q Q
Q Q
Serial input
Shift/Load
Parallel input
Clock
Department of Electrical Engineering
7.9 Counters
1 Clock T Q Q T Q Q T Q Q
Q0
Q1
Q2
(a) Circuit
Clock Q0 Q1 Q2 Count 0 1 2 3 4 5 6 7 0
7.9 Counters
1 Clock T Q Q T Q Q T Q Q
Q0
Q1
Q2
(a) Circuit
Clock Q0 Q1 Q2 Count 0 7 6 5 4 3 2 1 0
Designing Counters
A sequential circuit that goes through a prescribed sequence of states upon the application of input pulses is called a counter.
Design Procedure 1. State Diagram (Showing Count Sequence) 2. Excitation Table for counter (Showing Present State, Next State & FlipFlip -Flop Inputs) 3. In step 2, we need excitation tables for respective flip flops. 4 4. After finding Aft fi di the th flip fli fl flop i inputs, t th the logic l i expressions i f for fli flip fl flop i inputs t are obtained. The counter is implemented. p
5.
Designing Counters
(a) Circuit
Clock Q0 Q1 Q2 Q3 Count 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1
Enable Clock
Clear
D Q Q
Q1
D Q Q
Q2
D Q Q Clock
Fundamentals of Digital Logic
Q3 Output carry
Enable D0
0 1
Q Q
Q0
D1
0 1
Q Q
Q1
D2
0 1
Q Q
Q2
D3
0 1
Q Q
Q3
Q0 Q1 Q2
Clock
(a) Circuit
Clock Q0 Q1 Q2 Count 0 1 2 3 4 5 0 1
(a) Circuit
Clock Q0 Q1 Q2 Count 0 1 2 3 4 5 0 1 2
BCD 0
Q0 Q1 Q2 Q3
BCD 1
Q Q
Q Q
Q Q
Clock C oc
(a) An
Q2 y2 w0
y0 w1
y1
y3
2-to-4 decoder En
1 Q1 Q
0
Clock
Clock
Q0
Q1
Qn 1
Q Q
Q Q
Q Q
Reset Clock