ECSE-2610 Computer Components & Operations (COCO)

Similar documents
Organization. 5.1 Semiconductor Main Memory. William Stallings Computer Organization and Architecture 6th Edition

William Stallings Computer Organization and Architecture 6th Edition. Chapter 5 Internal Memory

COMP3221: Microprocessors and. and Embedded Systems. Overview. Lecture 23: Memory Systems (I)

Chapter 5 Internal Memory

Address connections Data connections Selection connections

Basic Organization Memory Cell Operation. CSCI 4717 Computer Architecture. ROM Uses. Random Access Memory. Semiconductor Memory Types

UMBC. Select. Read. Write. Output/Input-output connection. 1 (Feb. 25, 2002) Four commonly used memories: Address connection ... Dynamic RAM (DRAM)

Concept of Memory. The memory of computer is broadly categories into two categories:

Computer Organization. 8th Edition. Chapter 5 Internal Memory

Internal Memory. Computer Architecture. Outline. Memory Hierarchy. Semiconductor Memory Types. Copyright 2000 N. AYDIN. All rights reserved.

CS 320 February 2, 2018 Ch 5 Memory

UNIT V (PROGRAMMABLE LOGIC DEVICES)

Read and Write Cycles

Summer 2003 Lecture 18 07/09/03

Large and Fast: Exploiting Memory Hierarchy

Overview. Memory Classification Read-Only Memory (ROM) Random Access Memory (RAM) Functional Behavior of RAM. Implementing Static RAM

Logic and Computer Design Fundamentals. Chapter 8 Memory Basics

Embedded Systems Design: A Unified Hardware/Software Introduction. Outline. Chapter 5 Memory. Introduction. Memory: basic concepts

Embedded Systems Design: A Unified Hardware/Software Introduction. Chapter 5 Memory. Outline. Introduction

Memory & Simple I/O Interfacing

Microcontroller Systems. ELET 3232 Topic 11: General Memory Interfacing

CS 261 Fall Mike Lam, Professor. Memory

Information Storage and Spintronics 10

CS429: Computer Organization and Architecture

CS429: Computer Organization and Architecture

Chapter 4 Main Memory

Sense Amplifiers 6 T Cell. M PC is the precharge transistor whose purpose is to force the latch to operate at the unstable point.

Introduction read-only memory random access memory

CS24: INTRODUCTION TO COMPUTING SYSTEMS. Spring 2017 Lecture 13

Semiconductor Memory Classification. Today. ESE 570: Digital Integrated Circuits and VLSI Fundamentals. CPU Memory Hierarchy.

Chapter 8 Memory Basics

Very Large Scale Integration (VLSI)

Chapter 5. Internal Memory. Yonsei University

(Advanced) Computer Organization & Architechture. Prof. Dr. Hasan Hüseyin BALIK (5 th Week)

ELCT 912: Advanced Embedded Systems

ECE 485/585 Microprocessor System Design

Topic 21: Memory Technology

Topic 21: Memory Technology

Design and Implementation of an AHB SRAM Memory Controller

William Stallings Computer Organization and Architecture 8th Edition. Chapter 5 Internal Memory

Memory Challenges. Issues & challenges in memory design: Cost Performance Power Scalability

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

Semiconductor Memories: RAMs and ROMs

Memories: Memory Technology

8051 INTERFACING TO EXTERNAL MEMORY

The Memory Hierarchy Part I

RTL Design (2) Memory Components (RAMs & ROMs)

! Memory Overview. ! ROM Memories. ! RAM Memory " SRAM " DRAM. ! This is done because we can build. " large, slow memories OR

Memory classification:- Topics covered:- types,organization and working

Unit 6 1.Random Access Memory (RAM) Chapter 3 Combinational Logic Design 2.Programmable Logic

Contents. Main Memory Memory access time Memory cycle time. Types of Memory Unit RAM ROM

ECE 2300 Digital Logic & Computer Organization

10/24/2016. Let s Name Some Groups of Bits. ECE 120: Introduction to Computing. We Just Need a Few More. You Want to Use What as Names?!

ECEN 449 Microprocessor System Design. Memories. Texas A&M University

Allmost all systems contain two main types of memory :

Computer Memory Basic Concepts. Lecture for CPSC 5155 Edward Bosworth, Ph.D. Computer Science Department Columbus State University

Memory Basics. Course Outline. Introduction to Digital Logic. Copyright 2000 N. AYDIN. All rights reserved. 1. Introduction to Digital Logic.

+1 (479)

,e-pg PATHSHALA- Computer Science Computer Architecture Module 25 Memory Hierarchy Design - Basics

Memory Overview. Overview - Memory Types 2/17/16. Curtis Nelson Walla Walla University

Memory and Programmable Logic

CS311 Lecture 21: SRAM/DRAM/FLASH

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing

EE 308: Microcontrollers

Memory memories memory

Memory technology and optimizations ( 2.3) Main Memory

The Memory Hierarchy 1

The Memory Component

Magnetic core memory (1951) cm 2 ( bit)

EECS150 - Digital Design Lecture 16 Memory 1

Chapter 2: Fundamentals of a microprocessor based system

Introduction to Semiconductor Memory Dr. Lynn Fuller Webpage:

Memory and Programmable Logic

Memory. Outline. ECEN454 Digital Integrated Circuit Design. Memory Arrays. SRAM Architecture DRAM. Serial Access Memories ROM

Design with Microprocessors

EECS150 - Digital Design Lecture 16 - Memory

