CP and I Assing.
CP and I Assing.
CP and I Assing.
Vishwavidyala, Indore
Department of computer science and engineering
Session:- 2020-21
MEMORY:-
Computer memory, device that is used to store data or programs
(sequences of instructions) on a temporary or permanent basis for
use in an electronic digital computer. Computers represent
information in binary code, written as sequences of 0s and 1s. Each
binary digit (or “bit”) may be stored by any physical system that can
be in either of two stable states, to represent 0 and 1. Such a system
is called bistable. This could be an on-off switch, an
electrical capacitor that can store or lose a charge, a magnet with its
polarity up or down, or a surface that can have a pit or not. Today
capacitors and transistors, functioning as tiny electrical switches, are
used for temporary storage, and either disks or tape with a magnetic
coating, or plastic discs with patterns of pits are used for long-term
storage.
Cache memory:-
Cache memory is a very high speed semiconductor memory which
can speed up CPU. It acts as a buffer between the CPU and main
memory. It is used to hold those parts of data and program which
are most frequently used by CPU. The parts of data and programs are
transferred from disk to cache memory by operating system, from
where CPU can access them.
Advantages:-
The advantages of cache memory are as follow:-
Cache memory is faster than main memory.
It consumes less access time as compared to main memory.
It stores the program that can be executed within a short period of
time.
It stores data for temporary use.
Disadvantages:-
The disadvantages of cache memory are as follows
Cache memory has limited capacity.
It is very expensive.
The Word “RAM” stands for “random access memory” or may also
refer to short-term memory. It’s called “random” because you can
read store data randomly at any time and from any physical location.
It is a temporal storage memory. RAM is volatile that only retains all
the data as long as the computer powered. It is the fastest type of
memory. RAM stores the currently processed data from
the CPU and sends them to the graphics unit.
• Static RAM:-
Static RAM is the form of RAM and made with flip flops and used for
primary storage are volatile.
It retains data in latch as long as the computer powered. SRAM is
more expensive and consumes more power than DRAM. It used as
Cache Memory in a computer system. As technically, SRAM uses
more transistors as compared to DRAM. It is faster compared to
DRAM due to the latching arrangement, and they use 6 transistors
per data bit as compared to DRAM, which uses one transistor per bit.
SRAM requires a constant power flow in order to function. Because
of the continuous power, SRAM doesn’t need to be ‘refreshed’ to
remember the data being stored.
The RDRAM provides a very high data transfer rate over a narrow
CPU-memory bus. It uses various speedup mechanisms, like
synchronous memory interface, caching inside the DRAM chips and
very fast signal timing. The Rambus data bus width is 8 or 9 bits.
4.Cache DRAM (CDRAM):-
This memory is a special type DRAM memory with an on-chip cache
memory (SRAM) that acts as a high-speed buffer for the main DRAM.