Course overview Computer system structure and operation

Size: px
Start display at page:

Download "Course overview Computer system structure and operation"

Transcription

1 Computer Architecture Week 01 Course overview Computer system structure and operation College of Information Science and Engineering Ritsumeikan University

2 reference information course web site: evaluation mid-term exam 30% final exam 70% books David and Sarah Harris, Digital Design and Computer Architecture also covers digital electronics recommended Hennessy & Patterson, Computer Organization and Design the standard introductory textbook for computer architecture (not as good as Harris, IMO) Hennessy & Patterson, Computer Architecture, a Quantitative Approach similar, but with more mathematics 2

3 course outline 01 Computer system structure and operation computer architecture, components of computers, binary numbers and arithmetic 02 How computation is performed by computers (1) assembly languages and machine languages comparison of common programming models, advantages and disadvantages practice: assembling a program 03, 04, 05, 06 Instruction Set Architectures MIPS instruction set and assembly language OS interface: system calls instructions, operands, addressing modes data representation, arrays, structures comparisons, branches, control structures function calls and the stack 3

4 course outline 07 Converting high-level language to executable program low-level equivalents to high-level programming constructs compiler, assembler, linker, loader 08 Mid-term test 09 How to perform computations in computers (2) CPU architecture, data path, the control system, instruction execution 10, 11 Arithmetic operations in computers ALU: addition, subtraction, multiplication, division floating-point arithmetic 12 Performance evaluation of computer systems response time, throughput, clocks-per-instruction, benchmarks, power efficiency 4

5 course outline 13 Hardware optimisation instruction pipelines, overlapped execution, stalls branch prediction the ARM solution: conditional instructions vs. explicit control structure 14 The Memory Hierarchy hierarchical memory systems locality principle and caching paged memory systems, virtual memory, segmented addressing the MMU 15 I/O, communication, and processes interrupt handling peripheral devices, DMA timers, the process abstraction, preemptive multitasking 5

6 historical perspective ENIAC (Pennsylvania, 1948) Electronic Numerical Integrator And Computer program operations hard-wired together later modified to store program in ROM a little like a modern microcontroller e.g., Arduino program is in flash memory Small-Scale Electronic Machine (Manchester, 1948) program stored in RAM first stored-program computer can be treated as data by other programs basis for all modern general-purpose computers 6

7 historical perspective Manchester Small-Scale Electronic Machine (SSEM) 32-bit words, 32 words of memory, 1 register, 7 instructions 7

8 technological enabler: semiconductors 1940 electromechanical valves (vacuum tubes) need to warm up need high voltages (300V) inefficient as switches generate lots of heat slow unreliable ENIAC: 17,000 valves several failures per day transistors 1955 solid-state instant-on low voltage (5V) fully on, fully off generate little heat fast reliable 8

9 technological enabler: large-scale integration 1965 integrated circuit 1971 microprocessor 1 component = several logic gates 1 component = entire CPU 1971 Busicom 1975 microcomputer several components = calculator several components = computer 9

10 first microprocessor: Intel 4004 (1971) 4-bit words, 640 bytes of memory, 16 registers, 46 instructions 10

11 first microprocessor: Intel 4004 (1971) 2, 300 transistors, 10, 000 nm process, 12 mm 2 die, 0.74 MHz clock 11

12 semiconductor progress Moore s Law 1 predicted in 1965 that, for a single (cost-effective) integrated circuit, the number of transistors doubles every months 1 Gordon Moore, co-founder of Intel and Fairchild Semiconductor 12

13 modern microprocessor: Intel Core i7-6950x (2016) 3, 200, 000, 000 transistors, 14 nm process, 246 mm 2 die, 4, 000 MHz clock 13

14 modern microprocessor: Intel Core i7-6950x (2016) 10 CPUs, 25 MB on-chip (L3 cache) memory, 4 parallel main memory channels 14

15 modern microprocessor: Intel Core i7-6950x (2016) 64-bit words, 128 GB memory, 16 registers 2 22 cores, 3, 683 instructions 15

16 modern microprocessor: Intel Core i7-6950x (2016) approximately 220 dies (CPUs) per 300 mm wafer 16

17 cost original cost equivalent today ENIAC $500,000 $6,300, $5 $26 (manufacture) 4 GHz Intel Core i7-6950x $1570 (retail) 25 MHz MIPS 32-bit microcontroller <$1 current CPU cost depends on yield (how many good CPUs per wafer manufactured) the lower the yield, the higher the price yield decreases with smaller feature (transistor) size smaller features are damaged by smaller defects defect density increases as defect size decreases larger die size larger die more likely to include a defect yield figures are difficult to obtain, but can be inferred from vendor pricing 17

18 components of computers control instruction data address memory program data registers ALU CPU I/O devices ALU MMU cache multiple function units (parallelism) virtual memory, multiprocessing, protection memory latency mitigation (speed) pipeline DMA I/O interrupts overlapped execution (parallelism) background I/O transfer (parallelism) memory-mapped (simplicity) asynchronous I/O, timesharing 18

19 architectural evolution driven (and/or constrained) by several factors operating system (software) progress more sophistication better user interface for programmers memory protection, asynchronous input/output, timesharing technology (semiconductor) progress more transistors more functionality per CPU instruction-level parallelism increased throughput instruction pipeline overlaps execution (more instructions issued per second) multiple ALUs execute multiple computations in parallel until power (heat) becomes a problem, then use transistors for... reduced latency less waiting for data in memory store more program/data in fast memory (cache) inside the CPU decreases access time without (significantly) increasing power 19

