Presentation is loading. Please wait.

Presentation is loading. Please wait.

Design of 4-bit ALU.

Similar presentations


Presentation on theme: "Design of 4-bit ALU."— Presentation transcript:

1 Design of 4-bit ALU

2 Agenda Abstract Introduction Why Simple Theory Project Details
Block Diagram Schematics Layout Verification: DRC, Extract, LVS Simulation Results Cost Analysis Conclusion

3 Abstract Aim of the project is to design a 4-bit ALU to perform seven arithmetic operations and four logic operations. The circuit is designed so as to meet the following specifications: Frequency: 200MHz Power : 23W/cm2 Area : 400x400µm2 The results are verified with AMI06 technology, Spectre spice simulation tools.

4 Introduction ALU is a fundamental unit of several combinational circuits. Learning ALU design aids in designing complex circuits. All the arithmetic operations are performed by the Carry look ahead adder using a B-input logic.The B-input logic is based on the equation Y=BiS0+Bi’S1 The logic operations are performed using basic gates. Two select lines are used to perform the operations on two 4 bit inputs in both the units. The third select line is used to select either one of the units.

5 Introduction Cont’d. Function Table for ALU M S1 S0 CIN Operation
Out =A Transfer A Out=A+1 Increment A Out =A+B Addition Out=A+B+1 Add with Carry Out=A+B’ A plus 1’s complement of B Out=A+B’+1 Subtraction Out=A-1 Decrement A Out=A X Out=A & B AND Out=A | B OR Out=A^B XOR Out=A’ NOT(1’sComplement)

6 Project Details The B-input logic with CLA reduces the complexity of the circuit.The CLA consists of propagate/generate block, carry generator and sum block. The critical path for the circuit is from the input B2 to the output out3 for the subtraction operation. 4to1 Mux selects the logic operations based on the select lines in the logic unit. Finally a 2to1 Mux selects between arithmetic and logic unit. Mux based D-flipflops are used in the circuit with .7ns setup and hold time. The sizing and layout of the gates are cell based.

7 Project Details Cont’d
Longest path has 17 logic levels including the input and output flipflops. A load of 20fF is assumed as the load for long path calculation from DFF. Long Path Calculation(Arithmetic Unit) τPHL=5ns/(13+4)=0.29ns for each logic level

8 4-Bit ALU Block Diagram

9 Logic Verified in NC-Verilog
B-Input Logic Propagate/Generate Carry Generator

10 4-bit Arithmetic Unit Schematic

11 1-Bit Logic Unit Schematic

12 ALU Test Bench Schematic
The inputs (A,B,CIN) and select lines (M,S0,S1)are set for worst case.

13 Layout of 4-Bit ALU

14 Verification DRC Extracted LVS Report

15 Simulation Result : Subtraction

16 Simulation Result: XOR

17 Simulation Result: Power For 4-bit ALU

18 Cost Analysis Time is money ! Time spent on each phase is:
Design and Implementation Phase: Logic design and NC Verilog check– Week. Transitor level design and simulation – Week. Timing check, Stick Diagram and Layout- 1 week. Verification and Testing Phase: Post extraction, Power simulation & Time check day

19 Conclusion Designed and tested a 4 bit ALU that performs seven arithmetic and four logic operations at : 200 Mhz clock Power: 11.6W/cm2 Area: 333x412 μm2 The project meets all the given specifications This design concept can be a building block for higher bit ALU ex. 16-bit, 32-bit…

20 Acknowledgement Thanks to Professor David Parent for his guidance throughout the project. Thanks to Cadence Design Systems for the VLSI lab. Thanks to TA for helping us in the lab. Thanks to our classmates.


Download ppt "Design of 4-bit ALU."

Similar presentations


Ads by Google