CS2100 Computer Organisation Introduction to Computer Organisation (AY2014/2015)

Slides:



Advertisements
Similar presentations
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.
Advertisements

Computer Architecture & Organization
CpE442 Intro. To Computer Architecture CpE 442 Introduction To Computer Architecture Lecture 1 Instructor: H. H. Ammar These slides are based on the lecture.
Chapter 01 Introduction Chapter 0 Introduction. Chapter 02 History of Computing - Early Computers Abacus (ancient orient, still in use) Slide rule (17C,
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.
ECE 232 L2 Basics.1 Adapted from Patterson 97 ©UCBCopyright 1998 Morgan Kaufmann Publishers ECE 232 Hardware Organization and Design Lecture 2 Computer.
CPEN Digital System Design Chapter 10 – Instruction SET Architecture (ISA) © Logic and Computer Design Fundamentals, 4 rd Ed., Mano Prentice Hall.
1 CSE SUNY New Paltz Chapter 1 Introduction CSE-45432Introduction to Computer Architecture Dr. Izadi.
CIS 314 : Computer Organization Lecture 1 – Introduction.
Chapter 1 Sections 1.1 – 1.3 Dr. Iyad F. Jafar Introduction.
CS1104 – Computer Organization PART 2: Computer Architecture Lecture 1 Introduction.
CENG311 Computer Architecture Kayhan Erciyes. CS231 Assembly language and Digital Circuits Instructor:Kayhan Erciyes Office:
CSE378 Gen. Intro1 Machine Organization and Assembly Language Programming Machine Organization –Hardware-centric view (in this class) –Not at the transistor.
Chapter 1 CSF 2009 Computer Abstractions and Technology.
C.S. Choy95 COMPUTER ORGANIZATION Logic Design Skill to design digital components JAVA Language Skill to program a computer Computer Organization Skill.
Computer Architecture ECE 4801 Berk Sunar Erkay Savas.
1 Computer Systems. 2 Introduction – What is a Computer? This course is all about how computers work What do computer and computer system mean to you?
CCSE251 Introduction to Computer Organization
Writer:-Rashedul Hasan Editor:- Jasim Uddin
2007 Sept 06SYSC 2001* - Fall SYSC2001-Ch1.ppt1 Computer Architecture & Organization  Instruction set, number of bits used for data representation,
Cs 152 L1 Intro.1 Patterson Fall 97 ©UCB What is “Computer Architecture” Computer Architecture = Instruction Set Architecture + Machine Organization.
Introduction CSE 410, Spring 2008 Computer Systems
Computer system overview1 The Effects of Computers Pervasive in all professions How have computers affected my life? How have computers affected my life?
Sogang University Advanced Computing System Chap 1. Computer Architecture Hyuk-Jun Lee, PhD Dept. of Computer Science and Engineering Sogang University.
1 Computer System Organization I/O systemProcessor Compiler Operating System (Windows 98) Application (Netscape) Digital Design Circuit Design Instruction.
Computer Organization and Design Computer Abstractions and Technology
General Concepts of Computer Organization Overview of Microcomputer.
Computer Architecture And Organization UNIT-II General System Architecture.
Computer Engineering Rabie A. Ramadan Lecture 1. 2 Welcome Back.
Chapter 1 Computer Abstractions and Technology. Chapter 1 — Computer Abstractions and Technology — 2 The Computer Revolution Progress in computer technology.
Computer Organization & Assembly Language © by DR. M. Amer.
Computer Architecture CPSC 350
Introduction.  This course is all about how computers work  But what do we mean by a computer?  Different types: desktop, servers, embedded devices.
Computer Architecture Lec 06: Computer Architecture Introduction.
1 chapter 1 Computer Architecture and Design ECE4480/5480 Computer Architecture and Design Department of Electrical and Computer Engineering University.
Lecture on Central Process Unit (CPU)
DR. SIMING LIU SPRING 2016 COMPUTER SCIENCE AND ENGINEERING UNIVERSITY OF NEVADA, RENO CS 219 Computer Organization.
Main memory Processor Bus Cache memory Figure 1.5.The processor cache.
DR. SIMING LIU SPRING 2016 COMPUTER SCIENCE AND ENGINEERING UNIVERSITY OF NEVADA, RENO Session 2 Computer Organization.
Compsci Today’s topics l Operating Systems  Brookshear, Chapter 3  Great Ideas, Chapter 10  Slides from Kevin Wayne’s COS 126 course l Performance.
Computer Architecture
CSE 102 Introduction to Computer Engineering Central Processing Unit.
1 CHAPTER 1 COMPUTER ABSTRACTIONS AND TECHNOLOGY Parts of these notes have been adapter from those of Prof. Professor Mike Schulte, Prof. D. Patterson,
New-School Machine Structures Parallel Requests Assigned to computer e.g., Search “Katz” Parallel Threads Assigned to core e.g., Lookup, Ads Parallel Instructions.
CC311 Computer Architecture Chapter 1 Computer Abstraction & Technology.
Computer Organization IS F242. Course Objective It aims at understanding and appreciating the computing system’s functional components, their characteristics,
Introduction CSE 410, Spring 2005 Computer Systems
Internal hardware of a computer Learning Objectives Learn how the processor works Learn about the different types of memory and what memory is used for.
William Stallings Computer Organization and Architecture 6th Edition
Computer Organization and Architecture Lecture 1 : Introduction
ECE2030 Introduction to Computer Engineering Lecture 1: Overview
ECE 3055: Computer Architecture and Operating Systems
CSE 410, Spring 2006 Computer Systems
COMPUTER ORGANZIATION AND ASSEMBLY LANGUAGE
Architecture & Organization 1
Overview Introduction General Register Organization Stack Organization
Computer Architecture CSCE 350
Architecture & Organization 1
BIC 10503: COMPUTER ARCHITECTURE
CISC AND RISC SYSTEM Based on instruction set, we broadly classify Computer/microprocessor/microcontroller into CISC and RISC. CISC SYSTEM: COMPLEX INSTRUCTION.
Chapter 1 Introduction.
What is Computer Architecture?
Introduction to Microprocessor Programming
COMS 361 Computer Organization
CSC3050 – Computer Architecture
What is Computer Architecture?
What is Computer Architecture?
A Level Computer Science Topic 5: Computer Architecture and Assembly
CSE378 Introduction to Machine Organization
Presentation transcript:

CS2100 Computer Organisation Introduction to Computer Organisation (AY2014/2015) Semester 2

Overview The Big Picture  Brief History of Computer  Current Trend The Course (2 nd Part)  Von Neumann Architecture  Instruction Set Architecture  Compilation Flow  Instruction Execution Flow CS Computer Organisation

The Brief History of Computers CS2100 YearNameSpeedRemarks 1946ENIAC~1900 addition/secFirst electronic computer 1951UNIVAC~2000 addition/secFirst commercial computer 1964IBM k ops/secBest known mainframe 1965PDP-8330k ops/secFirst minicomputer 1971Intel k ops/secFirst microprocessor 1977Apple II200k ops/sec"First" PC 1981IBM PC (Intel MS-DOS) 240k ops/secDominated market since then 2003Intel Pentium 46G flops"Last" Unicore 2011Intel Core i7~120G flopsRepresentative multicores 3 Computer Organisation

The Brief History: Supercomputer 4 [ CS5222 Adv. Comp. Arch. AY1314S2 ]

The Brief History: Embedded Everywhere  Smart-phone  Game consoles  DVD / Blue-Ray player  Car, Fridge, Washing Machine……… etc etc CS Computer Organisation

Summary: From a few to many n Transistor is the building block of CPU since 1960s K – 100K K – 1M M – 100M M – 2.2B Current World Population = 7Billion about the number of transistors in 3 CPU chips! CS Computer Organisation

Summary: From BIG to small Process size = Minimum length of a transistor µm Pentium µm µm Pentium µm µm Wave length of visible light = 350nm (violet) to 780nm (red) Process size now smaller than wavelength of violet light! Core i µm µm CS Computer Organisation

Summary: From S-L-O-W to fast FLOPS = FLoating-point Operation Per Second MIPS* Pentium MFLOPS # Pentium GFLOPS # Core i GFLOPS # CS Computer Organisation

Summary: The Age of Computer Unprecedented progress since late 1940s Performance doubling ~2 years ( ):  Total of 36,000X improvement!  If transportation industry matched this improvement, we could have traveled from Singapore to Shanghai, China in about a second for roughly a few cents! Incredible amount of innovations to revolutionize the computing industry again and again CS Computer Organisation

Moore’s Law Intel co-founder Gordon Moore "predicted" in 1965 that Transistor density will double every 18 months 10 Computer Organisation

PROCESSOR PERFORMANCE INCREASE CS Computer Organisation

The Three Walls Three major reasons for the unsustainable growth in uniprocessor performance 1. The Memory Wall:  Increasing gap between CPU and Main memory speed 2. The ILP Wall:  Decreasing amount of "work" (instruction level parallelism) for processor 3. The Power Wall:  Increasing power consumption of processor CS Computer Organisation

The Power Wall We can now cramp more transistor into a chip than the ability (power) to turn them on! CS Computer Organisation

Current State of Computer Multicore is the future  All PC chip manufacturers have abandoned unicore development  Expect to have more cores in a single chip  Parallel programming is more important than ever Great opportunity for computing professional  New programming model is required  Parallelising existing software  Innovative ways to tap into the computing power CS Computer Organisation

2 ND PART OF CS2100 So, what do we get to learn? CS Computer Organisation

Computer Organization vs Architecture Computer Organization:  Electronic Engineer's view of a computer system Computer Architecture:  Assembly Programmers' view of a computer system High level abstract view This course aims to:  Give an indepth understanding of the inner working of a computer system  Concentrate on conceptual understanding rather than hardware implementation CS Computer Organisation

Von Neumann Architecture Proposed by John Von Neumann et al, 1945 Major components of a computer system: Stored-Memory Concept:  Data and program are stored in memory CS Computer Organisation Memory Processor Processor DevicesBus Control Data Path Registers Cache Input Output

Components of Computer CS2100 Reads data from memory, processes it, writes it back to memory Datapath: Sends signals that determines the operation of datapath, memory, I/O Control: Fast intermediate storage for values and control information Register: stores program and data Memory: feeds data (keyboard, mouse) Input: processing result to user (display) Output: 18 Computer Organisation

CS2100 Example: Inside Your Laptop 19 Computer Organisation

CS2100 How do we "control" the hardware? You write programs in high level programming languages, e.g., C/C++, Java: Compiler translates this into assembly language statement: Assembler translates this statement into machine language instructions that the processor can execute: A + B add A, B Computer Organisation

CS2100 ISA – Interface between HW & SW PART 1 Electronic Engineering PART 2 Programming Languages, Compilers, Operating Systems, Software Engineering 21 Computer Organisation Hardware Software ProcessorMemory OrganizationI/O System Datapath & Control Digital Design Circuit Design Layout Applications Operating System CompilerFirmware Instruction Set Architecture

CS2100 Instruction Set Architecture (ISA)  A subpart of computer architecture that is related to programming, as seen by the programmer and compiler ISA exposes the capabilities of the underlying processor as a set of well defined instructions  Serves as the interface between hardware and software  Serves as an abstraction which allow freedom in hardware implementations 22 Computer Organisation

Instruction Set Architecture - Examples Observe that each ISA has a family of chips i.e. multiple hardware implementations CS2100 x86-32 (IA32) Intel 80486, Pentium (2,3, 4), Core i3, i5, i7 AMD K5, K6, Athlon, Duron, Sempron Dominates the PC market MIPS R2000, R3000, …, R10000 Widely used in Comp. Org/Arch courses as RISC example ARM Generations of chips: ARMv1, v2, …., v7 StrongARM, ARM Cortex Most popular embedded system chip 23 Computer Organisation

CS2100 The Life of a program Program in High-level language (C, Pascal, etc) Compile program into assembly language Assemble program to machine language Link multiple machine-language programs to one program Load program into computer’s memory Execute program 24 Computer Organisation

CS2100 Code Execution Instruction Execution Cycle in the Processor: Fetch: Fetch next instruction from memory into processor Decode: Decode the instruction Execute: Get operands Execute instruction Store the execution result 25 Computer Organisation

Road Map for 2 nd Part Processor Performance (10) Assembly language (11, 12, 13) The Processor:  Datapath (14)  Control (15) Pipelining (16) Memory hierarchy:  Cache (17, 18) Input/Output ( 19 ) CS Computer Organisation TopicLecture Set(s) Processor Performance10 MIPS Assembly Language11, 12, 13 The processor: -Datapath -Control Pipelining16 Memory : Cache17, 18 Input / Output19*

CS2100 Reading Assignment Computer Abstractions and Technology  Read up COD sections 1.1 – Computer Organisation

CS2100 End 28 Computer Organisation