Computer Architecture & Operations I

Slides:



Advertisements
Similar presentations
1  1998 Morgan Kaufmann Publishers Lectures for 2nd Edition Note: these lectures are often supplemented with other materials and also problems from the.
Advertisements

Chapter 1 Computer Abstractions and Technology. Chapter 1 — Computer Abstractions and Technology — 2 The Computer Revolution Progress in computer technology.
EET 4250: Chapter 1 Performance Measurement, Instruction Count & CPI Acknowledgements: Some slides and lecture notes for this course adapted from Prof.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Hao Ji.
Topic 1: Introduction to Computers and Programming
Introduction to Computer Architecture SCHOOL OF ELECTRICAL AND COMPUTER ENGINEERING SUMMER 2015 RAMYAR SAEEDI.
1 CS/COE0447 Computer Organization & Assembly Language Course Intro and CH
Chapter 1 Computer Abstractions and Technology. Chapter 1 — Computer Abstractions and Technology — 2 The Computer Revolution Progress in computer technology.
Chapter 1 CSF 2009 Computer Abstractions and Technology.
Computer Architecture ECE 4801 Berk Sunar Erkay Savas.
C OMPUTER O RGANIZATION AND D ESIGN The Hardware/Software Interface 5 th Edition Chapter 1 Computer Abstractions and Technology.
CISC105 General Computer Science Class 1 – 6/5/2006.
EET 4250: Chapter 1 Computer Abstractions and Technology Acknowledgements: Some slides and lecture notes for this course adapted from Prof. Mary Jane Irwin.
Sogang University Advanced Computing System Chap 1. Computer Architecture Hyuk-Jun Lee, PhD Dept. of Computer Science and Engineering Sogang University.
CS/ECE 3330 Computer Architecture Kim Hazelwood Fall 2009.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
Computer Architecture
Chapter 1 Computer Abstractions and Technology. Chapter 1 — Computer Abstractions and Technology — 2 The Computer Revolution Progress in computer technology.
Chapter 1 Computer Abstractions and Technology. Chapter 1 — Computer Abstractions and Technology — 2 The Computer Revolution Progress in computer technology.
1 chapter 1 Computer Architecture and Design ECE4480/5480 Computer Architecture and Design Department of Electrical and Computer Engineering University.
Chapter 1 — Computer Abstractions and Technology — 1 Below Your Program Application software – Written in high-level language System software – Compiler:
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.
COEN 311 Computer Organization & Software Chapter 1 Introduction and Terminology (Prof. Sofiène Tahar) Concordia University Electrical & Computer Engineering.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
C OMPUTER O RGANIZATION AND D ESIGN The Hardware/Software Interface 5 th Edition Chapter 1 Computer Abstractions and Technology.
Chapter 1 Computer Abstractions and Technology. Chapter 1 — Computer Abstractions and Technology — 2 The Computer Revolution Progress in computer technology.
Chapter 1 Computer Abstractions and Technology. Chapter 1 — Computer Abstractions and Technology — 2 The Computer Revolution Progress in computer technology.
1 Chapter 1 Background Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
C OMPUTER O RGANIZATION AND D ESIGN The Hardware/Software Interface ARM Edition Chapter 1 Computer Abstractions and Technology.
Chapter 1 Computer Abstractions and Technology. Chapter 1 — Computer Abstractions and Technology — 2 The Computer Revolution Progress in computer technology.
C OMPUTER O RGANIZATION AND D ESIGN The Hardware/Software Interface 5 th Edition Chapter 1 Computer Abstractions and Technology.
Computer Architecture & Operations I
Chapter 1: Introduction to Computers and Programming
Morgan Kaufmann Publishers Computer Abstractions and Technology
Morgan Kaufmann Publishers Computer Abstractions and Technology
Computer Architecture and Organization
Morgan Kaufmann Publishers
CS161 – Design and Architecture of Computer Systems
Morgan Kaufmann Publishers Computer Abstractions and Technology
Morgan Kaufmann Publishers Computer Architecture
Overview of Computers and Programming Chapter 1
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
Xiang Lian The University of Texas-Pan American
Basic Computer Hardware & Software
Morgan Kaufmann Publishers Computer Abstractions and Technology
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Morgan Kaufmann Publishers Computer Abstractions and Technology
Morgan Kaufmann Publishers Computer Abstractions and Technology
COMPUTER ORGANZIATION AND ASSEMBLY LANGUAGE
Chapter 1: An Overview of Computers and Programming Languages
Basic Computer Hardware and Software.
EENG 3710 Computer Organization
Chapter 1: Introduction to Computers and Programming
Morgan Kaufmann Publishers Computer Abstractions and Technology
COSC 3406: Computer Organization
Morgan Kaufmann Publishers Computer Abstractions and Technology
Computer Science I CSC 135.
Morgan Kaufmann Publishers
Morgan Kaufmann Publishers Computer Abstractions and Technology
Topics Introduction Hardware and Software How Computers Store Data
Morgan Kaufmann Publishers Computer Performance
Morgan Kaufmann Publishers Computer Abstractions and Technology
Morgan Kaufmann Publishers Computer Abstractions and Technology
Morgan Kaufmann Publishers Computer Abstractions and Technology
Morgan Kaufmann Publishers Computer Abstractions and Technology
Computer Architecture
ICS103 Programming in C 1: Overview of Computers And Programming
Computer Abstractions and Technology
Chapter 1: Introduction to Computers and Programming
Presentation transcript:

