Basic Organization. Our Progress Covered level 0 Ch 4: – Preview level 2 – Level 1.

Slides:



Advertisements
Similar presentations
Bus arbitration Processor and DMA controllers both need to initiate data transfers on the bus and access main memory. The device that is allowed to initiate.
Advertisements

IT253: Computer Organization
Computer Architecture
1  1998 Morgan Kaufmann Publishers Interfacing Processors and Peripherals.
Chapter 5 Internal Memory
Control path Recall that the control path is the physical entity in a processor which: fetches instructions, fetches operands, decodes instructions, schedules.
Datorteknik BusInterfacing bild 1 Bus Interfacing Processor-Memory Bus –High speed memory bus Backplane Bus –Processor-Interface bus –This is what we usually.
Processor System Architecture
CENTRAL PROCESSING UNIT
DH2T 34 Computer Architecture 1 LO2 Lesson Two CPU and Buses.
1 Sec (2.1) Computer Architectures. 2 For temporary storage of information, the CPU contains cells, or registers, that are conceptually similar to main.
Technology Component: Computer Hardware – Part 2 Basic Components Dr. V.T. Raja Oregon State University.
The CPU - Outline. Components of CPU Englander p
Technology Component: Computer Hardware – Part 2 Basic Components Dr. V.T. Raja Oregon State University.
Chapter 4 Objectives Learn the components common to every modern computer system. Be able to explain how each component contributes to program execution.
CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.
Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc. All rights reserved The Digital Logic Level.
Computer Systems CS208. Major Components of a Computer System Processor (CPU) Runs program instructions Main Memory Storage for running programs and current.
6. The CPU and Memory Chapt. 7.
3.1Introduction to CPU Central processing unit etched on silicon chip called microprocessor Contain tens of millions of tiny transistors Key components:
What’s on the Motherboard? The two main parts of the CPU are the control unit and the arithmetic logic unit. The control unit retrieves instructions from.
Lecture 12 Today’s topics –CPU basics Registers ALU Control Unit –The bus –Clocks –Input/output subsystem 1.
How Computers Work. A computer is a machine f or the storage and processing of information. Computers consist of hardware (what you can touch) and software.
MARIE: An Introduction to a Simple Computer
Writer:-Rashedul Hasan Editor:- Jasim Uddin
Internal hardware and external components of a computer Three-box Model  Processor The brain of the system Executes programs A big finite state machine.
CPU BASICS, THE BUS, CLOCKS, I/O SUBSYSTEM Philip Chan.
3 1 3 C H A P T E R Hardware: Input, Processing, and Output Devices.
CPU Computer Hardware Organization (How does the computer look from inside?) Register file ALU PC System bus Memory bus Main memory Bus interface I/O bridge.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
The Central Processing Unit: What Goes on Inside the Computer
Communication Techniques Design Team 2 Luke LaPointe Nick Timpf Mark VanCamp Brent Woodman Steve Zuraski Design Team 2 Luke LaPointe Nick Timpf Mark VanCamp.
SEQUENTIAL CIRCUITS Component Design and Use. Register with Parallel Load  Register: Group of Flip-Flops  Ex: D Flip-Flops  Holds a Word of Data 
Computer Basics Terminology - Take Notes. What is a computer? well, what is the technical definition A computer is a machine that changes information.
Bus Mr. Mukul Varshney. Bus A bus, in computing, is a set of physical connections (cables, printed circuits, etc.) which can be shared by multiple hardware.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
Parallel architecture Technique. Pipelining Processor Pipelining is a technique of decomposing a sequential process into sub-processes, with each sub-process.
I/O Computer Organization II 1 Interconnecting Components Need interconnections between – CPU, memory, I/O controllers Bus: shared communication channel.
August 1, 2001Systems Architecture II1 Systems Architecture II (CS ) Lecture 9: I/O Devices and Communication Buses * Jeremy R. Johnson Wednesday,
General Concepts of Computer Organization Overview of Microcomputer.
CHAPTER 4 The Central Processing Unit. Chapter Overview Microprocessors Replacing and Upgrading a CPU.
J. Stover, CSD-HS.  A computer is an electronic device that is programmed to accept data (input), process it into useful information (output), and store.
Computer Organization & Assembly Language © by DR. M. Amer.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Chapter 4 MARIE: An Introduction to a Simple Computer.
Introduction to Microprocessors
L/O/G/O Input Output Chapter 4 CS.216 Computer Architecture and Organization.
MARIE:An Introduction to a Simple Computer Michael Dougherty September 17, 2009.
20 October 2015Birkbeck College, U. London1 Introduction to Computer Systems Lecturer: Steve Maybank Department of Computer Science and Information Systems.
Chapter 2 Turning Data into Something You Can Use
Different Microprocessors Tamanna Haque Nipa Lecturer Dept. of Computer Science Stamford University Bangladesh.
Computer Hardware – Part 2 Basic Components V.T. Raja, Ph.D., Information Management Oregon State University.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Mohamed Younis CMCS 411, Computer Architecture 1 CMCS Computer Architecture Lecture 26 Bus Interconnect May 7,
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Overview of microcomputer structure and operation
Information Technology INT1001 Lecture 2 1. Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education,
Dr. ClincyLecture Slide 1 CS Chapter 4 (Sec 5.1 &5.2) 1 of 5 Dr. Clincy Professor of CS.
Dr. Clincy Professor of CS
Dr. Clincy Professor of CS
Interconnection Structures
Bus Interfacing Processor-Memory Bus Backplane Bus I/O Bus
Dr.Faisal Alzyoud 5/9/2018 Datapath and Control.
Chapter 4 Objectives Learn the components common to every modern computer system. Be able to explain how each component contributes to program execution.
CS Chapter 3 (3A and ) – Part 5 of 5
Computer Architecture
Chapter 4 Objectives Learn the components common to every modern computer system. Be able to explain how each component contributes to program execution.
Chapter 4 Objectives Learn the components common to every modern computer system. Be able to explain how each component contributes to program execution.
Presentation transcript:

