Professional Documents
Culture Documents
4-Bit ALU: Specifications
4-Bit ALU: Specifications
Specifications
Functionality: AND, OR , XOR, ADD Maximum propagation delay : 2ns Power budget: 30mW Area: 200 m 400m
Prepared by: Christie Ma, Manjul Mishra, Ka Yung Presented to : Dr. David Parent Date: 7th May, 2003
Highlights
Introduction- How does the circuit work Approach for the design Individual blocks AND gate, OR gate, XOR gate, Full Adder, and 4-to-1 MUX Wiring of 1-bit and 4-bit ALU Verification of functionality test vectors Post extracted simulation with propagation delay Power consumption Conclusions
Circuit Functionality
S1
A0 B0 A0 B0
S0
A0 B0
A0 B0 C0
4:1 MUX
F0
Control signal S1 S0 Operation
ADD Cout0
Block diagram for 1-bit ALU
A and B
0 1 1
1 0 1
A or B A xor B A add B
3
A0 B0 C0
A1 B1
1-bit ALU
Cout0
F0
1-bit ALU
Cout1
F1
A2 B2
1-bit ALU
Cout2
F2
A3 B3
1-bit ALU
Cout3
F3
Design Flow
Sketch schematic according to Boolean Algebra Find Euler Path Draw stick diagram Verify functionality Calculate Wn Wp for each block Run DRC, LVS, extracted simulation for 4-bit ALU Measure power used
Run DRC, LVS, extracted simulation for small blocks Route small blocks together to form 1-bit ALU
5
AND2 schematic
Wp=5.4 m
Wn=15.15 m
OR2 Schematic
Wp=8.4m
Wp=5.85 m
Wn=10.2 m
Wn=14.25 m
XOR2 Schematic
Wp=15.9m
Wn=23.4m
11
Wp=6.15m Wn=3.6m
12
13
14
16
17
18
19
AND
OR
21
22
23
24
Test Vectors
Walking ones for inputs on all operations (1-8) Testing for Cout and Cin (9, 10)
25
Simulation Results
A3 = 1, Ax = 0, Bx = 0
26
Simulation Results
A2 = 1, Ax = 0, Bx = 0
27
Simulation Results
A1 = 1, Ax = 0, Bx = 0
28
Simulation Results
A0 = 1, Ax = 0, Bx = 0
29
Simulation Results
B3 = 1, Ax = 0, Bx = 0
30
Simulation Results
B2 = 1, Ax = 0, Bx = 0
31
Simulation Results
B1 = 1, Ax = 0, Bx = 0
32
Simulation Results
B0 = 1, Ax = 0, Bx = 0
33
34
35
274.1ps
36
237.9 ps
37
226.7ps
38
39
495.5 ps
330.4 ps
40
t F2 = 705.9ps
t F3 = 698.2ps
41
t F2 = 693.8 ps
t F3 = 673.2 ps
42
t F2 = 661.2 ps
t F3 = 678.7 ps
43
t F0 = 987.9 ps
t F1 = 1.383 ns
44
t F2= 1.484 ns
t F3 = 1.949 ns
45
t Cout3 = 1.339 ns
46
Power = 26.8 mW
47
Power = 26.69 mW
48
Power = 21.38mW
49
Power = 23.35mW
50
Conclusions
We meet the specifications!
Specifications Largest Propagation delay Maximum Power Area 2.0 ns 30 mW 200 m 400m Our circuit 1.95ns 26.8 mW 197 m 347.4m
51