Computer Architecture ECE 4801 Berk Sunar Erkay Savas.

Slides:



Advertisements
Similar presentations
CSE 340 Computer Architecture Spring 2014 MIPS ISA Review
Advertisements

TU/e Processor Design 5Z0321 Processor Design 5Z032 Computer Systems Overview Chapter 1 Henk Corporaal Eindhoven University of Technology 2011.
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.
Spring 2008, Jan. 14 ELEC / Lecture 2 1 ELEC / Computer Architecture and Design Spring 2007 Introduction Vishwani D. Agrawal.
Computer Architecture Instructor: Wen-Hung Liao Office: 大仁樓三樓 Office hours: TBA Course web page:
1  1998 Morgan Kaufmann Publishers Lectures for 2nd Edition Note: these lectures are often supplemented with other materials and also problems from the.
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.
Chapter 2: Impact of Machine Architectures What is the Relationship Between Programs, Programming Languages, and Computers.
1 CSE SUNY New Paltz Chapter 1 Introduction CSE-45432Introduction to Computer Architecture Dr. Izadi.
August 26 TA: Angela Van Osdol Questions?. What is a computer? Tape drives? Big box with lots of lights? Display with huge letters? Little box with no.
1 CS/COE0447 Computer Organization & Assembly Language Course Intro and CH
CENG311 Computer Architecture Kayhan Erciyes. CS231 Assembly language and Digital Circuits Instructor:Kayhan Erciyes Office:
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 1 Introduction. Computer Architecture selecting and interconnecting hardware components to create computers that meet functional, performance.
2 nd Year - 1 st Semester Asst. Lect. Mohammed Salim
Computer Architecture and Organization
Computer Organization and Architecture (AT70. 01) Comp. Sc. and Inf
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.
An Introduction Chapter Chapter 1 Introduction2 Computer Systems  Programmable machines  Hardware + Software (program) HardwareProgram.
Natawut NupairojAssembly Language1 Introduction to Assembly Programming.
2007 Sept 06SYSC 2001* - Fall SYSC2001-Ch1.ppt1 Computer Architecture & Organization  Instruction set, number of bits used for data representation,
Overview Introduction The Level of Abstraction Organization & Architecture Structure & Function Why study computer organization?
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 Architecture and Organization Introduction.
Fall 2015, Aug 17 ELEC / Lecture 1 1 ELEC / Computer Architecture and Design Fall 2015 Introduction Vishwani D. Agrawal.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
EKT 422 Computer Architecture
Chapter 1 Introduction. Architecture & Organization 1 Architecture is those attributes visible to the programmer —Instruction set, number of bits used.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
Computer Organization and Design Computer Abstractions and Technology
CS35101 Computer Architecture Spring 2006 Week 1 Slides adapted from: Mary Jane Irwin ( Course url:
1 International Technology University CEN 951 Computer Architecture Lecture 1 - Introduction.
Computer Architecture
Lecture 11 Sequential Logic,ISA, ALU Prof. Sin-Min Lee Department of Computer Science.
Chapter 1 Computer Abstractions and Technology. Chapter 1 — Computer Abstractions and Technology — 2 The Computer Revolution Progress in computer technology.
Introduction.  This course is all about how computers work  But what do we mean by a computer?  Different types: desktop, servers, embedded devices.
Computer Organization Instructors Course By: Lecturer: Shimaa Ibrahim Hassan TA: Eng: Moufeda Hussien Lecture: 9:45 Address:
Chapter 1 : Overview of Computer and Programming By Suraya Alias
Chapter 1 — Computer Abstractions and Technology — 1 Below Your Program Application software – Written in high-level language System software – Compiler:
August 27 Books? ? Accounts?. What does a computer look like? Tape drives? Big box with lots of lights? Display with huge letters? Little box with.
DR. SIMING LIU SPRING 2016 COMPUTER SCIENCE AND ENGINEERING UNIVERSITY OF NEVADA, RENO CS 219 Computer Organization.
DR. SIMING LIU SPRING 2016 COMPUTER SCIENCE AND ENGINEERING UNIVERSITY OF NEVADA, RENO Session 2 Computer Organization.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
Spring 2016, Jan 13 ELEC / Lecture 1 1 ELEC / Computer Architecture and Design Spring 2016 Introduction Vishwani D. Agrawal.
Basic Concepts Computer Organization & Assembly Language Programming Instructor: Maram Alsahafi [Some of the contents Adapted from slides Dr Adnan Gutub,
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.
Introduction CSE 410, Spring 2005 Computer Systems
Morgan Kaufmann Publishers
Computer Architecture & Operations I
CSE 410, Spring 2006 Computer Systems
Architecture & Organization 1
Architecture & Organization 1
ECEG-3202 Computer Architecture and Organization
Computer Organization
ECEG-3202 Computer Architecture and Organization
August 29 New address for Fang-Yi
Chapter 1 Introduction.
COMS 361 Computer Organization
January 16 The books are here. Assignment 1 now due Thursday 18 Jan.
Computer Architecture
Introduction COE 301 Computer Organization Prof. Aiman El-Maleh
ELEC / Computer Architecture and Design Fall 2014 Introduction
William Stallings Computer Organization and Architecture 7th Edition
Presentation transcript:

Computer Architecture ECE 4801 Berk Sunar Erkay Savas

Outline Brief Overview How is a computer program executed? Computer organization Roadmap for this class

Things You Learn in this Course How computers work; the basic foundation How to analyze their performance (and how not to) Key technologies determining the performance of modern processors Datapath Design Pipelining Cache Systems Memory Hierarchy I/O Multiprocessors

Instruction Set Architecture Important abstraction Interface between hardware and low-level software Or features available to programmers instructions set architecture (ISA) e.g. does the processor have an multiply instruction? instruction encoding Data representation I/O mechanism. addressing mechanism Modern instruction set architectures: 80x86/Pentium/K6, PowerPC, DEC Alpha, MIPS, SPARC, HP, ARM.

Computer Organization Computer Organization is how features are implemented in hardware Transparent to programmers Different implementations are possible for the same architecture (affects performance/price) Determines how memory, CPU, peripherals, busses are interconnected and how control signals routed. Has HUGE impact on performance. Performance of the organization is usually application dependent. (e.g. I/O intensive, computation intensive, memory bound etc.)

How to Program a Computer? A simple but universal interface Machine Code (binary images) Assembly language Uses mnemonics that map directly to ISA e.g. addw, lb, jmp etc. More readable than machine languages Error prone but excellent for low-level optimization High-level languages E.g. C/C++, Pascal, Fortran, Java, C# Much easier to use and program Promotes code portability Not as efficient as custom assembly

Processing a C Program C compiler Assembler swap: muli$2, $5, 4 add$2, $4, $2 lw$15, 0($2) lw$16, 4($2) sw$16,0($2) sw$15, 4($2) jr$31 Assembly language program for MIPS High-level language program (in C) Binary machine language program for MIPS swap (int v[], int k){ int temp; temp = v[k]; v[k] = v[k+1]; v[k+1] = temp; }

Functions of a Computer Data processing, e.g. sort entries of a spreadsheet Data storage, e.g. personal files, applications, movies, music etc. Data movement, e.g. play a music file, display a picture Control, (applies to all examples above)

Five Classic Components Computer Processor Datapath Control Input Output System Interconnection Memory

Bridges

Inside the Processor Chip integer datapath floating-point datapath Bus Control branch prediction Instruction Cache Data Cache

An Actual View 22nm Intel Core CPU Source: Intel Corp. 6 core CPU with L3 caches

Memory Nonvolatile: ROM Hard disk, floppy disk, magnetic tape, CDROM, USB Memory Flash memory Volatile DRAM used usually for main memory SRAM used mainly for on-chip memory such as register and cache DRAM is much cheaper than SRAM SRAM is much faster than DRAM How about solid state drives?

DRAM and Processor Characteristics

Solutions to Memory Problems Increase number of bits retrieved at one time Make DRAM “wider” rather than “deeper” Change DRAM interface Cache Reduce frequency of memory access More complex cache and cache on chip Increase interconnection bandwidth High speed buses Hierarchy of buses

Computer Networks Very essential aspect of computer systems Communication Resource sharing Remote access Ethernet is the most popular LAN Range is limited to 1 kilometer 10/100 Mbit/s Wide Area Networks (WAN) Cross continents and backbone of the Internet

Roadmap Performance issues Instruction set of MIPS Arithmetic and ALU Constructing a processor to execute our instructions (datapath design) Pipelining Memory hierarchy: caches and virtual memory I/O