Chapter 5 <1>
Digital Design and Computer Architecture, 2nd Edition
Chapter 5
David Money Harris and Sarah L. Harris
Chapter 5 Digital Design and Computer Architecture , 2 nd Edition - - PowerPoint PPT Presentation
Chapter 5 Digital Design and Computer Architecture , 2 nd Edition David Money Harris and Sarah L. Harris Chapter 5 <1> Chapter 5 :: Topics Introduction Arithmetic Circuits Number Systems Sequential Building Blocks Memory
Chapter 5 <1>
David Money Harris and Sarah L. Harris
Chapter 5 <2>
Chapter 5 <3>
Chapter 5 <4>
A B 1 1 1 1 S Cout S = Cout =
Half Adder
A B S Cout
+ A B 1 1 1 1 S Cout S = Cout =
Full Adder
Cin 1 1 1 1 1 1 1 1
A B S Cout Cin
+
Chapter 5 <5>
A B 1 1 1 1 1 1 S Cout 1 S = Cout =
Half Adder
A B S Cout
+ A B 1 1 1 1 1 1 S Cout 1 S = Cout =
Full Adder
Cin 1 1 1 1 1 1 1 1 1 1 1 1 1
A B S Cout Cin
+
Chapter 5 <6>
A B 1 1 1 1 1 1 S Cout 1 S = A B Cout = AB
Half Adder
A B S Cout
+ A B 1 1 1 1 1 1 S Cout 1 S = A B Cin Cout = AB + ACin + BCin
Full Adder
Cin 1 1 1 1 1 1 1 1 1 1 1 1 1
A B S Cout Cin
+
Chapter 5 <7>
A B S Cout Cin +
N N N
Chapter 5 <8>
S31 A30 B30 S30 A1 B1 S1 A0 B0 S0 C30 C29 C1 C0 Cout + + + + A31 B31 Cin
Chapter 5 <9>
Chapter 5 <10>
– Column i produces a carry out by either generating a carry out
Chapter 5 <11>
– Column i produces a carry out by either generating a carry out
– Generate (Gi) and propagate (Pi) signals for each column:
both 1.
Chapter 5 <12>
– Column i produces a carry out by either generating a carry out
– Generate (Gi) and propagate (Pi) signals for each column:
both 1.
if Ai OR Bi is 1.
Chapter 5 <13>
– Column i produces a carry out by either generating a carry out
– Generate (Gi) and propagate (Pi) signals for each column:
both 1.
if Ai OR Bi is 1.
Chapter 5 <14>
– Column i produces a carry out by either generating a carry out
– Generate (Gi) and propagate (Pi) signals for each column:
both 1.
if Ai OR Bi is 1.
Chapter 5 <15>
Chapter 5 <16>
Chapter 5 <17>
Chapter 5 <18>
Chapter 5 <19>
Chapter 5 <20>
S31 A30 B30 S30 A1 B1 S1 A0 B0 S0 C30 C29 C1 C0 Cout + + + + A31 B31 Cin
Chapter 5 <21>
B0 + + + + P3:0 G3 P3 G2 P2 G1 P1 G0 P3 P2 P1 P0 G3:0 Cin Cout A0 S0 C0 B1 A1 S1 C1 B2 A2 S2 C2 B3 A3 S3 Cin A3:0 B3:0 S3:0 4-bit CLA Block Cin A7:4 B7:4 S7:4 4-bit CLA Block C3 C7 A27:24 B27:24 S27:24 4-bit CLA Block C23 A31:28 B31:28 S31:28 4-bit CLA Block C27 Cout
Chapter 5 <22>
– tpg : delay to generate all Pi, Gi – tpg_block : delay to generate all Pi:j, Gi:j – tAND_OR : delay from Cin to Cout of final AND/OR gate in k-bit CLA block
Chapter 5 <23>
AND/OR 6 Gates for 𝐻3:0 3 Gates for 𝐷𝑗𝑜 → 𝐷𝑝𝑣𝑢
Chapter 5 <24>
N N N N N N N
Chapter 5 <25>
4 4
Chapter 5 <26>
Q CLK Reset
N + N 1
CLK Reset
N N
Q
N r
– 000, 001, 010, 011, 100, 101, 110, 111, 000, 001…
– Digital clock displays – Program counter: keeps track of current instruction executing
Chapter 5 <27>
Q CLK Reset
N + N 1
CLK Reset
N N
Q
N r
– 000, 001, 010, 011, 100, 101, 110, 111, 000, 001…
– Digital clock displays – Program counter: keeps track of current instruction executing
Chapter 5 <28>
N
Q Sin Sout
Chapter 5 <29>
N
Q Sin Sout
CLK Sin Sout Q0 Q1 QN-1 Q2