1 / 43

ECE 456 Computer Architecture

ECE 456 Computer Architecture. Lecture #5 – Semiconductor (Internal) Memory Instructor: Honggang Wang Fall 2013. Administrative Issues (10/23/13, Wednesday). Project proposal (File name: Group#_proposal.doc/docx) due Wednesday, Oct. 28

dana
Télécharger la présentation

ECE 456 Computer Architecture

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. ECE 456 Computer Architecture Lecture #5 – Semiconductor (Internal) Memory Instructor: Honggang Wang Fall 2013

  2. Administrative Issues (10/23/13, Wednesday) • Project proposal (File name: Group#_proposal.doc/docx) • due Wednesday, Oct. 28 • Proposal guidelines are available from the class website • This class • L#5 (Semiconductor Memory)

  3. Review of Lecture #4 In the last lecture, we covered the …... • Characteristics of memory systems • location, capacity, transfer unit, access methods, performance, physical types, physical characteristics, and organization • Memory hierarchy • dilemma, goal: why ? (locality), how? • Error correction in memory • error types, definitions & concepts, single-bit & multiple-bit parity codes, Hamming SEC

  4. Schedule for Memory Lectures Next C A C H E CPU MAIN MEMORY I/O STORAGE DEVICES Registers External Memory Internal Memory Defer to CPU discussion plus Virtual Memory

  5. Memory of Interest • Location • internal memory • Physical types • semiconductor memory • Access methods • random access memory

  6. Topics • The basic elements • Semiconductor memory types • Memory organizations

  7. The Basic Elements: Memory Cells • Memory cell properties • two stable states for representing binary 1 and 0 • can be written into at least once to set the state • can be read to sense the state

  8. Memory Cell Operations

  9. Agenda • The basic element • The memory cell • Semiconductor memory types • Memory organizations

  10. Read-only Memory (ROM) Erasable PROM (EPROM) Static RAM (SRAM) Programmable ROM (PROM) Electrically Erasable PROM (EEPROM) Dynamic RAM (DRAM) Flash memory Synchronous DRAM (SDRAM) Rambus DRAM (RDRAM) Cache DRAM (CDRAM) Semiconductor Memory Types(Internal and Random Access) Read-mostly memory Read-write memory Read-only memory Random-access memory (RAM)

  11. Semiconductor Internal Random Access Memory Types – RAM (1) Random Access Memory (RAM) • Can be both read and written • Is volatile • Can be used only as temporary storage • Two forms: • dynamic • data tend to decay even with power continuously applied • static • data are held as long as power is supplied

  12. Semiconductor Internal Random Access Memory Types – RAM (2) Agenda (RAM) • Dynamic RAM (DRAM) • Static RAM (SRAM) • DRAM vs. SRAM • Enhancements to the DRAM • SDRAM • CDRAM

  13. Data stored as charge on capacitors presence: 1 absence: 0 threshold Need charge refreshing to maintain data storage A DRAM cell: read write Semiconductor Internal Random Access Memory Types – RAM (3) Dynamic RAM (DRAM)

  14. Data stored as a combination of transistors’ on-off T1, T4 off, T2, T3 on: 1 T1, T4 on, T2, T3 off: 0 Data are held as long as power is supplied, no refresh is needed A SRAM cell: Semiconductor Internal Random Access Memory Types – RAM (4) Static RAM (SRAM)

  15. DRAM cell Refresh needed Smaller and simpler More dense Less expensive For main memory SRAM cell No refresh Faster For cache memory Semiconductor Internal Random Access Memory Types – RAM (5) DRAM vs. SRAMVolatile, Read-Write

  16. Semiconductor Internal Random Access Memory Types – RAM (6) Agenda of RAM • Dynamic RAM (DRAM) • Static RAM (SRAM) • DRAM vs. SRAM • Example enhancements to the DRAM • SDRAM • CDRAM

  17. Critical bottleneck: interface between the DRAM main memory and processor Cache solution is expensive and not enough Semiconductor Internal Random Access Memory Types – RAM (7) Why Enhancements to DRAM?

  18. Semiconductor Internal Random Access Memory Types – RAM (8) Synchronous DRAM (SDRAM) • Traditional DRAM • Asynchronous • CPU may wait for data/instructions from memory • SDRAM • access is synchronized to an external clock • CPU knows when data can be ready (once-per-cycle) • CPU can do something else while memory is processing request • DDR-SDRAM: twice-per-cycle

  19. Semiconductor Internal Random Access Memory Types – RAM (10) Cache DRAM (CDRAM) • Developed by Mitsubishi • Integrates a SRAM cache onto a DRAM chip • A true cache • A buffer to support serial access

  20. CDRAM • Tokyo, January 15, 2004 - Hitachi Ltd., today announced the high-performance 144-Mbit cache DRAM "HDL5KM series" with world-leading 8ns random access time and 4GB/s data bandwidth. Sample shipments will begin on June 1, 2004. • http://www.hitachi.com/New/cnews/040115.html

  21. Semiconductor Memory Types(Internal and Random Access) Read-mostly memory Read-write memory Read-only memory Read-only Memory (ROM) Random-access memory (RAM) Erasable PROM (EPROM) Programmable ROM (PROM) Static RAM (SRAM) Electrically Erasable PROM (EEPROM) Dynamic RAM (DRAM) Flash memory Synchronous DRAM (SDRAM) Rambus DRAM (RDRAM) Cache DRAM (CDRAM)

  22. Semiconductor Internal Random Access Memory Types – ROM (1) Read-Only Memory (ROM) • Written only once during manufacturing • Can be read, but cannot be written later • Is nonvolatile, nonerasable • Applications: • microprogramming, system programs, library subroutines • Advantage • data/programs are permanently in main memory • Problems • costly for small runs, but attractive for high-volume runs • no room for error

  23. Semiconductor Internal Random Access Memory Types – ROM (2) Programmable ROM (PROM) • Written only once after manufacturing • Can be read, but cannot be written later • Is nonvolatile, non-erasable • Attractive for small production runs • Advantages: • flexible and convenient • less expensive

  24. Semiconductor Internal Random Access Memory Types – Read-Mostly Memory (1) Erasable PROM(EPROM) • Can be written many times • Erased by ultraviolet radiation before each write operation at chip level • Erasure (20 mins) can be performed repeatedly • Is nonvolatile • Pros & cons: • Capable of multiple update • More expensive than PROM

  25. Semiconductor Internal Random Access Memory Types – Read-Mostly Memory (2) Electrically EPROM(EEPROM) • Erased and updated at the byte level • Takes much longer to write than read • Is nonvolatile • More expensive and less dense than EPROM

  26. Semiconductor Internal Random Access Memory Types – Read-Mostly Memory (3) Flash Memory • Intermediate between EPROM and EEPROM in both cost and functionality • Electrical and fast erasure (a few seconds/memory) • Can be erased at block level

  27. Agenda • The basic element • The memory cell • Semiconductor memory types • RAM, DRAM, SRAM; SDRAM, RDRAM, CDRAM • ROM, PROM • EPROM, EEPROM, flash memory • Memory organizations

  28. Two Extremes In Organization (1) • Physical arrangement of cells in the array is the same as the logical arrangement of words in memory (one-word-per-chip) • A 256 KByte chip can be organized as 256K 8-bit words • One-bit-per-chip organization • Each chip provides 1 bit input/output at a time • A 256 KByte one-bit-per-chip system has 8 lots of 256Kbit chip with bit 1 of each word in chip/lot 1, and so on

  29. 256K rows of 8-bit words 18 address lines Two Extremes In Memory Organization (2) 256-KByte Memory One-word-per-chip Organization bit7 bit0 Word 0 1word = 8bits . . . A0 Address Decoder . . . A1 … A17 Word 256K-1

  30. 512 x 512 per chip 18 address lines 9 for row 9 for column Two Extremes In Memory Organization (3) 256-KByte Memory One-bit-per-chip Organization

  31. Examples of Memory Organizations (I) 16-Mbit Memory Organization (1)DRAM

  32. Examples of Memory Organizations (I) 16-Mbit Memory Organization (2)DRAM • Organized as a 2048 x 2048 x 4bit array • The physical arrangements is one-word-per-chip • Reduced number of address pins • Multiplexed row address and column address • 11 pins, rather than 22 pins • Adding 1 more pin doubles number of rows and columns and so x4 capacity • Refresh circuit included on chip • Refreshed by reading out data and writing back • Cells in the same row are refreshed simultaneously

  33. A0-A10: multiplexed address D1-D4: data WE: write enable OE: output enable RAS/CAS: row/column address select Vcc: voltage source Vss: ground NC: no connect, for even # Examples of Memory Organizations (I) 16-Mbit DRAM (3)Chip Packaging

  34. Examples of Memory Organizations (II) 8-Mbit Memory Organization (1)

  35. Examples of Memory Organizations (II) 8-Mbit Memory Organization (2) • Organized as a 512 x 512 x 32 bit array • The physical arrangements is one-bit-per-chip • 4 columns of chips, each containing 256K words (512 x 512 x 8 bits) • Group select logic select one of 4 columns • 20 address pins • 18 pins for selecting 1 of 512 x 512 bits • 2 pins for selecting 1 0f 4 columns • No refresh circuit is needed

  36. A0-A19: address D0-D7: data CE: chip enable Vcc: power supply Vss: ground Vpp: program voltage, supplied during programming/writing Examples of Memory Organizations (II) 8-Mbit EPROM (3)Chip Packaging

  37. Hands-on Problems • There are two extreme designs in memory organization: “one-word-per-chip” and “one-bit-per-chip”.   Design a 4-Kbyte memory using each of the two design strategies.

  38. Summary of Lecture #5 • The basic element • The memory cell • Semiconductor memory types • RAM, DRAM, SRAM; SDRAM, RDRAM, CDRAM • ROM, PROM • EPROM, EEPROM, flash memory • Memory organizations • One-word-per-chip • One-bit-per-chip • Examples: 16 Mbit, 8 Mbit, 256 KByte

  39. Next topic: Cache Memory C A C H E CPU MAIN MEMORY I/O STORAGE DEVICES Registers External Memory Internal Memory Defer to CPU discussion plus Virtual Memory

  40. Things To Do • Project proposal • due Oct. 28, Wednesday • Check out the class website about • lecture notes • reading assignments • the project

  41. Solution

  42. SAMSUNG 512MB 800MHZ 184PIN RAMBUS MEMORY

  43. KINGSTON 256MB 800MHZ 184PIN RAMBUS MEMORY

More Related