Introduction to Computer Architecture

Slides:



Advertisements
Similar presentations
Components of a computer system
Advertisements

Machine cycle.
Chapter 5 Computing Components. The (META) BIG IDEA Cool, idea but maybe too big DATA – Must be stored somewhere in a storage device PROCESSING – Data.
Introduction to Computer Systems
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
The central processing unit and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
 Prof. Dr. M. H. Assal Introduction to Computer AS 26/10/2014.
Stuart Cunningham - Computer Platforms COMPUTER PLATFORMS Input, Output, and Storage & Introduction to Basic Computer Architecture Week 2.
Chapter 3 Computer Hard ware
What is a Computer ? Computers are Electronic Machines that process (performs calculation and manipulation) Data under the control of Set of Instructions.
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
TheTeacher Computing Data Storage Computing. TheTeacher Computing Primary Storage One of the fundamental properties of a computer is that it can store.
Introduction to Computer Architecture. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers.
Section one revision:1. Computer Systems To be able to Identify and describe computer systems To demonstrate an understanding of the Central Processing.
Introduction to Computer Architecture. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers.
Chapter 5 Computing Components. 5-2 Chapter Goals List the components and their function in a von Neumann machine Describe the fetch-decode-execute cycle.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
CSCI-100 Introduction to Computing Hardware Part I.
Parts of the Computer System
1 Course Title: IT IN BUSINESS Course Instructor: ADEEL ANJUM Chapter No: 04 1 BY ADEEL ANJUM (MCS, CCNA,WEB DEVELOPER)
Computer Structure & Architecture 7b - CPU & Buses.
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
Computer Organization. The Five Hardware Units General purpose computers use the "Von Neumann" architecture Also referred to as "stored program" architecture.
Computer Systems. Bits Computers represent information as patterns of bits A bit (binary digit) is either 0 or 1 –binary  “two states” true and false,
DIGITAL TECHNOLOGY. 20 Questions  Pair off with another student within your table.  Both of you are to think of your favorite in a specific category.
Chapter 2 content Basic organization of computer What is motherboard
GCSE COMPUTER SCIENCE Computers 1.2 Memory, Storage and Binary.
Computer Architecture and Number Systems
Computer Systems Nat 4/5 Computing Science Computer Structure:
CPU Lesson 2.
Systems Architecture Keywords Fetch Execute Cycle
APPENDIX A Hardware and Software Basics
Chapter 10: Computer systems (1)
Processor/Memory Chapter 3
UNIT 9 Computer architecture
An Introduction to The computer.
GCSE COMPUTER SCIENCE Topic 4 - Computers 4.2 Hardware.
The Central Processing Unit
Introduction to Computer Architecture
TexPREP Summer Camp Computer Science
introduction to computer
Course Name: Computer Application Topic: Central Processing Unit (CPU)
Microcomputer Architecture
Computer Architecture
Hook – CPU Knowledge Check
Introduction to Computers
IB Computer Science Topic 2.1.1
Introduction to Computers
Computer Architecture
An Introduction to The computer.
COMS 161 Introduction to Computing
Fundamentals of Computer Organisation and Architecture
Introduction to Computers
CPU Key Revision Points.
Chapter 5: Computer Systems Organization
GCSE OCR 3 Memory Computer Science J276 Unit 1
Components of a CPU AS Computing - F451.
STORAGE – 3 TIERS Key Revision Points.
A451: Computer Systems and Programming
Storage.
GCSE OCR 1 The CPU Computer Science J276 Unit 1
Chapter 5 Computer Organization
Revison Part two.
Objectives Describe the difference between RAM and ROM
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Explorer Inside the Computer
Computer Architecture
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Presentation transcript:

Introduction to Computer Architecture

What is computer architecture? What does “architecture” mean? Layout and interactions of a computer system What is a computer system? Input  Process  Output Can a computer system be more than one computer? Think of an example...

Major Components of a Computer Central Processing Unit (CPU) Random Access Memory (RAM) / Memory Hard Drive / Disk

Central Processing Unit (CPU) Also called the “chip” or “processor” The brain of the computer Major components: Arithmetic Logic Unit (ALU) calculator Control unit controls the calculator Communication bus systems What’s a bus?!? Address Bus Control Unit Memory ALU Data Bus

What does memory look like? Note: Bits in memory ardatae both values and program instructions

What does memory look like? Address Data 36 1 3765 2 786 3 356 4 252 5 67980 6 2355 7 4234 8 3466 Memory ~ RAM Looks like a table Address and Data Address is the location Data is the actual value Memory stores both data and assembly instructions

Fetch-Execute Cycle (Machine Instruction Cycle) Fetch instruction from memory Decode instruction in control unit Execute instruction (data may be fetched from memory) Store results if necessary Repeat! Address Bus Control Unit Memory ALU Data Bus

ON-OFF-ON-ON 1 0 1 1 Several ways to remember the state of a switch: 1 0 1 1 Several ways to remember the state of a switch: Electrical – RAM, flash memory, solid state drives, some ROMs Magnetic – Hard drives, magnetic tapes Optical – CDs, DVDs, Blu-Ray

Primary Memory Memory level CPU accesses closest RAM ~ Random Access Memory Volatile storage (data is NOT saved when computer is off) Used to store everything (OS, programs, etc.) while computer is on ROM ~ Read-Only Memory Non-volatile storage Often holds the computer’s BIOS (Basic Input/Output System) when computer first loads

Registers Temporary storage containers used inside the CPU Extremely fast MAR ~ Memory Address Register Holds the address of where you are fetching from MDR ~ Memory Data Register Holds the data that was fetched from memory Many other registers too (for all CPU calculations)

Fetch-Execute Cycle (Machine Instruction Cycle) Fetch instruction from memory Decode instruction in control unit Execute instruction (data may be fetched from memory) Store results if necessary Repeat! Address Bus Control Unit Memory ALU Data Bus

Fetch-Execute Animation http://www.hartismere.com/staticvle/ictskills/FetchExecute.swf

Memory Hierarchy

Memory Hierarchy Updated

Cache Slower than registers Faster than RAM Located in front of main RAM Different levels of cache Level1 (L1) and Level2 (L2) Size is usually around 1 MB

Virtual Memory What if a program is too big for RAM? If a program is too big for memory (RAM), then we start using the hard drive (disk) to store data Prevents the computer from stalling/crashing (BUT IT IS SLOW)

Hard Drives Persistent storage Non-volatile storage Why do we need it? Other types of persistent storage?

CD/DVD/BluRays Lands and pits used to represent binary Optical medium - lasers and refraction used to read lands and pits http://electronics.howstuffworks.com/cd4.htm