Memory 2 ©Paul Godin Created March 2008 Memory 2.1.

Slides:



Advertisements
Similar presentations
RAM (RANDOM ACCESS MEMORY)
Advertisements

Figure (a) 8 * 8 array (b) 16 * 8 array.
Chapter 5 Internal Memory
Computer Organization and Architecture
Prith Banerjee ECE C03 Advanced Digital Design Spring 1998
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
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)
Microprocessor System Design. Outline Address decoding Chip select Memory configurations.
COEN 180 DRAM. Dynamic Random Access Memory Dynamic: Periodically refresh information in a bit cell. Else it is lost. Small footprint: transistor + capacitor.
EKT 221 : DIGITAL 2. Today’s Outline  Dynamic RAM (DRAM)  DRAM Cell – The Hydraulic Analogy  DRAM Block Diagram  Types of DRAM.
Introduction to Chapter 12
Chapter 9 Memory Basics Henry Hexmoor1. 2 Memory Definitions  Memory ─ A collection of storage cells together with the necessary circuits to transfer.
1 The Basic Memory Element - The Flip-Flop Up until know we have looked upon memory elements as black boxes. The basic memory element is called the flip-flop.
Chapter 10. Memory, CPLDs, and FPGAs
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.
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.
Chapter 5 Internal Memory
Memory Devices Wen-Hung Liao, Ph.D..
Memory RAM Mano and Kime Sections 6-2, 6-3, 6-4. RAM - Random-Access Memory Byte - 8 bits Word - Usually in multiples of 8 K Address lines can reference.
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.
EKT 221 Digital Electronics II
Khaled A. Al-Utaibi Memory Devices Khaled A. Al-Utaibi
Memory and Programmable Logic
COMP3221: Microprocessors and Embedded Systems
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.
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;
Digital Logic Design Instructor: Kasım Sinan YILDIRIM
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 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.
Memory Cell Operation.
Memory 1 ©Paul Godin Created March 2008 Edit April 2011.
COMP203/NWEN Memory Technologies 0 Plan for Memory Technologies Topic Static RAM (SRAM) Dynamic RAM (DRAM) Memory Hierarchy DRAM Accelerating Techniques.
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.
A memory is just like a human brain. It is used to store data and instructions. Computer memory is the storage space in computer where data is to be processed.
Digital Circuits Introduction Memory information storage a collection of cells store binary information RAM – Random-Access Memory read operation.
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.
07/11/2005 Register File Design and Memory Design Presentation E CSE : Introduction to Computer Architecture Slides by Gojko Babić.
Memory Systems 3/17/ Memory Classes Main Memory Invariably comprises solid state semiconductor devices Interfaces directly with the three bus architecture.
3/19/  Differentiate the class of memory  List the type of main memory  Explain memory architecture and operation  Draw memory map  Design.
Computer Architecture Chapter (5): Internal Memory
Microprocessors 3 Buses, Addresses and Machine Cycles 1 Modified April 2011 ©Paul R. Godin prgodin gmail.com.
MICROPROCESSOR BASED SYSTEM DESIGN BY PROF. DR. B. S. CHOWDHRY Lecture #
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.
EE345: Introduction to Microcontrollers Memory
William Stallings Computer Organization and Architecture 7th Edition
Digital Logic & Design Dr. Waseem Ikram Lecture 40.
Presentation transcript:

Memory 2 ©Paul Godin Created March 2008 Memory 2.1

USING MEMORY Memory 2.2

Memory Memory 2.3

Memory in a P System ◊Memory is an integral part of microcomputers. ◊Memory quickly provides the data and instructions the microprocessor needs to process. ◊Memory provides an area where the microprocessor can quickly store processed data. ◊Memory IC’s come in a variety of configurations and are selected based on the microprocessor and the bus structures. Memory 2.4

Basic Requirements ◊A microprocessor needs the ability to: ◊Select the memory device ◊Provide the address ◊Decide to read from it, or write to it ◊Ensure it is ready to send or receive the data ◊Memory device circuits need: ◊Tri-state outputs because they are connected to a common bus ◊A decoder to select the appropriate word location ◊Direction control ◊Bus connections to receive or send data ◊An enabling input Memory 2.5

Basic Elements Memory Device Data/Instructions AddressSelect Read/Write Memory 2.6

Interconnection CPU Memory Address Data Select R/W’ Memory 2.7

The 2114 Memory Chip ◊The 2114 chip is an old device but it serves as a good example of a basic memory device ◊Basic Characteristics: ◊Static RAM ◊Non-inverting ◊Common input and output pins ◊TTL compatible Memory 2.8

RAM Requirements ◊An input to control direction: a READ or a WRITE operation. ◊An input to select the device. ◊Address input ◊Data input/output A6Vcc A5 A7 A4 A8 A3 A9 A0 D0 A1 D1 A2 D2 CS D3 GndWE 2114 Memory 2.9

