CS/COE0447: Computer Organization

Similar documents
Five classic components

Chapter 1. EE380, Fall Hank Dietz.

CS61C Machine Structures. Lecture 1 Introduction. 8/27/2006 John Wawrzynek (Warzneck)

A+ Guide to Hardware: Managing, Maintaining, and Troubleshooting, 5e. Chapter 1 Introducing Hardware

Intentionally Blank 0

Intro to Math 230 Assembly Language Programming. Lecture # 01 01/15/08

About the Presentations

What's in a computer?

FUNCTIONS OF COMPONENTS OF A PERSONAL COMPUTER

Chapter One. Introduction to Computer System

CS61C Machine Structures. Lecture 1 Introduction. 8/25/2003 Brian Harvey. John Wawrzynek (Warznek) www-inst.eecs.berkeley.

Introduction to the Personal Computer

Identify Components of the. Motherboard

ECE 15B COMPUTER ORGANIZATION

Chapter I The System Unit

Computer Organization and Structure. Bing-Yu Chen National Taiwan University

HARDWARE AND OPERATING SYSTEMS

Elementary Computing CSC M. Cheng, Computer Science 1

ELEC 5200/6200. Computer Architecture & Design. Victor P. Nelson Broun 326

Computers Are Your Future

Personal computer hardware From Wikipedia, the free encyclopedia (Redirected from Computer hardware)

Problem 2 If the cost of a 12 inch wafer (actually 300mm) is $3500, what is the cost/die for the circuit in Problem 1.

Chapter 1. Computer Abstractions and Technology

Question. Announcement. Computer Hardware. Definition of a Computer. Essential Parts. The Box (CPU) input/output device that processes information

Part 1 of 3 -Understand the hardware components of computer systems

Mother Board And Its Components By :- IMRAN QURESHI

COMPUTER ORGANIZATION & SKILLS

Defining Computers. Defining Computers. Understanding Essential Computer Concepts

Computers Are Your Future

Introduction. EE380, Fall Hank Dietz.

Chapter 1 Introduction. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

The Computer Revolution. Chapter 1. The Processor Market. Classes of Computers. Morgan Kaufmann Publishers August 28, 2013

What step should a technician perform first when servicing computer equipment?

Introduction. EE380, Spring Hank Dietz.

Parts of the Computer System. Parts of the Computer System. Parts of the Computer System. Essential Computer Hardware. Information Processing Cycle

Parts of Computer hardware Software

Computer Systems. Communication (networks, radio links) Meatware (people, users don t forget them)

Grade 5 lesson 2 Computer storage and computer care and you

Introduction to a Typical PC. Freedom High School

Memory classification:- Topics covered:- types,organization and working

Module 1. Introduction. Version 2 EE IIT, Kharagpur 1

Providing Fundamental ICT Skills for Syrian Refugees PFISR

Thomas Polzer Institut für Technische Informatik

Introduction To Computer Hardware

Computer Hardware. In this lesson we will learn about Computer Hardware, so that we have a better understanding of what a computer is.

Computer Basics PC-100

CS/COE1541: Introduction to Computer Architecture

card slots CPU socket Monitor Computer case houses CPU (Central Processing Unit), CPU central power supply, DVD drive, etc processing unit Keyboard

Memory Study Material

What is the typical configuration of a computer sold today? 1-1

COMPUTER HARDWARE RAYMOND ROSE

SYLLABUS OF ADVANCED CARD LEVEL & CHIP LEVEL TRAINING ( DESKTOP AND LAPTOP )

CS61C : Machine Structures

XE 900: Fastest EPIC board now available with Windows XPe

Chapter 4 The Components of the System Unit

Computer Organization and Structure. Bing-Yu Chen National Taiwan University

Chapter 2 Computer Hardware

Electricity: Voltage. Gate: A signal enters the gate at a certain voltage. The gate performs operations on it, and sends it out was a new signal.

Community Development and Training Centre Semester IT 245 Management Information Systems

Sahalsoftware college. Welcome To understanding Basic Computer Concept

Computer Architecture s Changing Definition

CSE : Introduction to Computer Architecture

Architectural Support for Operating Systems

Introduction To Computers: Hardware

Information Communications Technology (CE-ICT) 6 th Class

Lab Determining Data Storage Capacity

COMP 273 Winter physical vs. virtual mem Mar. 15, 2012

TABLE OF CONTENTS 1. INTRODUCTION 2. SPECIFICATION 3. HARDWARE INSTALLATION 6EX 1.1. PREFACE KEY FEATURES PERFORMANCE LIST...

Notes - Computer Hardware Basics

Copyright 2012 Pearson Education, Inc. Publishing as Prentice Hall

Memory Overview. Overview - Memory Types 2/17/16. Curtis Nelson Walla Walla University

Hardware & Input/Output

