Computer Architecture

Similar documents
About the Presentations

A+ Guide to Hardware: Managing, Maintaining, and Troubleshooting, 5e. Chapter 1 Introducing Hardware

Chapter 4 The Components of the System Unit

Experiment #0. PC Hardware and Operating Systems

Chapter 3. Top Level View of Computer Function and Interconnection. Yonsei University

Chapter 4 The Components of the System Unit

Homeschool Enrichment. The System Unit: Processing & Memory

Computer Architecture 2/26/01 Lecture #

Computers Are Your Future

Computer Architecture and Organization (CS-507)

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

7/28/ Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc.

Lesson 4: The Network Interface Card

PC I/O. May 7, Howard Huang 1

Inside the Computer System

Introduction to the Personal Computer

Part 1 of 3 -Understand the hardware components of computer systems

Computers Are Your Future

Chapter 2. Prepared By: Humeyra Saracoglu

FUNCTIONS OF COMPONENTS OF A PERSONAL COMPUTER

This page intentionally left blank

Components of a personal computer


HARDWARE AND OPERATING SYSTEMS

Identify Components of the. Motherboard

Technology in Action

Chapter 9: A Closer Look at System Hardware

Chapter 9: A Closer Look at System Hardware 4

Top-Level View of Computer Organization

Operating Systems Concepts

lesson 3 Transforming Data into Information

Chapter Two. Hardware Basics: Inside the Box

The Components of the System Unit

Discovering Computers 2012

OS And Hardware. Computer Hardware Review PROCESSORS. CPU Registers. CPU Registers 02/04/2013

Chapter 1: Introduction to the Microprocessor and Computer 1 1 A HISTORICAL BACKGROUND

Input/Output Problems. External Devices. Input/Output Module. I/O Steps. I/O Module Function Computer Architecture

System Unit Components Chapter2

Computer Architecture

Agenda Computer Hardware Input Devices Output Devices Secondary Storage Computer Software System Software Application Software Working with Windows

Computers and Microprocessors. Lecture 34 PHYS3360/AEP3630

Q1. Describe C.P.U and its subunits with the help of diagram?

Unit 1. Aries Technology Course

Computer Overview. A computer item you can physically see or touch. A computer program that tells computer hardware how to operate.

Computer Architecture

Bus Example: Pentium II

UNIT 2 Data Center Environment

Unit 1. Chapter 3 Top Level View of Computer Function and Interconnection

Introduction To Computer Hardware. Hafijur Rahman

System Buses Ch 3. Computer Function Interconnection Structures Bus Interconnection PCI Bus. 9/4/2002 Copyright Teemu Kerola 2002

Computer System Overview OPERATING SYSTEM TOP-LEVEL COMPONENTS. Simplified view: Operating Systems. Slide 1. Slide /S2. Slide 2.

CS 101, Mock Computer Architecture

Babbage Analytical Machine

Computer System Overview

Introduction to a Typical PC. Freedom High School

Connectivity. Module 2.2. Copyright 2006 EMC Corporation. Do not Copy - All Rights Reserved. Connectivity - 1

Computer Architecture CS 355 Busses & I/O System

TUTORIAL Describe the circumstances that would prompt you to use a microprocessorbased design solution instead of a hard-wired IC logic design.

FACTFILE: GCE DIGITAL TECHNOLOGY

True/False Indicate whether the statement is true or false. Bubble A for True and B for False

True/False Indicate whether the statement is true or false. Bubble A for True and B for False

Organisasi Sistem Komputer

4-Port PCI Express USB 3.0 Card - 2 External, 2 Internal - SATA Power

Computer Organization

The Central Processing Unit

Chapter 5 - Input / Output

