3/19/2016 1.  Differentiate the class of memory  List the type of main memory  Explain memory architecture and operation  Draw memory map  Design.

Slides:



Advertisements
Similar presentations
ECE 353 Introduction to Microprocessor Systems
Advertisements

MEMORY popo.
RAM (RANDOM ACCESS MEMORY)
Prith Banerjee ECE C03 Advanced Digital Design Spring 1998
The 8085 Microprocessor Architecture
Memory Basics. 8-1 Memory definitions Memory is a collection of cells capable of storing binary information. Two types of memory: –Random-Access Memory.
DH2T 34 Computer Architecture 1 LO2 Lesson Two CPU and Buses.
COMP3221: Microprocessors and Embedded Systems Lecture 23: Memory Systems (II) Lecturer: Hui Wu Session 2, 2005.
Chapter 9 Memory Basics Henry Hexmoor1. 2 Memory Definitions  Memory ─ A collection of storage cells together with the necessary circuits to transfer.
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)
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.
CS 151 Digital Systems Design Lecture 30 Random Access Memory (RAM)
Memory Devices Wen-Hung Liao, Ph.D..
I/O Subsystem Organization and Interfacing Cs 147 Peter Nguyen
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.
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.
MANINDER KAUR RAM and ROM Chips 24-Nov
EKT 221 Digital Electronics II
The Microcomputer System In this presentation you will: Investigate the microprocessor Title Page.
Khaled A. Al-Utaibi Memory Devices Khaled A. Al-Utaibi
Memory interface Memory is a device to store data
Memory Hierarchy.
Memory and Programmable Logic
EKT 221 : Digital 2 Memory Basics
SYEN 3330 Digital SystemsJung H. Kim 1 SYEN 3330 Digital Systems Chapter 9 – Part 1.
Memory and Programmable Logic Memory device: Device to which binary information is transferred for storage, and from which information is available for.
Memory and Storage Dr. Rebhi S. Baraka
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use ECE/CS 352: Digital Systems.
Memory System Unit-IV 4/24/2017 Unit-4 : Memory System.
Memory Interface A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
Memory Devices May be classified as: Connections: ROM; Flash; SRAM;
CPEN Digital System Design
Digital Logic Design Instructor: Kasım Sinan YILDIRIM
CIM101 : Introduction to computer Lecture 3 Memory.
SEQUENTIAL CIRCUITS Component Design and Use. Register with Parallel Load  Register: Group of Flip-Flops  Ex: D Flip-Flops  Holds a Word of Data 
 Seattle Pacific University EE Logic System DesignMemory-1 Memories Memories store large amounts of digital data Each bit represented by a single.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Memory and Register. Memory terminology read/write operation volotile/non volatile determine the capacity from input and output timing requirements of.
INTRODUCTION.  Upon completing this topic, you should be able to: Illustrate a basic elements of digital computer system and their functions, Depicts.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
12/16/  List the elements of 8255A Programmable Peripheral Interface (PPI)  Explain its various operating modes  Develop a simple program to.
Microprocessor Fundamentals Week 3 Mount Druitt College of TAFE Dept. Electrical Engineering 2008.
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
Random Access Memory (RAM).  A memory unit stores binary information in groups of bits called words.  The data consists of n lines (for n-bit words).
MACHINE CYCLE AND T-STATE
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 8 – Memory Basics Logic and Computer Design.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 22 Memory Definitions Memory ─ A collection of storage cells together with the necessary.
Memory 2 ©Paul Godin Created March 2008 Memory 2.1.
Memory Systems 3/17/ Memory Classes Main Memory Invariably comprises solid state semiconductor devices Interfaces directly with the three bus architecture.
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
Memory Interface EEE 365 [FALL 2014] LECTURER 12 ATANU K SAHA BRAC UNIVERSITY.
ECE/CS 352 Digital Systems Fundamentals
The 8085 Microprocessor Architecture
Memory Interfacing.
Memory Systems 7/21/2018.
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.
Interfacing Memory Interfacing.
EE345: Introduction to Microcontrollers Memory
MICROPROCESSOR MEMORY ORGANIZATION
Memory Basics Chapter 8.
Memory Basics Chapter 7.
Microprocessor I 7/18/2019.
The Programmable Peripheral Interface (8255A)
Computer Operation 6/22/2019.
Presentation transcript:

