0% found this document useful (0 votes)
4 views9 pages

Arithmetic Logic Unit

The document provides an overview of the Arithmetic Logic Unit (ALU), detailing its function as a digital circuit that performs arithmetic and logical operations. It discusses the historical context of the ALU's proposal by John Von Neumann in 1945 and includes a schematic representation of a 1-bit ALU capable of AND and OR operations. Additionally, it mentions the construction of larger ALUs by paralleling multiple 1-bit units.

Uploaded by

jyotikag700
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views9 pages

Arithmetic Logic Unit

The document provides an overview of the Arithmetic Logic Unit (ALU), detailing its function as a digital circuit that performs arithmetic and logical operations. It discusses the historical context of the ALU's proposal by John Von Neumann in 1945 and includes a schematic representation of a 1-bit ALU capable of AND and OR operations. Additionally, it mentions the construction of larger ALUs by paralleling multiple 1-bit units.

Uploaded by

jyotikag700
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Arithmetic & Logic Unit

(
(ALU))
Review: Bus Concept
Review: CPU Buildingg Blocks
 Registers
g
(IR, PC, ACC)
 Control Unit
(CU)
 Arithmetic
Logic
g Unit
(ALU)
The Simplest Computer Building Blocks

Instruction Register (IR) Program Counter (PC)

Control Unit (CU) 2

ALU 3

5
Status Register
g (FLAG)
( ) Accumulator ((ACC))
.

CPU RAM
What’ss ALU?
What
1. ALU stands for: Arithmetic Logic Unit
1
2. ALU is a digital circuit that performs
Arithmetic (Add
(Add, Sub
Sub, . . .)) and Logical
(AND, OR, NOT) operations.
3 John
3. J h Von
V Neumann
N proposed d the
h ALU in
i
1945 when he was working on
EDVAC(El
EDVAC(Electronic i di
discrete variable
i bl
automatic computer).
Typical Schematic Symbol of an ALU
A and B: the inputs to the ALU
(operands)
R: Output or Result
F: Code or Instruction from the
C
Control l Unit
U i ( as op‐code)
d )
D: Output status; it indicates cases
such as:
•carry‐in
•carry‐out,
y ,
•overflow,
•division‐by‐zero
•And . . .
Let’s Build a 1‐Bit ALU
This is an one-bit ALU which can do Logical AND and Logical OR operation.

Result = a AND b when operation = 0

Result = a OR b when operation = 1

The operation line is the input of a MUX.


Building a 1‐Bit ALU (cont’d)
Adding a full adder to our ALU
A 32‐Bit ALU
By paralleling the one-bit ALUs and some other modification on the
logical circuits, we can create bigger ALUs.

You might also like