Memory Systems Embedded Systems Design and Implementation Witawas Srisa-an.

Slides:



Advertisements
Similar presentations
Outline Memory characteristics SRAM Content-addressable memory details DRAM © Derek Chiou & Mattan Erez 1.
Advertisements

Chapter 5 Internal Memory
Computer Organization and Architecture
Computer Organization and Architecture
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
LOGO.  Concept:  Is read-only memory.  Do not lose data when power is lost.  ROM memory is used to produce chips with integrated.
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.
ECE 301 – Digital Electronics Memory (Lecture #21)
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.
Computer Organization and Architecture
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..
Chapter 4 Computer Memory
1 EE365 Read-only memories Static read/write memories Dynamic read/write memories.
CSCI 4717/5717 Computer Architecture
F1020/F1031 COMPUTER HARDWARE MEMORY. Read-only Memory (ROM) Basic instructions for booting the computer and loading the operating system are stored in.
RAM (random access memory)
PC Maintenance: Preparing for A+ Certification
CompE 460 Real-Time and Embedded Systems Lecture 5 – Memory Technologies.
Memory Technology “Non-so-random” Access Technology:
Types of RAM By Alysha Gould. TYPES OF RAM SIMM’S DIMM’S DRAM SDRAM RDAM VDRAM.
5.1 Semiconductor main memory  Organization The basic element of a semiconductor memory is the memory cell. Semiconductor memory cells properties: 1.
Chapter 4 ระบบหน่วยความจำ The Memory System
Memory Hierarchy Registers Cache Main Memory Fixed Disk (virtual memory) Tape Floppy Zip CD-ROM CD-RWR Cost/Bit Access/Speed Capacity.
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.
Systems Overview Computer is composed of three main components: CPU Main memory IO devices Refers to page
Memory and Storage Dr. Rebhi S. Baraka
© 2000 Morgan Kaufman Overheads for Computers as Components System components  Timing diagrams.  Memory.  Busses and interconnect.
CIM101 : Introduction to computer Lecture 3 Memory.
+ CS 325: CS Hardware and Software Organization and Architecture Memory Organization.
Chapter 6: Internal Memory Computer Architecture Chapter 6 : Internal Memory Memory Processor Input/Output.
Chapter 4: MEMORY Internal Memory.
Types of Memory Technologies  Volatile  RAM (Random Access Memory)  DRAM (Dynamic RAM)  SRAM (Static RAM)  SDRAM (Synchronous DRAM)  Non-Volatile.
It is the work space for the CPU Temporary storage for data/programs the CPU is working with. Started as a collection of IC’s on Motherboard. Two main.
Memory Cell Operation.
Computer Memory Storage Decoding Addressing 1. Memories We've Seen SIMM = Single Inline Memory Module DIMM = Dual IMM SODIMM = Small Outline DIMM RAM.
Memory Hierarchy Registers Cache Main Memory Fixed Disk (virtual memory) Tape Floppy Zip CD-ROM CD-RWR Cost/Bit Access/Speed Capacity.
Computer Architecture Lecture 24 Fasih ur Rehman.
Semiconductor Memory Types
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
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
שמות מאפיינים ומטרות של זיכרונות ROM - ו RAM
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
BIC 10503: COMPUTER ARCHITECTURE
Chapter 4: MEMORY.
William Stallings Computer Organization and Architecture 8th Edition
Presentation transcript:

Memory Systems Embedded Systems Design and Implementation Witawas Srisa-an

Agenda Go over memory device and system –Basic technology –Review of memory organization –Review of memory management Credits –Materials presented in this slide set are from Steve Heath, Embedded Systems Design 2 nd Ed., Newnes, Elsevier Science Wayne Wolf, Computers as Components, Morgan Kaufman, Elsevier Science

Memory Technology Volatile –DRAM –SRAM Non-volatile –EPROM –EEPROM –Flash

Signals Address bus Data bus Chip selects –Select chips from an array within a memory device Control signals –Read/write

Dynamic RAM Technology Used for cheap/large memory –Cost determines by the number of transistors/bit and packaging technology How many per bit? How many pins? –Need to refresh regularly (15 microseconds) Why? Result in 3 – 4% theoretical maximum processing overhead –Higher density 4 to 5 more times than SRAM

DRAM Interface DRAM CE’ R/W’ Adrs Data RAS’ CAS’

DRAM Interface Two stages –Upper half of address is placed on the address bus to form row address then assert RAS signal –Then, lower half of address is placed on the address bus to form column address then assert CAS signal –Notice, row address is buffered internally –Access time from assertion of RAS to appearance of data

DRAM Interface time CE’ R/W’ RAS’ CAS’ Adrs Data row adrs col adrs data

DRAM Interface 256Kbit (512 bits/row 16 DRAMs) Things to consider memory chip (16K x 1 or 4K x 4) the width of each row the number of DRAM in the array

DRAM Interface Kbit (512 bits/row 16 DRAMs) Things to consider memory chip (16K x 1 or 4K x 4) the width of each row the number of DRAM in the array

Page Mode DRAM First access to a row, supply RAS Afterward, keep RAS assert so only need to supply CAS –Performance gain is in cutting down the time needed to provide the RAS pulse –Not truly random access –256 KB memory module (512 bit/row and 16 DRAMs in an array) How large is a page? Can be interleaved and/or burst mode

Page Mode DRAM 256Kbit (512 bits/row, 16 DRAMs, 4K x 4) How big is a page?

Page Mode DRAM time CE’ R/W’ RAS’ CAS’ Adrs Data row adrs col adrs data col adrs col adrs data

EDO RAM time CE’ R/W’ RAS’ CAS’ Adrs Data row adrs data col adrs col adrs col adrs

Video RAM DRAM with shift register –Simultaneous accesses between processor and the video display –Shift register is driven by clock serially

Static RAM Technology Used for fast/small memory –4 to 5 transistors per bit –Need more resource –No refresh is needed –Example Cache memory Local memory-

SRAM Interface SRAM CE’ R/W’ Adrs Data

SRAM Interface time CE’ R/W’ Adrs Data readwrite From SRAMFrom CPU

SRAM vs DRAM (Pin) How many pins are needed for a 1M x 1 –DRAM chip? –SRAM chip? SRAM CE’ R/W’ Adrs Data DRAM CE’ R/W’ Adrs Data RAS’ CAS’

SRAM Has been said to consume more power than DRAM –Only true during switching –Use less quiescent current than DRAM which has to be refreshed all the time Can use battery to back-up SRAM

Non-Volatile Memory EPROM –Read-only –Erasable through UV Flash –Electrically erasable –Same access time as DRAM EEPROM –Erase in block using electrical pulses

Basic Memory Organization Processors don’t request data in a single bit. They request data in multiple bits –MC68000 has 16-bit data path Either 16x1, 4x4 or 2x8 device would be needed We have by 1, by 4, by 8 by 16 or more organization

Memory Packaging Dual in line memory module (DIMM) –64 bit SIMM –32 bit

OS Review Why do we need memory management? –Relocation –Protection –Large address space Trade offs –Slower memory access Translation overhead Additional storage for look-up tables