Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.

Slides:



Advertisements
Similar presentations
Components of a computer system
Advertisements

Computer Systems Nat 4/5 Computing Science Computer Structure:
The CPU The Central Presentation Unit What is the CPU?
Chapter 1. Basic Structure of Computers
Processor System Architecture
Computer Systems. Computer System Components Computer Networks.
Processor Technology and Architecture
CHAPTER 4 COMPUTER SYSTEM – Von Neumann Model
1 Sec (2.1) Computer Architectures. 2 For temporary storage of information, the CPU contains cells, or registers, that are conceptually similar to main.
Chapter 0 Introduction to Computing
CS 104 Introduction to Computer Science and Graphics Problems Basic Organization & Concepts 09/09/2008 Yang Song (Prepared by Yang Song and Suresh Solaimuthu)
Stored Program Concept: The Hardware View
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Chapter 4 Processor Technology and Architecture. Chapter goals Describe CPU instruction and execution cycles Explain how primitive CPU instructions are.
The central processing unit and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Computer Systems CS208. Major Components of a Computer System Processor (CPU) Runs program instructions Main Memory Storage for running programs and current.
Inside The CPU. Buses There are 3 Types of Buses There are 3 Types of Buses Address bus Address bus –between CPU and Main Memory –Carries address of where.
The Computer Processor
Basic Operational Concepts of a Computer
Computer Organization Computer Organization & Assembly Language: Module 2.
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
The Computer Systems By : Prabir Nandi Computer Instructor KV Lumding.
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
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.
CPU How It Works. 2 Generic Block Diagram CPU MemoryInputOutput Address Bus Data Bus.
The Central Processing Unit (CPU) and the Machine Cycle.
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.
CSCI 211 Intro Computer Organization –Consists of gates for logic And Or Not –Processor –Memory –I/O interface.
General Concepts of Computer Organization Overview of Microcomputer.
Computer Architecture And Organization UNIT-II General System Architecture.
Computer Organization & Assembly Language © by DR. M. Amer.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI CSCI N305 Information Representation: Machine Instructions.
Assessment Covering… Von Neuman architecture Registers – purpose and use, the fetch execute cycle.
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
Dale & Lewis Chapter 5 Computing components
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Control Unit.
Computer operation is of how the different parts of a computer system work together to perform a task.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
CPUz 4 n00bz.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
CS 1410 Intro to Computer Tecnology Computer Hardware1.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
CPU Lesson 2.
Computing Science Computer Structure: Lesson 1: Processor Structure
Systems Architecture Keywords Fetch Execute Cycle
Chapter 10: Computer systems (1)
Control Unit Lecture 6.
Chapter 7.2 Computer Architecture
Introduction to Computer Architecture
CENTRAL PROCESSING UNIT CPU (microprocessor)
Computer Architecture
Teaching Computing to GCSE
The Processor and Machine Language
Number Representations and Basic Processor Architecture
Functional Units.
CS149D Elements of Computer Science
Morgan Kaufmann Publishers Computer Organization and Assembly Language
Computer Architecture
Basic Computer Organization
Introduction to Computer Architecture
GCSE OCR 1 The CPU Computer Science J276 Unit 1
Information Representation: Machine Instructions
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Computer Architecture
Presentation transcript:

Computer Architecture Memory, Math and Logic

Basic Building Blocks Seen: – Memory – Logic & Math

Higher Level Architecture CPU – Central Processing Unit Memory – Programs and Data Input & Output – Keyboards, Mice, Screens Printers, Networks, etc… CPU Memory Input & Output

Busses – Groups of wires that carry a signal 1 wire for each bit Separate busses for different signals

Memory – Collection of bytes – Access byte by address

Memory – Collection of bytes – Access byte by address – Meaning defined by program Byte 0x00 could be: – 74 – J – Red part of a 24-bit color 0x00-0x02 – Part of a 64-bit floating point 0x00-0x07

Memory Hierarchy Memory is – Too slow – Too small – Temporary

Memory Hierarchy Main Memory : medium speed/capacity – RAM

Memory Hierarchy On processor: Small, Ultra Fast memory – Registers – Cache

Memory Hierarchy Secondary Memory : slower, larger, permanent storage – Hard drives – Flash drives

Inside the CPU Registers – Small high speed memory ALU – Arithmetic Logic Unit CU – Control Unit Memory Input & Output

Registers – Special purpose memory in CPU Examples: – PC : Program Counter What memory address has next instruction – IR : Instruction Register What instruction we are working on – ACC : Accumulator Result of what we just did

ALU Arithmetic Logic Unit Can: – Add/Subtract Multiply/divide handled by special purpose hardware – Logic Tests = – Bit Operations Not, OR, AND, shifts,…

ALU cont… Common representation: – 2 main inputs Additional input to pick operation – 1 main output

CU Control Unit – Decoder : reads instructions from IR, sends control signals to control ALU, memory – Clock : synchronizes operations across computer

Machine Code Machine Code : Instruction stored as binary – Bits to represent operation to perform (opcode) value to use (operand)

Sample Code Machine codeFunction Load the value 2 into the Accumulator Load the value 5 into the Accumulator Store the value of the Accumulator in memory location Add the value of memory location 13 to the Accumulator

Fetch-Decode-Execute Fetch – Decode – Execute