20 components of computers control pipeline MMU data address memory program cache data registers DMA ALU CPU I/O devices ALU MMU cache multiple function units (parallelism) virtual memory, multiprocessing, protection memory latency mitigation (speed) pipeline DMA I/O interrupts overlapped execution (parallelism) background I/O transfer (parallelism) memory-mapped (simplicity) asynchronous I/O, timesharing 20

21 technology perspective conventional wisdom (1980) modern reality (2000+) multiply is slow memory is fast power is free transistors are expensive more transistors = more parallelism CPU speed doubles every 1.5 years multiply fast (2 4 cycles) memory slow ( 200 cycles) = memory wall power is expensive (heat) transistors free (cannot use all at once) = power wall diminishing returns (communication delay, linear programs, shared memory) = parallelism wall memory + power + parallelism walls = brick wall further progress depends on other approaches explicit parallelism, vector/matrix maths in GPGPU, distributed algorithms,... 21

22 review: binary numbers unsigned binary numbers a = = A 5 = = signed 2 s complement numbers (2 11 ) a = = s complement negation form 1 s complement (invert each bit), then add 1 22

23 review: binary arithmetic addition just like decimal subtraction just like decimal, but borrow 2 (not 10) when necessary or negate (2 s complement) the subtrahend, then add: x y x + ( y) multiplication just like decimal, sum of partial products division just like decimal, long division 23

24 resources books epl-share: Shared/Books/Microprocessors MIPS Assembly Language Programming (Robert Britton) See MIPS Run (Dominic Sweetman) epl-share: Shared/Books/Computer Architecture Digital Design and Computer Architecture (Harris, Harris) Computer Organization and Design (Hennessy, Patterson) Computer Architecture a Quantitative Approach (Hennessy, Patterson) assembly language practice MIPS machine simulator (assembly language programming) install from Homebrew (recommended): brew install spim with GUI: Omega2+ (a real MIPS-based computer running Linux) docs/omega2p.html I have several of these; if you want one, let me know 24

25 homework next week we will practice running a small machine code program using the MIPS architecture in preparation, please install Spim, a MIPS simulator, on your laptop recommended: using Homebrew: brew install spim this version runs programs from a terminal command line programs behave very much like real, compiled MIPS programs do simple and convenient, if you are comfortable with what the machine is doing or from: download the most recent installer for Mac or Windows this version has a graphical user interface GUI displays the machine registers, program, and memory contents step the program one instruction at a time, see what effect it has good for debugging, if you cannot envision what the machine is doing 25

26 glossary asynchronous an event that occurs with independent timing cache fast memory that stores often-used values, reducing the time needed for their retrieval channels (memory) an address, data and control bus connecting main memory to the CPU. Each channel operates independently, with a limited maximum speed (transfers per second). The more channels a CPU has, the more data can be transferred to/from memory each second. core (processor) the part of the CPU that executes programs. Multiple cores often share a single die. A quad-core processor runs four independent programs at the same time, but all four share the remaining resources of the CPU such as the cache and I/O system. defects physical imperfections that occur in the manufacture of semiconductors. They can be caused randomly by contamination (e.g., by dust or chemicals) of the die, or systematically by optical problems with the photomask or exposure process. die one complete semiconductor device, such as an integrated circuit. Usually produced in bulk on a single wafer that is then cut into individual dies. 26

27 feature the smallest detail present in a semiconductor device. (E.g., for a transistor that contains three elements gate, source and drain, the feature size is typically defined as the width of the channel separating source and drain, or the size of the gate.) function units a unit that performs a specific arithmetic operation. Examples include integer addition/subtraction, integer multiplication, floating point division, etc. Multiple function units within a single CPU can operate in parallel, allowing more than one computation to be performed at the same time. hard-wired a function or program that is described by hardware connections. To modify the function or program, the hardware itself must be physically modified. instruction-level parallelism the computations or instruction execution processes that can be performed in parallel with no explicit indications from the programmer. For example, if two independent integer addition instructions occur next to each other, and two integer addition function units are available and unused, both addition instructions can be issued at the same time and executed in parallel, one in each unit. integrated circuit a semiconductor device that integrates multiple transistors onto a single die to perform a complex logic function. 27

28 issue (instruction) commencing the execution of an instruction. In a pipelined CPU, instruction issue is the process of inserting the next instruction into the first stage of the pipeline. If multiple function units are available, multiple instructions using different function units can be issued at the same time. latency the delay between requesting something and finally receiving it. memory-mapped a technique for referring to things other than memory as if they were memory locations, by associating them with a memory address and then using the address and data bus for communication. The control and data registers associated with I/O devices are typically memory-mapped so that programs can read and write them as if they were normal memory locations. In framebuffer-based graphics cards, the entire framebuffer can be memory-mapped and appear to programs as a block of normal memory, even though its contents are stored inside the graphics card. multiprocessing running multiple programs on a computer such that each has the illusion of owning the entire machine, unaware of the presence of any other programs (unless explicit steps are taken to communicate with those other programs). 28

29 pipeline a linearisation of the basic machine cycle into independent steps that can overlap. A basic machine cycle of five steps (fetch, decode, read operands, execute, write result) can be converted into a five-stage pipeline. One instruction then requires five cycles to execute, but each cycle can be much shorter and five consecutive instructions can be executing in parallel, one in each stage of the pipeline, with a corresponding increase in the instruction issue rate. process (semiconductor) the set of manufacturing techniques designed to create semiconductors with a given feature size. A 14 nm process creates semiconductors with 14 nm features. protection (memory) preventing a program from accessing the memory of another program, or even its own memory in inappropriate ways. solid-state a generic term for the kinds of devices that can be manufactured using semiconductor technology. Solid-state devices have no moving or discrete mechanical parts, unlike relays or valves (vacuum tubes) for example. stored-program a computer that uses normal memory to store and execute its programs. throughput (CPU) the number of instructions that can be executed each second. 29

