Memory Basics. SRAM/DRAM Basics



Similar documents
RAM & ROM Based Digital Design. ECE 152A Winter 2012

Memory. The memory types currently in common usage are:

A N. O N Output/Input-output connection

Module 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1

With respect to the way of data access we can classify memories as:

Semiconductor Memories

Computer Architecture

Chapter 7 Memory and Programmable Logic

Homework # 2. Solutions. 4.1 What are the differences among sequential access, direct access, and random access?

Chapter 5 :: Memory and Logic Arrays

Computer Systems Structure Main Memory Organization

Handout 17. by Dr Sheikh Sharif Iqbal. Memory Unit and Read Only Memories

Objectives. Units of Memory Capacity. CMPE328 Microprocessors (Spring ) Memory and I/O address Decoders. By Dr.

1. Memory technology & Hierarchy

NAND Flash FAQ. Eureka Technology. apn5_87. NAND Flash FAQ

Random-Access Memory (RAM) The Memory Hierarchy. SRAM vs DRAM Summary. Conventional DRAM Organization. Page 1

Algorithms and Methods for Distributed Storage Networks 3. Solid State Disks Christian Schindelhauer

CHAPTER 7: The CPU and Memory

Chapter 9 Semiconductor Memories. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

Computers. Hardware. The Central Processing Unit (CPU) CMPT 125: Lecture 1: Understanding the Computer

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory

Modeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: ext: Sequential Circuit

Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.

Read-only memory Implementing logic with ROM Programmable logic devices Implementing logic with PLDs Static hazards

Microprocessor or Microcontroller?

EXERCISES OF FUNDAMENTALS OF COMPUTER TECHNOLOGY UNIT 5. MEMORY SYSTEM

MICROPROCESSOR AND MICROCOMPUTER BASICS

Computer Architecture

Memory Systems. Static Random Access Memory (SRAM) Cell

Writing Assignment #2 due Today (5:00pm) - Post on your CSC101 webpage - Ask if you have questions! Lab #2 Today. Quiz #1 Tomorrow (Lectures 1-7)

Static-Noise-Margin Analysis of Conventional 6T SRAM Cell at 45nm Technology

CHAPTER 16 MEMORY CIRCUITS

SDRAM and DRAM Memory Systems Overview

Lecture 9: Memory and Storage Technologies

Chapter 4 System Unit Components. Discovering Computers Your Interactive Guide to the Digital World

Chapter 6. Inside the System Unit. What You Will Learn... Computers Are Your Future. What You Will Learn... Describing Hardware Performance

Chapter 8 Memory Units

ECE410 Design Project Spring 2008 Design and Characterization of a CMOS 8-bit Microprocessor Data Path

Chapter 13. PIC Family Microcontroller

1 / 25. CS 137: File Systems. Persistent Solid-State Storage

Discovering Computers Living in a Digital World

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to:

MICROPROCESSOR BCA IV Sem MULTIPLE CHOICE QUESTIONS

Sequential Circuit Design

Machine Architecture and Number Systems. Major Computer Components. Schematic Diagram of a Computer. The CPU. The Bus. Main Memory.

Layout of Multiple Cells

CSCA0102 IT & Business Applications. Foundation in Business Information Technology School of Engineering & Computing Sciences FTMS College Global

Technical Note. Micron NAND Flash Controller via Xilinx Spartan -3 FPGA. Overview. TN-29-06: NAND Flash Controller on Spartan-3 Overview

Memory Hierarchy. Arquitectura de Computadoras. Centro de Investigación n y de Estudios Avanzados del IPN. adiaz@cinvestav.mx. MemoryHierarchy- 1

Chapter 2 Logic Gates and Introduction to Computer Architecture

Embedded Systems Design Course Applying the mbed microcontroller

Memory unit. 2 k words. n bits per word

GETTING STARTED WITH PROGRAMMABLE LOGIC DEVICES, THE 16V8 AND 20V8

CSCA0201 FUNDAMENTALS OF COMPUTING. Chapter 5 Storage Devices

We r e going to play Final (exam) Jeopardy! "Answers:" "Questions:" - 1 -

The Central Processing Unit:

Memory ICS 233. Computer Architecture and Assembly Language Prof. Muhamed Mudawar

Lecture N -1- PHYS Microcontrollers

Flash Memories. João Pela (52270), João Santos (55295) December 22, 2008 IST

A3 Computer Architecture

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

Price/performance Modern Memory Hierarchy

Memory Testing. Memory testing.1

Computer Organization and Architecture. Characteristics of Memory Systems. Chapter 4 Cache Memory. Location CPU Registers and control unit memory

CHAPTER 2: HARDWARE BASICS: INSIDE THE BOX

Management Challenge. Managing Hardware Assets. Central Processing Unit. What is a Computer System?

Byte Ordering of Multibyte Data Items

Introduction To Computers: Hardware and Software

Microprocessor & Assembly Language

Lecture 5: Gate Logic Logic Optimization

CSE2102 Digital Design II - Topics CSE Digital Design II

Serial port interface for microcontroller embedded into integrated power meter

Basic Computer Organization

CS250 VLSI Systems Design Lecture 8: Memory

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

1 Gbit, 2 Gbit, 4 Gbit, 3 V SLC NAND Flash For Embedded

Hardware: Input, Processing, and Output Devices. A PC in Every Home. Assembling a Computer System

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

Candidates should be able to: (i) describe the purpose of RAM in a computer system

Understanding Memory TYPES OF MEMORY

Programming Logic controllers

