EECS 3201: Digital Logic Design Lecture 7. Ihab Amer, PhD, SMIEEE, P.Eng.

Similar documents
Logic and Computer Design Fundamentals. Chapter 8 Memory Basics

Microcontroller Systems. ELET 3232 Topic 11: General Memory Interfacing

Chapter 8 Memory Basics

ENGIN 112 Intro to Electrical and Computer Engineering

ECE 341. Lecture # 16

Random Access Memory (RAM)

Concept of Memory. The memory of computer is broadly categories into two categories:

Computer Organization and Assembly Language (CS-506)

UMBC. Select. Read. Write. Output/Input-output connection. 1 (Feb. 25, 2002) Four commonly used memories: Address connection ... Dynamic RAM (DRAM)

ELCT 912: Advanced Embedded Systems

Module 5a: Introduction To Memory System (MAIN MEMORY)

COMP3221: Microprocessors and. and Embedded Systems. Overview. Lecture 23: Memory Systems (I)

Introduction read-only memory random access memory

Random Access Memory (RAM)

Chapter 5 Internal Memory

Logical Design of Digital Systems

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422)

ECE 2300 Digital Logic & Computer Organization

Internal Memory. Computer Architecture. Outline. Memory Hierarchy. Semiconductor Memory Types. Copyright 2000 N. AYDIN. All rights reserved.

Memories. Design of Digital Circuits 2017 Srdjan Capkun Onur Mutlu.

k -bit address bus n-bit data bus Control lines ( R W, MFC, etc.)

Organization. 5.1 Semiconductor Main Memory. William Stallings Computer Organization and Architecture 6th Edition

Chapter 6 (Lect 3) Counters Continued. Unused States Ring counter. Implementing with Registers Implementing with Counter and Decoder

Chapter 9: A Closer Look at System Hardware

Chapter 9: A Closer Look at System Hardware 4

EE414 Embedded Systems Ch 5. Memory Part 2/2

(Advanced) Computer Organization & Architechture. Prof. Dr. Hasan Hüseyin BALIK (5 th Week)

CHAPTER X MEMORY SYSTEMS

Chapter 6 Objectives

EECS 3201: Digital Logic Design Lecture 4. Ihab Amer, PhD, SMIEEE, P.Eng.

Basic Organization Memory Cell Operation. CSCI 4717 Computer Architecture. ROM Uses. Random Access Memory. Semiconductor Memory Types

Memory System Overview. DMA & Endian-ness. Technology. Architectural. Problem: The Memory Wall

EECS150 - Digital Design Lecture 17 Memory 2

ECE 485/585 Microprocessor System Design

Lecture 13: Memory and Programmable Logic

CpE 442. Memory System

Announcements. This week: no lab, no quiz, just midterm

Semiconductor Memories: RAMs and ROMs

William Stallings Computer Organization and Architecture 6th Edition. Chapter 5 Internal Memory

Introduction to Semiconductor Memory Dr. Lynn Fuller Webpage:

Contents. Main Memory Memory access time Memory cycle time. Types of Memory Unit RAM ROM

CS 265. Computer Architecture. Wei Lu, Ph.D., P.Eng.

eaymanelshenawy.wordpress.com

ECE 485/585 Microprocessor System Design

machine cycle, the CPU: (a) Fetches an instruction, (b) Decodes the instruction, (c) Executes the instruction, and (d) Stores the result.

CPS101 Computer Organization and Programming Lecture 13: The Memory System. Outline of Today s Lecture. The Big Picture: Where are We Now?

CS650 Computer Architecture. Lecture 9 Memory Hierarchy - Main Memory

Computers and Microprocessors. Lecture 34 PHYS3360/AEP3630

15-740/ Computer Architecture Lecture 19: Main Memory. Prof. Onur Mutlu Carnegie Mellon University

18-447: Computer Architecture Lecture 25: Main Memory. Prof. Onur Mutlu Carnegie Mellon University Spring 2013, 4/3/2013

Mark Redekopp, All rights reserved. EE 352 Unit 10. Memory System Overview SRAM vs. DRAM DMA & Endian-ness

Module 6 : Semiconductor Memories Lecture 30 : SRAM and DRAM Peripherals

