Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 8 – Memory Basics Logic and Computer Design.

Slides:



Advertisements
Similar presentations
Overview Memory definitions Random Access Memory (RAM)
Advertisements

RAM (RANDOM ACCESS MEMORY)
Figure (a) 8 * 8 array (b) 16 * 8 array.
Computer Organization and Architecture
Overview Part 2 – Combinational Logic Functions and functional blocks
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
Memory Basics. 8-1 Memory definitions Memory is a collection of cells capable of storing binary information. Two types of memory: –Random-Access Memory.
Chapter 9 Memory Basics Henry Hexmoor1. 2 Memory Definitions  Memory ─ A collection of storage cells together with the necessary circuits to transfer.
Charles Kime © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 7 – Registers and Register Transfers Part 3 – Control of.
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)
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 6 – Selected Design Topics Part 4 – Programmable.
CS 151 Digital Systems Design Lecture 30 Random Access Memory (RAM)
8-5 DRAM ICs High storage capacity Low cost Dominate high-capacity memory application Need “refresh” (main difference between DRAM and SRAM) -- dynamic.
CS1104-8Memory1 CS1104: Computer Organisation Lecture 8: Memory
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 8 – Memory Basics Logic and Computer Design.
EKT 221 Digital Electronics II
Memory Basics Chapter 8.
Faculty of Information Technology Department of Computer Science Computer Organization and Assembly Language Chapter 5 Internal Memory.
EKT 221 : Digital 2 Memory Basics
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 6 – Selected Design Topics Part 4 – Programmable.
Logic and Computer Design Dr. Sanjay P. Ahuja, Ph.D. FIS Distinguished Professor of CIS ( ) School of Computing, UNF.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 6 – Selected Design Topics Part 1 – The.
SYEN 3330 Digital SystemsJung H. Kim 1 SYEN 3330 Digital Systems Chapter 9 – Part 1.
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.
CPEN Digital System Design
Digital Logic Design Instructor: Kasım Sinan YILDIRIM
SEQUENTIAL CIRCUITS Component Design and Use. Register with Parallel Load  Register: Group of Flip-Flops  Ex: D Flip-Flops  Holds a Word of Data 
Chapter 3 Memory Basics. Memory ??? A major component of a digital computer and many digital systems. Stores binary data, either permanently or temporarily.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 7 – Registers and Register Transfers Part.
Overview Memory definitions Random Access Memory (RAM)
Computer Architecture Lecture 24 Fasih ur Rehman.
SYEN 3330 Digital SystemsJung H. Kim 1 SYEN 3330 Digital Systems Chapter 9 – Part 2.
Semiconductor Memory Types
ECE/CS 352 Digital System Fundamentals© T. Kaminski & C. Kime 1 ECE/CS 352 Digital Systems Fundamentals Spring 2001 Chapter 6 – Part 2 Tom Kaminski & Charles.
Memory Devices 1. Memory concepts 2. RAMs 3. ROMs 4. Memory expansion & address decoding applications 5. Magnetic and Optical Storage.
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).
Digital Circuits Introduction Memory information storage a collection of cells store binary information RAM – Random-Access Memory read operation.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 22 Memory Definitions Memory ─ A collection of storage cells together with the necessary.
Logic and Computer Design Fundamentals, Fifth Edition Mano | Kime | Martin Copyright ©2016, 2008, 2004 by Pearson Education, Inc. All rights reserved.
Computer Architecture Chapter (5): Internal Memory
RAM RAM - random access memory RAM (pronounced ramm) random access memory, a type of computer memory that can be accessed randomly;
Chapter 3 Memory Basics. Memory ??? A major component of a digital computer and many digital systems. Stores binary data, either permanently or temporarily.
Mini project Viva Schedule – choose date
ECE/CS 352 Digital Systems Fundamentals
Overview Memory definitions Random Access Memory (RAM)
Chapter 3 Memory Basics.
Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 7th Edition
7-5 DRAM ICs High storage capacity Low cost
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
EE345: Introduction to Microcontrollers Memory
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
BIC 10503: COMPUTER ARCHITECTURE
Digital Logic & Design Dr. Waseem Ikram Lecture 40.
Memory Basics Chapter 8.
Memory Basics Chapter 7.
William Stallings Computer Organization and Architecture 8th Edition
Presentation transcript:

Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 8 – Memory Basics Logic and Computer Design Fundamentals

