0% found this document useful (0 votes)
321 views22 pages

Memory Organization

The document discusses different types of computer memory organization, including memory hierarchy, main memory, auxiliary memory, associative memory, cache memory, virtual memory, and memory management hardware. It focuses on main memory and how it is organized using RAM and ROM chips. Address mapping is used to assign locations to each memory chip and connect them to the CPU through address and data buses.

Uploaded by

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

Memory Organization

The document discusses different types of computer memory organization, including memory hierarchy, main memory, auxiliary memory, associative memory, cache memory, virtual memory, and memory management hardware. It focuses on main memory and how it is organized using RAM and ROM chips. Address mapping is used to assign locations to each memory chip and connect them to the CPU through address and data buses.

Uploaded by

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

Memory Organization 1

MEMORY ORGANIZATION

• Memory Hierarchy

• Main Memory

• Auxiliary Memory

• Associative Memory

• Cache Memory

• Virtual Memory

• Memory Management Hardware

Computer Organization Computer Architectures Lab


Memory Organization 2 Memory Hierarchy

MEMORY HIERARCHY

Memory Hierarchy is to obtain the highest possible


access speed while minimizing the total cost of the memory system
Auxiliary memory
Magnetic
tapes I/O Main
processor memory
Magnetic
disks

CPU Cache
memory

Register

Cache

Main Memory

Magnetic Disk

Magnetic Tape

Computer Organization Computer Architectures Lab


Memory Organization 3 Main Memory

MAIN MEMORY
RAM and ROM Chips
Typical RAM chip

Chip select 1 CS1


Chip select 2 CS2
Read RD 128 x 8 8-bit data bus
RAM
Write WR
7-bit address AD 7

CS1 CS2 RD WR Memory function State of data bus


0 0 x x Inhibit High-impedence
0 1 x x Inhibit High-impedence
1 0 0 0 Inhibit High-impedence
1 0 0 1 Write Input data to RAM
1 0 1 x Read Output data from RAM
1 1 x x Inhibit High-impedence

Typical ROM chip

Chip select 1 CS1


Chip select 2 CS2
512 x 8 8-bit data bus
ROM
9-bit address AD 9

Computer Organization Computer Architectures Lab


Memory Organization 4 Main Memory

MEMORY ADDRESS MAP


Address space assignment to each memory chip

Example: 512 bytes RAM and 512 bytes ROM

Hexa Address bus


Component address 10 9 8 7 6 5 4 3 2 1
RAM 1 0000 - 007F 0 0 0 x x x x x x x
RAM 2 0080 - 00FF 0 0 1 x x x x x x x
RAM 3 0100 - 017F 0 1 0 x x x x x x x
RAM 4 0180 - 01FF 0 1 1 x x x x x x x
ROM 0200 - 03FF 1 x x x x x x x x x

Memory Connection to CPU


- RAM and ROM chips are connected to a CPU
through the data and address buses

- The low-order lines in the address bus select


the byte within the chips and other lines in the
address bus select a particular chip through
its chip select inputs

Computer Organization Computer Architectures Lab


Memory Organization 5 Main Memory

CONNECTION OF MEMORY TO CPU


Address bus CPU
16-11 10 9 8 7-1 RD WR Data bus

Decoder
3 2 1 0
CS1
CS2

Data
RD 128 x 8
RAM 1
WR
AD7

CS1
CS2

Data
RD 128 x 8
RAM 2
WR
AD7

CS1
CS2

Data
RD 128 x 8
RAM 3
WR
AD7

CS1
CS2
RD 128 x 8 Data
RAM 4
WR
AD7

CS1
CS2
Data

1- 7 512 x 8
8
9 } AD9 ROM

Computer Organization Computer Architectures Lab


Memory Organization 6 Main Memory

Computer Organization Computer Architectures Lab


Memory Organization 7

Computer Organization Computer Architectures Lab


Memory Organization 8

Computer Organization Computer Architectures Lab


Memory Organization 9

Computer Organization Computer Architectures Lab


Memory Organization 10

Computer Organization Computer Architectures Lab


Memory Organization 11

Computer Organization Computer Architectures Lab


Memory Organization 12

Computer Organization Computer Architectures Lab


Memory Organization 13

Computer Organization Computer Architectures Lab


Memory Organization 14

Computer Organization Computer Architectures Lab


Memory Organization 15

Computer Organization Computer Architectures Lab


Memory Organization 16

Computer Organization Computer Architectures Lab


Memory Organization 17

Computer Organization Computer Architectures Lab


Memory Organization 18

Computer Organization Computer Architectures Lab


Memory Organization 19

Computer Organization Computer Architectures Lab


Memory Organization 20

Computer Organization Computer Architectures Lab


Memory Organization 21

Computer Organization Computer Architectures Lab


Memory Organization 22

Computer Organization Computer Architectures Lab

You might also like