CS 33. Memory Hierarchy I. CS33 Intro to Computer Systems XVI 1 Copyright 2016 Thomas W. Doeppner. All rights reserved.

Random-Access Memory (RAM) CS429: Computer Organization and Architecture. SRAM and DRAM. Flash / RAM Summary. Storage Technologies

ECE 485/585 Microprocessor System Design

MODULE 12 APPLICATIONS OF MEMORY DEVICES:

CENG 4480 L09 Memory 2

a) Memory management unit b) CPU c) PCI d) None of the mentioned

EE251: Thursday November 15

EE141-Fall 2007 Digital Integrated Circuits. ROM and Flash. Announcements. Read-Only Memory Cells. Class Material. Semiconductor Memory Classification

Memories. Design of Digital Circuits 2017 Srdjan Capkun Onur Mutlu.

UNIT:4 MEMORY ORGANIZATION

CS152 Computer Architecture and Engineering Lecture 16: Memory System

Computer Organization and Assembly Language (CS-506)

Menu. word size # of words byte = 8 bits

Random Access Memory (RAM)

Hardware Design with VHDL PLDs I ECE 443. FPGAs can be configured at least once, many are reprogrammable.

chapter 8 The Memory System Chapter Objectives

ECEN 449 Microprocessor System Design. Memories

Design with Microprocessors

ELE 455/555 Computer System Engineering. Section 1 Review and Foundations Class 3 Technology

Lecture 18: DRAM Technologies

CS 261 Fall Mike Lam, Professor. Memory

Memory Expansion. Lecture Embedded Systems

FPGA Programming Technology

Main Memory (RAM) Organisation

Transcription:

ECSE-2610 Computer Components & Operations (COCO) Part 18: Random Access Memory 1 Read-Only Memories 2

Why ROM? Program storage Boot ROM for personal computers Complete application storage for embedded systems. Actually, a ROM is a combinational circuit, basically a truth-table lookup. Can perform any combinational logic function Address inputs = function inputs Data outputs = function outputs 3 Logic-in in-rom example 4

4x4 multiplier example 5 Internal ROM structure PDP-11 boot ROM (64 words, 1024 diodes) 6

Two-dimensional decoding 7 Today s ROMs 256K bytes, 1M byte, or larger Use MOS transistors 8

EEPROMs,, Flash PROMs Programmable and erasable using floating-gate MOS transistors 9 Typical commercial EEPROMs 10

EEPROM programming Apply a higher voltage to force bit change E.g., VPP = 12 V On-chip high-voltage charge pump in newer chips Erase bits Byte-byte Entire chip ( flash ) One block (typically 32K - 66K bytes) at a time Programming and erasing are a lot slower than reading (milliseconds vs. 10 s of nanoseconds) 11 ROM control and I/O signals 12

ROM timing 13 Microprocessor EPROM application 14

Static RAM Organization Chip Select Line (active low) Write Enable Line (active low) 10 Address Lines CS WE A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 1024 x 4 SRAM IO3 IO2 IO1 IO0 4 Bidirectional Data Lines (read & write) Data readout is is a nondestructive operation 15 Static RAM Transistor efficient methods for implementing storage elements Small RAM: 256 words by 4-bit Large RAM: 4 million words by 1-bit We will discuss a 1024 x 4 organization 16

RAM Organization Long thin layouts are not the best organization for a RAM A9 Some Addr bits select row A8 A7 A6 A5 Address Buffers for Row Decoders Storage Matrix 64 x 16 64 x 16 64 x 16 64 x 16 64 x 64 Square Array A4 Some Addr bits select within row A3 A2 A1 A0 Address Buffers for Column Decoders Sense Amplifiers Amplifiers & Mux/Demux CS WE Data Buffers I/O0 I/O1 I/O2 I/O3 Tri-State Data Out 17 Timing Diagram Conventions Input Signal Output Signal Must be steady high or low Will be steady high or low High-to-low changes permitted Low-to high changes permitted Don't-Care Will be changing from high-to-low during designated interval Will be changing from low-to-high during designated interval State changing (Does not apply) Centerline represents high impedance (off) state 18

RAM Timing WE Simplified Read Read Timing Timing Access Time The time it takes for new data to be ready to appear at the output CS Address Data Out WE Valid Address Access Time Data Out Simplified Write Write Timing Timing CS Address Memory Cycle Time Valid Address Data In Input Data 19 Dynamic RAMs (DRAMs) Single Transistor Single Transistor (and a capacitor) memory element Word Line Bit Line Read: assert Word Line, sense Bit Line Write: assert Word Line, drive Bit Line Destructive Read-Out Refresh Cycles needed: storage decays in ms Internal circuits read word and write back Higher density and cheaper than SRAM Longer access time than SRAM 20

DRAM charge leakage 21 DRAM Refresh Refresh Frequency 4096 word RAM -- refresh each word once every 4 ms Assume 120 ns memory access cycle This is one refresh cycle every 976 ns (11 in 8 DRAM accesses)! But this RAM is really organized into 64 rows This is one refresh cycle every 62.5 µs (11 in 500 DRAM accesses) Large capacity DRAMs have 256 rows, refresh once every 16 µs 22

DRAM-chip internal organization 64K x 1 DRAM 23 RAS/CAS operation Row Address Strobe, Column Address Strobe n address bits are provided in two steps using n/2 pins, referenced to the falling edges of RAS_L and CAS_L Traditional method of DRAM operation for 20 years. Now being supplanted by synchronous, clocked interfaces in SDRAM (synchronous DRAM). 24

DRAM read timing 25 DRAM refresh timing 26

DRAM write timing 27