Chapter 1: The General Purpose Machine

Similar documents
Chapter 1: General Purpose Machine

Computer Systems Design and Architecture

CPE300: Digital System Architecture and Design

Page 1. Chapter 1: The General Purpose Machine. Looking Ahead Chapter 5 Important advanced topics in CPU design

CPE300: Digital System Architecture and Design. Fall 2011 MW 17:30-18:45 CBC C316

Computers in Engineering COMP 208. Computer Structure. Computer Architecture. Computer Structure Michael A. Hawker

RISC Architecture Ch 12

Introduction to Microprocessor

Advanced Parallel Architecture Lesson 3. Annalisa Massini /2015

Computer Systems Architecture

Introduction. Computer System Organization. Languages, Levels, Virtual Machines. A multilevel machine. Sarjana Magister Program

Computer Organization CS 206T

Computer Architecture Review. ICS332 - Spring 2016 Operating Systems

C Functions and Pointers. C Pointers. CS270 - Fall Colorado State University. CS270 - Fall Colorado State University

CS 265. Computer Architecture. Wei Lu, Ph.D., P.Eng.

Overview of Computer Organization. Outline

Evolution of the Computer

Computer Organization + DIGITAL DESIGN

Computer & Microprocessor Architecture HCA103

Computer Systems. Hardware, Software and Layers of Abstraction

ENIAC - background. ENIAC - details. Structure of von Nuemann machine. von Neumann/Turing Computer Architecture

Computer Systems. Binary Representation. Binary Representation. Logical Computation: Boolean Algebra

Babbage Analytical Machine

Agenda. General Organiza/on and architecture Structural/func/onal view of a computer Evolu/on/brief history of computer.

Chapter 1 Basic Computer Organization

What Are The Main Differences Between Program Counter Pc And Instruction Register Ir

Overview of Computer Organization. Chapter 1 S. Dandamudi

CHAPTER 1 Introduction

Computer Organization

Computer Architecture Dr. Charles Kim Howard University

Computer System architectures

Real instruction set architectures. Part 2: a representative sample

SYSTEM BUS AND MOCROPROCESSORS HISTORY

Chapter 2 Logic Gates and Introduction to Computer Architecture

Computer Organization. 8 th Edition. Chapter 2 p Computer Evolution and Performance

Computer and Information Sciences College / Computer Science Department CS 207 D. Computer Architecture

Chapter 2. Perkembangan Komputer

Computer Evolution. Budditha Hettige. Department of Computer Science

Basic Concepts COE 205. Computer Organization and Assembly Language Dr. Aiman El-Maleh

7/28/ Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc.

COSC 122 Computer Fluency. Computer Organization. Dr. Ramon Lawrence University of British Columbia Okanagan

Computer Evolution. Computer Generation. The Zero Generation (3) Charles Babbage. First Generation- Time Line

CMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 01, SPRING 2013

Alternate definition: Instruction Set Architecture (ISA) What is Computer Architecture? Computer Organization. Computer structure: Von Neumann model

Fundamentals of Computer Design

Course overview Computer system structure and operation

Computer Organization

Three-box Model: These three boxes need interconnecting (usually done by wiring known as a bus. 1. Processor CPU e.g. Pentium 4 2.

Microprocessors I MICROCOMPUTERS AND MICROPROCESSORS

THE MICROCOMPUTER SYSTEM CHAPTER - 2

CPE300: Digital System Architecture and Design

Fundamental concepts of Information Technology

CS 31: Intro to Systems Digital Logic. Kevin Webb Swarthmore College February 2, 2016

omputer Design Concept adao Nakamura

Menu. Class 1: Introduction. Staff. Course Structure and Expectations. Contacting Us. Contacting You

THE GENERATIONS OF COMPUTER

William Stallings Computer Organization and Architecture 8 th Edition. Chapter 2 Computer Evolution and Performance

CHAPTER 1 Introduction

Machine Architecture. or what s in the box? Lectures 2 & 3. Prof Leslie Smith. ITNP23 - Autumn 2014 Lectures 2&3, Slide 1

MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS

COMS 1003 Fall Introduction to Computer Programming in C. History & Computer Organization. September 15 th

Chronological History of the Pre-Computer Developments

Microprocessor Architecture Dr. Charles Kim Howard University

CS 31: Intro to Systems Digital Logic. Kevin Webb Swarthmore College February 3, 2015

Chapter 9: A Closer Look at System Hardware

Lecture Topics. Announcements. Today: The MIPS ISA (P&H ) Next: continued. Milestone #1 (due 1/26) Milestone #2 (due 2/2)

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE) UNIT-I

