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



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

Memory Basics. SRAM/DRAM Basics

Chapter 8 Memory Units

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

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

Computer Architecture

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)

Memory. The memory types currently in common usage are:

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

A N. O N Output/Input-output connection

Computer Systems Structure Main Memory Organization

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

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

Main Memory & Backing Store. Main memory backing storage devices

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

CSCA0201 FUNDAMENTALS OF COMPUTING. Chapter 5 Storage Devices

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

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

Discovering Computers Chapter 7 Storage

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

Chapter 7 Memory and Programmable Logic

Sequential Circuit Design

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

Today we will learn about:

McGraw-Hill Technology Education McGraw-Hill Technology Education

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

Chapter 2: Computer-System Structures. Computer System Operation Storage Structure Storage Hierarchy Hardware Protection General System Architecture

Digital Image Formation. Storage Technology

Disks and RAID. Profs. Bracy and Van Renesse. based on slides by Prof. Sirer

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

Memory Systems. Static Random Access Memory (SRAM) Cell

CHAPTER 7: The CPU and Memory

SDRAM and DRAM Memory Systems Overview

Tech Application Chapter 3 STUDY GUIDE

File System & Device Drive. Overview of Mass Storage Structure. Moving head Disk Mechanism. HDD Pictures 11/13/2014. CS341: Operating System

Price/performance Modern Memory Hierarchy

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

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

Types Of Storage Device

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

Slide Set 8. for ENCM 369 Winter 2015 Lecture Section 01. Steve Norman, PhD, PEng

1 PERSONAL COMPUTERS

Outline. CS 245: Database System Principles. Notes 02: Hardware. Hardware DBMS Data Storage

Chapter 5 :: Memory and Logic Arrays

Secondary Storage. Any modern computer system will incorporate (at least) two levels of storage: magnetic disk/optical devices/tape systems

1. Memory technology & Hierarchy

Semiconductor Memories

Data remanence in Flash Memory Devices

File System Management

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

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

Trabajo Memorias flash

Computer Architecture