Read/Write ◊A RAM chip has a read/write selection: ◊If written as : ◊A logic low will Enable Writing to the device ◊A logic high will Enable Reading from the device ◊Write = Input to the memory device ◊Read = Output from the memory device Memory 2.10

Chip Select ◊A RAM chip has a Chip Select: ◊If written as : ◊A low will enable the output and enable the input ◊A high will tristate the output and disable the input ◊CS is used to avoid bus contention problems. Memory 2.11

RAM Chip Questions 1.What is the word size? 2.How many addressable locations are there? 3.What is the capacity? 4.What connections and input logic is required to read from the device? 5.What are the origins of the signals? A6Vcc A5 A7 A4 A8 A3 A9 A0 D0 A1 D1 A2 D2 CS D3 GndWE 2114 Memory 2.12

Function Table CS’WE’DMode HXHi-ZDisabled LLHWrite H LLLWrite L LHD out Read A6Vcc A5 A7 A4 A8 A3 A9 A0 D0 A1 D1 A2 D2 CS D3 GndWE 2114 Memory 2.13

Using 2 Memory IC’s ◊The 2114 is a 2 10  4, or 1024  4 bit memory device. Each IC has a 4-bit word size; two ICs can be combined to create an 8 bit word. Memory 2.14

Control and Timing Memory Device Data/Instructions AddressSelect Read/Write Memory 2.15

Specifications ◊Electrical: ◊Most electrical specifications resemble the TTL-LS specifications. ◊4.75 to 5.25 V for Vcc ◊VOH = 2.4V ◊VOL = 0.4V ◊Exceeds TTL-LS specification for power: ◊ICC = 95 mA at room temperature Memory 2.16

Read or Write Process ◊Sufficient time must be provided for the read and the write process to occur without error. ◊Since memory devices rely on a combination of inputs to provide the appropriate output, the specifications for timing can include many values. Input elements that affect output include CS, WR and the address values. All must be present with the right timing for the device to function reliably. Memory 2.17

Specifications ◊READ Timing: ◊t RC : Read cycle time. Time for valid data to be present at the output from the time an address is present. The t RC for the 2114 is 300ηs. If words were read one after another, there would need to be 300ηs between these cycles. ◊t ACC : Access time ◊t co : Chip select to output valid Address CS’ Data Output Address t RC Data t ACC t co Memory 2.18

Specifications ◊Write Timing: ◊t WC : Write cycle time. Time for valid data to be written to the device reliably. ◊t DS : Data setup time ◊t DH : Data Hold Time ◊t WOT : Time Write to Output Tristate Address CS’ Data Input Address t WC Data t WOT t DH R/W’ t DS Memory 2.19

Review Questions ◊Define the following inputs: ◊CS ◊WE ◊R/W ◊D ◊A ◊What typically supplies the address to a memory device? ◊What is the time for a complete memory write cycle? Memory 2.20

Internal Structure of Memory ◊Memory is comprised of cells arranged into words ◊Each word is accessed externally via an address. Internally, the address is applied to a decoder, and in turn this decoder enables the specific word to the output. Memory 2.21

Address Decoding (ROM) E 1 to 2 decoder (upper) word 1 word 3word 4 word 2 E E E E E E E 1 to 2 decoder (lower) Address buffer OE Word Out Memory 2.22

IC Models ◊The 74LS374 is an 8-bit parallel register with tri- state outputs. ◊The 74LS138 is a 3-to-8 decoder Memory 2.23

Using the IC Models to Demonstrate Memory Addressing ◊Electronics Workbench File Memory 2.24

DRAM ◊DRAM is used an memory in computer systems whereas SRAM is used internally by the microprocessor (cache). ◊Dynamic RAM is inexpensive with greater density and much lower power consumption but is one of the slowest types of memory. ◊The DRAM stores its values as a capacitive charge on tiny MOS capacitors and therefore requires continual refresh to maintain its values. This is a challenge for designing with DRAM. ◊Computer systems may have separate circuitry to refresh the DRAM without using CPU cycles. Memory 2.25

DRAM ◊DRAM addressing is somewhat more complex. Each bit is accessed instead of each word as in SRAM. This increases the number of addresses and therefore the number of addresses. ◊Addressing is done in a matrix configuration with the address split between Rows and Columns. Input pins RAS (Row Address Strobe) and CAS (Column Address Strobe) control the input address. Memory 2.26

DRAM ◊Representation of DRAM (4x4) Memory 2.27 WIKI CC

DRAM ◊A multiplexer is often used to reduce the number of address lines required. ◊Refreshing DRAM is done in 2 manners: ◊Burst mode, where all values of a Row are enabled at once, and access to memory is suspended for this time. ◊Distributed mode, where the refresh is done with memory access functions. This is more complex to manage. Memory 2.28

Review ◊DRAM has advantages over SRAM: ◊Low power ◊High density ◊DRAM has some disadvantages over SRAM: ◊More difficult to configure ◊Requires refresh cycles ◊DRAM is popular with microcomputers Memory 2.29

©Paul R. Godin prgodin gmail.com End Memory 2.30