Hardware Design of an Arithmetic Logic Unit (ALU)

1 / 16

# Hardware Design of an Arithmetic Logic Unit (ALU) - PowerPoint PPT Presentation

Hardware Design of an Arithmetic Logic Unit (ALU). Felix Noble Mirayma V. Rodriguez Agnes Velez. University of Puerto Rico Mayagüez Campus Mayagüez, Puerto Rico Department of Electrical and Computer Engineering. Outline. Introduction ALU Design Full Adder A input device B input device

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.

## PowerPoint Slideshow about 'Hardware Design of an Arithmetic Logic Unit (ALU)' - alden-hinton

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

### Hardware Design of an Arithmetic Logic Unit (ALU)

Felix Noble

Mirayma V. Rodriguez

Agnes Velez

University of Puerto Rico

Mayagüez Campus

Mayagüez, Puerto Rico

Department of Electrical and Computer Engineering

Outline
• Introduction
• ALU Design
• A input device
• B input device
• Logical Operation Device
• Conclusion
• Future Work
• References
• Acknowledgements
Introduction
• An arithmetic-logic unit (ALU) is the part of a computer processor (CPU) that carries out arithmetic and logic operations on the operands in computer instruction words.
• The ALU includes storage places for input operands, operands that are being added, the accumulated result (stored in an accumulator), and shifted results. The flow of bits and the operations performed on them in the subunits of the ALU is controlled by gated circuits.
ALU Design
• The ALU is a combinational circuit that continuously computes its outputs as a function of its inputs. A change in its inputs will produce valid outputs by the strobe time of the current clock cycle.
• This ALU uses only one bus and consist of a full adder, two inputs, A and B, and a logical device, which is the part in charge of the ands, ors, and shifts.
• The 8-bit full adder consists of eight 1-bit full adders. Each 1-bit adder has three inputs and two outputs. It receives two bits to add and a carry-in if needed. The outputs are the sum and a carry-out if generated.

A input device
• The A input part of the chip consist of 8 AND gates and three OR gates connected as follows to makes the instruction of ADD and SUB corresponding to the Register A. This part also increments the Program counter by three.
The register B is also represented with a group of 8 D-Flip-Flops. The input part of the chip consists of eight XOR gates, and two OR gates connected to deal with the NEG, NOT and SUB instructions. B input device
Logical Operation Device
• The 8-bit full adder consists of eight 1-bit full adders. Each 1-bit adder has three inputs and two outputs. It receives two bits to add and a carry-in if needed. The outputs are the sum and a carry-out if generated.
Conclusion

The Arithmetic Logic Unit was implemented by doing a hardware design of the unit. The way the design was made is very easy to understand since it was made by doing block diagrams of the different parts of the device. This abstraction made us understand better each part of the unit and realize how important these parts are for the correct operation of the ALU. The bus that was utilized made it easier to understand the circuit even dough in the practical area this design will be much slower than designs using two or three buses. In conclusion this ALU device will work with the SRC architecture because it implements every instruction of the SRC.

Future Work

There could be more projects based in the implementation of the Arithmetic Logic Unit. First the ALU can be improved in many ways by changing parts of the design or adding busses to the circuit. This can lead to create the entire Control Processing Unit of the SRC. Having done the CPU the entire processor can be done too.

References

Computer Systems Design and Architecture

Second Edition

Vincent P. Heuring, Harry F. Jordan