Microprocessor Fundamentals Week 4

Slides:



Advertisements
Similar presentations
Registers and Decoder.
Advertisements

VHDL 8 Practical example
Programmable Logic PAL, PLA.
1 Homework Reading –Tokheim, Chapter 12-1 through 12-4 Machine Projects –MP4 due at start of next class Labs –Continue with your assigned section.
Microprocessor System Design. Outline Address decoding Chip select Memory configurations.
Department of Computer Engineering
Microprocessor Fundamentals Week 5 Mount Druitt College of TAFE Dept. Electrical Engineering 2008.
Memory Basics. 8-1 Memory definitions Memory is a collection of cells capable of storing binary information. Two types of memory: –Random-Access Memory.
MEMORY ORGANIZATION Memory Hierarchy Main Memory Auxiliary Memory
9/20/6Lecture 14 - Static Memory1 Static Memory. 9/20/6Lecture 14 - Static Memory2 Static Memory.
ENGIN112 L30: Random Access Memory November 14, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 30 Random Access Memory (RAM)
Overview Memory definitions Random Access Memory (RAM)
Introduction to Microprocessors Number Systems and Conversions No /6/00 Chapter 1: Introduction to 68HC11 The 68HC11 Microcontroller.
CS 151 Digital Systems Design Lecture 30 Random Access Memory (RAM)
Computer Organization Prepared by:Anh Q. Vu Course:CS-147 Professor:Sin-Min Lee Date:Summer
Chapter 5 Internal Memory
Architecture of the 8051 INTERNAL DATA BUS Oscillator & Timing Programmable I/O (32 Pins) 80C51 CPU 64K byte Expansion Control Serial I/O 4K Program Memory.
Basic Computer Organization CH-4 Richard Gomez 6/14/01 Computer Science Quote: John Von Neumann If people do not believe that mathematics is simple, it.
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.
1 The 8051 Microcontroller and Embedded Systems CHAPTER INTERFACING TO EXTERNAL MEMORY.
MANINDER KAUR RAM and ROM Chips 24-Nov
University of Tehran 1 Microprocessor System Design Omid Fatemi Memory Interfacing
EKT 221 Digital Electronics II
ECE 447: Lecture 1 Microcontroller Concepts. ECE 447: Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device.
C.S. Choy95 COMPUTER ORGANIZATION Logic Design Skill to design digital components JAVA Language Skill to program a computer Computer Organization Skill.
Memory and I/O Interfacing
Memory and Programmable Logic
Introduction to Computing: Lecture 4
Memory and Programmable Logic Dr. Ashraf Armoush © 2010 Dr. Ashraf Armoush.
Address Decoding Memory/IO.
EKT 221 : Digital 2 Memory Basics
Logic and Computer Design Dr. Sanjay P. Ahuja, Ph.D. FIS Distinguished Professor of CIS ( ) School of Computing, UNF.
3-1-1 Chapter 3 Memory and Memory Interfacing Section 3.01 Semiconductor Memory Fundamentals In the design of all computers, semiconductor memories are.
HARDWARE ARCHITECTURE
Chapter 8 Memory Interface
ECE Lecture 1 Microcontroller Concepts. Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device Data.
Memory Interface A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
Memory Organization and Interfacing CSE 2312 Maher Al-Khaiyat.
Digital Design: Principles and Practices
THE MEMORY ELEMENTS. Words in high-speed memory Read-write random-access memory.
INTRODUCTION  Major advantage of digital over analog is the ability to easily store large quantities of digital information and data.  Memory – store.
Chapter 11Chapter 12 Memory system designI/O system design Objectives: The importance of bus buffering How the 8088 addresses (accesses) memory - I/O ports.
Princess Sumaya University
Memory Read only memory (ROM) – nonvolatile
Memory and Register. Memory terminology read/write operation volotile/non volatile determine the capacity from input and output timing requirements of.
Microprocessor Fundamentals Week 3 Mount Druitt College of TAFE Dept. Electrical Engineering 2007.
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.
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.
ECE 353 Introduction to Microprocessor Systems Michael J. Schulte Week 8.
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.
AHMEDABAD INSTITUTE OF TECHNOLOGY
Programmable Logic Devices
Index What is an Interface Pins of 8085 used in Interfacing Memory – Microprocessor Interface I/O – Microprocessor Interface Basic RAM Cells Stack Memory.
Memory and Programmable Logic
Homework Reading Tokheim, Chapter 12-1 through 12-4.
Fundamentals of Computer Engineering
Module IV Memory Organization.
Interfacing 64Kb EPROM with 8085
Electronics Technology
Chapter 11 Sequential Circuits.
Interfacing Memory Interfacing.
Subject Name: Embedded system Design Subject Code: 10EC74
Module IV Memory Organization.
حافظه و منطق قابل برنامه ریزی
حافظه و منطق قابل برنامه ریزی
Introduction to Computing Chapter 0
MICROPROCESSOR MEMORY ORGANIZATION
Chapter 4 Introduction to Computer Organization
Presentation transcript:

