Main Memory Organization | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE) PDF Download

Main Memory Organization
 Main memory unit is the storage unit, There are several location for storing information in the main memory module.

The capacity of a memory module is specified by the number of memory location and the information stored in each location.

A memory module of capacity 16 X 4 indicates that, there are 16 location in the memory module and in each location, we can store 4 bit of information.

We have to know how to indicate or point to a specific memory location. This is done by address of the memory location.

We need two operation to work with memory.

READ   Operation: This operation is to retrive the data from memory and bring it to CPU register

WRITE Operation: This operation is to store the data to a memory location from CPU register

We need some mechanism to distinguish these two operations READ and WRITE.

With the help of one signal line, we can differentiate these two operations. If the content of this signal line is

0,    we say that we will do a READ operation; and if it is
1,    then it is a WRITE operation.

To transfer the data from CPU to memory module and vice-versa, we need some connection. This is termed as DATA BUS.

The size of the data bus indicate how many bit we can transfer at a time. Size of data bus is mainly specified by the data storage capacity of each location of memory module.

We have to resolve the issues how to specify a particular memory location where we want to store our data or from where we want to retrive the data.

This can be done by the memory address. Each location can be specified with the help of a binary address.

If we use 4 signal lines, we have 16 different combinations in these four lines, provided we use two signal values only (say 0 and 1).

To distingush 16 location, we need four signal lines. These signal lines use to identify a memory location is termed as ADDRESS BUS. Size of address bus depends on the memory size. For a memory module of capacity of 2n location, we need n address lines, that is, an address bus of size n.  

We use a address decoder to decode the address that are present in address bus

As for example, consider a memory module of 16 location and each location can store 4 bit of information
The size of address bus is   4 bit and the size of the data bus is  4 bit
The size of address decoder is   4 X 16.

There is a control signal named R/W.
If   R/W  =  0,    we perform a  READ    operation and
if   R/W  =  1,    we perform a  WRITE   operation

If the contents of address bus is  0101  and contents of data bus is 1100 and R/W = 1, then 1100 will bewritten in location 5.

If the contents of address bus is 1011 and R/W=0, then the contents of location 1011 will be placed in data bus

The document Main Memory Organization | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE) is a part of the Computer Science Engineering (CSE) Course Computer Architecture & Organisation (CAO).
All you need of Computer Science Engineering (CSE) at this link: Computer Science Engineering (CSE)
20 videos|86 docs|48 tests

Top Courses for Computer Science Engineering (CSE)

FAQs on Main Memory Organization - Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

1. What is main memory organization in computer science engineering?
Ans. Main memory organization in computer science engineering refers to the way data is stored and accessed in the computer's primary memory. It involves the arrangement of memory cells, addressing techniques, and data transfer methods to ensure efficient storage and retrieval of data.
2. How is main memory organized in a computer system?
Ans. Main memory in a computer system is organized into a linear array of memory cells. Each memory cell is assigned a unique address, which allows the processor to access and manipulate the data stored in that cell. The memory cells are typically organized into fixed-sized blocks, allowing for easier management and retrieval of data.
3. What are the different types of main memory organization techniques?
Ans. There are various types of main memory organization techniques, including: 1. Single-Level Memory Organization: In this technique, the entire main memory is treated as a single continuous address space. The data is stored and accessed in a linear manner. 2. Two-Level Memory Organization: This technique divides the main memory into two levels: primary memory and secondary memory. Primary memory is smaller and faster, while secondary memory is larger but slower. 3. Hierarchical Memory Organization: This technique uses multiple levels of memory hierarchy, with each level providing different speeds and capacities. The processor first checks the fastest and smallest level of memory (cache memory) before accessing the slower and larger levels. 4. Virtual Memory Organization: Virtual memory allows the computer system to use secondary storage as an extension of the main memory. It provides the illusion of a larger memory space, allowing programs to run even if they exceed the physical memory capacity.
4. What is the role of addressing techniques in main memory organization?
Ans. Addressing techniques play a crucial role in main memory organization as they determine how the processor locates and accesses specific data in the memory. Some commonly used addressing techniques include: 1. Direct Addressing: Each memory cell has a unique address, and the processor directly accesses a specific cell by specifying its address. 2. Indirect Addressing: Instead of directly accessing the data, the processor uses an indirect address that points to the actual address of the data. This allows for more flexible memory access and manipulation. 3. Indexed Addressing: In this technique, the memory cells are accessed using an index value stored in a register. The index value is added to a base address, resulting in the actual address of the desired data. 4. Relative Addressing: The processor uses a relative address that is specified relative to the current instruction or data location. This simplifies the programming process as the programmer does not need to specify the absolute memory address.
5. How does the main memory organization affect the overall performance of a computer system?
Ans. The main memory organization has a significant impact on the overall performance of a computer system. Efficient memory organization techniques and addressing methods can improve data access times, reduce memory fragmentation, and enhance the system's ability to run multiple programs simultaneously. A well-organized main memory allows for faster data retrieval, reducing the time taken for the processor to access data. It also influences the cache hit rate, as a well-structured memory organization can improve cache performance. Additionally, the choice of memory organization technique affects the system's scalability and memory capacity. Techniques such as virtual memory enable the system to handle larger programs and datasets, enhancing the overall performance and usability of the computer system.
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

past year papers

,

Extra Questions

,

Important questions

,

mock tests for examination

,

Objective type Questions

,

Exam

,

Main Memory Organization | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

,

practice quizzes

,

MCQs

,

shortcuts and tricks

,

Main Memory Organization | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

,

Summary

,

ppt

,

Previous Year Questions with Solutions

,

Sample Paper

,

Main Memory Organization | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

,

Free

,

Viva Questions

,

pdf

,

study material

,

Semester Notes

,

video lectures

;