Overview  Memory definitions  Random Access Memory (RAM)  Static RAM (SRAM) integrated circuits  Arrays of SRAM integrated circuits  Dynamic RAM (DRAM) integrated circuits 2

Memory Definitions  Memory ─ A collection of storage cells together with the necessary circuits to transfer information to and from them.  Memory Organization ─ the basic architectural structure of a memory in terms of how data is accessed.  Random Access Memory (RAM) ─ a memory organized such that data can be transferred to or from any cell (or collection of cells) in a time that is not dependent upon the particular cell selected.  Memory Address ─ A vector of bits that identifies a particular memory element (or collection of elements). 3

Memory Definitions (Continued)  Typical data elements are: bit ─ a single binary digit byte ─ a collection of eight bits accessed together word ─ a collection of binary bits whose size is a typical unit of access for the memory. It is typically a power of two multiple of bytes (e.g., 1 byte, 2 bytes, 4 bytes, 8 bytes, etc.)  Memory Data ─ a bit or a collection of bits to be stored into or accessed from memory cells.  Memory Operations ─ operations on memory data supported by the memory unit. Typically, read and write operations over some data element (bit, byte, word, etc.). 4

Memory Organization  Organized as an indexed array of words. Value of the index for each word is the memory address.  Often organized to fit the needs of a particular computer architecture. Intel 8080 – (8-bit predecessor to the 8086 and the current Intel processors) used a 16-bit address to address 65,536 8-bit bytes. 5

Memory Block Diagram  A basic memory system is shown here:  k address lines are decoded to address 2 k words of memory.  Each word is n bits.  Read and Write are single control lines defining the simplest of memory operations. n Data Input Lines k Address Lines Read Write n Data Output Lines Memory Unit 2 k Words n Bits per Word k 1 1 n n 6

Memory Organization Example  Example memory contents: A memory with 3 address bits & 8 data bits has: k = 3 and n = 8 so 2 3 = 8 addresses labeled 0 to = 8 words of 8-bit data 7

Basic Memory Operations  Memory operations require the following: Data ─ data written to, or read from, memory as required by the operation. Address ─ specifies the memory location to operate on. The address lines carry this information into the memory. Typically: n bits specify locations of 2 n words. An operation ─ Information sent to the memory and interpreted as control information which specifies the type of operation to be performed. Typical operations are READ and WRITE. Others are READ followed by WRITE and a variety of operations associated with delivering blocks of data. Operation signals may also specify timing info. 8

Basic Memory Operations (continued)  Read Memory ─ an operation that reads a data value stored in memory: Place a valid address on the address lines. Wait for the read data to become stable.  Write Memory ─ an operation that writes a data value to memory: Place a valid address on the address lines and valid data on the data lines. Toggle the memory write control line 9

Overview  Memory definitions  Random Access Memory (RAM)  Static RAM (SRAM) integrated circuits Cells and slices Cell arrays and coincident selection  Arrays of SRAM integrated circuits  Dynamic RAM (DRAM) integrated circuits  DRAM Types Synchronous (SDRAM) Double-Data Rate (DDR SRAM) RAMBUS DRAM (RDRAM)  Arrays of DRAM integrated circuits 10

RAM Integrated Circuits  Types of random access memory Static – information stored in latches Dynamic – information stored as electrical charges on capacitors  Charge “leaks” off  Periodic refresh of charge required  Dependence on Power Supply Volatile – loses stored information when power turned off Non-volatile – retains information when power turned off 11

