Lecture 5H
Lecture 5H
Lecture 5H
Computer Architecture
MICROPROCESSOR
MEMORY ORGANIZATION
Outline
3.1 Introduction
1
3.1 Introduction
1. Microprocessor memory
3. Secondary memory
3.1 Introduction
3
3.1 Introduction
8-bit microprocessors:
5
3.2 Main memory
16-bit microprocessors:
7
3.2 Main memory
No. of segments:
Segment = 216
9
3.2.1 Read-only Memory
– Mask ROM
– Erasable PROM(EPROM)
10
11
3.2.1 Read-only Memory
12
for programming.
light
13
3.2.1 Read-only Memory
EAROMs can be programmed without removing the memory from the
ROM’s sockets.
they have much slower write times than read times. Therefore, these
memories are usually suited for operations when mostly reading rather
cameras.
14
DRAMs are inexpensive, occupy less space, and dissipate less power
than SRAMs.
15
3.2.2 Random-Access Memory
conventional DRAMs.
16
READ timing
1. The microprocessor performs the instruction fetch cycle to
READ the opcode.
2. The microprocessor interprets the op-code as a memory
READ operation.
3. When the clock pin signal goes HIGH, the microprocessor
places the contents of the memory address register MAR on
the address pins A0,-A15,, of the chip.
4. At the same time, the microprocessor raises the READ pin
signal to HIGH.
5. The logic external to the microprocessor gets the contents
of the location in the main ROM/RAM addressed by the
MAR and places it on the data bus.
6. Finally, the microprocessor gets this data from the data
bus via pins D0, - D7, and stores it in an internal register.
17
3.2.3 READ and WRITE Timing Diagrams
18
Write timing
1. When the clock pin signal goes HIGH, the microprocessor
places the contents of the MAR on the address pins A0,-
A15,, of the chip.
20