Download presentation
Presentation is loading. Please wait.
1
CS 140 Lecture 9 Professor CK Cheng 10/24/02
2
Sequential Network 1.Components F-Fs 2.Specification D Q Q’ CLK
3
Combinational CLK A BC A typical sequential network has both a combinational and sequential part.
4
CLK t t t t setup t hold A B tcqtcq t C t setup - data arrive before t hold – data keep steady after T cq- data appear after rising edge of CLK
5
Combinational CLK A BC t cq + t comb + t setup < T t hold > t cq + t comb Clock period Shortest path
6
x D Q Q’ D Q y t setup = 2 t hold = 1.5 t cq = 1.7 t and, t or = 3 T = 1.7 + 3 + 2 = 6.7
7
Netlist State Table State Diagram Input Output Relation x Q0Q0 Q1Q1 D Q Q’ D Q y Q1Q1 Q0Q0 D1D1 D0D0 y(t) = Q 1 (t)Q 0 (t) Q 0 (t+1) = D 0 (t) = x(t)Q 1 (t) Q 1 (t+1) = D 1 (t) = x(t) + Q 0 (t)
8
0 0 1 1 0 1 PS inputs x=0 x=1 State table 00, 0 10, 0 10, 0 00, 0 11, 0 10, 1 11, 1 Q 1 (t) Q 0 (t) Q 1 (t+1) Q 0 (t+1), y(t) s0s1s2s3s0s1s2s3 PS inputs x=0 x=1 s 0, 0 s 2, 0 s 2, 0 s 0, 0 s 3, 0 s 2, 1 s 3, 1 Let: s 0 = 00 s 1 = 01 s 2 = 10 s 3 = 11 ( Let’s remake the state table using symbols instead of binary code, e.g. ’00’)
9
State Diagram s1s1 s2s2 s3s3 s0s0 0,1/0 1/0 0/1 1/0 0/0 1/1 Example Run (sequence of inputs and outputs) Time0 1 2 3 4 Input0 1 1 0 1 State s 0 s 0 s 2 s 3 s 2 Output 0 0 0 1 0 x/y
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.