CS152 Computer Architecture and Engineering Lecture 16: Memory System

Unit 6 1.Random Access Memory (RAM) Chapter 3 Combinational Logic Design 2.Programmable Logic

Memory & Simple I/O Interfacing

COMP2121: Microprocessors and Interfacing. Introduction to Microprocessors

! Memory Overview. ! ROM Memories. ! RAM Memory " SRAM " DRAM. ! This is done because we can build. " large, slow memories OR

ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems

The Memory Component

Random Access Memory (RAM)

ECEN 449 Microprocessor System Design. Memories. Texas A&M University

Computer Architecture: Part III. First Semester 2013 Department of Computer Science Faculty of Science Chiang Mai University

Memory and Programmable Logic

William Stallings Computer Organization and Architecture 8th Edition. Chapter 5 Internal Memory

Memory Supplement for Section 3.6 of the textbook

CSEE 3827: Fundamentals of Computer Systems. Storage

ECE 152 Introduction to Computer Architecture

Memory Overview. Overview - Memory Types 2/17/16. Curtis Nelson Walla Walla University

UNIT V (PROGRAMMABLE LOGIC DEVICES)

Design with Microprocessors

EEM 486: Computer Architecture. Lecture 9. Memory

Computer Organization & Architecture M. A, El-dosuky

Computer Organization. 8th Edition. Chapter 5 Internal Memory

ELEC 5200/6200 Computer Architecture and Design Spring 2017 Lecture 7: Memory Organization Part II

Memory & Logic Array. Lecture # 23 & 24 By : Ali Mustafa

EECS 366: Computer Architecure. Memory Technology. Lecture Notes # 15. University of Illinois at Chicago. Instructor: Shantanu Dutt Department of EECS

Computer Architecture: Part V. First Semester 2013 Department of Computer Science Faculty of Science Chiang Mai University

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

EECS150 - Digital Design Lecture 16 - Memory

Lecture-7 Characteristics of Memory: In the broad sense, a microcomputer memory system can be logically divided into three groups: 1) Processor

CMOS Logic Circuit Design Link( リンク ): センター教官講義ノートの下 CMOS 論理回路設計

10/24/2016. Let s Name Some Groups of Bits. ECE 120: Introduction to Computing. We Just Need a Few More. You Want to Use What as Names?!

The Central Processing Unit

Picture of memory. Word FFFFFFFD FFFFFFFE FFFFFFFF

Lecture Objectives. Introduction to Computing Chapter 0. Topics. Numbering Systems 04/09/2017

Memory Basics. Course Outline. Introduction to Digital Logic. Copyright 2000 N. AYDIN. All rights reserved. 1. Introduction to Digital Logic.

Memory and Programmable Logic

8051 INTERFACING TO EXTERNAL MEMORY

Computer Architecture and Organization:

Memory and Programmable Logic

Memory System Design. Outline

Memory. Hakim Weatherspoon CS 3410, Spring 2013 Computer Science Cornell University

Embedded Systems Design: A Unified Hardware/Software Introduction. Outline. Chapter 5 Memory. Introduction. Memory: basic concepts

Embedded Systems Design: A Unified Hardware/Software Introduction. Chapter 5 Memory. Outline. Introduction