30 timesharing a computer system that guarantees each program receives a fair share of CPU time. transistor a semiconductor device that can act as a digital switch (or as an analogue amplifier). Many kinds of transistor exist, but almost all are three-terminal devices in which a voltage applied to one terminal controls the amount of current flowing between the other two terminals. (In a bipolar transistor, the voltage on the base controls the current flowing between the collector and the emitter. In a field-effect transistor, the voltage on the gate controls the current flowing between the source and the drain. Modern digital devices typically use field-effect transistors.) virtual memory a technique for decoupling the program s view of memory from the physical arrangement of memory in the computer. Virtual memory allows all programs to use the same range of addresses without conflict, and permits parts of programs to be absent (or temporarily swapped out ) from physical memory which can then be assigned to other programs. wafer a circular slice of mono-crystalline semiconductor material (typically silicon) on which electronic circuits are formed by optical and chemical processes. yield the proportion of devices (dies) on a wafer that have no significant defects and which operate correctly. 30

Computer Architecture Review. ICS332 - Spring 2016 Operating Systems

Computer Architecture Review. ICS332 - Spring 2016 Operating Systems Computer Architecture Review ICS332 - Spring 2016 Operating Systems ENIAC (1946) Electronic Numerical Integrator and Calculator Stored-Program Computer (instead of Fixed-Program) Vacuum tubes, punch cards

More information

Advanced Computer Architecture

Advanced Computer Architecture Advanced Computer Architecture Chapter 1 Introduction into the Sequential and Pipeline Instruction Execution Martin Milata What is a Processors Architecture Instruction Set Architecture (ISA) Describes

More information

Microprocessors I MICROCOMPUTERS AND MICROPROCESSORS

Microprocessors I MICROCOMPUTERS AND MICROPROCESSORS Microprocessors I Outline of the Lecture Microcomputers and Microprocessors Evolution of Intel 80x86 Family Microprocessors Binary and Hexadecimal Number Systems MICROCOMPUTERS AND MICROPROCESSORS There

More information

ECE 471 Embedded Systems Lecture 2

ECE 471 Embedded Systems Lecture 2 ECE 471 Embedded Systems Lecture 2 Vince Weaver http://web.eece.maine.edu/~vweaver vincent.weaver@maine.edu 7 September 2018 Announcements Reminder: The class notes are posted to the website. HW#1 will

More information

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

Computer Organization. 8 th Edition. Chapter 2 p Computer Evolution and Performance William Stallings Computer Organization and Architecture 8 th Edition Chapter 2 p Computer Evolution and Performance ENIAC - background Electronic Numerical Integrator And Computer Eckert and Mauchly University

More information

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

