Inside the CPU COSC-100 (Elements of Computer Science) Prof. Juola.

Slides:



Advertisements
Similar presentations
The Central Processing Unit: What Goes on Inside the Computer.
Advertisements

Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
Chapter 1: Introduction We begin with a brief, introductory look at the components in a computer system We will then consider the evolution of computer.
ENGR2216 FORTRAN PROGRAMMING FOR ENGINEERS. Chapter 1 The computer CPU MEMORY INPUT/OUTPUT DEVICES DATA REPRESENTATION BINARY SYSTEM OCTAL & HEXADECIMAL.
Chapter 2 Data Manipulation. Before we start About the Lab Project. –BASIC Programming: Requirement file on the web site. Due date is posted. Save your.
1 Intro to CS: Part 2 Lecture 1 Ata Kaban School of Computer Science The University of Birmingham [adapted from B Bordbar and M Kwiatkowska]
Chapter 1. Introduction This course is all about how computers work But what do we mean by a computer? –Different types: desktop, servers, embedded devices.
1 The development of modern computer systems Early electronic computers Mainframes Time sharing Microcomputers Networked computing.
A Brief History of Computers
MIS 175 Spring Learning Objectives When you finish this chapter, you will: –Recognize major components of an electronic computer. –Understand how.
Introduction to Information and Communication Technologies
Computer Organization and Assembly language
Computers Central Processor Unit. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS Memory.
Chapter 4  Converts data into information  Control center  Set of electronic circuitry that executes stored program instructions  Two parts ◦ Control.
Information Technology Ms. Abeer Helwa. Computer Generations First Generation (Vacuum Tubes) -They relied on the machine language to perform operations.
EMT1111 Logic and Problem Solving Fall 2012 Dr. José M. Reyes Álamo.
Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI CSCI.
EMT1111 Logic and Problem Solving Lecture 2 Dr. Benito Mendoza.
The Evolution of the Computers Chidambaranathan C.M.
CCSE251 Introduction to Computer Organization
Chapter 4 The System Unit: Processing and Memory Prepared by : Mrs. Sara salih.
1 More on Computer Components Computer switches Binary number system Inside the CPU Cache memory Types of RAM Computer buses Creating faster CPUs NEXT.
Digital Sound. Computer Sound To convert an analog wave into digital, converters use a process called sampling DEF: Sampling- the height of the sound.
Georgia Institute of Technology Introduction to Programming Part 2 Barb Ericson Georgia Institute of Technology May 2006.
E0001 Computers in Engineering1 The System Unit & Memory.
XP Practical PC, 3e Chapter 16 1 Looking “Under the Hood”
3 1 3 C H A P T E R Hardware: Input, Processing, and Output Devices.
Practical PC, 7th Edition Chapter 17: Looking Under the Hood
Technology in Focus: Under the Hood
Physics 413 Chapter 1 Computer Architecture What is a Digital Computer ? A computer is essentially a fast electronic calculating machine. What is a program.
CS 1410 Intro to Computer Tecnology Computers and History1.
Module 5 Central Processing Unit 1. Binary representation of data 2. The components of the CPU 3. CPU and Instruction set 4. Important features of CPUs.
Introduction Computer Organization and Architecture: Lesson 1.
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.
CMSC 120: Visualizing Information 1/29/08 Introduction to Computing.
CPS120: Introduction to Computer Science Introduction to Computers.
Computer Science What is Computer Science? Algorithm Design and Analysis Organization and Architecture Artificial Intelligence Databases Operating Systems.
1 Programming in C. 2 The Abacus  The abacus, a simple counting aid, may have been invented in Babylonia (now Iraq) in the fourth century B.C.
An overview of Computer System
Computer Generations Evolution of the Computer. Modern Computers Modern computers – Binary, electrical, computational devices.
Dannelly's Very Short History of Computing CSCI 101.
Chapter 17 Looking “Under the Hood”. 2Practical PC 5 th Edition Chapter 17 Getting Started In this Chapter, you will learn: − How does a computer work.
Rouda's Very Short History of Computing CSCI 101.
Computing Computer Peripherals (Input, Output and Storage Technologies)
Introduction to Microprocessors
Computer Hardware The Processing Unit.
History of Educational Technology. Educational Technology “Technology is commonly thought of in terms of gadgets, instruments, machines and devices …
Stored Programs In today’s lesson, we will look at: what we mean by a stored program computer how computers store and run programs what we mean by the.
Computer History How did we get here?.
THE BRIEF HISTORY OF 8085 MICROPROCESSOR & THEIR APPLICATIONS
Why build a computer? u Computers were developed to mechanize mathematical computations. u Two definitions:  A computer is “a programmable electronic.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 5A Transforming Data Into Information.
Dannelly's Short History of Computing CSCI327 Social Implications of Computing.
Succeeding with Technology Chapter 2 Hardware Designed to Meet the Need The Digital Revolution Integrated Circuits and Processing Storage Input, Output,
Chapter 2 Turning Data into Something You Can Use
Main memory Processor Bus Cache memory Figure 1.5.The processor cache.
 A computer is an electronic device that receives data (input), processes data, stores data, and produces a result (output).  It performs only three.
