Computer Architecture Lecture 12 Fasih ur Rehman.

Slides:



Advertisements
Similar presentations
Computer Architecture
Advertisements

The Fetch – Execute Cycle
Control Unit Implemntation
CS364 CH16 Control Unit Operation
Arithmetic Logic Unit (ALU)
PART 5: (2/2) Processor Internals CHAPTER 15: CONTROL UNIT OPERATION 1.
1 IKI10230 Pengantar Organisasi Komputer Bab 7: Control Unit 28 Mei 2003 Bobby Nazief Qonita Shahab bahan kuliah:
Computer Architecture
Computer Systems. Computer System Components Computer Networks.
Chapter 16 Control Unit Operation No HW problems on this chapter. It is important to understand this material on the architecture of computer control units,
CS364 CH17 Micro-programmed Control
Topics covered: CPU Architecture CSE 243: Introduction to Computer Architecture and Hardware/Software Interface.
Chapter 16 Control Unit Implemntation. A Basic Computer Model.
Chapter 15 IA 64 Architecture Review Predication Predication Registers Speculation Control Data Software Pipelining Prolog, Kernel, & Epilog phases Automatic.
Chapter 7. Basic Processing Unit
The Multicycle Processor CPSC 321 Andreas Klappenecker.
Computer Organization and Architecture
Computer Science 210 Computer Organization The Instruction Execution Cycle.
The von Neumann Model – Chapter 4 COMP 2620 Dr. James Money COMP
Micro-operations Are the functional, or atomic, operations of a processor. A single micro-operation generally involves a transfer between registers, transfer.
Chapter 7 Processing Unit
Lec 5 Introduction to CPU Design. Introduction to CPU Design Computer Organization & Assembly Language Programming slide 2 Outline  Introduction  Data.
Lecture 16 Today’s topics: –MARIE Instruction Decoding and Control –Hardwired control –Micro-programmed control 1.
Multiple-bus organization
EXECUTION OF COMPLETE INSTRUCTION
Computer Architecture Lecture 09 Fasih ur Rehman.
Introduction to Computer Engineering CS/ECE 252, Fall 2009 Prof. Mark D. Hill Computer Sciences Department University of Wisconsin – Madison.
1 Control Unit Operation and Microprogramming Chap 16 & 17 of CO&A Dr. Farag.
5-1 Chapter 5—Processor Design—Advanced Topics Computer Systems Design and Architecture by V. Heuring and H. Jordan © 1997 V. Heuring and H. Jordan Chapter.
In1210/01-PDS 1 TU-Delft The Processing Unit. in1210/01-PDS 2 TU-Delft Problem f y ALU y Decoder a instruction Reg ?
Computer architecture
Computer Architecture Lecture 03 Fasih ur Rehman.
UNIT-III CONTROL UNIT DESIGN
Lecture 15 Microarchitecture Level: Level 1. Microarchitecture Level The level above digital logic level. Job: to implement the ISA level above it. The.
Processor Data Path and Control How they work together.
Von Neumann Model Computer Organization I 1 September 2009 © McQuain, Feng & Ribbens The Stored Program Computer 1945: John von Neumann –
Chapter 3 Basic Processing Unit.
Basic Elements of Processor ALU Registers Internal data pahs External data paths Control Unit.
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
Computer Architecture Lecture 4 by Engineer A. Lecturer Aymen Hasan AlAwady 17/11/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
GROUP 2 CHAPTER 16 CONTROL UNIT Group Members ๏ Evelio L. Hernandez ๏ Ashwin Soerdien ๏ Andrew Keiper ๏ Hermes Andino.
Please see “portrait orientation” PowerPoint file for Chapter 7 Figure 7.1. Single-bus organization of the datapath inside a processor.
Hardwired Control Department of Computer Engineering, M.S.P.V.L Polytechnic College, Pavoorchatram. A Presentation On.
Processor Organization and Architecture Module III.
Processor Organization and Architecture Module III.
Fundamental of Computer Architecture By Panyayot Chaikan ac.th Ocbober 25, 2004.
Types of Micro-operation  Transfer data between registers  Transfer data from register to external  Transfer data from external to register  Perform.
Functions of Processor Operation Addressing modes Registers i/o module interface Memory module interface Interrupts.
Control Unit Design.
Computer Organization and Architecture + Networks
Micro-Operations A computer executes a program Fetch/execute cycle
William Stallings Computer Organization and Architecture
William Stallings Computer Organization and Architecture 7th Edition
Overview Instruction Codes Computer Registers Computer Instructions
Chapter 15 Control Unit Operation
Computer Science 210 Computer Organization
Basic Processing Unit Unit- 7 Engineered for Tomorrow CSE, MVJCE.
Computer Science 210 Computer Organization
Functional Units.
A Multiple Clock Cycle Instruction Implementation
Some Fundamental Concepts
Control Unit Introduction Types Comparison Control Memory
William Stallings Computer Organization and Architecture 7th Edition
Chapter 14 Control Unit Operation
William Stallings Computer Organization and Architecture 8th Edition
Basic Processing Unit UNIT-5.
A Top-Level View Of Computer Function And Interconnection
Computer Architecture
Presentation transcript:

Computer Architecture Lecture 12 Fasih ur Rehman

Last Class Multiple Bus Organization Control Unit

Today’s Agenda Control Unit – Hardwired Control

Control Unit Basic Tasks – To go through a control sequence for each instruction – To generate appropriate control signals for each task (or control step) Control unit is driven by the processor clock Generated Control signal depends on – The actual step to be executed – The condition and status flag of the processor – The actual instruction executed – Any external signal received (such as interrupts)

Control Unit To execute instructions, a processor must have arrangement to generate control signals in proper sequence How control signals can be generated – Hard-wired Control – Micro-programmed Control – Programmable Logic Array

Hardwired Control A hardwired control is called a finite state machine – Sequences using a counter and produces control signals at the right time – Control signals are functions of the IR, external inputs and condition codes Hardwired system can operate at high speed; but with little flexibility.

Generation of Signals Each step in sequence of execution is completed in one clock cycle. A counter (called step counter) is used to keep track of the control steps Control signals are function of – Contents of step counter – Contents of IR – Condition codes – External signal (MFC or interrupts etc)

Hardwired Control

Detailed Diagram

Generation (cont.) Step decoder provides a separate signal line for each step in the control sequence The o/p of the instruction decoder comprises separate lines for each machine instruction. For any instruction loaded in Instruction Register, only one of the output line INS1 – INSm is HIGH (i.e. 1) all other lines will be LOW (i.e. 0) The decoder inputs are combined to generate individual control signals

Example (Z in ) Z in is implemented by Z in = T 1 + T 6 ADD + T 4 BR + … This signal is asserted in 1 st step, 6 th step in Add and 4 th step of branch StepAction 1PC out,MAR in,Read,Select4,Add,Z in 2Z out,PC in,Y,WMFC 3MDR out,IR in 4Offset-field-of-IR out,Add,Z in 5Z out,PC in,End

Example (Z in ) Z in = T 1 + T 6 ADD + T 4 BR + …

Example (END) END causes new instruction fetch by resetting control step counter – RUN = 1 counter increments by one at each clock – RUN = 0 counter stops counting Needed when processor is WMFC signal

Example (END) End = T 7 ADD + T 5 BR + (T 5 N + T 4 N) BRN +…

Summary Control Unit – Hardwired control