Computer Architecture & Operations I Instructor: Yaohang Li

Review Last Class This Class Next Class Syllabus Moore’s Law Classes of Computers Decimal, Binary, Octal, Hexadecimal Representations This Class Program and Computer Compiler, Assembler, and Linker Components of a Computer Next Class Computer Performance

Understanding Computer Performance Morgan Kaufmann Publishers May 27, 2018 Algorithm Determines number of operations executed Programming language, compiler, architecture Determine number of machine instructions executed per operation Processor and memory system Determine how fast instructions are executed I/O system (including OS) Determines how fast I/O operations are executed Chapter 1 — Computer Abstractions and Technology

Morgan Kaufmann Publishers May 27, 2018 Below Your Program Application software Written in high-level language System software Compiler: translates High Level Language code to machine code Operating System: service code Handling input/output Managing memory and storage Scheduling tasks & sharing resources Hardware Processor, memory, I/O controllers §1.2 Below Your Program Chapter 1 — Computer Abstractions and Technology

Morgan Kaufmann Publishers May 27, 2018 Levels of Program Code High-level language Level of abstraction closer to problem domain Provides for productivity and portability Assembly language Symbolic representation of instructions Hardware representation Binary digits (bits) Encoded instructions and data Chapter 1 — Computer Abstractions and Technology

Compiler Function of Compiler Convert programs in high-level language to programs in assembly language

Example: C Compiler C program Assembly Program

Assembler Assembler Assembly Language Translates assembly language into binary instructions Assembly Language Use symbols instead of 0’s and 1’s More readable

Binary Instructions MIPS binary code for summing 0 to 100 square

Linker Separate Compilation Linker Allows a program to be split into pieces that are stored in different files Each file contains a logically related collection of subroutines and data structures that form a module Can be compiled separately Can be reused Linker Merge Modules together

Functions of a Linker

Tasks of a Linker Search the program libraries to find library routines used by the program Determine the memory locations that code from each module will occupy and relocates its instructions by adjusting absolute references Resolves references among modules Matching references

Relationship Among Compiler, Assembler, and Linker

Example: gcc compiler Compile a simple program gcc –v test.c

Components of a Computer Morgan Kaufmann Publishers May 27, 2018 Components of a Computer §1.3 Under the Covers Same components for all kinds of computer Desktop, server, embedded Input/output includes User-interface devices Display, keyboard, mouse Storage devices Hard disk, CD/DVD, flash Network adapters For communicating with other computers The BIG Picture Chapter 1 — Computer Abstractions and Technology

Morgan Kaufmann Publishers May 27, 2018 Anatomy of a Computer Output device Network cable Input device Input device Chapter 1 — Computer Abstractions and Technology

Morgan Kaufmann Publishers May 27, 2018 Anatomy of a Mouse Optical mouse LED illuminates desktop Small low-res camera Basic image processor Looks for x, y movement Buttons & wheel Supersedes roller-ball mechanical mouse Chapter 1 — Computer Abstractions and Technology

Through the Looking Glass Morgan Kaufmann Publishers May 27, 2018 Through the Looking Glass LCD screen: picture elements (pixels) Mirrors content of frame buffer memory Chapter 1 — Computer Abstractions and Technology

Morgan Kaufmann Publishers May 27, 2018 Opening the Box Chapter 1 — Computer Abstractions and Technology

Inside the Processor (CPU) Morgan Kaufmann Publishers May 27, 2018 Inside the Processor (CPU) Datapath: performs operations on data Control: sequences datapath, memory, ... Cache memory Small fast SRAM memory for immediate access to data Chapter 1 — Computer Abstractions and Technology

Morgan Kaufmann Publishers May 27, 2018 Inside the Processor AMD Barcelona: 4 processor cores Chapter 1 — Computer Abstractions and Technology

Morgan Kaufmann Publishers May 27, 2018 Abstractions The BIG Picture Abstraction helps us deal with complexity Hide lower-level detail Instruction set architecture (ISA) The hardware/software interface Application binary interface The ISA plus system software interface Implementation The details underlying and interface Chapter 1 — Computer Abstractions and Technology

Morgan Kaufmann Publishers May 27, 2018 A Safe Place for Data Volatile main memory Loses instructions and data when power off Non-volatile secondary memory Magnetic disk Flash memory Optical disk (CDROM, DVD) Chapter 1 — Computer Abstractions and Technology

Morgan Kaufmann Publishers May 27, 2018 Networks Communication and resource sharing Local area network (LAN): Ethernet Within a building Wide area network (WAN: the Internet) Wireless network: WiFi, Bluetooth Chapter 1 — Computer Abstractions and Technology

Morgan Kaufmann Publishers May 27, 2018 Technology Trends Electronics technology continues to evolve Increased capacity and performance Reduced cost DRAM capacity Chapter 1 — Computer Abstractions and Technology

Summary Performance of a Computer Compiler Assembler Linker Components of a Computer

What I want you to do Review Chapter 1