


















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Von Neumann Architecture Model for designing and building computers, based on the following three characteristics: The computer consists of four main sub-systems: Memory ALU (Arithmetic/Logic Unit) Control Unit Input/Output System (I/O) Program is stored in memory during execution. Program instructions are executed sequentially.
Typology: Lecture notes
1 / 26
This page cannot be seen from the preview
Don't miss anything!



















Memory
Processor (CPU)
Input-Output
Control Unit
Store data and program
Store data and program
Execute program
Execute program
Do arithmetic/logic operations
Do arithmetic/logic operations
requested by program
requested by program
Communicate with
Communicate with
"outside world", e.g.
"outside world", e.g.
Screen
Screen
Keyboard
Keyboard
Storage devices
Storage devices
Bus
the
the
address
address
of a memory cell and
of a memory cell and
the
the content
content of a memory cell
of a memory cell
How many bits is each memory
How many bits is each memory
cell, typically one
cell, typically one byte
byte (=8 bits)
(=8 bits)
How many bits used to represent
How many bits used to represent
each address, determines the
each address, determines the
maximum memory size =
maximum memory size = address
address
space
space
If address width is
If address width is N
-bits, then
-bits, then
address space is
address space is 2
NN
NN
...
0
0
1
1
22
2
2
NN
1 bit
1 bit
W
W
0000000000000001
0000000000000001
N
N
N
N
Fetch a copy of the content of memory cell with the specified
Fetch a copy of the content of memory cell with the specified
address.
address.
Non-destructive, copies value in memory cell.
Non-destructive, copies value in memory cell.
Store the specified value into the memory cell specified by address.
Store the specified value into the memory cell specified by address.
Destructive, overwrites the previous value of the memory cell.
Destructive, overwrites the previous value of the memory cell.
Memory Address Register (MAR)
Memory Address Register (MAR)
Memory Data Register (MDR)
Memory Data Register (MDR)
Fetch/Store signal
Fetch/Store signal
Load address into MAR.
Load address into MAR.
Decode the address in MAR.
Decode the address in MAR.
Copy the content of memory cell with
Copy the content of memory cell with
specified address into MDR.
specified address into MDR.
Load the address into MAR.
Load the address into MAR.
Load the value into MDR.
Load the value into MDR.
Decode the address in MAR
Decode the address in MAR
Copy the content of MDR into memory
Copy the content of MDR into memory
cell with the specified address.
cell with the specified address.
MAR MDR
...
Memory
decoder
circuit
Fetch/Store
controller
F/S
Has a small memory buffer, and a control logic to control I/O
Has a small memory buffer, and a control logic to control I/O
device (e.g. move disk arm).
device (e.g. move disk arm).
Sends an interrupt signal to CPU when done read/write.
Sends an interrupt signal to CPU when done read/write.
I/O controller
I/O Buffer
Control/Logic
I/O device
Data from/to memory
Interrupt signal (to processor)
Very fast local memory cells, that
Very fast local memory cells, that
store operands of operations and
store operands of operations and
intermediate results.
intermediate results.
(condition code register), a
(condition code register), a
special purpose register that stores
special purpose register that stores
the result of <, = , > operations
the result of <, = , > operations
Contains an array of circuits to do
Contains an array of circuits to do
mathematical/logic operations.
mathematical/logic operations.
Data path interconnecting the
Data path interconnecting the
registers to the ALU circuitry.
registers to the ALU circuitry.
ALU circuitry
Rn
Instruction set as small and simple as possible.
Instruction set as small and simple as possible.
Minimizes amount of circuitry --> faster computers
Minimizes amount of circuitry --> faster computers
More instructions, many very complex
More instructions, many very complex
Each instruction can do more work, but require more
Each instruction can do more work, but require more
circuitry.
circuitry.
We use X, Y, Z to denote RAM cells
We use X, Y, Z to denote RAM cells
Assume only one register R (for simplicity)
Assume only one register R (for simplicity)
Use English-like descriptions (should be binary)
Use English-like descriptions (should be binary)
LOAD
LOAD
X
X
Load content of memory location X to R
Load content of memory location X to R
STORE X
STORE X Load content of R to memory location X
Load content of R to memory location X
MOVE
MOVE X, Y
X, Y Copy content of memory location X to loc.
Copy content of memory location X to loc.
Y
Y
(not absolutely necessary)
(not absolutely necessary)