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

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

Embed Size (px)

Citation preview

Page 1: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

Chapter 4Chapter 4Introduction to Computer Introduction to Computer

OrganizationOrganization

Page 2: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

Chapter OutlineChapter Outline

• System OrganizationSystem Organization

• CPU OrganizationCPU Organization

• Memory Organization and InterfacingMemory Organization and Interfacing

• I/O Organization and InterfacingI/O Organization and Interfacing

• Relatively Simple ComputerRelatively Simple Computer

• 8085-based Computer8085-based Computer

Page 3: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

Basic Computer OrganizationBasic Computer Organization

Page 4: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

System ComponentsSystem Components

• CPU/MicroprocessorCPU/Microprocessor

• Memory SubsystemMemory Subsystem

• I/O SubsystemI/O Subsystem

Page 5: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

System BusesSystem Buses

• Address BusAddress Bus

• Data BusData Bus

• Control BusControl Bus

Page 6: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

Instruction CycleInstruction Cycle

• FetchFetch

• DecodeDecode

• ExecuteExecute

Page 7: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

Instruction FetchInstruction Fetch

Page 8: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

Types of I/O OrganizationTypes of I/O Organization

• Isolated I/OIsolated I/O

• Memory-mapped I/OMemory-mapped I/O

Page 9: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

CPU OrganizationCPU Organization

Page 10: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

Types of MemoryTypes of Memory

• Static RAMStatic RAM

• Dynamic RAMDynamic RAM

• ROMROM

• PROMPROM

• EPROMEPROM

• EEPROMEEPROM

Page 11: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

Memory Chip Organization - Memory Chip Organization - LinearLinear

Page 12: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

Memory Chip Organization - Memory Chip Organization - Two DimensionalTwo Dimensional

Page 13: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

Combining Memory Chips to Combining Memory Chips to Increase Word SizeIncrease Word Size

Page 14: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

Combining Memory Chips to Combining Memory Chips to Increase Address SpaceIncrease Address Space

Page 15: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

Low-order InterleavingLow-order Interleaving

Page 16: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

von Neumann Architecturevon Neumann Architecture

• Instructions and data mixedInstructions and data mixed

• Used in modern computersUsed in modern computers

Page 17: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

Harvard ArchitectureHarvard Architecture

• Instructions and data separateInstructions and data separate

• Used in low-level cache memory designUsed in low-level cache memory design

Page 18: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

Big Endian Data OrganizationBig Endian Data Organization

• Most significant byte firstMost significant byte first

Page 19: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

Little Endian Data Little Endian Data OrganizationOrganization

• Least significant byte firstLeast significant byte first

Page 20: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

Input Device OrganizationInput Device Organization

Page 21: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

Output Device OrganizationOutput Device Organization

Page 22: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

Bidirectional I/O Device Bidirectional I/O Device OrganizationOrganization

Page 23: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

I/O Interface EnhancementsI/O Interface Enhancements

• READY signalREADY signal

• InterruptsInterrupts

• DMADMA

Page 24: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

Relatively Simple Computer Relatively Simple Computer SpecificationsSpecifications

• Relatively Simple CPURelatively Simple CPU

• 8K ROM starting at 0000H8K ROM starting at 0000H

• 8K RAM starting at 2000H8K RAM starting at 2000H

• Memory-mapped, bidirectional I/O port Memory-mapped, bidirectional I/O port at 8000Hat 8000H

Page 25: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

Relatively Simple Computer Relatively Simple Computer Organization - CPU DetailsOrganization - CPU Details

Page 26: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

Relatively Simple Computer Relatively Simple Computer Organization - Memory DetailsOrganization - Memory Details

Page 27: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

Relatively Simple Computer Relatively Simple Computer Organization - Final DesignOrganization - Final Design

Page 28: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

INCLUDE EXTERNAL INCLUDE EXTERNAL ANIMATION FROM JAVA ANIMATION FROM JAVA

SIMULATOR HERESIMULATOR HERE

Page 29: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

8085-based Computer 8085-based Computer SpecificationsSpecifications

• 2K EPROM starting at 0000H2K EPROM starting at 0000H

• 256 bytes RAM starting at 2000H256 bytes RAM starting at 2000H

• Four 8-bit I/O ports at 00H, 01H, 19H, Four 8-bit I/O ports at 00H, 01H, 19H, and 1AHand 1AH

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

Page 30: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

Demultiplexing the AD signalsDemultiplexing the AD signals

Page 31: Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 4 Introduction to Computer Organization

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

8085-based Computer Organization8085-based Computer Organization

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

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

SummarySummary

• Basic Computer OrganizationBasic Computer Organization

• CPU OrganizationCPU Organization

• Memory Chip Internal OrganizationMemory Chip Internal Organization

• Memory Subsystem OrganizationMemory Subsystem Organization

• I/O Port Organization and InterfacingI/O Port Organization and Interfacing