Computer Structure S.Abinash 11/29/2018 445_02.

Slides:



Advertisements
Similar presentations
The CPU The Central Presentation Unit What is the CPU?
Advertisements

The Fetch – Execute Cycle
Machine cycle.
Chapter 1. Basic Structure of Computers
Control path Recall that the control path is the physical entity in a processor which: fetches instructions, fetches operands, decodes instructions, schedules.
CS1104: Computer Organisation School of Computing National University of Singapore.
Midterm Wednesday Chapter 1-3: Number /character representation and conversion Number arithmetic Combinational logic elements and design (DeMorgan’s Law)
Stored Program Concept: The Hardware View
Topics covered: CPU Architecture CSE 243: Introduction to Computer Architecture and Hardware/Software Interface.
(6.1) Central Processing Unit Architecture  Architecture overview  Machine organization – von Neumann  Speeding up CPU operations – multiple registers.
Lecture 13 - Introduction to the Central Processing Unit (CPU)
CPU Fetch/Execute Cycle
The von Neumann Model – Chapter 4 COMP 2620 Dr. James Money COMP
Basic Operational Concepts of a Computer
Intro to CS Chapt 2 Data Manipualtion 1 Data Manipulation How is data manipulated inside a computer? –How is data input? –How is it stored? –How is it.
1 Catalog of useful (structural) modules and architectures In this course we will be working mostly at the BEHAVIORAL and STRUCTURAL levels. We will rely.
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
Chapter 1 Basic Structure of Computers. Chapter Outline computer types, structure, and operation instructions and programs numbers, arithmetic operations,
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Computer Science 210 Computer Organization The von Neumann Architecture.
Introduction to Computing Systems from bits & gates to C & beyond The Von Neumann Model Basic components Instruction processing.
Von Neumann Machine Objectives: Explain Von Neumann architecture:  Memory –Organization –Decoding memory addresses, MAR & MDR  ALU and Control Unit –Executing.
General Concepts of Computer Organization Overview of Microcomputer.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Dr. ClincyLecture1 Chapter 1 Basic Structure of Computers Basic structure of a computer Intro to Machine instructions and their execution Intro to system.
I/O Memory Reg File ALU Program Counter Instruction Register Control Interconnect Control 1)PC contains mem address of Instruction, 2)From memory, instr.
Computer Systems - Registers. Starter… Discuss in pairs the definition of the following Control Unit Arithmetic and Logic Unit Registers Internal clock.
Lecture 7: 9/17/2002CS149D Fall CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture.
CPS 4150 Computer Organization Fall 2006 Ching-Song Don Wei.
12/13/ _01 1 Computer Organization EEC-213 Computer Organization Electrical and Computer Engineering.
COMPILERS CLASS 22/7,23/7. Introduction Compiler: A Compiler is a program that can read a program in one language (Source) and translate it into an equivalent.
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
Microarchitecture. Outline Architecture vs. Microarchitecture Components MIPS Datapath 1.
Computer Organization and Assembly Languages Yung-Yu Chuang 2005/09/29
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
Types of Micro-operation  Transfer data between registers  Transfer data from register to external  Transfer data from external to register  Perform.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
STUDY OF PIC MICROCONTROLLERS.. Design Flow C CODE Hex File Assembly Code Compiler Assembler Chip Programming.
Advanced Architectures
Catalog of useful (structural) modules and architectures
Lecture 13 - Introduction to the Central Processing Unit (CPU)
Central Processing Unit Architecture
Computer Science 210 Computer Organization
CS1251 Computer Architecture
Prof. Sirer CS 316 Cornell University
Computer Architecture
The Processor and Machine Language
عمارة الحاسب.
ECE 445 CS1251 Computer Organization Carl Hamacher
Computer Organization
Computer Science 210 Computer Organization
Functional Units.
COMS 161 Introduction to Computing
Morgan Kaufmann Publishers Computer Organization and Assembly Language
Computer Architecture and Design Lecture 6
The Von Neumann Model Basic components Instruction processing
Intel 8080 Processor The 8080 was an 8-bit processor
Chapter 5: Computer Systems Organization
Guest Lecturer TA: Shreyas Chand
Fundamental Concepts Processor fetches one instruction at a time and perform the operation specified. Instructions are fetched from successive memory locations.
The Von Neumann Architecture Odds and Ends
The Von Neumann Architecture
Prof. Sirer CS 316 Cornell University
Course Outline for Computer Architecture
A Level Computer Science Topic 5: Computer Architecture and Assembly
A Top-Level View Of Computer Function And Interconnection
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
OCR GCSE (9-1) Computer Science (J276)
Computer Architecture Assembly Language
Computer Architecture
Presentation transcript:

Computer Structure S.Abinash 11/29/2018 445_02

Computer Functional Units Processor Input Arithmetic & Logic Memory Output Control 11/29/2018 445_02

Processor and Memory Processor MAR - Memory Address Register MDR Control PC R0 R1 IR . . . ALU Rn-1 Processor MAR - Memory Address Register MDR - Memory Data Register PC - Program Counter IR - Instruction Register 11/29/2018 445_02

Computer Instructions Assembly Language MOVE NUM1,R1 MOVE #1,R2 ADD #1,R1 ADD R1,R2 Register Transfer Notation R1  [NUM1] R2  1 R1  1 + [R1] R2  [R1] + [R2] 11/29/2018 445_02

Example Instruction Fetch Execute MOVE NUM1,R1 MAR  [PC] PC  [PC] + 1 MDR  [MEM([MAR])] IR  [MDR] Execute MAR  NUM1 MDR  [MEM([MAR])] R1  [MDR] 11/29/2018 445_02

Another Example Fetch Execute ADD #1,R1 MAR  [PC] PC  [PC] + 1 MDR  [MEM([MAR])] IR  [MDR] Execute R1  1 + [R1] 11/29/2018 445_02

Single-Bus Structure Input Output Memory Processor 11/29/2018 445_02

Single-Bus Architecture (HW1) MAR MEM MDR Y A B ALU R Z 11/29/2018 445_02

Single-Bus Architecture (HW3) 6 6 MAR 6 PC MEM 1 MDR 2 IR 1 2 6 MUX MUX 2 Y 1 1 REGS A B ALU R Z 11/29/2018 445_02

Design Project Architecture BUS A BUS B BUS C 6 PC IR 1 1 2 A1 A2 1 REGS 2 2 MUX A ALU R B NZVC 2 MDR 2 3 1 6 MAR MEM 11/29/2018 445_02

System Software Compiler Assembler Text Editor Operating System High-level Language  Machine Language Assembler Assembly Language  Machine Language Text Editor Keyboard Input  File Operating System Control Sharing & Interaction Assign & Manage Resources Memory Disk Space Handle I/O 11/29/2018 445_02

Memory Performance Main Processor Memory Cache Memory 11/29/2018 445_02

Processor Clock Period (P) Rate (R) R = 1/P 1 GHz = 1/1ns CLK 11/29/2018 445_02

Performance Equation Processor Execution Time (T) Number of Machine Language Instructions (N) Average Steps per Machine Instruction (S) Clock Rate (R) Performance Measurement (Benchmarking) 11/29/2018 445_02

Pipelining F1 E1 I1 F2 E2 I2 F3 E3 I3 Sequential Execution F1 E1 I1 F2 Pipelined Execution 11/29/2018 445_02

Parallel Processing Parallel Execution Multiprocessors Multicomputers Superscalar Multiprocessors Shared-Memory Multicomputers Message-Passing 11/29/2018 445_02

CISC vs RISC Complex Instruction Set Computers (CISC) Smaller N Larger S Reduced Instruction Set Computers (RISC) Larger N Smaller S Easier to Pipeline 11/29/2018 445_02

11/29/2018 445_02