Top Banner
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization
32

Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Mar 11, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

Chapter 4

Introduction to Computer

Organization

Page 2: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

Chapter Outline

• System Organization

• CPU Organization

• Memory Organization and Interfacing

• I/O Organization and Interfacing

• Relatively Simple Computer

• 8085-based Computer

Page 3: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

Basic Computer Organization

Page 4: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

System Components

• CPU/Microprocessor

• Memory Subsystem

• I/O Subsystem

Page 5: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

System Buses

• Address Bus

• Data Bus

• Control Bus

Page 6: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

Instruction Cycle

• Fetch

• Decode

• Execute

Page 7: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

Instruction Fetch

Page 8: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

Types of I/O Organization

• Isolated I/O

• Memory-mapped I/O

Page 9: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

CPU Organization

Page 10: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

Types of Memory

• Static RAM

• Dynamic RAM

• ROM

• PROM

• EPROM

• EEPROM

Page 11: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

Memory Chip Organization -

Linear

Page 12: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

Memory Chip Organization -

Two Dimensional

Page 13: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

Combining Memory Chips to

Increase Word Size

Page 14: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

Combining Memory Chips to

Increase Address Space

Page 15: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

Low-order Interleaving

Page 16: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

von Neumann Architecture

• Instructions and data mixed

• Used in modern computers

Page 17: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

Harvard Architecture

• Instructions and data separate

• Used in low-level cache memory design

Page 18: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

Big Endian Data Organization

• Most significant byte first

Page 19: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

Little Endian Data

Organization• Least significant byte first

Page 20: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

Input Device Organization

Page 21: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

Output Device Organization

Page 22: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

Bidirectional I/O Device

Organization

Page 23: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

I/O Interface Enhancements

• READY signal

• Interrupts

• DMA

Page 24: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

Relatively Simple Computer

Specifications• Relatively Simple CPU

• 8K ROM starting at 0000H

• 8K RAM starting at 2000H

• Memory-mapped, bidirectional I/O port

at 8000H

Page 25: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

Relatively Simple Computer

Organization - CPU Details

Page 26: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

Relatively Simple Computer

Organization - Memory Details

Page 27: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

Relatively Simple Computer

Organization - Final Design

Page 28: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

INCLUDE EXTERNAL

ANIMATION FROM JAVA

SIMULATOR HERE

Page 29: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

8085-based Computer

Specifications• 2K EPROM starting at 0000H

• 256 bytes RAM starting at 2000H

• Four 8-bit I/O ports at 00H, 01H, 19H,

and 1AH

• One 6-bit I/O port at 1BH

Page 30: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

Demultiplexing the AD signals

Page 31: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

8085-based Computer Organization

Page 32: Chapter 4 Introduction to Computer Organizationlibvolume2.xyz/biomedical/btech/semester6/computer... · • 8K ROM starting at 0000H • 8K RAM starting at 2000H • Memory-mapped,

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001

Summary

• Basic Computer Organization

• CPU Organization

• Memory Chip Internal Organization

• Memory Subsystem Organization

• I/O Port Organization and Interfacing