Professional Documents
Culture Documents
28FArithmetic Logic Unit
28FArithmetic Logic Unit
ALU
By: Ahmad Yazdankhah
CS 147
Fall 2008
Prof: Dr. Sin-Min Lee
Table of Contents
Assumptions
Review: Bus Concept
Review: CPU Building Block
The Simplest Computer Building Blocks
Whats ALU?
Typical Schematic Symbol of an ALU
Lets Build a 1-Bit ALU
Useful Links
References
Assumptions
You are familiar with:
1.Number representations (1s
complement, 2s comp.)
2.Arithmetic operations (Add, Sub, . . .)
3.Floating Point concept
4.Registers in CPU (Accumulator,
Program Counter, Instruction
Register, )
Program Counter
(PC)
0
1
Control Unit
(CU)
2
ALU
3
4
5
Status Register
(FLAG)
CPU
Accumulator (ACC)
.
RAM
Whats ALU?
1. ALU stands for: Arithmetic Logic
Unit
2. ALU is a digital circuit that
performs Arithmetic (Add,
Sub, . . .) and Logical (AND, OR,
NOT) operations.
3. John Von Neumann proposed the
ALU in 1945 when he was working
on EDVAC.
(contd)
A 32-Bit ALU
By paralleling the one-bit ALUs and some other modification on the
logical circuits, we can create bigger ALUs.
Useful Links
Virginia Tech online courses:
http://courses.cs.vt.edu/~csonline/index.html
References:
Text book: Computer System
Architecture
(By: Rob Williams, 2nd Edition, Prentice Hall, 2006)
Site Wikipedia:
http://en.wikipedia.org/wiki/Arithmetic_logic_unit