1 / 44

Memory Devices

Memory Devices. Wen-Hung Liao, Ph.D. Introduction. Main memory vs. auxiliary memory. Memory Terminology. Memory cell : a device used to store a single bit (0 or 1). Examples: FF, charged capacitor, a single spot on a magnetic disk or tape.

Download Presentation

Memory Devices

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Memory Devices Wen-Hung Liao, Ph.D.

  2. Introduction • Main memory vs. auxiliary memory

  3. Memory Terminology • Memory cell: a device used to store a single bit (0 or 1). Examples: FF, charged capacitor, a single spot on a magnetic disk or tape. • Memory word: a group of bits (cells) in a memory that represents instructions or data of some type. • Byte: a special term used for a group of 8 bits. • Capacity: a way of specifying how many bits of data can be stored in a particular memory device. Example: 4096 20-bit words = 4K x20 • Density: another term for capacity. Often with reference to space.

  4. Memory Terminology(cont’d) • Address: A number that identifies the location of a word in memory. (Figure 12-2) • Read operation: the operation whereby the binary word stored in a specific memory location is sensed and then transferred to another device. • Write operation: the operation whereby a new word is placed into a particular memory location. • Access time: amount of time required to perform a read operation. • Volatile memory: any type of memory that requires the application of electrical power in order to store information.

  5. Fig.12-2: Memory Addresses

  6. Memory Terminology (cont’d) • Random Access Memory (RAM): memory in which the actual physical location of memory word has no effect on how long it takes to read from or write into that location. • Sequential Access Memory: a type of memory in which the access time is not constant but varies depending on the address location. • Read/Write Memory: any memory that can be read from and written into with equal ease. • Read-Only Memory(ROM)

  7. Memory Terminology (cont’d) • Static memory devices: semiconductor memory devices in which the stored data will remain permanently stored as long as power is applied. • Dynamic memory devices: data need to be periodically refreshed. • Main memory: also referred to as the computer’s working memory. • Auxiliary memory: also referred to as mass storage. Always nonvolatile.

  8. General Memory Operation • Select the address in memory that is being accessed for a read or write operation. • Select either a read or a write operation to be performed. • Supply the input data to be stored in memory during a write operation. • Hold the output data coming from memory during a read operation. • Enable (or disable) the memory so that it will (or will not) respond to the address inputs and read/write command.

  9. Address Inputs • N words  log2 N address inputs • The R/W’ input • Memory Enable: Chip Enable, Chip Select

  10. CPU-Memory Connections • Address Bus: a unidirectional bus that carries the binary outputs from the CPU to the memory IC to select one memory location. • Data Bus: a bi-directional bus that carries data between the CPU and the memory IC. • Control bus: carries control signals from the CPU to the memory IC.

  11. Read-Only Memory • Designed to hold data that either are permanent or will not change frequently. • During normal operation, no data can be written into a ROM, but data can be read from ROM. • The process of entering data is called programming or burning-in the ROM. • All ROMs are nonvolatile.

  12. ROM Block Diagram • Figure 12-6 shows a 16x8 ROM. • 4 address inputs, 8 data outputs. • CS: Chip Select. • The Read operation.

  13. ROM Architecture • Figure 12-7: architecture of a 16x8 ROM. • Register array • Row decoder • Column decoder • Output buffers.

  14. ROM Timing • tACC: access time, time interval between the application of a ROM’s input and the appearance of the data outputs during a read operation. • tOE: output enable time, the delay between the CS input and the valid data output.

  15. Types of ROMs • Mask-Programmed ROM: cannot be reprogrammed (Figure 12-9). • Programmable ROMs (PROMs): Figure 12-11. • Erasable Programmable ROM (EPROM): use UV lights to erase all cells at the same time. (15-20 minutes.) Vpp: programming voltage. Figure 12-12. • Electrically Erasable PROM (EEPROM): Figure 12-13, allows rapid in-circuit erasure and reprogramming of individual bytes, suffer from low density and higher cost. • CD-ROM

  16. Mask-Programmed ROM

  17. Programmable ROMs

  18. EPROM

  19. EEPROM

  20. Flash Memory • Figure 12-14 shows the trade-offs for the various semiconductor nonvolatile memories.

  21. Flash Memory (cont’d) • Flash memory aims to provide in-circuit electrical erasability, high-speed access, high density, low cost. • Erase mode: bulk erase, sector erase. • The 28F256A CMOS flash memory IC: Figure 12-15. • Figure 12-16: functional diagram of the 28F256A chip.

  22. 28F256A IC • Read command, Set-up Erase/Erase command, Erase-verify command, Set-up Program/Program command, Program-verify command

  23. ROM Applications • Firmware • Bootstrap memory • Data tables • Data converter • Function generator • Auxiliary storage: flash memory.

  24. Semiconductor RAM • When the term RAM is used with semiconductors memories, it is usually taken to mean read/write memory as opposed to ROM. • RAM is used for temporary storage of programs and data. • RAM is volatile. • Standby mode saves power.

  25. RAM Architecture • Consisting of a number of registers, each storing a single data word, and each having a unique address. • Read operation • Write operation • Chip Select • Common input/output pins

  26. Internal Organization of a 64x4 RAM

  27. Static RAM (SRAM) • Stores data as long as power is applied. • Static RAM timing • Read cycle (Figure 11-22a) • Write cycle (Figure 11-22b) • Actual SRAM chip: MCM6264 CMOS 8Kx8

  28. Read Cycle

  29. Write Cycle

  30. Dynamic RAM (DRAM) • Needs to be refreshed every 2, 4,or 8 ms. • DRAM structures and operation (Figure 12-25,26) • Address multiplexing • DRAM read cycle (Figure 12-30) • DRAM write cycle (Figure 12-31)

  31. Cell Arrangement in a 16Kx1 DRAM

  32. Dynamic Memory Cell • WRITE operation: SW1,SW2 closed • READ operation: all closed except SW1

  33. Address Multiplexing • 16Kx1 DRAM is obsolete. (has 14 address inputs) • 4Mx1 DRAM would require 22 address lines. • To reduce the number of pins on high-capacity DRAM, address multiplexing is utilized. • High-order bits  row address • Low-order bits column address

  34. TMS44100 4Mx1 DRAM

  35. RAS/CAS Timing • Row address strobe/column address strobe

  36. Address Bus

  37. DRAM Read Cycle

  38. DRAM Write Cycle

  39. DRAM Refreshing • DRAM chips are designed so that whenever a read operation is performed on a cell, all of the cells in that row will be refreshed. • Two refresh modes: • Burst refresh: normal memory operation is suspended, and each row of the DRAM is refreshed in succession until all rows have been refreshed. • Distributed refresh: row refreshing in interspersed with the normal operation.

  40. Expanding Word Size and Capacity • Expanding word size: connecting two 16x4 RAMs for a 16x8 module. (Figure 12-34) • Expanding capacity: connecting two 16x4 chips for a 32x4 memory (Figure 12-36)

  41. Expanding Word Size

  42. Expanding Capacity

  43. Special Memory Functions • Power-down storage • Cache memory • First-in, First-out memory (linear buffers) • Circular buffers

More Related