3/19/2016 1

 Differentiate the class of memory  List the type of main memory  Explain memory architecture and operation  Draw memory map  Design a decoding circuit for memory address 3/19/2016 2

 Main Memory Invariably comprises solid state semiconductor devices Interfaces directly with the three bus architecture of the computer system. Operates at speeds consistent with the speed of the processor. Characterised by relatively high cost per bit of storage. Many types of semiconductor memory loses stored data when the power is removed from the device. (volatile)  Secondary Memory Invariably electromechanical devices - CDs, discs, tapes etc Interfaces to the system busses via I/O devices such as disc controllers. For the processor to use data stored in secondary memory it must first be transferred to main memory. Characterised by very low cost per bit of storage and is non-volatile. 3/19/2016 3

 Random Access Memory (RAM) The processor can save data in RAM - memory write operation The processor can retrieve data from RAM - memory read operation In most cases RAM is volatile - i.e. stored data lost when power removed. There are two types of RAM :  Static RAM - Provided electrical power is maintained the data, once stored, remains stored indefinitely unless overwritten.  Dynamic RAM - Data stored in dynamic RAM is lost unless it is read on a regular basis ( typically once per ms )  Read Only Memory (ROM) Non-volatile memory which can only be read by the processor. Special programming facilities are required to store data in ROM. ROM is often used for program storage in systems without secondary memory. 3/19/2016 4

5 8k x 8 RAM Chip

 Total number of memory cells per chip number of locations x number of bits per location (8192 x 8 = in the example)  Memory cells are organised as a square matrix ( 256 rows x 256 columns in the example )  A row of the matrix is selected by one output of the row decoder. The row decoder accepts n address bits and decodes them into 2 n outputs. ( n = 8 selects 1 of 256 rows in the example )  A row of the matrix can be considered to comprise a number of locations ( a row comprises 32 locations in the example ) 3/19/2016 6

 The column decoder selects a location in a row of the matrix.  A column of the matrix is selected by one output of the column decoder. The column decoder accepts m address bits and decodes them into 2 m outputs. ( m = 5 selects 1 of 32 columns in the example )  The total number of address bits required to specify a location within the memory device is m + n ( m + n = 13 in the exampleNote: 2 13 = 8192 ) 3/19/2016 7

 Once the memory device receives address information ( 13 binary digits on inputs A0 - A13 in the example ) the decoding logic selects the addressed location.  The addressed location is interfaced to the external data bus via back-to-back tri-state buffers.  The memory device’s data bus input buffers are enabled when the device receives an asserted WR/ signal and data on the external bus gets written to the addressed memory location.  The memory device’s data bus output buffers are enabled when the device receives an asserted RD/ signal and data at the addressed memory location is placed on the external bus for an external device to read. 3/19/2016 8

 The chip enable inputs, CE1* and CE2 permit memory systems to comprise more than a single memory device.  To provide the required memory system for a computer application may require tens or even hundreds of memory devices. 3/19/2016 9

 When the processor wishes to read or write to memory, it specifies the memory location to be involved in the data transfer by its address.  The addressed memory location and only the addressed memory location, should respond if the computer is to perform correctly.  It is incumbent on the memory devices themselves and memory decoding logic external to the processor, to ensure this happens. 3/19/

 A certain 8085A based microcomputer system has the following memory specifications : 2K ROM starting at address 0000 H to be implemented with a 1 off 2716 ROM ( the 2716 is organised 2K x 8 ) 4K ROM starting at address F000 H to be implemented with a 1 off 2732 ROM ( the 2732 is organised 4K x 8 ) 16K RAM starting at address 0800 H to be implemented with 8 off HM6116 RAM ( the 6116 is organised 2K x 8 )  Draw the memory map  Develop the decoding logic  Draw a schematic diagram of the complete system 3/19/

 The memory devices 3/19/

 The memory map is a pictorial representation of where the memory blocks are located in the total address space of the processor 3/19/

