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.

Slides:



Advertisements
Similar presentations
The CPU The Central Presentation Unit What is the CPU?
Advertisements

Part 4: combinational devices
Control path Recall that the control path is the physical entity in a processor which: fetches instructions, fetches operands, decodes instructions, schedules.
Arithmetic Logic Unit (ALU)
Princess Sumaya University
Datorteknik ArithmeticCircuits bild 1 Computer arithmetic Somet things you should know about digital arithmetic: Principles Architecture Design.
Processor System Architecture
DH2T 34 Computer Architecture 1 LO2 Lesson Two CPU and Buses.
The Logic Machine We looked at programming at the high level and at the low level. The question now is: How can a physical computer be built to run a program?
Chapter 7. Register Transfer and Computer Operations
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ input/output and clock inputs Sequence of control signal combinations.
More Basics of CPU Design Lecture for CPSC 5155 Edward Bosworth, Ph.D. Computer Science Department Columbus State University.
Arithmetic Logic Unit Design for the Simple RISC Computer Group: E=MJ 2.
+ CS 325: CS Hardware and Software Organization and Architecture Combinational Circuits 1.
Registers CPE 49 RMUTI KOTAT.
Digital Components and Combinational Circuits Sachin Kharady.
1 CPSC3850 Adders and Simple ALUs Simple Adders Figures 10.1/10.2 Binary half-adder (HA) and full-adder (FA). Digit-set interpretation: {0, 1}
1 Arithmetic Logic Unit ALU. 2 The Bus Concept 3 CPU Building Blocks  Registers (IR, PC, ACC)  Control Unit (CU)  Arithmetic Logic Unit (ALU)
Computer Architecture, The Arithmetic/Logic UnitSlide 1 Part III The Arithmetic/Logic Unit.
Arithmetic Logic Unit (ALU) Anna Kurek CS 147 Spring 2008.
Digital Logic. 2 Abstractions in CS (gates) Basic Gate: Inverter IO IO GNDI O Vcc Resister (limits conductivity) Truth Table.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
ARITHMETIC MICRO OPERATIONS
Universal college of engineering & technology. .By Harsh Patel)
MIPS ALU. Building from the adder to ALU ALU – Arithmetic Logic Unit, does the major calculations in the computer, including – Add – And – Or – Sub –
CPU The Central Processing Unit (CPU), has 3 main parts: Control Unit Arithmetic and Logic Unit Registers. These components are connected to the rest.
E X C E E D I N G E X P E C T A T I O N S L3-CPU IS 4490 N-Tier Client/Server Architectures Dr. Hoganson Kennesaw State University Layer 3 - CPU CPU has.
Logic Design / Processor and Control Units Tony Diep.
COMMAND PROTOCOL OPERATIONS INITIALIZING ALU For RISC By: Ricardo Maurosa Wilfredo Soto Félix Rivera Electrical/Computer Engineering December 15th, 2004.
The SRC Arithmetic and Logic Unit Marcos Mejías Del Valle Carlos Mateo Rojas Daniel Castro Gambedotti The Unbelievables Department of Electrical and Computer.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Complex Combinational Logic Blocks ECE/CS 252, Fall 2010 Prof.
Register Transfer Languages (RTL)
Computer Architecture Lecture 4 by Engineer A. Lecturer Aymen Hasan AlAwady 17/11/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
Cpu control.1 2/14 Datapath Components for Lab The Processor! ( th ed)
Hardwired Control Department of Computer Engineering, M.S.P.V.L Polytechnic College, Pavoorchatram. A Presentation On.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
MIPS ALU. Exercise – Design a selector? I need a circuit that takes two input bits, a and b, and a selector bit s. The function is that if s=0, f=a. if.
How does a Computer Add ? Logic Gates within chips: AND Gate A B Output OR Gate A B Output A B A B
1 3 Computing System Fundamentals 3.2 Computer Architecture.
EEL 5722 FPGA Design Fall 2003 Digit-Serial DSP Functions Part I.
Logic Gates Dr.Ahmed Bayoumi Dr.Shady Elmashad. Objectives  Identify the basic gates and describe the behavior of each  Combine basic gates into circuits.
BASIC COMPUTER ARCHITECTURE HOW COMPUTER SYSTEMS WORK.
4–1. BSCS 5 th Semester Introduction Logic diagram: a graphical representation of a circuit –Each type of gate is represented by a specific graphical.
Explain Half Adder and Full Adder with Truth Table.
5.3 Sequential Circuits - An Introduction to Informatics WMN Lab. Hey-Jin Lee.
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ read/write and clock inputs Sequence of control signal combinations.
CSF Chap B Functional components of computer designs Basic logic gates.
Dr.Ahmed Bayoumi Dr.Shady Elmashad
Combinational Circuits
Somet things you should know about digital arithmetic:
CS 270: Mathematical Foundations of Computer Science
Basic Processor Structure/design
Digital Decode & Correction Logic
Basics of digital systems
Morgan Kaufmann Publishers
Computer Architecture
5. Combinational circuits
MIPS ALU.
Digital Logic.
The Processor Lecture 3.1: Introduction & Logic Design Conventions
Digital Logic.
COMS 361 Computer Organization
MANINDER KAUR Maninder Kaur 1
Combinational Circuits
ECE 352 Digital System Fundamentals
Digital Circuits and Logic
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Instruction execution and ALU
MIPS ALU.
MIPS ALU.
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 –Full Adder –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.

Full Adder –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. Full Adder Full 8- bit adder

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.

B input device –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.

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.

Sub-ALU

ALU

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

Acknowledgements Chori’s Café Sociedad de los Buhos Prof.Nayda Santiago

¿Preguntas?