Five classic components

The Components of the System Unit

INTRODUCTION TO COMPUTERS

Chapter 4 The Components of the System Unit

levels (layers) of abstraction I stand on the shoulders of giants Lecture #1 Introduction Are Computers Smart? Where does CS61C fit in?

Computer Hardware. Lect 3: Input / System Unit/Output & Storage

Zimmer CSCI /24/18. CHAPTER 1 Overview. COMPUTER Programmable devices that can store, retrieve, and process data.

COMPUTER HARDWARE & NETWORK TROUBLESHOOTING

TABLE OF CONTENTS 1. INTRODUCTION 2. SPECIFICATION 3. HARDWARE INSTALLATION 6BA

Introduction To Computer Hardware. Hafijur Rahman

Large and Fast: Exploiting Memory Hierarchy

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

In this video we are going to see how a personal computer hardware is organised

The Computer Revolution. Classes of Computers. Chapter 1

Computer Maintenance

Components of a personal computer

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

True/False Indicate whether the statement is true or false. Bubble A for True and B for False

True/False Indicate whether the statement is true or false. Bubble A for True and B for False

Computer Technology Flash Card 2

Homeschool Enrichment. The System Unit: Processing & Memory

COMP2121: Microprocessors and Interfacing. Introduction to Microprocessors

machine cycle, the CPU: (a) Fetches an instruction, (b) Decodes the instruction, (c) Executes the instruction, and (d) Stores the result.

CS Computer Architecture Spring Lecture 01: Introduction

What is Information Technology. Chapter 1: Computer System. Why use Information Technology? What is Data?

Agenda Computer Hardware Input Devices Output Devices Secondary Storage Computer Software System Software Application Software Working with Windows

The personal computer system uses the following hardware device types -

Computer Architecture. Fall Dongkun Shin, SKKU

Transcription:

CS/COE0447: Computer Organization and Assembly Language Terminology and Concepts Sangyeun Cho Dept. of Computer Science Five classic components I am like a control tower I am like a pack of file folders I am like a conveyor belt + service stations I exchange information with outside world

Some definitions for 447 What is a program? A file of instructions The program writer had a goal when writing this program Instructions execute on the processor a dynamic sequence of instructions What is an algorithm? A procedure to solve a problem E.g., sort an array There was a book titled Algorithms + Data Structures = Programs Machine instructions 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 void swap(int v[], int k) { int temp; temp = v[k]; v[k] = v[k+1]; v[k+1] = temp; } 00000000101000010 00000000000110000 10001100011000100 10001100111100100 10101100111100100 10101100011000100 00000011111000000

Instruction set architecture A programmer s reference manual (PRM) for a p processor p g will disclose the ISA of the processor Application software Instruction set architecture Hardware System software You are a system software programmer Components of ISA in PRM Data types the processor supports Instructions and their definitions Registers and their usage P Processor modes d Exception mechanism (Compatibility issues) Register It s a storage g in your y processor p that yyou can directlyy address and access in an instruction If your processor is 32-bit, 32 bit your registers are (usually) 32 bits wide Depending on the processor, there can be many registers or only a few of those Registers g were a scare resource theyy occupy py chip p space p Today we can put many registers; the concern is the access time and the power consumption

Early processor example: Intel 4004 b. 1971 It s considered the first microprocessor by many people ~2000 transistors 4-bit processor 1 register accumulator MIPS registers $zero $at $v0 $v1 $a0 $a1 $a2 $a3 $t0 $t1 $t2 $t3 $t4 $t5 $t6 32 bits 32 bits 32 bits r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 $s0 $s1 $s2 $s3 $s4 $s5 $s6 $s7 $t8 $t9 $k0 $k1 $gp $sp $fp $ra HI LO $t7 PC General-Purpose Registers Special-Purpose p Registers

Instruction Unit of program execution; program consists of instructions It describes an operation that the processor understands how to perform The amount of work defined for an instruction is usually small; for example, Add two numbers in registers Compare two numbers in registers Make a jump in the program if the first number is smaller than the second number Complex instructions may ease your programming For example, multiply two numbers from memory location A & B and iterate this 100 times or until you meet two zeros BUT, your processor implementation can become quite complex Instruction description example

Processor modes User mode Ordinary programs run in this mode Most instructions can be executed in this mode (e.g., add, load) Critical system resources are not directly accessed What about other user s programs? Privileged mode System software runs in this mode Some instructions can be executed only in this mode Critical system resources are managed by the system software (i.e., OS) What happens if the user program tries to access prohibited, privileged ileged system resource? e?

