1 / 32

ECE 353 Introduction to Microprocessor Systems

ECE 353 Introduction to Microprocessor Systems. Michael J. Schulte. Week 9. Administrative Matters. Quiz #2 is Thursday, April 10 th from 7:15 to 8:30 PM Covers modules 3 and 4 (weeks 5-8, hw 3, 4) Readings for week 9 Textbook 7.5, 9 ADUC 9-10, 33-36, 43-47, 79-82

parry
Download Presentation

ECE 353 Introduction to Microprocessor Systems

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 353Introduction to Microprocessor Systems Michael J. Schulte Week 9

  2. Administrative Matters Quiz #2 is Thursday, April 10th from 7:15 to 8:30 PM Covers modules 3 and 4 (weeks 5-8, hw 3, 4) Readings for week 9 Textbook 7.5, 9 ADUC 9-10, 33-36, 43-47, 79-82 Discussion section tonight Review for Quiz #2 Problems post on course webpage

  3. Topics • Memory technologies • Organization and operation of typical SRAM, EPROM and flash memory devices • Memory subsystem design • Address decoder implementation • SRAM timing characteristics

  4. Memory Terminology • How could we classify memory devices? • Read-Only Memory (ROM) • In common usage, it is memory that is nonvolatile. • Random-Access Memory (RAM) • The time required to access any memory location is the same – it does not need to be accessed in any order. • In common usage, it is memory that can be read or written with equal ease.

  5. Memory Technologies • ROM (non-volatile) • Masked ROM • Field programmable • EPROM • OTP PROM (fuse or EPROM) • Electrically erasable • EEPROM (or E2PROM) • Flash memory • RAM (volatile) • SRAM • DRAM • Pseudo-SRAM • Emerging memory technologies

  6. Memory Organization • Logical organization • Organization as seen looking at the device from the outside • Linear array of registers (memory locations) • Physical organization • Different physical organizations can be used to implement the same logical organization • Physical organization affects performance and cost

  7. SRAM Interfaces • RAM with 3 control inputs • /CS, /OE, /WE • Read • Write • RAM with 2 control inputs • /CS, /WE (or R/W)

  8. SRAM Organization • Logical Organization • Typically 1, 4 , 8 or 16 bit widths • Physical Organization • Rectangular bit array • Two-level decoding (row and column) • Characteristic delays and timing requirements are specified in memory devices datasheet (Example) • NV-SRAM • Uses an alternate power source to maintain SRAM when system power is off • Requires logic to switch power sources and prevent spurious writes during power-up/power-down

  9. EPROM • Electrically programmable, non-volatile • Requires UV light to erase • Quartz window in package • Floating polysilicon gate avalanche injection MOS transistor (FAMOS) • Operation • Programmer loads device out-of-circuit • OTP EPROMs eliminate quartz window • EEPROMs are electrically erasable • Byte-erasable / writeable • Low-density • JEDEC Packages

  10. Flash Memory • Actually Flash EEPROM, commonly just called flash memory • Characteristics • Technologies • Endurance • Blocking, programming and erasing • Applications • ROM replacement • GP NV-RAM • Solid-state disk (flash-disk) Example

  11. Memory Subsystem Design • Memory banks • Increasing memory width • Increasing memory depth • Increasing memory width and depth • Address decoding • Boundaries • If address is a 2m boundary, then what is the result of (address AND (2m-1))? • We normally decode memory devices to be aligned on boundaries at least as large as they are • Exhaustive (full) vs. partial (reduced) decoding

  12. Memory Architectures • Wide (n-byte) buses • Addressing effects • Byte transfer support • Data lanes • Control signals • Bus resizing • Static • Configurable • Dynamic

  13. Memory Subsystems Review • What is the purpose of an address decoder circuit, and where does its output usually get connected? • What is exhaustive decoding, and what effects does it have? • What is partial decoding, and what effects does it have?

  14. SRAM Timing Characteristics • An SRAM device has key timing parameters specified for the read cycle. • tAA – address access time • tRDHA – data valid after address changes • tACS – chip select access time • tRHCS – data valid after chip select • tCHZ – time until device floats bus after chip select dis-asserted • tOE – output enable access time • tOHZ – time until device floats bus after output enable dis-asserted • tRC – read cycle time • The write cycle has a complementary set of specifications.

  15. Sample Timing Diagram

  16. 7C1046SRAM

  17. 27C512EPROM

  18. HM624100HCSRAM

  19. SRAM Timing Compatibility • In order to ensure that we will be able to reliably read and write the memory device, we need to ensure that the processor system bus interface is compatible with the memory device. • This is accomplished by analyzing the timing for all relevant parameters of both the processor and memory, and ensuring that the operations can be completed reliably.

  20. Wrapping Up • Quiz #2 will be held Thursday 4/10/2008 at 7:15-8:30pm • Covers educational objectives for modules 3 and 4 (weeks 5 through 8) • Single 3x5 card with original handwritten notes • No calculators • Instruction set references and any needed datasheets will be provided • Reading for next week • Supplement #3, review chapter 9 in text

  21. Physical Memory Organization 32K x 8 SRAM

  22. Programming Erasing FAMOS Gate Operation

  23. JEDEC

  24. Flash Blocks

  25. Flash Memory Application:Disk-on-Key • Up to 4GB nonvolatile storage • No battery or power supply Specifications: Data retention up to 10 years Erase cycles: 1,000,000 times Shock resistance: 1000 G (maximum)

  26. RAM Read – 3 control signals

  27. RAM Write – 3 control signals

  28. Increasing Memory Depth

  29. Increasing Memory Width

  30. Increasing Memory Depth & Width

More Related