CompE 460 Real-Time and Embedded Systems Lecture 5 – Memory Technologies.

Slides:



Advertisements
Similar presentations
Memory, I/O and Microcomputer Bus Architectures
Advertisements

Chapter 5 Internal Memory
Computer Organization and Architecture
Computer Organization and Architecture
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
Anshul Kumar, CSE IITD CSL718 : Main Memory 6th Mar, 2006.
COEN 180 DRAM. Dynamic Random Access Memory Dynamic: Periodically refresh information in a bit cell. Else it is lost. Small footprint: transistor + capacitor.
These slides incorporate figures from Digital Design Principles and Practices, third edition, by John F. Wakerly, Copyright 2000, and are used by permission.
1 DIGITAL DESIGN I DR. M. MAROUF MEMORY Read-only memories Static read/write memories Dynamic read/write memories Author: John Wakerly (CHAPTER 10.1 to.
EECC341 - Shaaban #1 Lec # 19 Winter Read Only Memory (ROM) –Structure of diode ROM –Types of ROMs. –ROM with 2-Dimensional Decoding. –Using.
ECE 301 – Digital Electronics Memory (Lecture #21)
Chapter 9 Memory Basics Henry Hexmoor1. 2 Memory Definitions  Memory ─ A collection of storage cells together with the necessary circuits to transfer.
1 Lecture 16B Memories. 2 Memories in General Computers have mostly RAM ROM (or equivalent) needed to boot ROM is in same class as Programmable Logic.
Overview Memory definitions Random Access Memory (RAM)
Registers –Flip-flops are available in a variety of configurations. A simple one with two independent D flip-flops with clear and preset signals is illustrated.
Registers  Flip-flops are available in a variety of configurations. A simple one with two independent D flip-flops with clear and preset signals is illustrated.
Chapter 5 Internal Memory
Spring 2002EECS150 - Lec19-memory Page 1 EECS150 - Digital Design Lecture 18 - Memory April 4, 2002 John Wawrzynek.
Memory Devices Wen-Hung Liao, Ph.D..
IT Systems Memory EN230-1 Justin Champion C208 –
Memory Key component of a computer system is its memory system to store programs and data. ITCS 3181 Logic and Computer Systems 2014 B. Wilkinson Slides12.ppt.
1 EE365 Read-only memories Static read/write memories Dynamic read/write memories.
Overview Booth’s Algorithm revisited Computer Internal Memory Cache memory.
F1020/F1031 COMPUTER HARDWARE MEMORY. Read-only Memory (ROM) Basic instructions for booting the computer and loading the operating system are stored in.
Memory Technology “Non-so-random” Access Technology:
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 8 – Memory Basics Logic and Computer Design.
5.1 Semiconductor main memory  Organization The basic element of a semiconductor memory is the memory cell. Semiconductor memory cells properties: 1.
Faculty of Information Technology Department of Computer Science Computer Organization and Assembly Language Chapter 5 Internal Memory.
Basic concepts Maximum size of the memory depends on the addressing scheme: 16-bit computer generates 16-bit addresses and can address up to 216 memory.
ECE 456 Computer Architecture
Chapter 5 Internal Memory. Semiconductor Memory Types.
Memory and Storage Dr. Rebhi S. Baraka
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use ECE/CS 352: Digital Systems.
Chapter 3 Internal Memory. Objectives  To describe the types of memory used for the main memory  To discuss about errors and error corrections in the.
CPEN Digital System Design
 Seattle Pacific University EE Logic System DesignMemory-1 Memories Memories store large amounts of digital data Each bit represented by a single.
Chapter 6: Internal Memory Computer Architecture Chapter 6 : Internal Memory Memory Processor Input/Output.
Chapter 4: MEMORY Internal Memory.
Memory Cell Operation.
Computer Architecture Lecture 24 Fasih ur Rehman.
Semiconductor Memory Types
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 8 – Memory Basics Logic and Computer Design.
1 Memory Hierarchy (I). 2 Outline Random-Access Memory (RAM) Nonvolatile Memory Disk Storage Suggested Reading: 6.1.
Chapter 5 Internal Memory. contents  Semiconductor main memory - organisation - organisation - DRAM and SRAM - DRAM and SRAM - types of ROM - types of.
Computer Architecture Chapter (5): Internal Memory
Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 7th Edition
Memory Units Memories store data in units from one to eight bits. The most common unit is the byte, which by definition is 8 bits. Computer memories are.
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
Computer Architecture
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
BIC 10503: COMPUTER ARCHITECTURE
Chapter 4 Internal Memory
William Stallings Computer Organization and Architecture 8th Edition
Bob Reese Micro II ECE, MSU
Presentation transcript:

CompE 460 Real-Time and Embedded Systems Lecture 5 – Memory Technologies

Click to edit Master title style Agenda Prayer/Thoughts The CPU-Memory Interface The Memory Subsystem and Technologies Volatile Memory DRAM SDRAM SRAM DDR RAM Non-Volatile Memory ROM EEPROM Flash

Click to edit Master title style Memory What are some different kinds of memory? Volatile SRAM: Static Random Access Memory DRAM: Dynamic Random Access Memory SDRAM – Synchronous DRAM DDR SDAM – Dual data rate ram RDRAM – Rambus DRAM VideoRAM – Dual Port RAM Non-Volatile Read Only Memories ROM PROM EPROM EEPROM Flash MRAM – Magnetic RAM FRAM – FerroElectric RAM Phase Change Memory – Based on electrically induced phase change of chalcogenide materials (has both crystaline and non-crystaline states)

Click to edit Master title style Memory Cont In a PC, what do you normally use? Volatile main memory Memory Modules Non-Volatile BIOS EEPROM/Flash

Click to edit Master title style Memory subsystems generally consist of multiple chips Both volatile and non-volatile And/or multiple chips for each Depending on system, each chip provides few bytes (e.g., 1 ­ 4) per access (like in a PC system), or each provides all bytes for an access (like in most embedded systems) Bytes from multiple chips are accessed in parallel to fetch words Memory controller decodes/translates address and control signals Memory Subsystem Components

Click to edit Master title style Volatile Memory Forgets memory when power is turned off Usually volatile is much faster than non-volatile memory Many types of volatile memory – Usually comes in 2 flavors Asynchronous SRAM: Static Random Access Memory –upside: fast and no refresh required –downside: not so dense and not so cheap –often used for caches DRAM: Dynamic Random Access Memory –upside: very dense (1 transistor per bit) and inexpensive –downside: requires refresh and often not the fastest access times –often used for main memories Synchronous SDRAM – Synchronous DRAM – refers to the fact that this DRAM is tied to a common clock with the uproc, so all data is read/write on a particular clock edge (either rising or falling) DDRAM – Dual data rate ram – data is read/written on each clock edge (both rising and falling)

Click to edit Master title style Asynch Mem - Static versus Dynamic RAM What is a D flip-flop? Static RAM uses Flipflops for each storage element What is a capacitor Dynamic Ram uses capacitors for each storage element DQ CLK

Click to edit Master title style Storage Basics RAM chips don't store whole bytes, but rather they store individual bits in a grid, which you can address one bit at a time

Click to edit Master title style CPU ­ Async Memory Interface CPU ­ Asynch Memory Interface usually consists of: uni ­ directional address bus bi ­ directional data bus read control line write control line ready control line size (byte, word) control line Memory access involves a memory bus transaction read: (1) set address, read and size, (2) copy data when ready is set by memory write: (1) set address, data, write and size, (2) done when ready is set address bus data bus CPU Memory Read Write Ready size

Click to edit Master title style Storage Basics Cont Row and Column decoders are simple 1 of X decoders (from CompE 224) Example: contains 8 16x1 ­ bit decoders address bus data bus CPU Memory Read Write Ready Size 1-of-16 decoder address x8-bit memory array D7 D6 D5 D4 D3 D2 D1 D0

Click to edit Master title style SRAM Organization and Operations (a) Address lines/decoders to select a row and a column (b) Chip Select (c) Read/Write enable (d) Data in/out

Click to edit Master title style SRAM Memory Timing for Read Accesses Address and chip select signals are provided t AA before data is available Outputs reflect new data 2147H 2147H High-Speed 4096x1-bit static RAM A 11 -A 0 D in WECS D out t RC = Read cycle time t AA = Address access time t ACS = Chip select access time t HZ = Chip deselections to high­Z out old address high impedance undef Data Valid t RC t AA t ACS t Hz new address Address A 11 -A 0 CS WE D out Address Bus

Click to edit Master title style SRAM Memory Timing for Write Accesses Address and data must be stable t S time-units before write enable signal falls 2147H 2147H High-Speed 4096X1-bit static RAM A 11 -A 0 D in WECS D in t S = Signal setup time t RC = Read cycle time t AA = Address access time t ACS = Chip select access time t HZ = Chip deselections to high­Z out old address old datanew data t WC t AA t ACS t Hz new address Address A 11 -A 0 CS WE D in tStS Address Bus

Click to edit Master title style DRAM Organization and Operations (a) Address lines/decoders to select a row and a column (b) Chip Select (not shown) (c) Read/Write enable (d) Data in/out (e) Refresh counters

Click to edit Master title style DRAM Memory Access DRAM Memory is arranged in a XY grid pattern of rows and columns (like SRAM) First, the row address is sent to the memory chip and latched, then the column address is sent in a similar fashion This row and column-addressing scheme (called multiplexing) allows a large memory address to use fewer pins BF533 uses this for DRAM memory maps The charge stored in the chosen memory cell is amplified using the sense amplifier and then routed to the output pin Read/Write is controlled using the read/write logic

Click to edit Master title style How DRAM Works

Click to edit Master title style Non-Volatile Memory ROM – Read Only Memory – come from factory programmed PROM – Programmable ROM – one time use – programmed with programmer EPROM – Erasable PROM – can use multiple times – need special eraser to reuse them EEPROM – Electrically erasable PROM – Typically slow reading/writing – Can be used “in circuit” – generally small memory footprints Flash – Have to write a block of data – writing is slow, reading fast – will wear out after ~10k to 100k writes

Click to edit Master title style Flash Memory

Click to edit Master title style Flash Technology - Example This is an 8 Mbit, 3.0 volt-only Flash memory organized as 1,048,576 bytes or 524,288 words.

Click to edit Master title style Flash Technology Two cautions for flash memory Flash is usually spec’d as Mb not MB Reading from flash is same as RAM Writing to flash requires a sector write

Backup

Click to edit Master title style DRAM Performance Specs Important DRAM Performance Considerations Random access time: time required to read any random single cell Fast Page Cycle time: time required for page mode access ­­ read/write to memory location on the most recently ­ accessed page (no need to repeat RAS in this case) Extended Data Out (EDO): allows setup of next address while current data access is maintained SDRAM ­ Burst Mode: Synchronous DRAMs use a self ­ incrementing counter and a mode register to determine the column address sequence after the first memory location accessed on a page ­­ effective for applications that usually require streams of data from one or more pages on the DRAM Required refresh rate: minimum rate of refreshes