Basic Organization

Our Progress Covered level 0 Ch 4: – Preview level 2 – Level 1

CPU Basics Primary CPU structures : datapath and the control unit – Datapath : arithmetic-logic unit and storage (registers/memory) interconnected by a data bus

CPU Basics Primary CPU structures : datapath and the control unit – Control Unit : Selects and sequences active circuits. Hardware or software based.

Registers Registers hold data for rapid access –Register : immediate –Main memory : ~60ns / ~200 clock cycles Implemented using D flip-flops The control unit determines which registers active

ALU Arithmetic-logic unit (ALU) –Two input busses, one output bus –Control unit sends function select

Busses Bus : set of wire that simultaneously convey a set of related bits –Classify by Type : point-to-point vs multipoint Width : parallel vs serial Timing : synchronous vs asynchronous

Busses Bus connections Point to Point:Multipoint:

Bus Arbitration Strategies for controlling who talks: Distributed using self- detection: Devices decide which gets the bus among themselves Distributed using collision- detection: Any device can try to use the bus. If its data collides with the data of another device, it tries again Daisy chain: Pass authorization from hi priority to low Centralized parallel: Each device is directly connected to an arbitration circuit

Busses Bus connections Parallel: Serial:

Bus Organization Efficiency through special purpose sub-busses – Data – Address – Control

Busses Bus timing –Synchronous : Clock based Must avoid skew Strict timing window –Asynchronous : Handshake based Protocol based communication –I'm ready to talk –OK, I'm ready, send –Send data –Acknowledge data Part B Clock Part A

Bus Length Electrical signals limited to about 1/2 speed of light: ~15 cm/nanosecond Given 3 Gigahertz clock –3 billion ticks per second –0.33 ns/clock tick –Signal only travels 5cm per clock tick

Clocks Different subsystems, different clocks Pentium IIi7

Clock Clock speed != performance – Just one factor Clock Length (Inverse of speed)

PentiumIvy Bridge Clock Speed of instructions

Clock Expressive power of instructions Can I multiply in one instruction? Can I add two whole arrays in one instruction?

Memory Organization Idealized memory vs reality x

Memory Organization Memory size – Addresses x size of addressable unit – 512K x 8bits – 4 mega bits total data 512K= 512 * 1024 = 2 9 * 2 10 = 2 19 = 19 bit addresses x

Other Memory Other ways to make 4 mega bits – 4M x 1bit 4M addresses = 22 bit address, word size 1 bit – 256K x 16bits 256K addresses = 18 bit address, word size 16 bits – 128K x 32bits 128K addresses = 17 bit address, word size 32 bits

RAM Ram "sticks" from chips Main memory : 1+ sticks

Simple memory 8 chips, each with 4 addresses 32 possible address – Each number = address of byte

Simple memory 32 = 2 5 = 5 bit addresses

Simple memory 32 = 2 5 = 5 bit addresses 8 chips = 2 3 = 3 bits to pick chip 4 address per chip = 2 2 = 2 bits for offest

Simple memory AddressModule Number Byte on Module DecBinary

Simple memory High-Order Interleaving Low-Order Interleaving

Low-Order Address High order bits now byte on module AddressByte on Module Module Number DecBinary

Bigger Scale 2GBytes byte addressable memory made from 128M x 32 bit chips – How many chips? – What do addresses look like?

Bigger Scale Each chip has word size 32, 128M addresses: = 128M x 32 bits = 128M x 4 bytes = 512MB Total : 2GB = 2 1 * 2 30 = 2 31 Per Chip : 512MB = 2 9 * 2 20 = / 2 29 = 2 2 = 4 Four 128M x 32 chips for 2GB byte addressable

Bigger Scale Addresses: – 2GBytes = 2 1 * 2 30 = 2 31 total addresses 31 bits – Each chip: 512MBytes = 2 9 * 2 20 = 2 29 addresses 29 bits – Chip select: 4 chips = bits

Bigger Scale 31 bit address – 2 bit chip select – 29 bits for offset on chip ChipByte Bits 30-29Bits  4 Decoder29  512M Decoder