Evolution of the Computer. Zeroth Generation- Mechanical 1.Blaise Pascal –Mechanical calculator only perform Von Leibiniz –Mechanical.
Lecture # 10 Processors Microcomputer Processors.
CPU and Motherboard. Why are they called Digital Computers? Code systems - Morris code ? Data and Program Representation.
Computer Organization IS F242. Course Objective It aims at understanding and appreciating the computing system’s functional components, their characteristics,
Computer Hardware. 7/23/2016M. Eyadat2 Objectives –Explain why most computers are digital –Describe the role of the ALU –List factors that affect performance.
William Stallings Computer Organization and Architecture 6th Edition
Chapter 1: An Overview of Computers and Programming Languages
Architecture & Organization 1
Architecture & Organization 1
BIC 10503: COMPUTER ARCHITECTURE
History of Computers - Long, Long Ago
Presentation transcript:

Inside the CPU COSC-100 (Elements of Computer Science) Prof. Juola

What’s a computer? Information-processing device Primary function : math, decisions Normally “digital” (vs. analog) 1:38 pm

Computers : A history 3000 BC -- digital counting device (abacus) 16th c. -- Napier’s bones 19th c. -- Jacquard’s (programmable) loom Babbage’s Analytic Engine WWII, programmable coding and decoding machines (Colossus)

Computers: A history (cont.) Programmable computers ENIAC 10 feet tall, 10,000 square feet footprint, 150kW of power, and 18,000 vacuum tubes First program “bug” Moth found in computer Harvard Von Neumann defines “computer”

Computers: A history (cont.) First transistor (no more tubes!) Begins “second generation” computers First programming language First integrated circuit, Begins “third generation” computers VLSI microprocessor Computer-on-a-chip Begins “fourth generation” computers

Computers: A recent history Intel builds 4004, eventually to become the Pentium (IV) Microsoft founded IBM produces IBM-PC (Personal Computer) Apple Macintosh Change in hardware since then mostly incremental

Software : A history : Institutional computing Banks, large corporations, scientific problems : Personal computing Document processing, data storage, calculations today : Interpersonal computing Primarily networking ; , web, IM, gaming

Computing issues Computers are algorithmic; they only do what you tell them to do. Limited by validity of data : GIGO principle Primarily an enabling tool, but enabling of what?

Structure of CPU CPU most salient part of computer E.g. “Intel Pentium 4 Processor at 3.4GHz with 800 MHz front-end bus” Describes type of computer (Pentium 4), and how fast it does stuff (3.4 billion clock ticks/second)

Electronically Speaking Basic computer design hinges on electronic switch (valve?) controlling current Current is either flowing or not. Fundamental representation : flowing/not becomes a yes/no or a 1/0 “binary” representation. All quantities in computers represented by binary quantities

Representations Numbers : becomes 23 2^4 + 2^2 + 2^1 + 2^ = 23 Letters : becomes ‘A’ American Standard Code for Information Interchange (ASCII) Code : becomes “add integers” Programs (compilers) to convert from human languages to “machine language”

Electrical manipulations Binary patterns manipulated through electronic circuitry

Storage More circuitry creates self-powering (stable) circuit for temporary data storage

CPU Structure Several sub-components Arithmetic-Logical Unit -- does math/logic Bus Unit -- talks to rest of computer Prefetch/Decode Units -- load/figure out next instruction Control Unit -- executes instructions, controls rest of CPU Cache memory -- high-speed local memory for scratch-pad style storage

Terminology Bit -- one yes/no pattern Byte -- 8 yes/no patterns, grouped Word -- several bytes, grouped for easy manipulation 8-bit computer : microcomputer 16-bit computer : minicomputer 32-bit computer : mainframe 64-bit computer : ?? 128-bit computer : supercomputer

More terminology Kilo : either 1000 or 1024 (2^10) Mega : one million Giga : one billion Tera : one trillion Example : 1 GHz is one billion Hertz, and a 256 MB pen-drive stores 256 million bytes

Why different CPUs? Different capacities : bigger word size means more expensive, but also more powerful. Why buy more than you need? Incompatible designs. Different machines (e.g. PowerPC vs. Pentium) have different machine codes, different architectures Different philosophies : RISC vs. CISC

Virtual machines “The CPU that isn’t.” Virtual CPU is software to interpret patterns for another machine. E.g. your Mac can run PC software. Java Virtual Machine exists nowhere but in software. As software, built into every web browser, so Java programs run everywhere the Web does.

Moore’s Law Eniac had 18,000 tubes Pentium 4 has 55 million transistors Gordon Moore (1965) observed : The number of transistors that can be put on a chip doubles every eighteen months The cost of a given amount of computing power halves every 18 months The cost to develop a new chip doubles every 18 months.

Why so important? Primary factor : transistor size Smaller transistor takes up less space … but also draws less power operates faster costs less to fabricate (but more to design) Unknown how long Moore’s law will continue to be true.

Programs get bigger Demand for programs is getting larger PDP-11 text processor (troff) used less than 64K of memory. Compare to MS-Word Game design often pushes limits of both computer speed and memory capacity. How to make computers faster?

Multiprogramming Multiple CPUs per “computer,” all cooperating Extreme example : CM-2 Connection Machine had 65,536 CPUs. Alternatively, use networked computers

The future Transistor density may hit fundamental limitations (can’t build a transistor smaller than an atom). Faster substances (GaAs?) DNA computing in experimental stage “Quantum computing” a possibility, but will require fundamental re-think of how computers work.

The future (cont.) Smaller computers mean more uses (e.g. PDA’s, MP3 players) “Ubiquitous computing” aims to put Star Trek style computers everywhere for simple tasks. Computer assist for many tasks we can’t even imagine today.