Overview Control Memory Comparison of Implementations

Slides:



Advertisements
Similar presentations
MANINDER KAUR Maninder Kaur 1
Advertisements

Control Unit Implemntation
Chapter 8: Central Processing Unit
Chapter 7: Microprogrammed Control
ARITHMETIC LOGIC SHIFT UNIT
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,
Midterm Wednesday Chapter 1-3: Number /character representation and conversion Number arithmetic Combinational logic elements and design (DeMorgan’s Law)
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.
Computer Organization and Architecture
Micro-operations Are the functional, or atomic, operations of a processor. A single micro-operation generally involves a transfer between registers, transfer.
Introduction to Computer Organization and Architecture Micro Program ภาษาเครื่อง ไมโครโปรแกรม.
Multiple-bus organization
Florida International University Chapter 17 Micro-programmed Control Molina, Francisco Pineiro, Michael Romero, Rubymir.
1 Microprogrammed Control Computer Organization Prof. H. Yoon MICROPROGRAMMED CONTROL Control Memory Sequencing Microinstructions Microprogram Example.
MICROPROGRAMMED CONTROL
CONTROL UNIT OPERATION MICROPROGRAMMED CONTROL. 2.
Computer System Architecture © Korea Univ. of Tech. & Edu. Dept. of Info. & Comm. Chap. 7 Microprogrammed Control 7-1 Chap. 7 Microprogrammed Control (Control.
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.
Computer architecture
Lecture 15 Microarchitecture Level: Level 1. Microarchitecture Level The level above digital logic level. Job: to implement the ISA level above it. The.
Ch5. 기본 컴퓨터의 구조와 설계.
Chapter 3 Basic Processing Unit.
Ch. 10 Central Processing Unit Designs - CISC. Two CPU designs CISC –Non-pipelined datapath with a micro- programmed control unit RISC –Pipelined datapath.
Basic Elements of Processor ALU Registers Internal data pahs External data paths Control Unit.
MICROPROGRAMMED CONTROL
Chapter 10 Control Unit Operation “Controls the operation of the processor”
Types of Micro-operation  Transfer data between registers  Transfer data from register to external  Transfer data from external to register  Perform.
Basic Computer Organization and Design
Computer Organization and Architecture + Networks
COMPUTER ARCHITECTURE
Lecture on Microcomputer
Winter 2017 S. Areibi School of Engineering University of Guelph
Cpe 252: Computer Organization1 Dr. Lo’ai Tawalbeh Chapter 7: Microprogrammed Control.
Overview Introduction General Register Organization Stack Organization
Overview Instruction Codes Computer Registers Computer Instructions
Processor Organization and Architecture
REGISTER TRANSFER LANGUAGE AND DESIGN OF CONTROL UNIT
Micro-programmed Control Unit
MICROPROGRAMMED CONTROL
INDEX UNIT-III PPT SLIDES
BASIC COMPUTER ORGANIZATION AND DESIGN
Basic Processing Unit Unit- 7 Engineered for Tomorrow CSE, MVJCE.
Computer Organization and Design
Some Fundamental Concepts
Control Unit Introduction Types Comparison Control Memory
Systems Architecture I (CS ) Lecture 2: A Simplified Computer
Processor Organization and Architecture
MICROPROGRAMMED CONTROL
William Stallings Computer Organization and Architecture 8th Edition
Computer Architecture
MANINDER KAUR Maninder Kaur 1
Basic Processing Unit UNIT-5.
COMPUTER ORGANIZATION AND ARCHITECTURE
MICROPROGRAMMED CONTROL
MICROPROGRAMMED CONTROL
William Stallings Computer Organization and Architecture
Chapter 7 Microprogrammed Control
UNIT – III Microprogrammed Control
Processor Organization and Architecture
Presentation transcript:

Overview Control Memory Comparison of Implementations Control Unit 1 Overview Control Memory Comparison of Implementations Sequencing Microinstructions Design of Control Unit Address Sequencer

Control Unit 2 Control Unit Control unit (CU) of a processor translates from machine instructions to the control signals for the microoperations that implement them Control units are implemented in one of two ways Hardwired Control CU is made up of sequential and combinational circuits to generate the control signals - expensive, complex, no flexibility - high-speed (optimized to provide fast mode of operations) -ex Intel 8085, Motorola 6802, Zilog 80, RISC CPUs Microprogrammed Control A control memory on the processor contains microprograms that activate the necessary control signals - Ex Intel 8080, Motorola 68000, CISC

Control Unit Implementations Combinational Logic Circuits (Hard-wired) Microprogram I R Status F/Fs Control Data Combinational Logic Circuits Control Points CPU Memory Timing State Ins. Cycle State Control Unit's State Next Address Generation Logic C S A R Storage (-program memory) M e m o r y D P s }

Terminology Microprogram Microinstruction Control Unit 4 Terminology Microprogram - Program stored in memory that generates all the control signals required to execute the instruction set correctly - Consists of microinstructions Microinstruction - Contains a control word and a sequencing word Control Word - All the control information required for one clock cycle Sequencing Word - Information needed to decide the next microinstruction address - Vocabulary to write a microprogram Control Memory(Control Storage: CS) - Storage in the microprogrammed control unit to store the microprogram Writeable Control Memory(Writeable Control Storage: WCS) - CS whose contents can be modified -> Allows the microprogram can be changed -> Instruction set can be changed or modified Dynamic Microprogramming - Computer system whose control unit is implemented with a microprogram in WCS - Microprogram can be changed by a systems programmer or a user

Terminology Sequencer (Microprogram Sequencer) Control Unit 5 Terminology Sequencer (Microprogram Sequencer) The next address generator is sometimes known as microprogram sequencer A Microprogram Control Unit that determines the Microinstruction Address to be executed in the next clock cycle - increment the control address register by 1 - loading into control AR an address from control memory - Transferring and external address - loading an initial address to start control operation Control Data Register: - sometimes known as pipeline register . - allows execution of microoperations specified by control word simultaneously with generation of next microinstruction

Terminology Advantage of Microprogram Control Control Unit 6 - Once hardware configuration is established no need to further h/w or wiring change - only thing to change is microprogram residing in control memory. RISC Architecture concept: - Reduced Instruction Set Computer (RISC) system used hardwire control rather than microprogram control

Control Unit 7 Address Sequencing Microinstructions are stored in control memory in groups with each specifying a routine. Each instruction has its own microprogram routine in control memory to generate microoperation that generate instructions. Initial address is loaded into CAR when power is turned on. - the address of the first microinstruction that activates instruction fetch (End instn in IR) Control memory next must go through routine that determines the effective address of the operand (End : operand in MAR) Next step is to generate the microoperations that execute the instruction fetched from memory. The transformation from the instruction code bits to an address in control memory where routine is located is referred to as mapping

Micro Instruction Sequencing Control Unit 8 Micro Instruction Sequencing Sequencing Capabilities Required in a Control Storage - Incrementing of the control address register - Unconditional and conditional branches - A mapping process from the bits of the machine instruction to an address for control memory - A facility for subroutine call and return Instruction code Mapping logic Multiplexers Control memory (ROM) Subroutine register (SBR) Branch Status bits Microoperations Control address register (CAR) Incrementer MUX select select a status bit Branch address

Micro Instruction Format Control Unit 9 Micro Instruction Format Microinstruction Format Symbol OP-code Description ADD 0000 AC AC + M[EA] BRANCH 0001 if (AC < 0) then (PC  EA) STORE 0010 M[EA]  AC EXCHANGE 0011 AC  M[EA], M[EA]  AC Machine instruction format I Opcode 15 14 11 10 Address Sample machine instructions F1 F2 F3 CD BR AD 3 2 7 F1, F2, F3: Microoperation fields CD: Condition for branching BR: Branch field AD: Address field

Micro Instruction Format Control Unit 10 Micro Instruction Format F1 symbol 000 NOP 001 ADD 010 CLRAC 011 INCAC 100 DRTAC 101 DRTAR 110 PCTAR 111 WRITE F2 symbol 000 NOP 001 SUB 010 OR 011 AND 100 READ 101 ACTDR 110 INCDR 111 PCTDR F3 symbol 000 NOP 001 XOR 010 COM 011 SHL 100 SHR 101 INCPC 110 ARTPC 111 Reserved

Micro Instruction Format Control Unit 11 Micro Instruction Format CD symbol Condition 00 U Always 1 01 I DR (15) 10 S AC (15) 11 Z AC = 0 BR symbol Function 00 JMP CAR  AD if Condition=1 else CAR  CAR + 1 if condition = 0 01 CALL CAR  AD, SBR  CAR +1 if condition =1 else CAR  CAR + 1 if condition = 0 10 RET CAR  SBR 11 MAP CAR(2-5)  DR (11-14), CAR(0,1,6) 0

Design of Control Unit Control Unit 12 microoperation fields 3 x 8 decoder 7 6 5 4 3 2 1 F1 F2 F3 Arithmetic logic and shift unit AND ADD DRTAC AC Load From PC DR(0-10) Select Multiplexers AR Clock DR DRTAR PCTAR

Control Unit 13 Address Sequencer

Any Questions ?