Lecture 12: Sequential Networks: Timing (contd), Standard Modules
CSE 140: Components and Design Techniques for Digital Systems
Diba Mirza
- Dept. of Computer Science and Engineering
University of California, San Diego
1
Lecture 12: Sequential Networks: Timing (contd), Standard Modules - - PowerPoint PPT Presentation
Lecture 12: Sequential Networks: Timing (contd), Standard Modules CSE 140: Components and Design Techniques for Digital Systems Diba Mirza Dept. of Computer Science and Engineering University of California, San Diego 1 Clock Skew The
Diba Mirza
University of California, San Diego
1
violated for any register – many registers in a system!
2
3
4
CLK1 Q1 D2 Tc tpcq tpd tsetuptskew C L CLK2 CLK1 R1 R2 Q1 D2 CLK2
5
CLK CLK A B C D X' Y' X Y
Timing Characteristics
tccq = 30 ps tpcq = 50 ps tsetup = 60 ps thold = 70 ps tpd = 35 ps tcd = 25 ps tskew = 50 ps
tpd = 3 x 35 ps = 105 ps tcd = 25 ps Setup time constraint: What is the minimum allowable clock period given that the clocks are skewed by 50ps?
6
CLK CLK A B C D X' Y' X Y
Timing Characteristics
tccq = 30 ps tpcq = 50 ps tsetup = 60 ps thold = 70 ps tpd = 35 ps tcd = 25 ps tskew = 50 ps
tpd = 3 x 35 ps = 105 ps tcd = 25 ps Setup time constraint: Tc ≥ 265 ps fc = 1/Tc =3.77 GHz Without skew we got fc =4.65 GHz
7
tccq tcd thold Q1 D2 tskew C L CLK2 CLK1 R1 R2 Q1 D2 CLK2 CLK1
8
Timing Characteristics
tccq = 30 ps tpcq = 50 ps tsetup = 60 ps thold = 70 ps tpd = 35 ps tcd = 25 ps tskew = 50 ps
tpd = 3 x 35 ps = 105 ps tcd = 2 x 25 ps = 50 ps Hold time constraint: tccq + tcd > thold + tskew? (30 + 50) ps > (70 ps +50) ps ?
CLK CLK A B C D X' Y' X Y
Add buffers to the shortest paths:
9
10
11
Registers Decoder: Decode the address to assert the addressed device Mux: Select the inputs according to the index addressed by the control signals
Memory Bank
Mux
Demux
Decoder
Mux
Data Address
Address k Address 2 Address 1 Data 1 Data k
n n-m m 2m
12
13
y0 y1 y7
I0 I1 I2 1 2
1 2 3 4 5 6 7
. .
14
2:4 Decoder A1 A0 Y3 Y2 Y1 Y0 00 01 10 11 1 1 1 1 1 Y3 Y2 Y1 Y0 A0 A1 1 1 1
15
En
. .
2:4 Decoder A1 A0 Y3 Y2 Y1 Y0 00 01 10 11 1 1 1 1 1 Y3 Y2 Y1 Y0 A0 A1 1 1 1
16
2:4 Decoder A1 A0 Y3 Y2 Y1 Y0 00 01 10 11 1 1 1 1 1 Y3 Y2 Y1 Y0 A0 A1 1 1 1
17
2:4 Decoder A B 00 01 10 11 Y = AB + AB Y AB AB AB AB Minterm = A ⊕ B
18
19
How many 2:4 decoders are required to implement the above function? A. One B. Two C. Three D. Four
20
How many 1:2 decoders are required to implement the above function? A. Three B. Four C. Six D. Seven
21
I0
y0 y1 y7
I1 I2
1 2 3 4 5 6 7
I0
y8 y9 y15
I1 I2
1 2 3 4 5 6 7
22
En
I2, I1, I0
En I2, I1, I0 I2, I1, I0 I5, I4, I3
23
24
Processors Decoder: Decode the address to assert the addressed device Mux: Select the inputs according to the index addressed by the control signals
Memory Bank
Mux
Demux
Decoder
Mux
Data Address
Address k Address 2 Address 1 Data 1 Data k
n n-m m 2m
25
26
y0 y1 y2
1 2 3 4 5 6 7
I0 I7
1 2
27
En I1 I3 I5 I7 y0 En I2 I3 I6 I7 y1 En I4 I5 I6 I7 y2 En I0 I1 I6 I7 A . .
28
29
Processors Decoder: Decode the address to assert the addressed device Mux: Select the inputs according to the index addressed by the control signals
Memory Bank
Mux
Demux
Decoder
Mux
Data Address
Address k Address 2 Address 1 Data 1 Data k
n n-m m 2m
En y S1 S0
1 2 3
30
31
En =1 y S=1
1
Y 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 S D0 Y D1 D1 D0 S Y 1 D1 D0 S
32
00
01 10 11
33
34
Id a b c f 0 0 0 0 1 1 0 0 1 1 2 0 1 0 - 3 0 1 1 0 4 1 0 0 0 5 1 0 1 0 6 1 1 0 0 7 1 1 1 1
35
Id a b c f 0 0 0 0 1 1 0 0 1 1 2 0 1 0 - 3 0 1 1 0 4 1 0 0 0 5 1 0 1 0 6 1 1 0 0 7 1 1 1 1 En
1 1 1
S2 S1 S0
1 2 3 4 5 6 7 36
S1 S0
37
Id a b c f 0 0 0 0 1 1 0 0 1 1 2 0 1 0 - 3 0 1 1 0 4 1 0 0 0 5 1 0 1 0 6 1 1 0 0 7 1 1 1 1 D (c)
D0 (c) =1 D1 (c) =0 D2 (c) =0 D3 (c) =c
a 1 1 b 1 1 c = 0 1
1 1 D (c)
D0 (c) =1 D1 (c) =0 D2 (c) =0 D3 (c) =c
S1 S0
38
a
39
Id a b c f 0 0 0 0 1 1 0 0 1 1 2 0 1 0 - 3 0 1 1 0 4 1 0 0 0 5 1 0 1 0 6 1 1 0 0 7 1 1 1 1
b 1 c = 0 c = 1 1 l1(0) = 0 l1(c) = c
a
40
1
c b 0 0 0 1 c b
b 1 c = 0 c = 1 1 l1(0) = 0 l1(c) = c
a b
41
42
43
En 1 3 2 1 0
En
44
y 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
45