PPT: Memory System | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE) PDF Download

Download, print and study this document offline
Please wait while the PDF view is loading
 Page 1


The Memory System
Page 2


The Memory System
Overview
l Basic memory circuits
l Organization of the main memory
l Cache memory concept
l Virtual memory mechanism
l Secondary storage
Page 3


The Memory System
Overview
l Basic memory circuits
l Organization of the main memory
l Cache memory concept
l Virtual memory mechanism
l Secondary storage
Basic Concepts
l The maximum size of the memory that can be used in any computer is
determined by the addressing scheme.
16-bit addresses = 2
16
= 64K memory locations
l Most modern computers are byte addressable.
2
k
4 - 2
k
3 - 2
k
2 - 2
k
1 - 2
k
4 - 2
k
4 -
0 1 2 3
4 5 6 7
0 0
4
2
k
1 - 2
k
2 - 2
k
3 - 2
k
4 -
3 2 1 0
7 6 5 4
Byte address Byte address
(a) Big-endian assignment (b) Little-endian assignment
4
Word
address






Page 4


The Memory System
Overview
l Basic memory circuits
l Organization of the main memory
l Cache memory concept
l Virtual memory mechanism
l Secondary storage
Basic Concepts
l The maximum size of the memory that can be used in any computer is
determined by the addressing scheme.
16-bit addresses = 2
16
= 64K memory locations
l Most modern computers are byte addressable.
2
k
4 - 2
k
3 - 2
k
2 - 2
k
1 - 2
k
4 - 2
k
4 -
0 1 2 3
4 5 6 7
0 0
4
2
k
1 - 2
k
2 - 2
k
3 - 2
k
4 -
3 2 1 0
7 6 5 4
Byte address Byte address
(a) Big-endian assignment (b) Little-endian assignment
4
Word
address






Traditional Architecture
Up to 2
k
addressable
MDR
MAR
Figure 5.1. Connection of the memory to the processor.
k-bit
address bus
n-bit
data bus
Control lines
(          , MFC, etc.)
Processor
Memory
locations
Word length =n bits
W R/
Page 5


The Memory System
Overview
l Basic memory circuits
l Organization of the main memory
l Cache memory concept
l Virtual memory mechanism
l Secondary storage
Basic Concepts
l The maximum size of the memory that can be used in any computer is
determined by the addressing scheme.
16-bit addresses = 2
16
= 64K memory locations
l Most modern computers are byte addressable.
2
k
4 - 2
k
3 - 2
k
2 - 2
k
1 - 2
k
4 - 2
k
4 -
0 1 2 3
4 5 6 7
0 0
4
2
k
1 - 2
k
2 - 2
k
3 - 2
k
4 -
3 2 1 0
7 6 5 4
Byte address Byte address
(a) Big-endian assignment (b) Little-endian assignment
4
Word
address






Traditional Architecture
Up to 2
k
addressable
MDR
MAR
Figure 5.1. Connection of the memory to the processor.
k-bit
address bus
n-bit
data bus
Control lines
(          , MFC, etc.)
Processor
Memory
locations
Word length =n bits
W R/
Basic Concepts
l“Block transfer” – bulk data transfer
l Memory access time
l Memory cycle time
l RAM – any location can be accessed for a
Read or Write operation in some fixed
amount of time that is independent of the
location’s address.
l Cache memory
l Virtual memory, memory management unit
Read More
20 videos|86 docs|48 tests

Top Courses for Computer Science Engineering (CSE)

FAQs on PPT: Memory System - Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

1. What is a memory system in computer science engineering?
Ans. A memory system in computer science engineering refers to the hardware and software components that are responsible for storing and retrieving data in a computer. It includes primary memory (RAM), secondary memory (hard drives), and cache memory, among others.
2. How does a memory system work in a computer?
Ans. A memory system in a computer works by storing data and instructions that are needed for processing. When a program is executed, the required data is fetched from secondary memory and loaded into primary memory (RAM) for faster access. The processor then accesses the data from RAM, performs necessary computations, and stores the results back into memory.
3. What are the different types of memory in a computer system?
Ans. There are several types of memory in a computer system. The primary memory includes Random Access Memory (RAM) and Read-Only Memory (ROM). Secondary memory includes hard disk drives (HDDs) and solid-state drives (SSDs). Cache memory, registers, and virtual memory are also part of the memory system.
4. How does caching improve the performance of a memory system?
Ans. Caching improves the performance of a memory system by storing frequently accessed data closer to the processor. When the processor needs to fetch data, it first checks the cache memory. If the data is found in the cache, it is retrieved much faster than fetching it from the slower primary or secondary memory. This reduces the overall access time and improves system performance.
5. What is virtual memory and how does it work in a computer system?
Ans. Virtual memory is a memory management technique that allows a computer to use secondary storage (hard disk) as an extension of primary memory (RAM). It works by dividing the virtual address space into fixed-size blocks called pages. When a program requires more memory than available in RAM, the operating system transfers some pages from RAM to the hard disk to free up space. The data is then loaded back into RAM when needed. This allows programs to run even if the physical memory is limited.
20 videos|86 docs|48 tests
Download as PDF
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

mock tests for examination

,

Sample Paper

,

Previous Year Questions with Solutions

,

past year papers

,

video lectures

,

MCQs

,

Viva Questions

,

PPT: Memory System | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

,

Objective type Questions

,

Important questions

,

Extra Questions

,

PPT: Memory System | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

,

Summary

,

Semester Notes

,

ppt

,

practice quizzes

,

shortcuts and tricks

,

Exam

,

PPT: Memory System | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

,

pdf

,

study material

,

Free

;