Microprocessor Fundamentals Week 3 Mount Druitt College of TAFE Dept. Electrical Engineering 2007.

Slides:



Advertisements
Similar presentations
Principles & Applications
Advertisements

Semiconductor, Magnetic and Optical Memory
Semiconductor, Magnetic and Optical Memory
Registers and Decoder.
Chapter 5 Internal Memory
Computer Organization and Architecture
D75P 34 – HNC Computer Architecture Week 10 Computer Memory. © C Nyssen/Aberdeen College 2003 All images © C Nyssen/Aberdeen College except where stated.
Introduction to Chapter 12
9/20/6Lecture 14 - Static Memory1 Static Memory. 9/20/6Lecture 14 - Static Memory2 Static Memory.
ECE 301 – Digital Electronics Memory (Lecture #21)
Overview Memory definitions Random Access Memory (RAM)
MEMORY DEVICES Week 13.
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.
Memory and Storage - Sheetal Gosrani. Overview Memory Hierarchy RAM Memory Chip Organization ROM Flash Memory.
Logic Device and Memory. Tri-state Devices Tri-state logic devices have three states: logic 1, logic 0, and high impedance. A tri-state device has three.
Memory. When we receive some instruction or information we retain them in our memory. Similarly a computer stores the instructions for solving a problem,
F1020/F1031 COMPUTER HARDWARE MEMORY. Read-only Memory (ROM) Basic instructions for booting the computer and loading the operating system are stored in.
Intro to Cache Memory By david hsu. Examples of memory Paper and writing, books Neon signs Cassettes and other magnetic tape memory Abacus Art material.
Module IV Memory Organization.
Khaled A. Al-Utaibi Memory Devices Khaled A. Al-Utaibi
Chapter 4 ระบบหน่วยความจำ The Memory System
Memory Hierarchy.
Memory and Programmable Logic
Memory and Programmable Logic Dr. Ashraf Armoush © 2010 Dr. Ashraf Armoush.
1 Microprocessor-based systems Course 6 Memory design.
© Banff and Buchan College 2007 DH2T 34 Computer Architecture 1 LO2 Lesson One Memory.
Memory /27/081ECE Lecture 13 Memory 2.
Chapter 8 Memory Interface
Memory Interface A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
Internal Memory.
Digital Design: Principles and Practices
CIM101 : Introduction to computer Lecture 3 Memory.
Memory characteristics Ideal Access time (minimum). Nonvolatile. Stored data can be modified. Minimum space (very dense). Minimum current drain (power.
MEMORY INTERFACE (ROMS, RAMS). Computer Memory Overview.
Memory and Register. Memory terminology read/write operation volotile/non volatile determine the capacity from input and output timing requirements of.
Copyright © 2007 – Curt Hill Primary Memory and Electronic Storage Implementations.
Memory 1 ©Paul Godin Created March 2008 Edit April 2011.
Primary Storage Primary storage is the storage that is directly available to the CPU. It is also known as: Main Memory Main Memory Direct Access Storage.
Computer Architecture Lecture 24 Fasih ur Rehman.
Microprocessor Fundamentals Week 3 Mount Druitt College of TAFE Dept. Electrical Engineering 2008.
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.
Microprocessor Fundamentals Week 4
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
STATUS REGISTER  It is a group of flip-flops. But it is not used to store data.  Each bit in the status register is used to indicate a particular condition.
Objectives : At the end of this lesson, students should be able to : i.Identify the types of memory chip and their functions. ii.Define the difference.
Components of Computer. Memory Unit Most important part of the computer Used to store data and instructions that are currently in use Main memory consists.
MEMORY BYTES. MEMORY BYTES MEMORY MEMORY OUR Internal External.
EET 1131 Unit 14 Memory and Storage
Internal Memory.
Module IV Memory Organization.
Digital Fundamentals Tenth Edition Floyd Chapter 10.
Principles & Applications
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.
Electronics Technology
COMPUTER ORGANISATION AND ARCHITECTURE
Subject Name: Embedded system Design Subject Code: 10EC74
שמות מאפיינים ומטרות של זיכרונות ROM - ו RAM
Module IV Memory Organization.
TOPIC : Memory Classification
Introduction to Computing Chapter 0
MICROPROCESSOR MEMORY ORGANIZATION
Chapter 4 Internal Memory
Digital Fundamentals Tenth Edition Floyd Chapter 10.
CHAPTER 10 Memory and Storage
Computer Memory.
Presentation transcript:

Microprocessor Fundamentals Week 3 Mount Druitt College of TAFE Dept. Electrical Engineering 2007

© Mike Stacey 2007 Last week’s prac You should have 2 files saved to your floppy or flash disk: You should have 2 files saved to your floppy or flash disk: Week2.txt: contains a printout of all operations performed within debug for Debug exercises 1 and 2. Also contains answers to questions. Week2.txt: contains a printout of all operations performed within debug for Debug exercises 1 and 2. Also contains answers to questions. Dex1.com: program saved from exercise 2. Dex1.com: program saved from exercise 2. These 2 files must be given to me during week 3 for marking. These 2 files must be given to me during week 3 for marking.

© Mike Stacey 2007 Memory Terminology (p1) RAM: Random access memory. Storage of volatile data – data and program that is currently being used by the processor. Volatile. RAM: Random access memory. Storage of volatile data – data and program that is currently being used by the processor. Volatile. ROM: Read only memory. Data/program that is stored and cannot be changed or overwritten. Non-volatile. ROM: Read only memory. Data/program that is stored and cannot be changed or overwritten. Non-volatile. Write: To store data into memory Write: To store data into memory Read: To extract/read it out of memory Read: To extract/read it out of memory

© Mike Stacey 2007 Types of RAM (p1) RAM RAM Static: storage element is the flip flop. Retains its data (1 or 0) while power is applied. Static: storage element is the flip flop. Retains its data (1 or 0) while power is applied. Dynamic: Uses the capacitor as a storage element. Loses its data if not constantly refreshed. Dynamic: Uses the capacitor as a storage element. Loses its data if not constantly refreshed. Refresh every 2mS Refresh every 2mS More capacity for a given size than static More capacity for a given size than static Cheaper than static Cheaper than static

© Mike Stacey 2007 RAM (p1-p2) Note: For a 4 bit address bus there are 16 addressable locations inside the RAM chip. This is 2 4. Hence we need 4 address lines in the bus. We say the RAM has a capacity of 16Bytes because it can store 1 byte (8 bits in each location). The chip in Fig 3.1 is a 6116 RAM. What is its capacity? R/W: Read Write CS: Chip select OE: Output enable D 0 – D 3: 4 bit data bus

© Mike Stacey 2007 Writing to RAM (p2) Figure 3.2 – Write Cycle Minimum time required to perform a write operation Data is written to the address on the address bus when the R/W line is low and CS is low.

© Mike Stacey 2007 Reading from RAM (p2) Figure 3.3 – RAM Read Cycle Access time is the minimum time between application of address and availability of data at the output Data is read when OE is low and CS is low

© Mike Stacey 2007 ROM (p3) R/W: Read Write CS: Chip select OE: Output enable D 0 – D 7 : 8 bit data bus What is the capacity of this ROM in bytes?

© Mike Stacey 2007 Types of ROM (p3-p4) Mask Programmable ROM: Programmed in factory and program cannot be changed. Mask Programmable ROM: Programmed in factory and program cannot be changed. Fusible Link Programmable ROM (PROM): Can be programmed once Fusible Link Programmable ROM (PROM): Can be programmed once Erasable programmable ROM (EPROM): Can erase by exposure to UV light. After erasure, they can be re- programmed using a special burner. Erasable programmable ROM (EPROM): Can erase by exposure to UV light. After erasure, they can be re- programmed using a special burner. Electrically Erasable Programmable ROM (EEPROM): Can be erased electrically meaning no removal from circuit. Finite number of re-programs. Electrically Erasable Programmable ROM (EEPROM): Can be erased electrically meaning no removal from circuit. Finite number of re-programs. Flash: a type of EEROM. Flash: a type of EEROM.

© Mike Stacey 2007 ROM Applications (p4) Used wherever data needs to be permanently stored. Used wherever data needs to be permanently stored. BIOS (Flash) BIOS (Flash) Decoding Decoding Programs Programs

© Mike Stacey 2007 Terminology (p4) Access Time: the minimum time required to read data from, or write data to memory Access Time: the minimum time required to read data from, or write data to memory Cell: storage for one bit of data Cell: storage for one bit of data Density: the number of cells for a given IC Density: the number of cells for a given IC Dynamic: a form of RAM that requires refreshing Dynamic: a form of RAM that requires refreshing Static: a form of RAM that does not require refreshing Static: a form of RAM that does not require refreshing Location: a group of bits, generally one byte Location: a group of bits, generally one byte Volatile: memory that loses its data when power is removed Volatile: memory that loses its data when power is removed Non Volatile: memory that does not lose its data when power is removed Non Volatile: memory that does not lose its data when power is removed RAM: a form of volatile memory RAM: a form of volatile memory Read: obtain information from memory Read: obtain information from memory ROM: a form of non volatile memory ROM: a form of non volatile memory Storage Capacity: the total number of bits that can be stored in memory, generally expressed in bytes or bits and factors of 2 10 (1024= 1k) Storage Capacity: the total number of bits that can be stored in memory, generally expressed in bytes or bits and factors of 2 10 (1024= 1k)

© Mike Stacey 2007 Typical RAM and Capacities (p5) Number of bits in each location Number of locationsCapacity in bits

© Mike Stacey 2007 Review Questions Do ‘em! Do ‘em!