Switching between modes When powered on, a processor will be in its privileged mode When the system boots up and becomes initialized, the system starts to execute user programs or interact with the user The processor switches back and forth between the modes when There is an instruction-induced exception Divide-by-zero Access to unallocated memory space System calls There is an interrupt from the I/O system Clock interrupt Keyboard & mouse Inside your PC Integrated circuits (ICs) CPU (central processing unit), chipsets, memory, peripheral I/O chips (e.g., for USB, IEEE1394, ) Printed circuit boards (PCBs) Substrate for ICs and interconnection Distribution of clock, power supply Heat dissipation Hard drive Optical storage (CD-ROM, DVD-ROM, CD-RW, ) Power supply Converts line AC voltage (100V) to regulated DC low voltage levels GND (0V), +/-12V, +/-5V, Chassis Holds boards, power supply, and provides physical interface for user and other system components Connectors and cables

Integrated circuits Primarily crystalline silicon 1mm~25mm on a side Feature size : 45~250nm 0.1B~1B transistors 3~10 metal conductive layers CMOS (complementary metal- oxide semiconductor) technology Package spreads chip level signal paths to board levell Provides heat dissipation Integrated circuits

Packaging mounting wire bonding packaging g material filling & marking Printed circuit board Fiberglass or ceramic 1~20 conductive layers 1~20 inches on a side IC packages are mounted and soldered on a board

Technology trend 2X transistors on a same-size size chip every 1.5~2 years! Memory (DRAM) capacity trend size 1000000000 100000000 10000000 1000000 100000 10000 1000 1970 1975 1980 1985 1990 1995 2000 Year 1.4x/year or 2x every 2 years 8000x since 1980!

Hard drive capacity trend Exponential technology advances Memory DRAM capacity: 2x / 2 years (since 96) 64x capacity improvement in the last decade Processor Speed (in terms of clock frequency): 2x / 1.5 years (since 85) It slows down these days 100x performance improvement in the last decade Disk Capacity: 2x / 1 year (since 97) 250x capacity improvement in the last decade

My first PC My 1 st year at college CPU: 80286 @~10MHz (No hardware floating-point i unit) Main memory: 1MB Hard drive: 40MB 5.25 floppy disk No CD-ROM 14-inch monitor (not flat) Wheel mouse w/ 2 buttons If I buy a new PC in the future Processor: (something x86) @at least 2~3GHz # of cores in this processor must be 4 or more Memory capacity: at least 4GB, probably 8GB Disk capacity: several TB Optical drive: Blu-ray enabled DVD/CD drive New units: Mega to Giga, Giga to Tera, (Tera to Peta, Peta to Exa, Exa to Zetta, Zetta to Yotta)

Input devices Accepts input from human Desktop computers Keyboard Mouse (touchpad) Joystick Servers Terminals on network Cell phone embedded computer Keypad Voice recognition Input devices Mouse Wheel mouse (hard to find these days) Optical mouse: takes 1,500 photo shots of LED (light-emitting diode) reflection to detect and measure movement Keyboard or keypad Not many changes so far Web camera Voice recognition New input device?

Output devices Passes information to human Desktop computers Display (LCD) Sound Servers Terminals on network Cell phone embedded computer Screen Sound Vibration Output devices Display Transition from CRT to LCD nearly completed LCD size from 10 to ~30 inches Sound Simple tick to theatre-like effects, 5.1 channels,

Storage and network Storage and network devices are I/O devices like keyboard and graphics card Today, storage and network devices need high bandwidth Fast data retrieval and storing Fast communication Main memory DRAM (dynamic random access memory) is the choice technology Large capacity Low price Standard d products from multiple l vendors What is SRAM?

Main memory Embedded computers use DRAM or SRAM (or both) depending on applications On-chip SRAM On-chip SDRAM SDRAM Mobile SDRAM (1.8V operation) SRAM, SDRAM, FLASH all in a same chip! Storage Secondary storage (c.f., main memory) Non-volatile Stores programs, user-saved data, etc. In PC/server domain, magnetic disk (hard disk) is dominant In embedded d computers, flash memory and ROM are quite popular Due to performance, power, and reliability issues, solid-state disk drives (based on flash memory technology) become increasingly common

Storage 5.25-inch floppy disk 1.2MB USB drive - ~GBs Hard disk drive - ~TBs 3.5-inch floppy disk 1.44MB Flash SSD 128GB Optical storage

Main memory vs. storage Differences? Volatility Technology used Addressability Access speed Computer networks Local area network (LAN) Within a limited distance (e.g., inside a building) 100/100/1000Mbps, Wide area network (WAN) Connecting smaller networks far apart At home Modem: 14.4kbps, 28.8kbps, 33.6kbps, 56kbps Cable modem/dsl: several hundred kbps ~ several Mbps Home network Proliferation of wireless LAN (IEEE 802.11) 1~100Mbps

A look at ADSL modem Real stuff: manufacturing Pentium4 Read your textbook, Chapter 1.4

Besides classic h/w components Besides classic h/w components

Besides classic h/w components