COS 318: Operating Systems. Storage Devices. Kai Li Computer Science Department Princeton University. (

Chapter 9: Peripheral Devices: Magnetic Disks

Lecture 9: Memory and Storage Technologies

Parts of a Computer. Preparation. Objectives. Standards. Materials Micron Technology Foundation, Inc. All Rights Reserved

& Data Processing 2. Exercise 2: File Systems. Dipl.-Ing. Bogdan Marin. Universität Duisburg-Essen

Nasir Memon Polytechnic Institute of NYU

Computers Are Your Future Prentice-Hall, Inc.

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

Platter. Track. Index Mark. Disk Storage. PHY 406F - Microprocessor Interfacing Techniques

FLASH TECHNOLOGY DRAM/EPROM. Flash Year Source: Intel/ICE, "Memory 1996"

The Classical Architecture. Storage 1 / 36

MICROPROCESSOR BCA IV Sem MULTIPLE CHOICE QUESTIONS

Embedded Systems Design Course Applying the mbed microcontroller

Physical Data Organization

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

Data Distribution Algorithms for Reliable. Reliable Parallel Storage on Flash Memories

Sistemas Operativos: Input/Output Disks

Solid State Drive Architecture

NCTE Advice Sheet Storage and Backup Advice Sheet 7

Multiple Choice Questions(Computer)

Chapter 3 Storage. 15 th Edition Understanding Computers Today and Tomorrow Comprehensive. Deborah Morley Charles S. Parker

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

Two main categories of storage technology used today are magnetic storage and optical storage.

COS 318: Operating Systems. Storage Devices. Kai Li and Andy Bavier Computer Science Department Princeton University

Disk Storage & Dependability

Chapter 8. Secondary Storage. McGraw-Hill/Irwin. Copyright 2008 by The McGraw-Hill Companies, Inc. All rights reserved.

COMPUTER SCIENCE AND ENGINEERING - Microprocessor Systems - Mitchell Aaron Thornton

CS 464/564 Introduction to Database Management System Instructor: Abdullah Mueen

Lecture 16: Storage Devices

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

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

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

MULTIPLE CHOICE FREE RESPONSE QUESTIONS

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

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

Non-Volatile Memory. Non-Volatile Memory & its use in Enterprise Applications. Contents

Record Storage and Primary File Organization

SATA SSD Series. InnoDisk. Customer. Approver. Approver. Customer: Customer. InnoDisk. Part Number: InnoDisk. Model Name: Date:

Solid State Drive (SSD) FAQ

Understanding Memory TYPES OF MEMORY

Computer Peripherals

Spacecraft Computer Systems. Colonel John E. Keesee

MCF54418 NAND Flash Controller

A Computer Glossary. For the New York Farm Viability Institute Computer Training Courses

Discovering Computers Living in a Digital World

Introduction To Computers: Hardware and Software

Data Storage - I: Memory Hierarchies & Disks

Transcription:

Memory Classification With respect to the way of data access we can classify memories as: - random access memories (RAM), - sequentially accessible memory (SAM), - direct access memory (DAM), - contents addressable memory (CAM). Access time - the interval of time between the instant of data read/write request, and the instant at which the delivery of data is completed or its storage is started. RAM modules SAM/DAM memories: CAM memories find applications in: HDDs switches, routers etc. tape memories CPUs in cache controllers CD-, DVD-ROMS. Source of images: Wikipedia. Slide 1

Memory Classification Random access memory - the access time to any piece of data is independent to the physical location of data. Access time is constant. Random access memories can be further classified as: - read-write memories (usually referred to as RAMs), - read-only memories (ROM). Among random access and read-only memories we distinguish: RAM ROM Programmable ROM (PROM) Static RAM (SRAM) Dynamic RAM (DRAM) Non-volatile RAM (NVRAM) Erasable Programmable ROM (EPROM) Electrically Erasable Programmable ROM (EEPROM); FLASH memory Slide 2

Random Access Memories Static random access memories (SRAM) - one-bit memory cells use bistable latches for data storage and hence, unlike for dynamic RAM, there is no need to periodically refresh memory contents. Schematics of one-bit cell for static random access memory* In order to write data into SRAM cell it is required to activate line SEL and provide bit of information and its inverse at inputs D and D respectively. Reading operation requires to activate SEL line. The bit of data is available at D line. Pros and Cons: - faster and less power hungry than DRAMs, - more expensive (6 transistors per cell). *Source of images: J. Biernat, Computer Architecture, OWPW, Wroclaw, 2005. Slide 3

Random Access Memories Dynamic random access memories (DRAM) - each one-bit memory cell uses a capacitor for data storage. Since capacitors leak there is a need to refresh the contents of memory periodically (usually once in τ=0,5 2 ms). Memory cell for dynamic random access memory* Both read and write operations require to open the transistor by providing high voltage on line SEL. The bit of data to be written must be given at line IN/OUT. During reading operation the bit of data is available at the same line. Pros and Cons: - less expensive (only one transistor per cell), - slower than SRAM. *Source of images: J. Biernat, Computer Architecture, OWPW, Wroclaw, 2005. Slide 4

Read Only Memories Programmable read only memories (PROM) - are programmed during manufacturing process. The contents of each memory cell is locked by a fuse or antifuse (diodes). PROMs are used for permanent data storage. Erasable read only memories (EPROM) - there is a possibility to erase EPROM with ultraviolet light (about 20 minutes) what sets all bits in memory cells to 1. Programming requires higher voltage. Memory cells are built with floating gate transistors. Data can be stored in EPROMs for about 10 years. Example of EPROM chip with glass window admitting UV light Electrically erasable read only memories (EEPROM) - erasing does not require ultraviolet light but higher voltage and can be applied not to the whole circuit but to each memory cell separately. *Source of images: Wikipedia. Slide 5

Other Types of RAMs Non-volatile random access memory (NVRAM) - with this name we refer generally to any memory which does not lose information when power is turned off. Except from ROMs, NVRAM also include conventional volatile random access memories with battery backup such as BIOS memory (Basic Input Output System). BIOS memory chip with battery* Flash memory (FLASH) - by this name the cheaper variant of EEPROM is described. In case of FLASH memory not separate bytes but blocks of bytes are being erased at the same time. It makes the construction of such memories cheaper in comparison to regular EEPROMs. Exemplary applications of FLASH memories: pendrives, memory cards *Source of images: Internet. Slide 6

Content Addressable Memories Content addressable memories (CAM) - also known as associative memories; it is a type of computer memory used in applications requiring high speed searching. Such memory replies with hit or lack-of-hit status when some data vector (pattern) is given at its input. Searching consists in comparing of all data words stored in memory with the given pattern. The mask word indicating all essential bits also must be taken under consideration. If search finishes with hit one of the compliant words is copied to the output buffer. Which word it is determined by the multiply match resolver (MMR). Logical structure of an associative memory* *Source of image: J. Biernat, Computer Architecture, OWPW, Wroclaw, 2005. Slide 7

CAM/SAM Applications of CAMs: - network routing and switching devices where fast resolving of data recipients` addresses is required, - CPU and disk drive cache memories. Sequentially addressable memories (SAM) - access to data is realised in a sequential fashion. Fully sequential are buffers organised as FIFO, LIFO, etc. queues. They find their applications in devices controllers, microprocessors, etc. Direct access memory (DAM) - in literature usually by this term authors refer to memories with block organised data. Access to blocks is direct. However data within blocks is accessed sequentially. As examples we can indicate: magnetic and optical disk drives, tape memories, etc. Slide 8

Sequentially Accessible Memory Hard disk drive (HDD) - is a kind of mechanical device memory where data is encoded in the form of magnetic impulses on platters covered with magnetising ferromagnetic material. Hard disk drive memory The typical HDD consists of: stepper and linear motors, read-and-write heads, platters and disk controller. The controller includes central processing unit, RAM and ROM memories and data amplifiers circuits. Communication between CPU and HDD requires transmission of data, commands (to appropriate registers of HDD controller) and status words. platters RAM heads ROM amplifiers data CPU address steering HDD controller Slide 9

Sequentially Accessible Memory Physical organisation of disks: head - corresponds with one side of a platter; track - circular area on platter where data is stored; sector - a fragment of track that is the smallest portion of data to be read or written on disk; cylinder - a set of tracks with the same number belonging to different platters. Physical organisation of a disk disk_capacity = number_of_heads*number_of_tracks*number_of_sectors*512 [B] Slide 10

Sequentially Accessible Memory Structure of a disk track S (BOT) - 11 bytes 00h, D1 0A1FCh, Z1 12 bytes 0FFh, S 10 bytes 00h, D3 5EA1h, ID sector address ID: byte 1 track number, byte 2 head number, byte 3 sector number, byte 4 sector status (invalid sector, sector replacement in spare area), ECC-1, 2 byte of error correction code (correction up to 11 errors), Z2 5 bytes 00h, D4 5EA1h, DATA 512 bytes, Z3 3 bytes 00h and 17 bytes 0FFh, Z4 about. 93 bytes 00h. Slide 11

Sequentially Accessible Memory The remaining track fields play the following roles: S - head-controller synchronisation field; D1, D2, D3 and D4 - signatures indicating the beginnings of specific parts of a track; Z1, Z3 - gaps compensating the variation in platter rotating speed. Such track structure is determined during low level formatting. During manufacturing process disks are checked for invalid (damaged) sectors. Each disk contains in its -1 track the list of invalid sectors. That list is called Grown Error List (GEL). There exist a big variety of tools that allow to peek into GEL on disk. Each track contains spare area for sector replacements. Hence invalid sectors in a track can be replaced with simple operation of sector skipping (called sector-slipping). Such operation is transparent to operating system. Error correction codes (ECC) - constitute additional protection for data stored in sectors and allow to correct up to 11 faulty bits. Slide 12

Sequentially Accessible Memory RLL data recording technique Run Length Limited (RLL) is a technique applied to data recording on magnetic disks. Each input byte is divided into parts, i.e. chains of bits, that obtain their new bit chain representatives. Such sequences of bits are written on a magnetic layer. Bits with value of 1 correspond with a change in direction of a magnetic field. Example: 10011011 -> (10) + (011) + (011) -> (0100) + (001000) + (001000) Slide 13

Sequentially Accessible Memory CD-ROMs In compact disks for data storage one spiral track is used. Data is stored on the disc as the series of microscopic indentations ( pits ) that cause destructive interference of laser light resulting in reduction of intensity of the reflected beam. The linear data density is constant what means that the linear rotational speed of the disk is linear. Such approach requires more complicated reading/writing circuits. The track is divided into sectors each storing 2352 bytes. First 12 bytes contain synchronisation data and next four a sector header. The following 2kB are predestined for user data storage and immediately behind we have: 4 bytes of CRC codes, 8 bytes filled with zeros and 278 bytes of ECCs. 0000000010000000010000000000000000000010001000000 land pit land pit land Laser structure* *Source of image: Wikipedia. Slide 14