3/19/

 The coloured addresses in the diagram are decoded internally by the devices.  The addresses not coloured have to be externally decoded and used to drive the chip selects of the respective devices. 3/19/ Decoding Logic

3/19/

 Exhaustive Decoding When all the address lines of the processor (either by the internal device decoders or external memory decoders) are used to specify the address of a memory location, exhaustive decoding is said to be used.  The preceding example uses exhaustive decoding for all memory devices.  Partial Decoding If one or more of the processors address lines are not used by either the external memory decoders or internal device decoders to specify an address then partial decoding is said to be used. 3/19/

 It is only possible to interface the full compliment of memory to a microprocessor if exhaustive decoding is used for all the memory devices.  If one address line is not used to specify a memory location then the location will respond to 2 different processor addresses.  If two address line are not used to specify a memory location then the location will respond to 4 different processor addresses.  If three address line are not used to specify a memory location then the location will respond to 8 different processor addresses. Etc, etc 3/19/

3/19/

 Memory device receives valid address from processor. Internal decoding logic selects addressed location.  Memory CS/ control line asserted. Usually supplied from external decoding logic fed by higher order processor address lines.  Memory OE/ control line asserted. Usually driven by processor RD/ control line.  Memory device enables its output data bus buffers and data at the addressed location is placed on the data bus for the processor to read.  Processor de-asserts its CS/ and/or RD/ control lines causing the memory device to tri-state its data bus drivers. 3/19/

 For a device to read the contents of a memory location without error certain timing constraints must be adhered to.  The time it takes for an integrated circuit to carry out a certain function varies from device to device.  Manufacturers specify timing constraints for integrated circuits as either maximum or minimum values.  Maximum or minimum values are specified (sometimes both) so that systems may be designed which will operate without error. 3/19/

 t RC read cycle min This represents the minimum time to carry out a successful read operation (assuming all other constraints are met)  t ACS chip select access max This represents the maximum time it takes the memory device from CS/ being asserted to valid data appearing on the data bus. (assuming all other constraints are met)  t AA address access max This represents the maximum time it takes the memory device from it receiving valid address to valid data appearing on the data bus. (assuming all other constraints are met) 3/19/

 t RDHA read data hold after address min This represents the minimum time the memory device will keep valid data on the data bus after a change of address. (assuming cs/ and oe/ remain asserted)  t RDHC read data hold after chip select min This represents the minimum time the memory device will keep valid data on the data bus after being deselected. (assuming valid address and oe/ remain asserted)  t OE output enable access max This represents the maximum time it takes the memory device to place valid data on the data bus after oe/ is asserted. (assuming other constraints are met)  t OHZ output enable to output Hi-z max This represents the maximum time it takes the memory device to tri- state its output buffers after oe/ is de-asserted. 3/19/

3/19/

 The processor specifies the memory location at which the data is to be stored. Internal memory decoding logic selects the desired location.  External decoding logic asserts the cs/ input to the memory device.  The processor asserts the wr/ control input of the memory device. This enables its tri-state input buffers.  The processor places the data to be stored onto the data input lines of the memory device.  The processor de-asserts the wr/ control line. The rising edge of wr/ latches the data into the specified location and also tri- states the device’s input buffers. 3/19/

 t WC write cycle min This represents the minimum time to carry out a successful write operation (assuming all other constraints are met)  t CW chip select to end of write min This represents the minimum time that the chip select signal must remain asserted. (assuming all other constraints are met)  t AS address set-up time min This represents the minimum time valid address must be present on the memory device’s address lines before wr/ is asserted.  t MWE write enable min This represents the minimum time wr/ must be asserted. 3/19/

 t AW address valid to end of write min This represents the minimum time the address must remain valid before wr/ is de-asserted. (assuming all other constraints are met  t WDS write data set-up time min This represents the minimum time data must be valid before the rising edge of wr/.  t WDHE write data hold-time min This represents the minimum time data must remain valid after the rising edge of wr/. 3/19/