Chapter 2: Memory Hierarchy Design (Part 3) Introduction Caches Main Memory (Section 2.2) Virtual Memory (Section 2.4, Appendix B.4, B.

Address connections Data connections Selection connections

Philadelphia University Department of Computer Science. By Dareen Hamoudeh

ENGR 303 Introduction to Logic Design Lecture 7. Dr. Chuck Brown Engineering and Computer Information Science Folsom Lake College

Components of a personal computer

CSE502: Computer Architecture CSE 502: Computer Architecture

Transcription:

EECS 3201: Digital Logic Design Lecture 7 Ihab Amer, PhD, SMIEEE, P.Eng.

2x2 binary multiplier 2

4x4 Array Multiplier 3

Multiplexer (MUX) 4

MUX Implementations 5

Wider MUXes 6

Logic with MUXes 7

Reducing the MUX Size 8

Mux this! 9

Decoders 10

Decoder Implementation 11

4x16 Decoder out of 3x8 ones 12

Logic Using Decoders 13

Memory Most real-world digital systems do contain one or more memory units A memory unit is a device to which binary information is transferred for storage and from which information is retrieved when needed for processing 14

Random-Access Memory (RAM) 15

Memory Addressing In order to read or write to a specific memory location, a binary code is placed on the address bus. Internal decoders decode the address to determine the specific location. Data is then moved to or from the data bus. Read Write The address bus is a group of conductors with a common function. Its size determines the number of locations that can be accessed. A 32 bit address bus can access 2 32 locations, which is approximately 4G. Address bus Row address decoder Memory array Column address decoder Data bus 16

Illustration of the Write Operation 1 0 1 1 0 0 0 1 1 0 1 1 0 1 1 0 0 0 1 1 0 0 1 1 1 0 1 0 1 1 2 1 0 0 0 0 0 0 1 3 4 1 1 1 1 1 1 0 0 0 0 0 0 0 1 1 0 2 5 1 0 0 0 1 1 0 1 6 1 1 1 1 1 1 1 1 7 0 0 0 0 1 1 1 1 3 1. The address is placed on the address bus. 2. Data is placed on the data bus. 3. A write command is issued. 17

Illustration of the Read Operation 0 1 1 1 1 0 0 0 0 0 1 1 0 1 2 1 0 1 0 1 1 1 1 0 0 1 0 1 0 0 1 1 0 0 0 0 0 0 1 3 3 1 1 0 0 0 0 0 1 4 0 0 0 0 0 1 1 0 5 1 0 0 0 1 1 0 1 6 1 1 1 1 1 1 1 1 7 0 0 0 0 1 1 1 1 2 1. The address is placed on the address bus 2. A read command is issued 3. A copy of the data is placed in the data bus and shifted into the data register 18

Memory Speed Vs Cost Regs Classical Memory Hierarchy! Cache Main Memory Better Performance per WATT & Higher Cost Hard Drive Network 19

Major RAM Types Bits stored in a semiconductor latch or flip-flop Bits stored as charge on a capacitor 20

Static RAM (SRAM) SRAM uses semiconductor latch memory cells. The cells are organized into an array of rows and columns Row Select 0 SRAM is faster than DRAM but is more complex, takes up more space, and is more expensive. SRAMs are available in many configurations a typical large SRAM is organized as 512 k X 8 bits Row Select 1 Row Select 2 Row Select n Data Input/Output Buffers and Control Memory cell Data I/O Bit 0 Data I/O Bit 1 Data I/O Bit 2 Data I/O Bit 3 21

Dynamic RAM (DRAM) Dynamic RAMs (DRAMs) store data bits as a charge on a capacitor. DRAMs are simple and cost effective, but require refresh circuitry to prevent losing data 22

D D Memory Expansion (1/2) Memory can be expanded in either word size or word capacity or both. To expand word size: Notice that the data bus size is larger, but the number of address is the same. Address bus m bits m bits RAM 1 2 m n Data in/out RAM 2 m 2n n bits m bits RAM 2 2 m n Data in/out n bits E R/W Control bus 2n bits Data bus 23

Memory Expansion (2/2) To expand word capacity, you need to add an address line as shown in this example Address bus 21 bits 20 bits RAM 2M 8 RAM 1 1M 8 EN 8 bits Notice that the data bus size does not change Control bus 20 bits RAM 2 1M 8 8 bits Data bus EN 8 bits 24

SIMMs and DIMMs SIMMs (single in-line memory modules) and DIMMs (dual in-line memory modules) are plug-in circuit boards containing the ICs and I/O brought out on edge connectors. SIMMs have a 32-bit data path with I/O on only one side whereas DIMMs have a 64-bit data path with I/O on both sides of the board. SIMM or DIMM Socket on system board 25

References Lecture Notes of Dr. Sebastian Magierowski Fall 2013 Digital Design (3 rd and 4 th Editions), Morris Mano, Prentice Hall, (2002/2007) Digital Fundamentals (10 th Edition), Thomas L. Floyd, Prentice Hall, 2010 http://ece.gmu.edu/coursewebpages/ece/ece4 48/S10/ 26