Memory and Register. Memory terminology read/write operation volotile/non volatile determine the capacity from input and output timing requirements of.

Slides:



Advertisements
Similar presentations
Registers and Decoder.
Advertisements

Chapter 5 Internal Memory
Computer Organization and Architecture
Computer Organization and Architecture
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
Introduction to Chapter 12
9/20/6Lecture 14 - Static Memory1 Static Memory. 9/20/6Lecture 14 - Static Memory2 Static Memory.
Chapter 10. Memory, CPLDs, and FPGAs
MEMORY DEVICES Week 13.
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
Memory Devices Wen-Hung Liao, Ph.D..
Memory Key component of a computer system is its memory system to store programs and data. ITCS 3181 Logic and Computer Systems 2014 B. Wilkinson Slides12.ppt.
Khaled A. Al-Utaibi Memory Devices Khaled A. Al-Utaibi
Chapter 4 ระบบหน่วยความจำ The Memory System
Memory Hierarchy.
Faculty of Information Technology Department of Computer Science Computer Organization and Assembly Language Chapter 5 Internal Memory.
Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 2. Computer Structure Computer Structure The traditional diagram of a computer...
Memory and Programmable Logic
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.
COMP3221: Microprocessors and Embedded Systems
Chapter 5 Internal Memory. Semiconductor Memory Types.
Memory /27/081ECE Lecture 13 Memory 2.
Memory and Storage Dr. Rebhi S. Baraka
Chapter 3 Internal Memory. Objectives  To describe the types of memory used for the main memory  To discuss about errors and error corrections in the.
Memory Interface A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
Internal Memory.
Digital Design: Principles and Practices
Memory 1 Technician Series ©Paul Godin Created March 2008 Edit Jan 2014.
INTRODUCTION  Major advantage of digital over analog is the ability to easily store large quantities of digital information and data.  Memory – store.
+ 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 INTERFACE (ROMS, RAMS). Computer Memory Overview.
Memory Cell Operation.
Microprocessor Fundamentals Week 3 Mount Druitt College of TAFE Dept. Electrical Engineering 2007.
Computer Architecture Lecture 24 Fasih ur Rehman.
ECE 3450 M. A. Jupina, VU, 2010 Memory  Introduction  Read Only Memory (ROM)  MROM  PROM  EPROM  EEPROM  Flash Memory  Random Access Memory (RAM)
Microprocessor Fundamentals Week 3 Mount Druitt College of TAFE Dept. Electrical Engineering 2008.
Semiconductor Memory Types
Memory Devices 1. Memory concepts 2. RAMs 3. ROMs 4. Memory expansion & address decoding applications 5. Magnetic and Optical Storage.
Wnopp Memory device Introduction n Memory Cell n Memory Word n Byte n Capacity n Address n Read Operation n Write Operation n Access Time n Volatile.
Memory 2 ©Paul Godin Created March 2008 Memory 2.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
MEMORY BYTES. MEMORY BYTES MEMORY MEMORY OUR Internal External.
Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 7th Edition
Internal Memory.
Module IV Memory Organization.
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
Electronics Technology
ECE 434 Advanced Digital System L03
William Stallings Computer Organization and Architecture 8th Edition
Module IV Memory Organization.
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
MICROPROCESSOR MEMORY ORGANIZATION
William Stallings Computer Organization and Architecture 8th Edition
Presentation transcript:

Memory and Register

Memory terminology read/write operation volotile/non volatile determine the capacity from input and output timing requirements of ROM and EEPROM and Flash memory RAM and its organization Memory combinding

Memory layout in computer high-speed memory for internal low speed for external storage

Terminology Cell : electrical circuit used to store a single bit data such as flip-flop circuit Word: compound of bits Byte: 8 bits word Nibble: 4 bits word, half a byte Capacity: describe how many bits can store in a memory module often show in (number of word x word size) form 1K of cell = 2 10 = 1024 cells 1M or cell = G or cell = 2 30 Volatile memory type or memory that always require electrical power unless data will lost.

General memory signal and diagram address lines corporate with address bus data line corporate with data bus control lines for memory operation type R/-W read write operation, active low ME : memory enable, active low to enable the memory module other name /CS chip select /CE chip enable /OE : Output Enable : used to enable the RAM data to Data BUS

ROM – Read Only Memory designed : holding permanent data / not change frequently Data may enter during manufacturing process Store microcomputer program because it is not volatile also programmed and data such as calculator, appliances, security system etc.

ROM block diagram

ROM architecture 4 basic part row decoder column decoder register array output buffer

Type of ROM Mask-Programmed ROM Programmable ROM (PROM) Erasable Programmable ROM (EPROM) Electrically Erasable PROM (EEPROM) Flash Memory

Mask-Programmed ROM program are written by manufacturer for custom specification use photographic negative as mask to control electrically interconnection mask is expensive thus need large quantity for economical cost Cannot be reprogrammed example use: ROM character generator for CRT

PROM fusible-link MROM custom programmed by user OTP (One Time Programmable) properties: Once programmed, it cannot be erase.

Erasable Programmable ROM (EPROM) When Program need special voltage (typically 10-25V) used amount time (typically 50 msec) Erasable: by Ultraviolet (UV) light examples 2732 : 4K x 8 NMOS EPROM 2764 : 8K x 8

Electrically Erasable PROM (EEPROM) Erase by Electrically (high voltage) eg. 21v generated from 5v Write faster than PROM (5usec) During Write, internal circuitry automatically erases the cell Former from Intel ex. 2816, 2864

EEPROM symbol

Flash memory high density than EEPROM Faster erase and write time than EEPROM 2 mode of erase bulk erase: erase all cell sector erase: specified part of cell to erase e.g. 512 bytes typical 10 usec write time example 28F256A

Flash memory example

ROM applications Firmware data and program code while power up Data table constant data for look-up eg. store trigonometric tables data converter input one type output with another eg. input BCD code output with 7-segment code

ROM application-data converter

Auxiliary Storage Because of competitively cost some note book use as a small secondary storage eg. thumb drive

RAM-Random Access Memory Read/Write able memory Volatile thus used as temporary storage or as registers 2 kinds when divided by technology Static RAM – Semiconductor RAM Dynamic RAM – Capacitor RAM size step from bytes, 1K, 2K, 4K…

RAM architecture

RAM operation step Set the address code at address bus Activate /CS (Chip Select) When Write set Data to Data bus R/-Wset low When Read R/-w set high Data comes out to data bus /OE

Static RAM timing Read cycle Write cycle

Dynamic RAM structure visualized as an array of single-bit cell

Each cell representation data often referred the capacity to 1 cell e.g. 4096K x 1 for 1 bit word size, equals to 1024Kx4 (1Meg x 4) for 4 bit word size.

Address Multiplexing Owing to its capacity is high, the require a lot of address lines Multiplexing circuit is used to decrease number of address lines add more control signal lines CAS : Column Address Strobe RAS : Row Address Strobe

Refreshing Each memory cell has to be refresh periodically (typically 4 ms) or the data will be lost Refresh performs when Read operation By activate the ROW signal address, thus need more external or built in circuit 2 refreshing mode burst mode: normal operation is suspended, refresh contiguous row distributed mode intersperse with normal operation

when refresh RAS is activate CAS and R/-W are high

word size expanding add more equal in size RAM module

Capacity expanding need address select signal often use the high+1 address line

Combining chips need decoder, use the higher addresses line as decode signals