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.

Slides:



Advertisements
Similar presentations
Chapter 5 Internal Memory
Advertisements

Computer Organization and Architecture
Computer Organization and Architecture
Prith Banerjee ECE C03 Advanced Digital Design Spring 1998
5-1 Memory System. Logical Memory Map. Each location size is one byte (Byte Addressable) Logical Memory Map. Each location size is one byte (Byte Addressable)
LOGO.  Concept:  Is read-only memory.  Do not lose data when power is lost.  ROM memory is used to produce chips with integrated.
Introduction to Chapter 12
ECE 301 – Digital Electronics Memory (Lecture #21)
1 Lecture 16B Memories. 2 Memories in General Computers have mostly RAM ROM (or equivalent) needed to boot ROM is in same class as Programmable Logic.
Memory Interface Dr. Esam Al_Qaralleh CE Department
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.
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..
1 Lecture 16B Memories. 2 Memories in General RAM - the predominant memory ROM (or equivalent) needed to boot ROM is in same class as Programmable Logic.
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.
Contemporary Logic Design Sequential Case Studies © R.H. Katz Transparency No Chapter #7: Sequential Logic Case Studies 7.6 Random Access Memories.
Memory and Storage - Sheetal Gosrani. Overview Memory Hierarchy RAM Memory Chip Organization ROM Flash Memory.
1 The 8051 Microcontroller and Embedded Systems CHAPTER INTERFACING TO EXTERNAL MEMORY.
CompE 460 Real-Time and Embedded Systems Lecture 5 – Memory Technologies.
Physical Memory By Gregory Marshall. MEMORY HIERARCHY.
Khaled A. Al-Utaibi Memory Devices Khaled A. Al-Utaibi
Faculty of Information Technology Department of Computer Science Computer Organization and Assembly Language Chapter 5 Internal Memory.
Memory and Programmable Logic
Chapter 5 Internal Memory. Semiconductor Memory Types.
HARDWARE ARCHITECTURE
Chapter 8 Memory Interface
Memory Interface A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
Digital Design: Principles and Practices
+ 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 and Register. Memory terminology read/write operation volotile/non volatile determine the capacity from input and output timing requirements of.
Memory Cell Operation.
ECE 265 – LECTURE 3 68HC11 Address Space, Memory, Registers, and data transfers 3/29/ ECE265.
Computer Architecture Lecture 24 Fasih ur Rehman.
Semiconductor Memory Types
Microprocessor Fundamentals Week 4
Chapter 5 Internal Memory. contents  Semiconductor main memory - organisation - organisation - DRAM and SRAM - DRAM and SRAM - types of ROM - types of.
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.
Computer Architecture Chapter (5): Internal Memory
AHMEDABAD INSTITUTE OF TECHNOLOGY
Index What is an Interface Pins of 8085 used in Interfacing Memory – Microprocessor Interface I/O – Microprocessor Interface Basic RAM Cells Stack Memory.
Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 7th Edition
Homework Reading Tokheim, Chapter 12-1 through 12-4.
MEMORY.
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
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
BIC 10503: COMPUTER ARCHITECTURE
Introduction to Computing Chapter 0
第四章 80386的存贮器和输入/输出接口 作业:P335 5,7,13,17,21,25,36,37,41,44,45,46,48,52,65 21:46.
William Stallings Computer Organization and Architecture 8th Edition
Presentation transcript:

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

2 Read Only Memory (ROM) PC uses it to hold BIOS for system and I/O drivers Slow ( nanoseconds) Various forms: –Read Only Memory (ROM) –Programmable Read Only Memory (PROM) –Erasable Programmable Read Only Memory (EPROM) –Electrically Erasable Programmable ROM (EEPROM) –Flash memory

Read Only Memory (ROM) Diode Matrix Design 3 Chip Enable Three bit Decoder A2A1A0 D0 D1 D2 O0O1O2O3O4O5O6O7 +5V Gnd Presence of a diode means a 1, absence of a diode = 0

Programmable ROM Diode Matrix Design 4 Chip Enable Three bit Decoder A2A1A0 D0 D1 D2 O0O1O2O3O4O5O6O7 +5V Gnd Starts with all diodes/all ones. Burn out diodes where value needs to be zero.

5 Random Access Memory (RAM) Static RAM = an array of full flip-flops Simple interface and fast (10-20 nsec) but more costly (2 - 4X) than ROM Small capacity compared to Dynamic RAMs RAM Chip A0 - A14 CS# W/R# OE# D0 - D7

6 Dynamic RAM (DRAM) Square array of simple one transistor memory cells Capacitance at input to transistor remembers a 0 or 1 Reading contents of the cell is destructive Over time, the charge leaks away (in milliseconds)

7 Dynamic RAM (DRAM) For both reasons, HW must perform a memory refresh Regularly reading/writing on a row and column basis Advantages are: –Cells are simple –Uses less power Disadvantage: –Slower ( nsec access time) –Total cycle time is 2X due to refresh after read Bottom line –2-4X less chip area and 2-4X less power –Interleaving and access in column or page mode

8 Example Layouts of Memory Parts Organized 1 Meg x 1 or Organized 128K x 8 Address Bits Number of Data Bit Pins Attached to Data Bus (1 Meg Bits) One Data Bit Per Chip  Need 32 Chips For a 32 bit bus * * * Address Bits (1 Meg Bits) 20 Eight Data Bits Per Chip  Need 4 Chips For 32 bit bus 17

9 Full Address Decoding Each location within a memory component responds to only one unique address Need to use all the address lines in decoding May choose not to fill-in some portions of the address space with real memory (empty spots)

10 Addressing Memory Components CPU M0 4K x 8 M1 4K x 8 D 0 -D 7 W/R# A 23 A 12 A 00 A 01 A D 0 -D 7 W/R# CS0#CS1# Combinational Logic CS0# CS1#

11 Memory Map and Comb. Logic CS1 CS0 Empty Space (Bus Error If Accessed) FFF FF FFFF FFF CS1# CS0# A 12 A 23 A 22 A XXXX A23A22A21A20A19A18A17A16A15A14A13A12A11A10A09A XXXX CS0 CS1 ******

12 Partial Address Decoding Simpler and less expensive Some address lines are NOT used in the address decoding process to generate chip enable signals Many groups of addresses can map to the same physical memory chip

13 Partial Address Decoding CPU M0 4K x 8 M1 4K x 8 D 0 -D 7 R/W* A 23 A 12 A 00 A 01 A 11.. D 0 -D 7 R/W# CS0#CS1#

14 Memory Map for Partial Decoding CS FFF FF FFFF FFF 7F FFFF CS0 is repeated 2,048 times in the memory space to 7F FFFF CS1 is repeated 2,048 times in the memory space to FF FFFF CS0 CS1 * * *

15 Comb. Logic for CS0 and CS1 0XXXX A23A22A21A20A19A18A17A16A15A14A13A12A11A10A09A08 1XXXX CS0 CS1XXXXXXXXXXX XXXXXXXXXXX CS FFF FF FFFF FFF 7F FFFF CS0 CS1 * * * A 23 CS0# CS1#

16 Mixed Address Decoding A mixture or a compromise between partial and full address decoding Divide the memory space into a number of fully decoded blocks, generally of equal size Use high-order address bits to select the block and low-order address bits to select a sub-block

17 Comb. Logic for CS0, CS1, CS2, & CS3 0XXXX A23A22A21A20A19A18A17A16A15A14A13A12A11A10A09A08 0XXXX CS0 CS A 12 CS2# CS3# 1XXXX A23A22A21A20A19A18A17A16A15A14A13A12A11A10A09A08 1XXXX CS2 CS31XXXXXXXXXX 0XXXXXXXXXX A 23 Logic Diagram for CS0# and CS1# Similar to Diagram on Slide 11 Except A 22 and A 12 are swapped

18 Memory Map for Mixed Decoding CS F FFFF FF FFFF FFF F FFFF CS0/CS1 each decoded only once in the memory space to 7F FFFF CS2/CS3 are repeated 1,024 times in the memory space to FF FFFF CS2 CS3 * * * Empty CS1 Empty FFF