Microprocessor Fundamentals Week 4 Mount Druitt College of TAFE Dept. Electrical Engineering 2008

Review Questions Briefly state the main difference between dynamic and static RAM. Explain why it is necessary to regularly refresh the contents of dynamic RAM. Determine how many address lines are required for a: 2k (2048) RAM. (ie 2k address locations) 16k (65 536) RAM. 32k (32 768) ROM Briefly explain the meaning of the following terms associated with RAM ICs: Storage Capacity. Access Time. Memory Cell. Chip Select Input. Briefly state the main difference between RAM and ROM. How is an EPROM erased? What is the main difference between an EPROM and an EEPROM? The data sheet for a particular ROM states that it has an access time of 250nS. What does this mean and why is it important? How is a fusible link PROM programmed? Give one advantage of a Mask Programmed ROM. What is Flash Memory? Give an example of where it used. © Mike Stacey 2008

Memory Capacity (revised) A RAM chip has 8 address lines and 8 data lines. What is the memory capacity in bits and bytes? 28 = 256 addresses 256 x 8 bits per location = 2048 bits capacity 2048 bits / 8 = 256 Bytes capacity A RAM chip has 16 address lines and 8 data lines. What is the memory capacity in bits and bytes? 216 = 65536 locations 65536 x 8 bits = 524,288 bits capacity = 65,536 bytes = 64kB © Mike Stacey 2008

Memory Mapping The location of data going to and coming from I/O devices such as printers comes and goes via a place in memory. Example: CPU writes data to memory destined for a modem CPU reads data from memory which comes from the modem. Peripherals plus different types of memory (RAM and ROM) are assigned a particular block of memory so the CPU knows where the relevant data or program code is. © Mike Stacey 2008

I/O Ports CPU Main memory Peripheral Device bus Controller port Diagram adapted from Brookshear (2000): “Computer Science: An Overview”, Addison Wesley © Mike Stacey 2008

Memory Maps (p1) DFFF FFFF BFFF 9FFF 7FFF 5FFF 3FFF 1FFF Start addresses for each memory segment ROM (8K) Unused I/O RAM (8K) C000 E000 A000 8000 6000 4000 2000 0000 End addresses for each memory segment An address decoding circuit functions to enable the selection of a particular range of addresses… Figure 4.1 – Memory Map © Mike Stacey 2008

OUTPUTS (only 2 of 8 shown) Address Decoding (p2) Remember Decoders? INPUTS OUTPUTS (only 2 of 8 shown) MEMRQ A15 A14 A13 A12 A11 CS-U2 CS-U1 1 MEMRQ A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 © Mike Stacey 2008

Address Decoding (p2) U1 U2 U3 U4 U1: 000 – 7FF U5: 2000 – 27FF MEMRQ A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 1 U1 U2 U3 U4 U1: 000 – 7FF U5: 2000 – 27FF Each RAM has 11 address lines and 8 data lines: 211 = 2048 x 8 = 2kB capacity U2: 800 – FFF U6: 2800 – 2FFF U3: 1000 – 17FF U7: 3000 – 37FF U4: 1800 – 1FFF U8: 3800 – 3FFF © Mike Stacey 2008

Combinational Decoding (p3) Figure 4.3 – Memory Address Decoding Using Gates State the address range for each RAM © Mike Stacey 2008

Review Questions and Practical Do review questions 1 to 6, section 4. Do Debug Exercise 4. Theory and Practical Test 1 next week. © Mike Stacey 2008