COCO Lecture - PowerPoint PPT Presentation

1 / 30
About This Presentation
Title:

COCO Lecture

Description:

Complete application storage for embedded systems. Read-Only ... Put registers in front of address and control (and maybe data) ... Row Address Strobe, Column ... – PowerPoint PPT presentation

Number of Views:93
Avg rating:3.0/5.0
Slides: 31
Provided by: johnf206
Category:
Tags: coco | lecture

less

Transcript and Presenter's Notes

Title: COCO Lecture


1
COCO Lecture 16Wakerly 10.1-10.4
  • Read-only memory
  • Static read/write memory
  • Dynamic read/write memory

2
Read-Only Memory (ROM)
  • ROM is nonvolatile memory.
  • Its contents are preserved even if no power is
    applied.

3
Read-Only Memory (ROM)
  • Combinational functions
  • Program storage
  • Boot ROM for personal computers
  • Complete application storage for embedded systems.

4
Two-dimensional decoding
5
Larger example, 32Kx8 ROM
6
Commercial ROM Types
  • Fixed
  • MASK ROM
  • Programmable (only once)
  • Programmed ROM (PROM).
  • Re-programmable (multiple times)
  • Erasable PROM (EPROM)
  • Electrically Erasable PROM (EEPROM)

7
Typical commercial ROMs
8
Microprocessor EPROM application
9
ROM control and I/O signals
10
ROM timing
11
Read/Write Memory
  • a.k.a. RAM (Random Access Memory)
  • Volatility
  • Most RAMs lose their memory when power is removed
  • NVRAM RAM battery
  • Or use EEPROM
  • SRAM (Static RAM)
  • Memory behaves like latches or flip-flops
  • DRAM (Dynamic Memory)
  • Memory lasts only for a few milliseconds
  • Must refresh locations by reading or writing

12
SRAM
13
SRAM operation
  • Individual bits are D latches, not
    edge-triggered D flip-flops.
  • Fewer transistors per cell.
  • Implications for write operations
  • Address must be stable before writing cell.
  • Data must be stable before ending a write.

14
SRAM array
15
SRAM control lines
  • Chip select
  • Output enable
  • Write enable

16
SRAM read timing
  • Similar to ROM read timing

17
SRAM write timing
  • Address must be stable before and after
    write-enable is asserted.
  • Data is latched on trailing edge of (WE CS).

18
Bidirectional data in and out pins
  • Use the same data pins for reads and writes
  • Especially common on wide devices
  • Makes sense when used with microprocessor buses
    (also bidirectional)

19
SRAM devices
  • Similar to ROM packages

28-pin DIPs
32-pin DIPs
20
Synchronous SRAMs
  • Use latch-type SRAM cells internally
  • Put registers in front of address and control
    (and maybe data) for easier interfacing with
    synchronous systems at high speeds
  • E.g., Pentium cache RAMs

21
Dynamic RAMs (DRAMs)
Read assert Word Line, sense Bit Line Write
assert Word Line, drive Bit Line Destructive
Read-Out Refresh Cycles needed storage decays in
ms Internal circuits read word and write
back. Higher density and cheaper than
SRAM Longer access time than SRAM
Single Transistor (and a capacitor) memory element
22
DRAM read operations
  • Take the word line HIGH.
  • Detect whether current flows into or out of the
    cell.
  • Note cell contents are destroyed by the read!
  • Must write the bit value back after reading.

23
DRAM write operations
  • Take the word line HIGH.
  • Set the bit line LOW or HIGH to store 0 or 1.
  • Take the word line LOW.
  • Note The stored charge for a 1 will eventually
    leak off.

24
DRAM charge leakage
  • Typical devices require each cell to be refreshed
    once every 4 to 64 mS.
  • During suspended operation, notebook computers
    use power mainly for DRAM refresh.

25
DRAM-chip internal organization
64K x 1DRAM
26
RAS/CAS operation
  • Row Address Strobe, Column Address Strobe
  • n address bits are provided in two steps using
    n/2 pins, referenced to the falling edges of
    RAS_L and CAS_L
  • Traditional method of DRAM operation for 20 years.

27
DRAM read timing
28
DRAM refresh timing
29
DRAM write timing
30
DRAM vs. SRAM
  • SRAM
  • Typically use six transistors per bit of storage
  • Faster as it does not need to refresh
  • More expensive and require more space and power
  • DRAM
  • Use only one transistor per bit
  • Slower due to the refresh
  • Higher density and more economic
Write a Comment
User Comments (0)
About PowerShow.com