Overview  Memory definitions  Random Access Memory (RAM)  Static RAM (SRAM) integrated circuits Cells and slices Cell arrays and coincident selection  Arrays of SRAM integrated circuits  Dynamic RAM (DRAM) integrated circuits 12

Static RAM  Cell  Array of storage cells used to implement static RAM  Storage Cell SR Latch Select input for control Dual Rail Data Inputs B and B Dual Rail Data Outputs C and C Select B RAM cell C C B S R Q Q 13

Static RAM Bit Slice  Represents all circuitry that is required for 2 n 1-bit words Multiple RAM cells Control Lines:  Word select i – one for each word   Bit Select Data Lines:  Data in  Data out 14

Read/ 2 n -Word  1-Bit RAM IC  To build a RAM IC from a RAM slice, we need: Decoder :decodes the n address lines to 2 n word select lines A 3-state buffer on the data output permits RAM ICs to be combined into a RAM with c  2 n words Word select Read/Write logic Data in Data out Write Bit select (b) Block diagram RAM cell RAM cell RAM cell Data input Chip select Read/Write Data output A 3 A 2 A 1 A to-16 Decoder A 3 A 2 A 1 A 0 Data input Data output (a) Symbol Read/ Write Memory enable 16 x 1 RAM 15

 Memory arrays can be very large => Large decoders Large fanouts for the bit lines The decoder size and fanouts can be reduced by approximately by using a coincident selection in a 2-dimensional array Uses two decoders, one for words and one for bits Word select becomes Row select Bit select becomes Column select  See next slide for example A 3 and A 2 used for Row select A 1 and A 0 for Column select Cell Arrays and Coincident Selection 16

Cell Arrays and Coincident Selection (continued) Data input Read/Write XXX A 1 A 0 RAM cell Read/Write logic Data in Data out Read/ Write Bit select RAM cell Read/Write logic Data in Data out Read/ Write Bit select RAM cell RAM cell 14 Read/Write logic Data in Data out Read/ Write Bit select RAM cell RAM cell 15 Read/Write logic Data in Data out Read/ Write Bit select Column decoder 2-to-4 Decoder with enable Column select 2 Enable 3 Chip select Data output Row select Row decoder A 2 A 3 X 2-to-4 Decoder

Overview  Memory definitions  Random Access Memory (RAM)  Static RAM (SRAM) integrated circuits Cells and slices Cell arrays and coincident selection  Arrays of SRAM integrated circuits  Dynamic RAM (DRAM) integrated circuits 18

RAM ICs with > 1 Bit/Word  Word length can be quite high.  To better balance the number of words and word length, use ICs with > 1 bit/word 19

20 8 Words x 2 bits Memory 2 Data input bits 2 Data output bits Row select selects 4 rows Column select selects 2 pairs of columns

Making Larger Memories (more words)  Using the CS lines, we can make larger memories from smaller ones by tying all address, data, and R/W lines in parallel, and using the decoded higher order address bits to control CS.  Using the 4-Word by 1- Bit memory from before, we construct a 16-Word by 1-Bit memory.  21

Making Wider Memories (more bits)  To construct wider memories from narrow ones, we tie the address and control lines in parallel and keep the data lines separate.  For example, to make a 4- word by 4-bit memory from 4, 4-word by 1-bit memories   Note: Both 16x1 and 4x4 memories take 4-chips and hold 16 bits of data. 22

Terms of Use  All (or portions) of this material © 2008 by Pearson Education, Inc.  Permission is given to incorporate this material or adaptations thereof into classroom presentations and handouts to instructors in courses adopting the latest edition of Logic and Computer Design Fundamentals as the course textbook.  These materials or adaptations thereof are not to be sold or otherwise offered for consideration.  This Terms of Use slide or page is to be included within the original materials or any adaptations thereof. 23