Chapter 9: A Closer Look at System Hardware 4

History and Basic Processor Architecture

Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers

3.1 Description of Microprocessor. 3.2 History of Microprocessor

Calendar Description

Computer Architecture Dr. Charles Kim Howard University

Computer Architecture 2/26/01 Lecture #

Evolution of computers and the development of the microprocessor

CS Computer Architecture

Figure 1-1. A multilevel machine.

Processors. Nils Jansen and Kasper Brink. (based on slides from Jeroen Keiren, Marc Seutter and David N. Jansen)

Hardware Design I Chap. 10 Design of microprocessor

Computers in Engineering COMP 208. A Brief History. Mechanical Calculators. A Historic Perspective Michael A. Hawker

Computers in Engineering COMP 208

Cycles Per Instruction For This Microprocessor

Computer Organization and Architecture William Stallings 8th Edition. Chapter 2 Computer Evolution and Performance

CC312: Computer Organization

Write A General Form Of The Assembly

CS 101, Mock Computer Architecture

Chapter 5: Computer Systems Organization

2. Computer Evolution and Performance

Chapter 5: Computer Systems Organization. Invitation to Computer Science, C++ Version, Third Edition

COMP2121: Microprocessors and Interfacing. Introduction to Microprocessors

Agenda EE 224: INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN. Lecture 1: Introduction. Go over the syllabus 3/31/2010

The Stored Program Computer

Handouts. (CSC-3501) Lecture 1 (15 Jan 2008) Seung-Jong Park (Jay) Class information. Schedule (check online frequently)

The Central Processing Unit

UNIT-I BASIC STRUCTURE OF COMPUTERS

Lecture 1 Introduction to Microprocessors

Chapter 1 : Introduction

CS Computer Architecture

1.3 Data processing; data storage; data movement; and control.

COMP2121: Microprocessors and Interfacing. Instruction Set Architecture (ISA)

Transcription:

Chapter 1: The General Purpose Machine Computer ystems esign and rchitecture

User s View of a Computer The user sees software, speed, storage capacity, and peripheral device functionality. Computer ystems esign and rchitecture

Machine/assembly Language Programmer s View Machine language: et of fundamental instructions the machine can execute Expressed as a pattern of 1 s and 0 s ssembly language: lphanumeric equivalent of machine language Mnemonics more human oriented than 1 s and 0 s ssembler: Computer program that transliterates (one-to-one mapping) assembly to machine language Computer s native language is assembly/machine language Programmer, as used in this course, means assembly/machine language programmer Computer ystems esign and rchitecture

Machine and ssembly Language The assembler converts assembly language to machine language. Op code ata reg. #5 ata reg. #4 MC68000 ssembly Language MOVE.W 4, 5 Machine Language 0011 101 000 000 100 I.W #9, 2 00000001 10 111 100 0000 0000 0000 1001 Table 1.2 Two Motorola MC68000 instructions Computer ystems esign and rchitecture

The tored Program Concept The stored program concept says that the program is stored with data in the computer s memory. The computer is able to manipulate it as data for example, to load it from disk, move it in memory, and store it back on disk. Invented by Eckert & Mauchley Computer ystems esign and rchitecture

ENIC (1946) Electronic Numerical Integrator nd Calculator The first electronic computer esigned by Mauchly and Eckert Built with 18,000 vacuum tubes and 6,000 switches Used for trajectory calculation in the U army Computer ystems esign and rchitecture

EVC (1951) Electronic iscrete Variable utomatic Computer The first internally stored program computer Binary number system Computer ystems esign and rchitecture

EVC uccessor of the ENIC Made by the same designers: Mauchly and Eckert tored program Computing Invented by Mauchly and Eckert This concept was subsequently documented by Johann (John) von Neumann in his paper which is now known as the First raft. John Presper Eckert and John Mauchly Computer ystems esign and rchitecture

The first microprocessor Intel 4004 (in 1971) esigned by Federico Faggin, Ted Hoff, and tan Mazor Computer ystems esign and rchitecture

Intel 4004 4-bit 4004 ran at 108 khz and contained 2300 transistors (0.06 MIP) Motivation: In 1971, Busicom, a Japanese company, wanted a chip for a new calculator Computer ystems esign and rchitecture

PECInt95 Performance C 80 70 dvances in Intel processors 81.3 (projected) Pentium IV 2.8GHz (superscalar, out-of-order) 60 50 45.2 (projected) Pentium IV 1.7GHz (superscalar, out-of-order) 40 30 24 Pentium III 600MHz (superscalar, out-of-order) 8.09 PPro 200MHz 11.6 20 3.33 Pentium 100MHz (superscalar, out-of-order) 1 (superscalar, in-order) 80486 X2 66MHz (pipelined) 10 Pentium II 300MHz (superscalar, out-of-order) 1992 1993 1994 1995 1996 1997 1998 1999 2000 Computer ystems esign and rchitecture 2002

