Notes on Internal Computer Memory
Internal Computer Memory
Overview of Memory Types
- RAM and ROM are categorized as Primary Memory or Main Memory.
- Various types of memory include:
- Internal Memory (e.g., RAM, ROM)
- External Memory (e.g., Hard Disk Drive, Solid State Drive)
- Cache Memory
- Virtual Memory
- Memory can be classified further into:
- Magnetic Memory
- Optical Memory
- Solid State Memory
Semi-Conductor Main Memory
- Semi-conductor memory uses semiconductor materials (typically silicon) to store data electronically.
- It is the main type of memory in computers and devices.
- Components: Data is stored in memory cells made up of transistors and capacitors:
- Transistors activate the data.
- Capacitors store data as a charge.
- Volatility: Can be either volatile (loses data when power is off) or non-volatile (retains data without power).
- Two main categories:
- Random Access Memory (RAM)
- Read-Only Memory (ROM)
Characteristics of Memory Cells
- Basic Elements: Memory cells exhibit:
- Two stable states to represent binary values (1 and 0).
- Capability to be written into and read from.
Types of Semi-Conductor Memory
RAM (Random Access Memory)
- Nature: Volatile and temporary storage.
- Examples: DRAM (Dynamic RAM) and SRAM (Static RAM).
- **Differences: **
- SRAM: Faster, uses flip-flop circuits, requires continuous power.
- DRAM: Slower, uses capacitors, needs periodic refreshing.
ROM (Read-Only Memory)
- Nature: Permanent memory with data that cannot be changed.
- Features: Maintains data without a power source; data is usually wired into chip during fabrication.
- Disadvantages: No room for error; high fixed cost for data insertion.
Programmable ROM (PROM)
- Can be written into only once.
- Provides flexibility as it can be set by the supplier or customer at a later time.
- Becoming outdated due to EEPROM advancements.
Read Most Memory
- Characteristics: High reading frequency, limited writing ability, non-volatile.
- Types:
- EPROM: Erasable using UV light; can be reused.
- EEPROM: Can be rewritten without erasing prior data; more expensive than EPROM but offers flexibility.
- Flash Memory: Intermediate functionality; sections of memory cells can be erased in bulk (flashed).
Advantages of Read Most Memory
- High read speed, data persistence, upgradeable, reliable, and cost-efficient.
Disadvantages of Read Most Memory
- Slow write operations; writing new data is slower and may require erasing entire blocks.
- Limited write cycles due to potential degradation over time.
Use Cases for Read Most Memory
- Ideal for storing unchanging critical data such as:
- Firmware (BIOS)
- Embedded systems (smart devices, medical equipment)
- Configuration data for devices (network routers, automotive).
- Solid-State Drives (SSDs)
Review Questions
- What is the primary function of a semiconductor memory cell?
- How do semiconductor memory cells represent binary data?
- What does it mean for a memory cell to be non-volatile?
- What is PROM and how does it differ from standard ROM?
- Why might a designer choose PROM over ROM for specific applications?
- Differentiate among types of Read Mostly Memory (EPROM, EEPROM, Flash).
- In what scenarios might read-mostly memory be used?
Research/Challenge Questions
- Investigate advancements in non-volatile memory technologies (MRAM, ReRAM) and their comparison with SRAM, DRAM, and Flash in aspects like speed, power consumption, and reliability.
- Analyze memory hierarchy in modern computing systems using SRAM, DRAM, and Flash, focusing on performance, cost, and future optimization trends.