Allows the user to protect against inadvertent write operations. Device select and address bytes are Acknowledged Data Bytes are not Acknowledged

Computer Hardware Submitted in partial fulfillment of the requirement for the award of degree Of MCA

7a. System-on-chip design and prototyping platforms

PowerPC Microprocessor Clock Modes

SOLVING HIGH-SPEED MEMORY INTERFACE CHALLENGES WITH LOW-COST FPGAS

Programming NAND devices

Class 18: Memories-DRAMs

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad

Am186ER/Am188ER AMD Continues 16-bit Innovation

2.0 Command and Data Handling Subsystem

To understand how data is processed, by a computer, we can draw a simple analogy between computers and humans.

W25Q80, W25Q16, W25Q32 8M-BIT, 16M-BIT AND 32M-BIT SERIAL FLASH MEMORY WITH DUAL AND QUAD SPI

The Programming Interface

Main Memory & Backing Store. Main memory backing storage devices

DS1225Y 64k Nonvolatile SRAM

Transcription:

Memory Basics RAM: Random Access Memory historically defined as memory array with individual bit access refers to memory with both Read and Write capabilities ROM: Read Only Memory no capabilities for online memory Write operations Write typically requires high voltages or erasing by UV light Volatility of Memory volatile memory loses over time or when power is removed RAM is volatile non-volatile memory stores date even when power is removed ROM is non-volatile Static vs Dynamic Memory Static: holds as long as power is applied (SRAM) Dynamic: will lose unless refreshed periodically (DRAM) Memory Overview1 SRAM/DRAM Basics SRAM: Static Random Access Memory Static: holds as long as power is applied Volatile: can not hold if power is removed 3 Operation States: hold, write, read Basic 6T (6 transistor) SRAM Cell bistable (cross-coupled) INVs for storage access transistors MAL & MAR word line, WL, controls access WL = 0 (hold) = 1 (read/write) DRAM: Dynamic Random Access Memory Dynamic: must be refreshed periodically Volatile: loses when power is removed 1T DRAM Cell single access transistor; storage capacitor control input: word line (WL); I/O: bit line DRAM to SRAM Comparison DRAM is smaller & less expensive per bit SRAM is faster DRAM requires more peripheral circuitry bit MAL WL MAR bit Memory Overview2

ROM/PROM Basics ROM: Read Only Memory no capabilities for online memory Write operations programmed during fabrication: ROM with high voltages: PROM by control logic: PLA Non-volatile: stored even when power is removed PROM: Programmable Read Only Memory programmable by user -using special program tools/modes read only memory -during normal use non-volatile Read Operation like any ROM: ess bits select output bit combinations Write Operation typically requires high voltage (~15V) control inputs to set EPROM device structure stores charge to floating gate (see figure) to set to Hi or Low Erase Operation to change EPROM: erasable PROM: uses UV light to reset all bits EEPROM: electrically-erasable PROM, erase with control voltage Memory Overview3 Comparison of Memory Types DRAM very high density cheap cache in computers must be periodically refreshed slower than SRAM volatile; no good for program (long term) storage SRAM (basically a Latch) fastest type of memory low density more expensive generally used in small amounts (L2 cache) or expensive servers EEPROM slow/complex to write not good for fast cache non-volatile; best choice for program memory ROM hardware coded ; rarely used except for bootup code Register (flip flop) functionally similar to SRAM but less dense (and thus more expensive) reserved for manipulation applications Memory Overview4

Memory Arrays N x n array of 1-bit cells n = byte width ; 8, 16, 32, etc N = number of bytes = length m = number of ess bits max N = 2 m Array I/O (in and out) D n-1 -D 0 ess A m-1 -A 0 control varies with design = write enable (assert low) =1=read, =0=write En = block enable (assert low) Control Address used as chip enable (CE) for an SRAM chip Memory size : # bytes = N, # bits = N n Example: 1k x 8 RAM 10 lines, 8-bit bytes 2 10 = 1k (1024) mem locations = length width = 8-bit, size = 1k-byte, 8k-bits Data I/O ECE 410, Prof A Mason Memory Overview5 Memory Array Addressing Standard Memory Addressing Scheme m ess bits are divided into x row bits and y column bits (x+y=m) ess bits are encoded so that 2 m = N array physically organized with both vertical and horizontal stacks of bytes 1 byte Rows Columns Example byte: one word in an 8b-wide EPROM ECE 410, Prof A Mason Memory Overview6

Data Typical Memory Chip x-bits in parallel, typically x = 8, 16 Address signals m ess signals M=2 m esses Control signals /: write enable - when activated, values on lines are written to specified ess /: output enable - at specified location placed on pins of memory chip, lines connected to bus using tristate outputs /: chip select - selects a specific chip in an array of memory chips Connection to HC12 ----- ess lines (2 m =M) Read/Write line chip select line output enable line CPU12 Ports A,B ess Ports C,D Port E R/W E A (m-1) A 0 ess MxN Memory D (N-1) D 0 decoder N lines ess memory =!(ECLK R/W) G2A Memory G2B Overview7 =!(ECLK!R/W) Memory Expansion expanding memory length ADDR[12:10] 3to8 G2A G2Bdecoder ADDR[12:0] Memory Overview8

Memory Expansion expanding memory width RAM 1 RAM 2 DATA[15:8] Memory Overview9 Memory Expansion expanding memory length and width ADDR[12:10] 3to8 G2A G2Bdecoder DATA[15:8] ADDR[12:0] Memory Overview10