Fetch-Execute Cycle Computer ystems esign and rchitecture

Programmer s Model: Instruction et rchitecture (I) Instruction set: the collection of all machine operations. Programmer sees set of instructions, along with the machine resources manipulated by them. I includes instruction set, memory, and programmer accessible registers of the system. There may be temporary or scratch-pad memory used to implement some function is not part of I. Non Programmer ccessible. Computer ystems esign and rchitecture

Programmer s Models of 4 commercial machines Computer ystems esign and rchitecture

Machine, Processor and Memory tate The Machine tate: contents of all registers in system, accessible to programmer or not The Processor tate: registers internal to the CPU The Memory tate: contents of registers in the memory system tate is used in the formal finite state machine sense Maintaining or restoring the machine and processor state is important to many operations, especially procedure calls and interrupts Computer ystems esign and rchitecture

Examples of HLL to ssembly Language Mapping I n s t r u c t i o n C l a s s C V X s s e m b l y L a n g u a g e a t a M o v e m e n t r i t h m e t i c / l o g i c C o n t r o l f l o w a = b b = c + d * e g o t o L B L MOV b, c MPY d, e, b c, b, b BR LBL This compiler: Maps C integers to 32 bit VX integers Maps C assign, *, and + to VX MOV, MPY, and Maps C goto to VX BR instruction The compiler writer must develop this mapping for each language-machine pair Computer ystems esign and rchitecture

Tools of the ssembly Language Programmer s Trade The assembler The linker The debugger or monitor The development system Computer ystems esign and rchitecture

Who Uses ssembly Language The machine designer must implement and trade-off instruction functionality The compiler writer must generate machine language from a HLL The writer of time or space critical code Performance goals may force program specific optimizations of the assembly language pecial purpose or embedded processor programmers pecial functions and heavy dependence on unique I/O devices can make HLL s useless Computer ystems esign and rchitecture

Computer rchitect s View rchitect is concerned with design & performance esigns the I for optimum programming utility and optimum performance of implementation esigns the hardware for best implementation of the instructions Uses performance measurement tools, such as benchmark programs, to see that goals are met Balances performance of building blocks such as CPU, memory, I/O devices, and interconnections Meets performance goals at the lowest cost Computer ystems esign and rchitecture

Buses as Multiplexers Interconnections are very important to computer systems Most connections are shared bus is a time-shared connection or multiplexer bus provides a data path and control Buses may be serial, parallel, or a combination erial buses transmit one bit at a time Parallel buses transmit many bits simultaneously on many wires Computer ystems esign and rchitecture

One and Two Bus rchitecture Examples Computer ystems esign and rchitecture

Getting pecific: The pple PowerMac G4 Bus (simplified) Computer ystems esign and rchitecture

Memory Hierarchy Modern computers have a hierarchy of memories llows tradeoffs of speed/cost/volatility/size, etc. CPU sees common view of levels of the hierarchy. CPU Cache Memory Main Memory isk Memory Tape Memory Computer ystems esign and rchitecture

Tools of the rchitect s Trade oftware models, simulators and emulators Performance benchmark programs pecialized measurement programs ata flow and bottleneck analysis ubsystem balance analysis Parts, manufacturing, and testing cost analysis Computer ystems esign and rchitecture

istinction between Classical Logic esign and Computer Logic esign The entire computer is too complex for traditional FM design techniques FM techniques can be used in the small There is a natural separation between data and control ata path: storage cells, arithmetic, and their connections Control path: logic that manages data path information flow Well defined logic blocks are used repeatedly Multiplexers, decoders, adders, etc. Computer ystems esign and rchitecture

Two Views of the CPU PC Register Programmer: 31 0 PC B Bus 32 Q 32 Bus Logic esigner (Fig 1.8): PC PC out CK PC in Computer ystems esign and rchitecture

Historical Generations 1st Generation: 1946-59 vacuum tubes, relays, mercury delay lines 2nd generation: 1959-64 discrete transistors and magnetic cores 3rd generation: 1964-75 small and medium scale integrated circuits 4th generation: 1975-present, single chip microcomputer Integration scale: components per chip mall: 10-100 Medium: 100-1,000 Large: 1000-10,000 Very large: greater than 10,000 Computer ystems esign and rchitecture

Tube Pictures Computer ystems esign and rchitecture