Control Unit Design.

Slides:



Advertisements
Similar presentations
Control Unit Implemntation
Advertisements

6-1 Chapter 6 - Datapath and Control Department of Information Technology, Radford University ITEC 352 Computer Organization Principles of Computer Architecture.
Topics covered: CPU Architecture CSE 243: Introduction to Computer Architecture and Hardware/Software Interface.
PART 5: (2/2) Processor Internals CHAPTER 15: CONTROL UNIT OPERATION 1.
1 IKI10230 Pengantar Organisasi Komputer Kuliah no. 11: Control Unit Sumber: 1. Paul Carter, PC Assembly Language 2. Hamacher. Computer Organization, ed-5.
Computer Architecture
UNIT-III CONTROL UNIT DESIGN
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,
Topics covered: CPU Architecture CSE 243: Introduction to Computer Architecture and Hardware/Software Interface.
Basic Processing Unit (Chapter 7)
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
Computer Organization and Architecture
Computer Architecture Lecture 12 Fasih ur Rehman.
Micro-operations Are the functional, or atomic, operations of a processor. A single micro-operation generally involves a transfer between registers, transfer.
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.
6-1 Chapter 6 - Datapath and Control Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring Principles of.
Multiple-bus organization
EXECUTION OF COMPLETE INSTRUCTION
Computer Architecture Lecture 09 Fasih ur Rehman.
5-1 Chapter 5 - Datapath and Control Computer Architecture and Organization by M. Murdocca and V. Heuring © 2007 M. Murdocca and V. Heuring Computer Architecture.
1 Control Unit Operation and Microprogramming Chap 16 & 17 of CO&A Dr. Farag.
Microprogrammed Control Chapter11:. Two methods for generating the control signals are: 1)Hardwired control o Sequential logic circuit that generates.
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
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.
Chapter 3 Basic Processing Unit.
Basic Elements of Processor ALU Registers Internal data pahs External data paths Control Unit.
GROUP 2 CHAPTER 16 CONTROL UNIT Group Members ๏ Evelio L. Hernandez ๏ Ashwin Soerdien ๏ Andrew Keiper ๏ Hermes Andino.
Control Unit Operations Chapter10:. What is Control Unit (CU)?(1)  Part of a CPU or other device that directs its operation.  Tells the rest of the.
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.
Basic Concepts Microinstructions The control unit seems a reasonably simple device. Nevertheless, to implement a control unit as an interconnection of.
CS 270: Mathematical Foundations of Computer Science
Computer Organization and Architecture + Networks
Micro-programmed Control
Computer Organization
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
Processor Organization and Architecture
Overview Control Memory Comparison of Implementations
Chapter 15 Control Unit Operation
Micro-programmed Control Unit
UNIT 4 Control Unit. UNIT 4 Control Unit Single CPU Bus CPU Bus MUX Temp PC R0 R(n-1) Instruction Decoder IR MAR MDR Z Y ALU Carry In Address Lines.
Basic Processing Unit Unit- 7 Engineered for Tomorrow CSE, MVJCE.
Some Fundamental Concepts
Control Unit Introduction Types Comparison Control Memory
Processor Organization and Architecture
William Stallings Computer Organization and Architecture 7th Edition
Chapter 7. Basic Processing Unit
Chapter 14 Control Unit Operation
Chapter 7. Basic Processing Unit
Fundamental Concepts Processor fetches one instruction at a time and perform the operation specified. Instructions are fetched from successive memory locations.
William Stallings Computer Organization and Architecture 8th Edition
Computer Architecture
Chapter 14 Control Unit Operation
MANINDER KAUR Maninder Kaur 1
Basic Processing Unit UNIT-5.
William Stallings Computer Organization and Architecture
UNIT – III Microprogrammed Control
Processor Organization and Architecture
Presentation transcript:

Control Unit Design

Control Unit Design Approaches Hardwired: - The control logic is wired into logic circuits Microprogrammed - Here the control logic is coded in to a low level program

Hardwired Control Unit CLK Control Step Counter Reset Clock Step Decoder T0 T1 T2 Tn IR Instruction Decoder INS1 Encoder Interrupts INS2 Condition Codes INS3 EOI Control Signals

Hardwired Control Unit The Control Signals issued by the Control Unit are generated by an Encoder module which is a combinational circuit. The instructions, addressing modes, clock cycle no. during the instruction cycle etc. given as inputs to the Encoder module. Each control signal is modeled as a Boolean function of the inputs to the encoder unit. Each of the Boolean functions representing the control signals is implemented using a combinational logic circuit.

Control Signal Generation Example Boolean Functions for Control Signals: Zin = T0 + add. (T3 + T6 + T9) + mov. T3 + . . . . . . . MDRout = T2 + add. ( T4 + T8 + T9) + mov. T5 + . . . . . . add (R0)+, @(R1)+ T0: PCout, MARin, Read, Select1, Add, Zin T1: Zout, PCin, WMFC T2: MDRout, IRin T3: R0out, MARin, Read, Select1, Add, Zin T4: Zout, R0in, WMFC T5: MDRout, Yin T6: R1out, MARin, Read, Select1, Add, Zin T7: Zout, R1in, WMFC T8: MDRout, MARin, Read, WMFC T9: MDRout, Add, Zin T10: Zout, MDRin, Write, WMFC Example Control Signal word Sequences: mov R0, @(R1)+ T0: PCout, MARin, Read, Select1, Add, Zin T1: Zout, PCin, WMFC T2: MDRout, IRin T3: R1out, MARin, Read, Select1, Add, Zin T4: Zout, R1in, WMFC T5: MDRout, MARin T6: R0out, MDRin, Write, WMFC

Microprogramming Micro-order: A control signal issued by the control unit. e.g. PCin, PCout, WMFC etc. Micro-operation: The micro level operations carried out through issuing of one or more micro-orders. e.g. transfer of data between a pair of registers, a memory read operation etc. Micro-instruction: Set of one or more micro-operations carried out within one clock step in a processor. Micro-routine: A sequence of micro-instructions to carryout a task in a processor. Micro-program: A collection of micro-routines to achieve an Instruction set architecture.

Microprogram Control Word Each control word represents a micro-instruction Consists of a bit string with one bit for each micro-order in a micro-programmed processor. The bit value for a micro-order in a micro-instruction is set to ‘1’ if the corresponding micro-order is required to be issued in that micro-instruction. Otherwise it is set to ‘0’. 1 1 1 1

Microprogrammed Control Unit IR Starting and Branch Address Generator Interrupts Condition Codes EOF, EOS, EOD Micro-program Counter Clock EOI Control Store Control Word

Reducing Microinstruction Length IR Starting and Branch Address Generator Interrupts Condition Codes EOF, EOS, EOD Micro-program Counter Clock EOI Decoder Group Mutually exclusive Micro-Orders and encode them into fields in the Microinstruction. e.g. ALU micro-orders, EOX, Rnout etc. Decode them while issuing. Decoder Control Store Decoder Decoder