Computer Systems. Binary Representation. Binary Representation. Logical Computation: Boolean Algebra Binary Representation Computer Systems Information is represented as a sequence of binary digits: Bits What the actual bits represent depends on the context: Seminar 3 Numerical value (integer, floating

More information

Computer & Microprocessor Architecture HCA103

Computer & Microprocessor Architecture HCA103 Computer & Microprocessor Architecture HCA103 Computer Evolution and Performance UTM-RHH Slide Set 2 1 ENIAC - Background Electronic Numerical Integrator And Computer Eckert and Mauchly University of Pennsylvania

More information

SYSTEM BUS AND MOCROPROCESSORS HISTORY

SYSTEM BUS AND MOCROPROCESSORS HISTORY SYSTEM BUS AND MOCROPROCESSORS HISTORY Dr. M. Hebaishy momara@su.edu.sa http://colleges.su.edu.sa/dawadmi/fos/pages/hebaishy.aspx Digital Logic Design Ch1-1 SYSTEM BUS The CPU sends various data values,

More information

Computer Organization CS 206T

Computer Organization CS 206T Computer Organization CS 206T Topics Introduction Historical Background Structure & Function System Interconnection 2 1. Introduction Why study computer organization and architecture? Design better programs,

More information

Lecture 1: CS/ECE 3810 Introduction

Lecture 1: CS/ECE 3810 Introduction Lecture 1: CS/ECE 3810 Introduction Today s topics: Why computer organization is important Logistics Modern trends 1 Why Computer Organization 2 Image credits: uber, extremetech, anandtech Why Computer

More information

Microprocessor. Dr. Rabie A. Ramadan. Al-Azhar University Lecture 1

Microprocessor. Dr. Rabie A. Ramadan. Al-Azhar University Lecture 1 Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 1 Class Materials Text book Ramesh S. Gaonkar, The Z80 Microprocessor architecture, Interfacing, Programming, and Design,. Term paper/project

More information

Calendar Description

Calendar Description ECE212 B1: Introduction to Microprocessors Lecture 1 Calendar Description Microcomputer architecture, assembly language programming, memory and input/output system, interrupts All the instructions are

More information

Parallel Processors. Session 1 Introduction

Parallel Processors. Session 1 Introduction Parallel Processors Session 1 Introduction Applications of Parallel Processors Structural Analysis Weather Forecasting Petroleum Exploration Fusion Energy Research Medical Diagnosis Aerodynamics Simulations

More information

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

ENIAC - background. ENIAC - details. Structure of von Nuemann machine. von Neumann/Turing Computer Architecture 168 420 Computer Architecture Chapter 2 Computer Evolution and Performance ENIAC - background Electronic Numerical Integrator And Computer Eckert and Mauchly University of Pennsylvania Trajectory tables

More information

GLOSSARY OF COMPUTER ARCHITECTURE TERMS

GLOSSARY OF COMPUTER ARCHITECTURE TERMS GLOSSARY OF COMPUTER ARCHITECTURE TERMS arithmetic and logical unit (or ALU) the part of the CPU that performs integer arithmetic and logical operations ASCII American Standard Code for Information Interchange;

More information

Overview of Computer Organization. Chapter 1 S. Dandamudi

Overview of Computer Organization. Chapter 1 S. Dandamudi Overview of Computer Organization Chapter 1 S. Dandamudi Outline Introduction Basic Terminology and Notation Views of computer systems User s view Programmer s view Advantages of high-level languages Why

More information

Final Lecture. A few minutes to wrap up and add some perspective

Final Lecture. A few minutes to wrap up and add some perspective Final Lecture A few minutes to wrap up and add some perspective 1 2 Instant replay The quarter was split into roughly three parts and a coda. The 1st part covered instruction set architectures the connection

More information

Introduction to Microprocessor

Introduction to Microprocessor Introduction to Microprocessor Slide 1 Microprocessor A microprocessor is a multipurpose, programmable, clock-driven, register-based electronic device That reads binary instructions from a storage device

More information

Computer Systems. Hardware, Software and Layers of Abstraction

Computer Systems. Hardware, Software and Layers of Abstraction Computer Systems Hardware, Software and Layers of Abstraction 1 Automation & Computers Fundamental question of computer science: What can be automated? Computers automate processing of information Computer

More information

CIT 668: System Architecture

CIT 668: System Architecture CIT 668: System Architecture Computer Systems Architecture I 1. System Components 2. Processor 3. Memory 4. Storage 5. Network 6. Operating System Topics Images courtesy of Majd F. Sakr or from Wikipedia

More information

Advanced Computer Architecture (CS620)

Advanced Computer Architecture (CS620) Advanced Computer Architecture (CS620) Background: Good understanding of computer organization (eg.cs220), basic computer architecture (eg.cs221) and knowledge of probability, statistics and modeling (eg.cs433).

More information

Overview of Computer Organization. Outline

Overview of Computer Organization. Outline Overview of Computer Organization Chapter 1 S. Dandamudi Outline Introduction Basic Terminology and Notation Views of computer systems User s view Programmer s view Advantages of high-level languages Why

More information

Computers: Inside and Out

Computers: Inside and Out Computers: Inside and Out Computer Components To store binary information the most basic components of a computer must exist in two states State # 1 = 1 State # 2 = 0 1 Transistors Computers use transistors

More information

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored?

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored? Inside the CPU how does the CPU work? what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored? some short, boring programs to illustrate the

More information

Chapter 9: A Closer Look at System Hardware

Chapter 9: A Closer Look at System Hardware Chapter 9: A Closer Look at System Hardware CS10001 Computer Literacy Chapter 9: A Closer Look at System Hardware 1 Topics Discussed Digital Data and Switches Manual Electrical Digital Data Representation

More information

Chapter 9: A Closer Look at System Hardware 4

Chapter 9: A Closer Look at System Hardware 4 Chapter 9: A Closer Look at System Hardware CS10001 Computer Literacy Topics Discussed Digital Data and Switches Manual Electrical Digital Data Representation Decimal to Binary (Numbers) Characters and

More information

Segment 1A. Introduction to Microcomputer and Microprocessor

Segment 1A. Introduction to Microcomputer and Microprocessor Segment 1A Introduction to Microcomputer and Microprocessor 1.1 General Architecture of a Microcomputer System: The term microcomputer is generally synonymous with personal computer, or a computer that

More information

ECE 486/586. Computer Architecture. Lecture # 2

ECE 486/586. Computer Architecture. Lecture # 2 ECE 486/586 Computer Architecture Lecture # 2 Spring 2015 Portland State University Recap of Last Lecture Old view of computer architecture: Instruction Set Architecture (ISA) design Real computer architecture:

More information

ASSEMBLY LANGUAGE MACHINE ORGANIZATION

ASSEMBLY LANGUAGE MACHINE ORGANIZATION ASSEMBLY LANGUAGE MACHINE ORGANIZATION CHAPTER 3 1 Sub-topics The topic will cover: Microprocessor architecture CPU processing methods Pipelining Superscalar RISC Multiprocessing Instruction Cycle Instruction

More information

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

Agenda EE 224: INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN. Lecture 1: Introduction. Go over the syllabus 3/31/2010 // EE : INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN Lecture : Introduction /9/ Avinash Kodi, kodi@ohio.edu Agenda Go over the syllabus Introduction ti to Digital it Systems // Why Digital Systems?

More information

ECE 154A. Architecture. Dmitri Strukov

ECE 154A. Architecture. Dmitri Strukov ECE 154A Introduction to Computer Architecture Dmitri Strukov Lecture 1 Outline Admin What this class is about? Prerequisites ii Simple computer Performance Historical trends Economics 2 Admin Office Hours:

More information

CS/EE 6810: Computer Architecture

CS/EE 6810: Computer Architecture CS/EE 6810: Computer Architecture Class format: Most lectures on YouTube *BEFORE* class Use class time for discussions, clarifications, problem-solving, assignments 1 Introduction Background: CS 3810 or

More information

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

William Stallings Computer Organization and Architecture 8 th Edition. Chapter 2 Computer Evolution and Performance William Stallings Computer Organization and Architecture 8 th Edition Chapter 2 Computer Evolution and Performance Analytical Engine ENIAC - background Electronic Numerical Integrator And Computer Eckert

More information

Outline Marquette University

Outline Marquette University COEN-4710 Computer Hardware Lecture 1 Computer Abstractions and Technology (Ch.1) Cristinel Ababei Department of Electrical and Computer Engineering Credits: Slides adapted primarily from presentations

More information

Processing Unit CS206T

Processing Unit CS206T Processing Unit CS206T Microprocessors The density of elements on processor chips continued to rise More and more elements were placed on each chip so that fewer and fewer chips were needed to construct

More information

ECE 15B COMPUTER ORGANIZATION

ECE 15B COMPUTER ORGANIZATION ECE 15B COMPUTER ORGANIZATION What are Computing Systems? CMOS Camera (courtesy of Samsung Electronics Co., Ltd) Lecture 1 Introduction Dr. Rahul Singh UCLA Gonda Robotic Surgery Center da Vinci surgical

More information

Introduction to Microcontrollers

Introduction to Microcontrollers Introduction to Microcontrollers Embedded Controller Simply an embedded controller is a controller that is embedded in a greater system. One can define an embedded controller as a controller (or computer)

More information

The Nios II Family of Configurable Soft-core Processors

The Nios II Family of Configurable Soft-core Processors The Nios II Family of Configurable Soft-core Processors James Ball August 16, 2005 2005 Altera Corporation Agenda Nios II Introduction Configuring your CPU FPGA vs. ASIC CPU Design Instruction Set Architecture

More information

How What When Why CSC3501 FALL07 CSC3501 FALL07. Louisiana State University 1- Introduction - 1. Louisiana State University 1- Introduction - 2

How What When Why CSC3501 FALL07 CSC3501 FALL07. Louisiana State University 1- Introduction - 1. Louisiana State University 1- Introduction - 2 Computer Organization and Design Dr. Arjan Durresi Louisiana State University Baton Rouge, LA 70803 durresi@csc.lsu.edu d These slides are available at: http://www.csc.lsu.edu/~durresi/csc3501_07/ Louisiana

More information

CPE300: Digital System Architecture and Design

CPE300: Digital System Architecture and Design CPE300: Digital System Architecture and Design Fall 2011 MW 17:30-18:45 CBC C316 Number Representation 09212011 http://www.egr.unlv.edu/~b1morris/cpe300/ 2 Outline Recap Logic Circuits for Register Transfer

More information

Chapter 2 Logic Gates and Introduction to Computer Architecture

Chapter 2 Logic Gates and Introduction to Computer Architecture Chapter 2 Logic Gates and Introduction to Computer Architecture 2.1 Introduction The basic components of an Integrated Circuit (IC) is logic gates which made of transistors, in digital system there are

More information

Introduction. Summary. Why computer architecture? Technology trends Cost issues

Introduction. Summary. Why computer architecture? Technology trends Cost issues Introduction 1 Summary Why computer architecture? Technology trends Cost issues 2 1 Computer architecture? Computer Architecture refers to the attributes of a system visible to a programmer (that have

More information

Latches. IT 3123 Hardware and Software Concepts. Registers. The Little Man has Registers. Data Registers. Program Counter

Latches. IT 3123 Hardware and Software Concepts. Registers. The Little Man has Registers. Data Registers. Program Counter IT 3123 Hardware and Software Concepts Notice: This session is being recorded. CPU and Memory June 11 Copyright 2005 by Bob Brown Latches Can store one bit of data Can be ganged together to store more

More information

EE282 Computer Architecture. Lecture 1: What is Computer Architecture?

EE282 Computer Architecture. Lecture 1: What is Computer Architecture? EE282 Computer Architecture Lecture : What is Computer Architecture? September 27, 200 Marc Tremblay Computer Systems Laboratory Stanford University marctrem@csl.stanford.edu Goals Understand how computer

More information

Chapter 2. Perkembangan Komputer

Chapter 2. Perkembangan Komputer Chapter 2 Perkembangan Komputer 1 ENIAC - background Electronic Numerical Integrator And Computer Eckert and Mauchly University of Pennsylvania Trajectory tables for weapons Started 1943 Finished 1946

More information

PC I/O. May 7, Howard Huang 1

PC I/O. May 7, Howard Huang 1 PC I/O Today wraps up the I/O material with a little bit about PC I/O systems. Internal buses like PCI and ISA are critical. External buses like USB and Firewire are becoming more important. Today also

More information

Computer and Hardware Architecture I. Benny Thörnberg Associate Professor in Electronics

Computer and Hardware Architecture I. Benny Thörnberg Associate Professor in Electronics Computer and Hardware Architecture I Benny Thörnberg Associate Professor in Electronics Hardware architecture Computer architecture The functionality of a modern computer is so complex that no human can

More information

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

Lecture Topics. Announcements. Today: The MIPS ISA (P&H ) Next: continued. Milestone #1 (due 1/26) Milestone #2 (due 2/2) Lecture Topics Today: The MIPS ISA (P&H 2.1-2.14) Next: continued 1 Announcements Milestone #1 (due 1/26) Milestone #2 (due 2/2) Milestone #3 (due 2/9) 2 1 Evolution of Computing Machinery To understand

More information

Computer Evolution. Budditha Hettige. Department of Computer Science

Computer Evolution. Budditha Hettige. Department of Computer Science Computer Evolution Budditha Hettige Department of Computer Science Computer Generation 1. Zeroth generation- Mechanical Computers (1642-1940) 2. First generation - Vacuum Tubes (1940-1955) 3. Second Generation

More information

Introduction to ICs and Transistor Fundamentals

Introduction to ICs and Transistor Fundamentals Introduction to ICs and Transistor Fundamentals A Brief History 1958: First integrated circuit Flip-flop using two transistors Built by Jack Kilby at Texas Instruments 2003 Intel Pentium 4 mprocessor (55

More information

LECTURE 1. Introduction

LECTURE 1. Introduction LECTURE 1 Introduction CLASSES OF COMPUTERS When we think of a computer, most of us might first think of our laptop or maybe one of the desktop machines frequently used in the Majors Lab. Computers, however,

More information

Computer Architecture. Fall Dongkun Shin, SKKU

Computer Architecture. Fall Dongkun Shin, SKKU Computer Architecture Fall 2018 1 Syllabus Instructors: Dongkun Shin Office : Room 85470 E-mail : dongkun@skku.edu Office Hours: Wed. 15:00-17:30 or by appointment Lecture notes nyx.skku.ac.kr Courses

More information

5 Computer Organization

5 Computer Organization 5 Computer Organization 5.1 Foundations of Computer Science ã Cengage Learning Objectives After studying this chapter, the student should be able to: q List the three subsystems of a computer. q Describe

More information

Lecture 1 Introduction to Microprocessors

Lecture 1 Introduction to Microprocessors CPE 390: Microprocessor Systems Spring 2018 Lecture 1 Introduction to Microprocessors Bryan Ackland Department of Electrical and Computer Engineering Stevens Institute of Technology Hoboken, NJ 07030 1

More information

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

CREATED BY M BILAL & Arslan Ahmad Shaad Visit: CREATED BY M BILAL & Arslan Ahmad Shaad Visit: www.techo786.wordpress.com Q1: Define microprocessor? Short Questions Chapter No 01 Fundamental Concepts Microprocessor is a program-controlled and semiconductor

More information

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

Computer Evolution. Computer Generation. The Zero Generation (3) Charles Babbage. First Generation- Time Line Computer Generation Computer Evolution Budditha Hettige Department of Computer Science 1. Zeroth generation- Mechanical Computers (1642-1940) 2. First generation - Vacuum Tubes (1940-1955) 3. Second Generation

More information

ELE 455/555 Computer System Engineering. Section 1 Review and Foundations Class 5 Computer System Performance

ELE 455/555 Computer System Engineering. Section 1 Review and Foundations Class 5 Computer System Performance ELE 455/555 Computer System Engineering Section 1 Review and Foundations Class 5 Computer System Overview Eight Great Ideas in Computer Architecture Design for Moore s Law Integrated Circuit resources

More information

Fundamentals of Computer Design

Fundamentals of Computer Design Fundamentals of Computer Design Computer Architecture J. Daniel García Sánchez (coordinator) David Expósito Singh Francisco Javier García Blas ARCOS Group Computer Science and Engineering Department University

More information

Computer Architecture

Computer Architecture Informatics 3 Computer Architecture Dr. Vijay Nagarajan Institute for Computing Systems Architecture, School of Informatics University of Edinburgh (thanks to Prof. Nigel Topham) General Information Instructor

More information

PERFORMANCE METRICS. Mahdi Nazm Bojnordi. CS/ECE 6810: Computer Architecture. Assistant Professor School of Computing University of Utah

PERFORMANCE METRICS. Mahdi Nazm Bojnordi. CS/ECE 6810: Computer Architecture. Assistant Professor School of Computing University of Utah PERFORMANCE METRICS Mahdi Nazm Bojnordi Assistant Professor School of Computing University of Utah CS/ECE 6810: Computer Architecture Overview Announcement Sept. 5 th : Homework 1 release (due on Sept.

More information

Computer Architecture s Changing Definition

Computer Architecture s Changing Definition Computer Architecture s Changing Definition 1950s Computer Architecture Computer Arithmetic 1960s Operating system support, especially memory management 1970s to mid 1980s Computer Architecture Instruction

More information

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

COSC 122 Computer Fluency. Computer Organization. Dr. Ramon Lawrence University of British Columbia Okanagan COSC 122 Computer Fluency Computer Organization Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca Key Points 1) The standard computer (von Neumann) architecture consists

More information

Fundamentals of Computers Design

Fundamentals of Computers Design Computer Architecture J. Daniel Garcia Computer Architecture Group. Universidad Carlos III de Madrid Last update: September 8, 2014 Computer Architecture ARCOS Group. 1/45 Introduction 1 Introduction 2

More information

SAE5C Computer Organization and Architecture. Unit : I - V

SAE5C Computer Organization and Architecture. Unit : I - V SAE5C Computer Organization and Architecture Unit : I - V UNIT-I Evolution of Pentium and Power PC Evolution of Computer Components functions Interconnection Bus Basics of PCI Memory:Characteristics,Hierarchy

More information

Embedded Systems: Hardware Components (part I) Todor Stefanov

Embedded Systems: Hardware Components (part I) Todor Stefanov Embedded Systems: Hardware Components (part I) Todor Stefanov Leiden Embedded Research Center Leiden Institute of Advanced Computer Science Leiden University, The Netherlands Outline Generic Embedded System

More information

5 Computer Organization

5 Computer Organization 5 Computer Organization 5.1 Foundations of Computer Science Cengage Learning Objectives After studying this chapter, the student should be able to: List the three subsystems of a computer. Describe the

More information

Computer Architecture!

Computer Architecture! Informatics 3 Computer Architecture! Dr. Vijay Nagarajan and Prof. Nigel Topham! Institute for Computing Systems Architecture, School of Informatics! University of Edinburgh! General Information! Instructors

More information

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

Computer Organization and Architecture William Stallings 8th Edition. Chapter 2 Computer Evolution and Performance Computer Organization and Architecture William Stallings 8th Edition Chapter 2 Computer Evolution and Performance BRIEF HISTORY OF COMPUTERS The First Generation: Vacuum Tubes ENIAC - background Electronic

More information

INTRODUCTION TO MICROPROCESSORS

INTRODUCTION TO MICROPROCESSORS INTRODUCTION TO MICROPROCESSORS Richa Upadhyay Prabhu NMIMS s MPSTME richa.upadhyay@nmims.edu January 7, 2016 Richa Upadhyay Prabhu (MPSTME) INTRODUCTION January 7, 2016 1 / 63 Course Design Prerequisite:

More information

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

1.3 Data processing; data storage; data movement; and control. CHAPTER 1 OVERVIEW ANSWERS TO QUESTIONS 1.1 Computer architecture refers to those attributes of a system visible to a programmer or, put another way, those attributes that have a direct impact on the logical

More information

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

7/28/ Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc. Technology in Action Technology in Action Chapter 9 Behind the Scenes: A Closer Look a System Hardware Chapter Topics Computer switches Binary number system Inside the CPU Cache memory Types of RAM Computer

More information

The x86 Microprocessors. Introduction. The 80x86 Microprocessors. 1.1 Assembly Language

The x86 Microprocessors. Introduction. The 80x86 Microprocessors. 1.1 Assembly Language The x86 Microprocessors Introduction 1.1 Assembly Language Numbering and Coding Systems Human beings use the decimal system (base 10) Decimal digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Computer systems use the

More information

Real instruction set architectures. Part 2: a representative sample

Real instruction set architectures. Part 2: a representative sample Real instruction set architectures Part 2: a representative sample Some historical architectures VAX: Digital s line of midsize computers, dominant in academia in the 70s and 80s Characteristics: Variable-length

More information

INTELLIGENCE PLUS CHARACTER - THAT IS THE GOAL OF TRUE EDUCATION UNIT-I

INTELLIGENCE PLUS CHARACTER - THAT IS THE GOAL OF TRUE EDUCATION UNIT-I UNIT-I 1. List and explain the functional units of a computer with a neat diagram 2. Explain the computer levels of programming languages 3. a) Explain about instruction formats b) Evaluate the arithmetic

More information

ECE 471 Embedded Systems Lecture 2

ECE 471 Embedded Systems Lecture 2 ECE 471 Embedded Systems Lecture 2 Vince Weaver http://www.eece.maine.edu/~vweaver vincent.weaver@maine.edu 3 September 2015 Announcements HW#1 will be posted today, due next Thursday. I will send out

More information

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

Alternate definition: Instruction Set Architecture (ISA) What is Computer Architecture? Computer Organization. Computer structure: Von Neumann model What is Computer Architecture? Structure: static arrangement of the parts Organization: dynamic interaction of the parts and their control Implementation: design of specific building blocks Performance:

More information

Fundamentals of Computer Design

Fundamentals of Computer Design CS359: Computer Architecture Fundamentals of Computer Design Yanyan Shen Department of Computer Science and Engineering 1 Defining Computer Architecture Agenda Introduction Classes of Computers 1.3 Defining

More information

TUTORIAL Describe the circumstances that would prompt you to use a microprocessorbased design solution instead of a hard-wired IC logic design.

TUTORIAL Describe the circumstances that would prompt you to use a microprocessorbased design solution instead of a hard-wired IC logic design. TUTORIAL 1 1. Make a list of 10 products containing microprocessors that we use everyday. Personal computer Television Calculator Elevator Mobile phones MP3 players Microwave ovens DVD players Engine Control

More information

Computer Organization

Computer Organization Objectives 5.1 Chapter 5 Computer Organization Source: Foundations of Computer Science Cengage Learning 5.2 After studying this chapter, students should be able to: List the three subsystems of a computer.

More information

Advanced Computer Architecture Week 1: Introduction. ECE 154B Dmitri Strukov

Advanced Computer Architecture Week 1: Introduction. ECE 154B Dmitri Strukov Advanced Computer Architecture Week 1: Introduction ECE 154B Dmitri Strukov 1 Outline Course information Trends (in technology, cost, performance) and issues 2 Course organization Class website (old),

More information

COMP2121: Microprocessors and Interfacing. Introduction to Microprocessors

COMP2121: Microprocessors and Interfacing. Introduction to Microprocessors COMP2121: Microprocessors and Interfacing Introduction to Microprocessors http://www.cse.unsw.edu.au/~cs2121 Lecturer: Hui Wu Session 2, 2017 1 1 Contents Processor architectures Bus Memory hierarchy 2

More information

ARM Processors for Embedded Applications

ARM Processors for Embedded Applications ARM Processors for Embedded Applications Roadmap for ARM Processors ARM Architecture Basics ARM Families AMBA Architecture 1 Current ARM Core Families ARM7: Hard cores and Soft cores Cache with MPU or

More information

Computer Architecture

Computer Architecture Informatics 3 Computer Architecture Dr. Boris Grot and Dr. Vijay Nagarajan Institute for Computing Systems Architecture, School of Informatics University of Edinburgh General Information Instructors: Boris

More information

Microelettronica. J. M. Rabaey, "Digital integrated circuits: a design perspective" EE141 Microelettronica

Microelettronica. J. M. Rabaey, Digital integrated circuits: a design perspective EE141 Microelettronica Microelettronica J. M. Rabaey, "Digital integrated circuits: a design perspective" Introduction Why is designing digital ICs different today than it was before? Will it change in future? The First Computer

More information

High Performance Computing

High Performance Computing High Performance Computing CS701 and IS860 Basavaraj Talawar basavaraj@nitk.edu.in Course Syllabus Definition, RISC ISA, RISC Pipeline, Performance Quantification Instruction Level Parallelism Pipeline

More information

Computer Organization

Computer Organization Computer Organization KR Chowdhary Professor & Head Email: kr.chowdhary@gmail.com webpage: krchowdhary.com Department of Computer Science and Engineering MBM Engineering College, Jodhpur November 14, 2013

More information

Computers Are Your Future

Computers Are Your Future Computers Are Your Future Twelfth Edition Chapter 2: Inside the System Unit Copyright 2012 Pearson Education, Inc. Publishing as Prentice Hall 1 Inside the Computer System Copyright 2012 Pearson Education,

More information

New Advances in Micro-Processors and computer architectures

New Advances in Micro-Processors and computer architectures New Advances in Micro-Processors and computer architectures Prof. (Dr.) K.R. Chowdhary, Director SETG Email: kr.chowdhary@jietjodhpur.com Jodhpur Institute of Engineering and Technology, SETG August 27,

More information

von Neumann Architecture Basic Computer System Early Computers Microprocessor Reading Assignment An Introduction to Computer Architecture

von Neumann Architecture Basic Computer System Early Computers Microprocessor Reading Assignment An Introduction to Computer Architecture Reading Assignment EEL 4744C: Microprocessor Applications Lecture 1 Part 1 An Introduction to Computer Architecture Microcontrollers and Microcomputers: Chapter 1, Appendix A, Chapter 2 Software and Hardware

More information

Basic Computer System. von Neumann Architecture. Reading Assignment. An Introduction to Computer Architecture. EEL 4744C: Microprocessor Applications

Basic Computer System. von Neumann Architecture. Reading Assignment. An Introduction to Computer Architecture. EEL 4744C: Microprocessor Applications Reading Assignment EEL 4744C: Microprocessor Applications Lecture 1 Part 1 An Introduction to Computer Architecture Microcontrollers and Microcomputers: Chapter 1, Appendix A, Chapter 2 Software and Hardware

More information

COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface. 5 th. Edition. Chapter 1. Computer Abstractions and Technology

COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface. 5 th. Edition. Chapter 1. Computer Abstractions and Technology COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface 5 th Edition Chapter 1 Computer Abstractions and Technology The Computer Revolution Progress in computer technology Underpinned by Moore

More information

Computer Architecture. Minas E. Spetsakis Dept. Of Computer Science and Engineering (Class notes based on Hennessy & Patterson)

Computer Architecture. Minas E. Spetsakis Dept. Of Computer Science and Engineering (Class notes based on Hennessy & Patterson) Computer Architecture Minas E. Spetsakis Dept. Of Computer Science and Engineering (Class notes based on Hennessy & Patterson) What is Architecture? Instruction Set Design. Old definition from way back

More information

Chapter 1 : Introduction

Chapter 1 : Introduction Chapter 1 Introduction 1.1 Introduction A Microprocessor is a multipurpose programmable, clock driven, register based electronic device that reads binary instructions from a storage device called memory,

More information

What is Computer Architecture?

What is Computer Architecture? What is Computer Architecture? Architecture abstraction of the hardware for the programmer instruction set architecture instructions: operations operands, addressing the operands how instructions are encoded

More information

Computer Fundamentals and Operating System Theory. By Neil Bloomberg Spring 2017

Computer Fundamentals and Operating System Theory. By Neil Bloomberg Spring 2017 Computer Fundamentals and Operating System Theory By Neil Bloomberg Spring 2017 INTRODUCTION This presentation will cover the fundamentals of Computer Operating Systems as a layered architecture using

More information

Evolution of the Computer

Evolution of the Computer Evolution of the Computer Janaka Harambearachchi (Engineer/Systems Development) Zeroth Generation- Mechanical 1. Blaise Pascal -1642 Mechanical calculator only perform + - 2. Von Leibiniz -1672 Mechanical

More information

Cycle Time for Non-pipelined & Pipelined processors

Cycle Time for Non-pipelined & Pipelined processors Cycle Time for Non-pipelined & Pipelined processors Fetch Decode Execute Memory Writeback 250ps 350ps 150ps 300ps 200ps For a non-pipelined processor, the clock cycle is the sum of the latencies of all

More information

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Ali Karimpour Associate Professor Ferdowsi University of Mashhad AUTOMATIC CONTROL SYSTEMS Ali Karimpour Associate Professor Ferdowsi University of Mashhad Main reference: Christopher T. Kilian, (2001), Modern Control Technology: Components and Systems Publisher: Delmar

More information

COMPUTER ORGANIZATION AND DESIGN. 5 th Edition. The Hardware/Software Interface. Chapter 1. Computer Abstractions and Technology

COMPUTER ORGANIZATION AND DESIGN. 5 th Edition. The Hardware/Software Interface. Chapter 1. Computer Abstractions and Technology COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface 5 th Edition Chapter 1 Computer Abstractions and Technology Classes of Computers Personal computers General purpose, variety of software

More information

2. Computer Evolution and Performance

2. Computer Evolution and Performance 2. Computer Evolution and Performance Spring 2016 Spring 2016 CS430 - Computer Architecture 1 Chapter 2: Computer Evolution and Performance Reading: pp. 16-49 Good Problems to Work: 2.1, 2.3, 2.4, 2.8,

More information