Three-box Model: These three boxes need interconnecting (usually done by wiring known as a bus. 1. Processor CPU e.g. Pentium 4 2.

Lecture 23. Finish-up buses Storage

STANDARD I/O INTERFACES

Computer Maintenance. Unit Subtitle: Motherboards. Copyright Texas Education Agency, All rights reserved. 1

Unit 2 Computers today & Basic software. Final task: Report and solve an incident.

Chapter 02: Computer Organization Functional units and components in a computer organization Part 3 Bus Structures

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

The Host Environment. Module 2.1. Copyright 2006 EMC Corporation. Do not Copy - All Rights Reserved. The Host Environment - 1

EEM336 Microprocessors I. I/O Interface

Mother Board And Its Components By :- IMRAN QURESHI

Computer Organization

MSc-IT 1st Semester Fall 2016, Course Instructor M. Imran khalil 1

COMP2121: Microprocessors and Interfacing. Introduction to Microprocessors

Computer Systems A Background Review

Introduction to Microprocessor

Chapter 2 Logic Gates and Introduction to Computer Architecture

Interface: Ports. Microprocessor System Design EHB432E Lecture - 6. Interface: Bus. Timing Diagrams. Istanbul Technical University

Chapter One. Introduction to Computer System

Introduction. Computer System Organization. Languages, Levels, Virtual Machines. A multilevel machine. Sarjana Magister Program

Overview of Computer Organization. Chapter 1 S. Dandamudi

Computer Organization and Microprocessors SYLLABUS CHAPTER - 1 : BASIC STRUCTURE OF COMPUTERS CHAPTER - 3 : THE MEMORY SYSTEM

Chapter 1: Introduction to the Personal Computer

SYSTEM BUS AND MOCROPROCESSORS HISTORY

Overview of Computer Organization. Outline

Motherboard BIOS. Fig: 1 What you see (or something similar) if you turn the PC manufacturer's logo off

CS 16: Assembly Language Programming for the IBM PC and Compatibles

COMPUTER ORGANISATION CHAPTER 1 BASIC STRUCTURE OF COMPUTERS

Personal computer hardware From Wikipedia, the free encyclopedia (Redirected from Computer hardware)

Elementary Computing CSC M. Cheng, Computer Science 1

Assembly Language for x86 Processors 7 th Edition. Chapter 2: x86 Processor Architecture

CPU ARCHITECTURE. QUESTION 1 Explain how the width of the data bus and system clock speed affect the performance of a computer system.

Design of a Programmable Bus for Microprocessor-Based Systems

Chapter 2 Motherboards and Processors

INPUT-OUTPUT ORGANIZATION

Transcription:

Computer Architecture Computer Architecture Hardware INFO 2603 Platform Technologies Week 1: 04-Sept-2018 Computer architecture refers to the overall design of the physical parts of a computer. It examines: what the main parts are; how they are physically connected to each other; and how they work together; The physical parts of a computer are connected to each other by the motherboard Fig. 1 A motherboard 1 Operating System Operating System An Operating System is the layer of software that manages a computer s resources for its users and their applications. It abstracts the use of these resources using a clean, simple, standardised interface Research each of these Operating Systems: platform, OS-family, usage Fig. 3 Operating System Relative to Hardware and Software Layers Fig. 2 Examples of Operating Systems Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved.

Computer Architecture Map Computer Hardware Review Main components controlled by the operating system: CPU: Central Processing Unit Computer Brain Performs calculations RAM: Random Access Memory System memory Graphics Video Card Input/Output Buses Connect I/O devices to the motherboard Figure 4. Some of the components of a simple personal computer. Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved. 0-13-6006639 Bus System Bus A bus is a communication pathway connecting two or more devices. A key characteristic of a bus is that it is a shared transmission medium. Multiple devices connect to the bus, but only one can successfully transmit a signal at a time. A bus consists of multiple communication pathways or lines. Each line transmits a binary signal: 0 or 1. An 8-bit unit of data can be transmitted over 8 bus lines (parallel, simultaneous transmission). A system bus connects major computer components (processor, memory, I/O). The most common interconnection structures are based on the use of one or more system buses. A system bus consists of typically 50-100 separate lines. Each line is assigned a particular meaning or function. Three major functional groups for classifying lines are: Data lines Address lines Control lines

Data Lines and Data Bus The data lines provide a path for moving data between system modules and are collectively called the Data Bus. The data bus consists of 8,16, or 32 separate lines. The number of lines refer to the width of the data bus. The data bus consists of are internal and external data buses. Internal data bus: connects the internal components of the CPU (registers, ALU etc) to the data I/O pins External data bus: connects the data I/O pins of the CPU to the memory and I/O devices (e.g. printer, monitor) The width of the internal data bus is used to classify a microprocessor (e.g. 8-bit, 16-bit, 32-bit, 64-bit microprocessors) Address Lines and Address Bus The address lines are used to designate the source or destination of the data on the data bus. Collectively these lines are called the Address Bus. The address lines are also used to address I/O ports. Memory addresses are put on the address line for reading data from memory The width of the address bus determines the maximum possible memory capacity of the system. For example, a system with a 32-bit address bus can address 2 32 (4,294,967,296) memory locations. If each memory location holds one byte, the addressable memory space is 4 GB. Control Lines and Control Bus The control lines are used to control the access to and the use of data and address lines which are shared by all components. Collectively these lines are called the Control Bus. Control signals transmit timing and command information between system modules. Timing signals indicate the validity of data and address information. Command signals specify operations to be performed. Control Lines Examples of typical control lines: Memory write: causes data on the bus to be written into the addressed location Memory read: causes data from the addressed location to be placed on the bus I/O write: causes data on the bus to be output to the addressed I/O port I/O read: causes data from the addressed I/O port to be placed to the bus Clock: used to synchronise operations

Control Lines Examples of typical control lines: Transfer ACK: indicates that data has been accepted or placed on the bus Physical System Bus The system bus is actually a number of parallel electrical conductors. Bus request: indicates that a module needs to gain control of the bus Bus grant: indicates that a requesting module had been granted control of the bus Interrupt request: indicates that an interrupt is pending Interrupt ACK: acknowledges that the pending interrupt has been recognised The bus extends across all of the system components, each of which taps into some or all of the bus lines. Fig. 5 Conductors Circuits or pathways conduct electricity and are called "traces." The electrical pathways or conductors are made up of two different parts. The first part is the lines themselves and they are called "traces." The second part is called a "land" or "pad." A land is a conductive surface providing a place on which to attach various components. Physical System Bus Buses Major system components occupy a board which plugs into the bus at specific slots. A small computer may be acquired and expanded later (more memory, more I/O) by adding more boards. Some industry standards of bus interfaces ISA: Industry Standard Architecture PCI: Peripheral Component Interconnect IDE: Integrated Drive Electronics SCSI: small computer-systems interface USB: Universal Serial Bus ATA: AT Attachment SATA: Serial ATA Components can be easily removed and replaced if a failure occurs. Fig. 6 Physical Realisation of Bus Architecture

Bus Configuration ISA - Industry Standard Architecture ISA Bus This was the industry standard in the 1980s and early 1990s. It is now used to provide support for older and slower devices. Common devices connected to the ISA bus might include an older modem, a joystick, a mouse, or a printer (using the older, wide-style printer port). Figure 8. ISA slots Figure 7. The structure of a large Pentium system Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved. 0-13-6006639 PCI Peripheral Component Interconnect USB Universal Serial Bus PCI Bus This is for newer and faster devices than ISA. You can think of this like a wider road, with a faster speed limit! Some common devices connected to the PCI bus include your network card, EIDE devices (hard disk, CD/DVD drive, etc). USB Universal Serial Bus Many new devices can connect to your computer using a USB port. Examples include webcams, MP3 players, printers, PDAs, etc. Figure 9. USB slots Figure 9. PCI slots

Chips, Cores and Processors Machine Instructions A chip refers to the physical integrated circuit (IC) on a computer. A chip in the context of computing technology may refer to an execution unit that can be single-core or multi-core. A core comprises a logical execution unit containing an L1 cache and functional units. A multi-core chip may have several cores e.g. dual-core means 2 cores. Cores are able to independently execute programs. The operation of the CPU is determined by the instructions its executes, referred to as machine instructions or computer instructions. The collection of different instructions that the CPU can execute is referred to as the CPU s instruction set. A processor could describe either a single execution core or a single physical multi-core chip. The context of use will define the meaning of the term. Instruction Types Instruction Representation Instructions can be categorised as follows: Data processing: Arithmetic and logic instructions Data storage: Memory instructions Data movement: I/O instructions Control: Test and branch instructions A high level language expresses operations in a concise algebraic form, using variables. x = x + y; A machine language expresses operations in a basic form using movement of data to or from registers. 1. Load register with contents of memory location 513 2. Add contents of memory location 514 to the register 3. Store the contents of the register in memory location 513

Instruction Set Each instruction must contain the information required by the CPU for execution. The main elements that an instruction must define are: Operation code : the operation to be performed (e.g. ADD) Source operand reference: the inputs for the operation Result operand reference: the results that may be produced Next instruction reference: location of next instruction