Processor Organization and Architecture

Slides:



Advertisements
Similar presentations
Machine cycle.
Advertisements

MANINDER KAUR Maninder Kaur 1
Control Unit Implemntation
PART 5: (2/2) Processor Internals CHAPTER 15: CONTROL UNIT OPERATION 1.
CHAPTER 16 – CONTROL UNIT OPERATION
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
Microprogramming Andreas Klappenecker CPSC321 Computer Architecture.
Chapter 16 Control Unit Implemntation. A Basic Computer Model.
Chapter 4 Processor Technology and Architecture. Chapter goals Describe CPU instruction and execution cycles Explain how primitive CPU instructions are.
Chapter 15 IA 64 Architecture Review Predication Predication Registers Speculation Control Data Software Pipelining Prolog, Kernel, & Epilog phases Automatic.
Computer Organization and Architecture
Processor Organization and Architecture
Group 1 Michael Bouizza Rolando Abreu Carlos De Cossio Ricardo Urena Michael Hernandez Robert Romano Sun Li Yang.
Micro-operations Are the functional, or atomic, operations of a processor. A single micro-operation generally involves a transfer between registers, transfer.
TEAM 1: Miguel Harmant Rodney Rodriguez Elias Crespo Javier Parra Alfredo Alonso Marc-Wayne Anglin.
Introduction to Computer Organization and Architecture Micro Program ภาษาเครื่อง ไมโครโปรแกรม.
CONTROL UNIT OPERATION MICROPROGRAMMED CONTROL. 2.
Microprogrammed Control Unit Control Memory Sequencing Microinstructions Microprogram Example Design of Control Unit Microinstruction Format.
Chapter 16 Micro-programmed Control
MICROPROGRAMMED CONTROL CH 17 Team # 2 Members: Wilmer Saint-Hilaire Alberto Mollinedo Vinicius Schuina Luis Perez.
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.
PART 6: (1/2) Enhancing CPU Performance CHAPTER 16: MICROPROGRAMMED CONTROL 1.
Lecture 15 Microarchitecture Level: Level 1. Microarchitecture Level The level above digital logic level. Job: to implement the ISA level above it. The.
Basic Elements of Processor ALU Registers Internal data pahs External data paths Control Unit.
MICROPROGRAMMED CONTROL
GROUP 2 CHAPTER 16 CONTROL UNIT Group Members ๏ Evelio L. Hernandez ๏ Ashwin Soerdien ๏ Andrew Keiper ๏ Hermes Andino.
PART 4: (1/2) Central Processing Unit (CPU) Basics CHAPTER 12: P ROCESSOR S TRUCTURE AND F UNCTION.
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.
Chapter 10 Control Unit Operation “Controls the operation of the 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.
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.
Control Unit Design.
Basic Computer Organization and Design
Computer Organization and Architecture + Networks
Control Unit Operation
Micro-programmed Control
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
Micro-programmed Control Unit
Processor Organization and Architecture
Control Unit Introduction Types Comparison Control Memory
Processor Organization and Architecture
William Stallings Computer Organization and Architecture 7th Edition
Chapter 14 Control Unit Operation
William Stallings Computer Organization and Architecture 8th Edition
Computer Architecture and Organization: L07: Control Sequence
Computer Architecture
Chapter 14 Control Unit Operation
MANINDER KAUR Maninder Kaur 1
William Stallings Computer Organization and Architecture
Computer Architecture Assembly Language
Computer Architecture
UNIT – III Microprogrammed Control
Processor Organization and Architecture
Presentation transcript:

Processor Organization and Architecture Module III Processor Organization and Architecture

Block Diagram of Control Unit

Inputs to Control Unit Clock Instruction Register Flags One micro-operation (or set of parallel micro-operations) per clock cycle Instruction Register Op-code and addressing mode of current instruction to determine which micro-operations need to be performed Flags Status of CPU and outcome of previous ALU operations Control Signals from control bus Signals to control unit like Interrupts and Acknowledgements

Outputs from Control Unit Control Signals within CPU Cause data movement between registers Activate specific ALU functions Control Signals to control bus To memory To I/O modules

Control Signal Example

Control Signal Example It has single accumulator(AC). Data paths are shown Termination of Control signals are shown Ci and indicated by a circle With each clock cycle, CU reads all its input and emit a set of control signals

Control Unit Implementation Control unit implementations fall into one of two categories: • Hardwired implementation • Microprogrammed implementation

Hardwired implementation In this, the control unit is essentially a state machine circuit. The input logic signals are transformed into a set of output logic signals, which are the control signals It uses a fixed logic circuits to generate control signals

Hardwired Control Unit

Hardwired Control Unit Instruction Register Uses opcodes to perform different actions for different instruction Decoder There should be unique logic input for each opcode It is done by decoder (n-bits  2n outputs ,each will activate a single unique output) Decoder becomes complex for variable length opcodes

Hardwired Control Unit Clock It issues repetitive pulses to execute micro-operations. Timing generator At the end of each subcycle, the timing generator is reinitialized to generate new T1 Control Unit Logic It defines how it produces output control signals as function of input signals For each control signal , a boolean expression is derived

Control Logic Example Let us consider a single control signal C5 (It causes data to be read into MBR)

Control Logic Example Let us define two control signals P and Q as PQ = 00  Fetch PQ = 01  Indirect PQ = 10  Execute PQ = 11  Interrupt Then C5 may be defined as

Control Logic Example C5 is also needed during the execute cycle. For example, let us assume that there are only 3 instructions that read from memory: LDA,ADD, and AND. Now C5 is defined as This same process is to be done for every control signal.

Hardwired Control Unit Modern processors result in large number of boolean expressions and implementing combinatorial circuits are extremely difficult. Hence simpler microprogramming approach is used

Advantages of Hardwired Control Unit Works faster as combinational circuits generates control signals based on input status.

Disadvantages of Hardwired Control Unit Complex in design if it requires larger number of control points No flexibility : difficult to make corrections or add a new feature Uses too many logic gates.

Micro-programmed Control Unit

Micro-programmed Control Microprogramming is a method of control unit design in which the control signal selection and the sequencing information is stored in a ROM or RAM called control memory. A sequence of microinstructions designed to control a specific instruction is called a microprogram.

Micro-programmed Control For each micro-operation, control unit have to generate a set of control signals For any micro-operation any control line may be on/off which can be represented by a binary pattern. Thus a control word is constructed for each micro-operation.

Microprogrammed Control The control information is stored in a control memory, and the control memory is programmed to initiate the required sequence of microoperations Adv: Any required change can be done by updating the microprogram in control memory Disadv: Slow operation