DIGITAL SYSTEMS Read Only– and Random Access Memory ( ROM – RAM) 2.12.04 Rudolf Tracht and A.J. Han Vinck.

Slides:



Advertisements
Similar presentations
Sistemas Digitais I LESI - 2º ano Lesson 9 - Memory, CPLDs and FPGAs U NIVERSIDADE DO M INHO E SCOLA DE E NGENHARIA Prof. João Miguel Fernandes
Advertisements

Chapter 5 Internal Memory
Computer Organization and Architecture
Computer Organization and Architecture
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
5-1 Memory System. Logical Memory Map. Each location size is one byte (Byte Addressable) Logical Memory Map. Each location size is one byte (Byte Addressable)
D75P 34 – HNC Computer Architecture Week 10 Computer Memory. © C Nyssen/Aberdeen College 2003 All images © C Nyssen/Aberdeen College except where stated.
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 10. Memory, CPLDs, and FPGAs
11/29/2004EE 42 fall 2004 lecture 371 Lecture #37: Memory Last lecture: –Transmission line equations –Reflections and termination –High frequency measurements.
Memory and Programmable Logic
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)
Memory Hierarchy.1 Review: Major Components of a Computer Processor Control Datapath Memory Devices Input Output.
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
Memory Devices Wen-Hung Liao, Ph.D..
IT Systems Memory EN230-1 Justin Champion C208 –
1 Lecture 16B Memories. 2 Memories in General RAM - the predominant memory ROM (or equivalent) needed to boot ROM is in same class as Programmable Logic.
1 EE365 Read-only memories Static read/write memories Dynamic read/write memories.
Chapter 6 Memory and Programmable Logic Devices
Sequential circuits part 2: implementation, analysis & design All illustrations  , Jones & Bartlett Publishers LLC, (
CS1104-8Memory1 CS1104: Computer Organisation Lecture 8: Memory
Memory and Storage - Sheetal Gosrani. Overview Memory Hierarchy RAM Memory Chip Organization ROM Flash Memory.
MEMORY.
CompE 460 Real-Time and Embedded Systems Lecture 5 – Memory Technologies.
Memory Technology “Non-so-random” Access Technology:
Physical Memory By Gregory Marshall. MEMORY HIERARCHY.
Khaled A. Al-Utaibi Memory Devices Khaled A. Al-Utaibi
Memory and Programmable Logic
Memory and Programmable Logic Dr. Ashraf Armoush © 2010 Dr. Ashraf Armoush.
CS1104: Computer Organisation School of Computing National University of Singapore.
Chapter 5 Internal Memory. Semiconductor Memory Types.
Memory and Programmable Logic Memory device: Device to which binary information is transferred for storage, and from which information is available for.
Memory and Storage Dr. Rebhi S. Baraka
Memory System Unit-IV 4/24/2017 Unit-4 : Memory System.
Digital Design: Principles and Practices
Digital Logic Design Instructor: Kasım Sinan YILDIRIM
ECE DIGITAL LOGIC DESIGN CHAPTER – VI PART 2 PLA AND MEMORY DEVICES
1 Memory Design EE 208 – Logic Design Chapter 7 Sohaib Majzoub.
 Seattle Pacific University EE Logic System DesignMemory-1 Memories Memories store large amounts of digital data Each bit represented by a single.
+ 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.
Memory and Register. Memory terminology read/write operation volotile/non volatile determine the capacity from input and output timing requirements of.
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.
COMP203/NWEN Memory Technologies 0 Plan for Memory Technologies Topic Static RAM (SRAM) Dynamic RAM (DRAM) Memory Hierarchy DRAM Accelerating Techniques.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Dr. Shi Dept. of Electrical and Computer Engineering.
Semiconductor Memory Types
07/11/2005 Register File Design and Memory Design Presentation E CSE : Introduction to Computer Architecture Slides by Gojko Babić.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
Computer Architecture Chapter (5): Internal Memory
Memory and Programmable Logic
Memories.
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 7th Edition
Presentation transcript:

DIGITAL SYSTEMS Read Only– and Random Access Memory ( ROM – RAM) Rudolf Tracht and A.J. Han Vinck

content Read Only Memory –Structure Random Access Memory –SRAM –DRAM

Read Only Memory (ROM) Storage of bits in a structured way: –Two dimensional 2 n x b –Every address specifies a pre-programmed output 2 n addresses b-bits wide output

Content „non-volatile“ Non-volatile: Content stays on chip, even without power Several types: ROMmask ROMs content programmed by manufacturer PROMPROM: Programmable ROM. All bits are pre-programmed to be 1. Bits (specified by address location) can be set to be equal to 0 by customer EPROMEPROM „erasable PROM“: Ultraviolet light „resets“ all bits equal to 1 EEPROMEEPROM "electrically erasable PROM“: individual bits can be reset to 1. (application smart-cards)

Some ROM applications CPU primitive instruction set CD-ROM ROM for logic functions, it stores a truth table –Structured design methods: simplification is not needed –Standardized building block: all ROMs are manufactured in identical steps except for the final customization phase –Example: Simple pre-programmed multiplier

example Multiply 2 x 2 bit words: A*B = CA*B = C

2 n × b ROM organization n address inputs specify 2 n unique data words decoder b - outputs ROM-array

Implementation with MOS To store a 1 at a location: connect row j line to column i line with a MOSFET To include a minterm to output: connect row j line to column i line with a transistor R invertor L L H H H L j i i decoder H L j L L L

basic 2 n x b ROM structures decoder select 1-out-of 2 m rows array select 1-out of 2 n-m words address CS OE m-bits n-m-bits n-m x b bits wide Chip select Output enable - output enable when CS. NAND. OE = 0 multiplexer b bits

Column multiplex four 8 x 1 multiplexer

Cascading memory modules example 256 X 8 ROM using 256 X 4 parts:

F0 = A' B' C + A B' C' + A B' C F1 = A' B' C + A' B C' + A B C F2 = A' B' C' + A' B' C + A B' C' F3 = A' B C + A B' C' + A B C' example Combinational logic implementation (two-level canonical form) using a ROM ABCABC F0 F1 F2 F3 8 x 4

RAM- write or read information 2 n x b RAM b-bits wide input n-bits wide address b-bits wide output control CS OE WE CS: Chip select OE: Output enable WE: Write enable

Content „Volatile“ Volatile: looses content after Power-loss –Random Access Memory (RAM): access time constant DRAMDRAM "dynamic" (high density, low speed) used in main memory SRAMSRAM "static" (low density, high speed) used in CPU register file

2D Memory Architecture A0A0 Row Decoder A1A1 A j-1 bit line word line storage (RAM) cell Row Address Column Address AjAj A j+1 A k-1 Read/Write Circuits Column Decoder 2 k-j m2 j Input/Output (m bits) selects appropriate word from memory row

Typical parallel DRAM organization 256Kb rows 512 columns 2Mbit DRAM: 256K x 8bits = 2 18 x 8bits = 2 9 rows x 2 9 columns x 8 bits

AS7C4096

Internal structure of a 1x2 static RAM in1in0 D Q C in sel wr in out sel wr in out sel wr in out sel wr in out sel wr 1 x 2 decoder out1out0 WE CS OE WE CS OE latch open latch closed read content sel = 1 makes output available

Bidirectional bus structure in1 in0 D Q C in sel wr in out sel wr in out sel wr in out sel wr in out sel wr 1 x 2 decoder out1out0 WE CS OE WE CS OE latch open latch closed read content latch closed * 0 * latch closed sel = 1 makes output available

Static RAM (SRAM) Read: Make word line H sense value on bit lines Write: Make word line H put values to Bit and !Bit flip-flop stays in stable state when word line  L !Bit = NOT(Bit) 6 MOSFETS  low density  higher cost/bit, but fast

Dynamic RAM (DRAM) Read: - make word line H, - sense voltage on bit line (destroys saved value, i.e. content must be written back) Write: - make word line H - put new value on bit line - make word line L ( freeze the capacitor load ) Refresh cycles are needed for the whole memory to restore the content! (do dummy read) Small cell  high density  lower speed  more difficult to produce

memory access Hardware Registers (CPU) Random Access: access time is the same for all locations –SRAM: Static Random Access Memory Low density, high power, expensive, fast Static: content will last “forever”(until no power) –DRAM: Dynamic Random Access Memory High density, low power, cheap, slow Dynamic: need to be “refreshed” regularly “Not-so-random” Access Technology: –Access time varies from location to location and from time to time –Examples: Disk, CDROM, DRAM page-mode access Sequential Access Technology: access time linear in location (e.g.,Tape) speed size

DRAM Generation ‘84 ‘87 ‘90‘93‘96‘99 1 Mb 4 Mb 16 Mb 64 Mb 256 Mb1 Gb (from Kazuhiro Sakashita, Mitsubishi) DRAM over time 1st Gen. Sample Memory Size Die Size (mm 2 ) Memory Area (mm 2 ) Memory Cell Area (µm 2 )

trends CapacitySpeed (latency) Logic:2x in 3 years2x in 3 years DRAM:4x in 3 years2x in 10 years Disk:4x in 3 years2x in 10 years

µProc 60%/yr. (2X/1.5yr) DRAM 9%/yr. (2X/10 yrs) DRAM CPU 1982 Processor-Memory Performance Gap: (grows 50% / year) Performance Processor-DRAM Memory Gap (speed)

Page Mode/EDO RAM Normal RAM drives many bits (row) out of array, selects few to output. Adding latch at row outputs allows us to save an entire row of the RAM Later accesses to the RAM can eliminate the row access time, just need column access time Most common in DRAM, page- mode SRAMs also exist