"Memory": College of Information Technology and Engineering Notre Dame of Midsayap College
"Memory": College of Information Technology and Engineering Notre Dame of Midsayap College
AND ENGINEERING
NOTRE DAME OF MIDSAYAP COLLEGE
This model of the typical digital computer is often called the von Neumann
computer.
Programs and data are stored in the same memory: primary memory.
There are two types of main memory, Random Access Memory (RAM) and Read
Only Memory (ROM)
DRAM and SRAM require the need for constant electrical power to
retain stored data…when power is cut off, all data in memory is lost!!!
DRAM,SRAM compare:
DRAM advantage over SRAM in its structural
simplicity: only one transistor and a capacitor are
required per bit, compared to six transistors in
SRAM.
This allows DRAM to reach very high density .
Static – dynamic
The cost of DRAM lower then SRAM cost...
DRAM & SRAM are volatile memory devices -
loses its data when the power supply is removed.
3. Direct Rambus Dynamic Random
Access Memory (DRDRAM)
New type of RAM architecture
Access time 20 times faster than DRAM
More expensive
4. Static Random Access Memory (SRAM)
• Doesn’t need refreshing
• Retains contents as long as power applied to the chip
• Access time around 10 nanoseconds
• Used for cache memory
• Also for date and time settings as powered by small battery
5. Cache memory
• Small amount of memory typically 256 or 512 kilobytes
• Temporary store for often used instructions
• Level 1 cache is built within the CPU (internal)
• Level 2 cache may be on chip or nearby (external)
• Faster for CPU to access than main memory
The operation of cache memory
Cache
Main
Memory CPU
Memory
(SRAM)
(DRAM)
3. If it is, then the
4. If not, the CPU has to
instruction is fetched
fetch next instruction
from the cache – a very
from main memory - a
fast position
much slower process
= Bus connections
Types of RAM
6. Video Random Access memory
• Holds data to be displayed on computer screen
• Has two data paths allowing READ and WRITE to occur at the same time
• A system’s amount of VRAM relates to the number of colours and resolution
• A graphics card may have its own VRAM chip on board
7. Virtual memory
• Uses backing storage e.g. hard disk as a temporary location for programs
and data where insufficient RAM available
• Swaps programs and data between the hard-disk and RAM as the CPU
requires them for processing
• A cheap method of running large or many programs on a computer system
• Cost is speed: the CPU can access RAM in nanoseconds but hard-disk in
milliseconds (Note: a millisecond is a thousandth of a second)
• Virtual memory is much slower than RAM
(ROM) READ ONLY MEMORY
ROM holds programs and data permanently even when computer is switched off
Data can be read by the CPU in any order so ROM is also direct access
Stores a program called the bootstrap loader that helps start up the computer
4. Flash ROM
• Similar to EEPROM
• However, can be reprogrammed while still in the computer
• Easier to upgrade programs stored in Flash ROM
• Used to store programs in devices e.g. modems
• Access time is around 45 – 90 nanoseconds
5. ROM cartridges
• Commonly used in games machines
• Prevents software from being easily copied
Memory configurations for Intel CPU’s
Uwian na!