Chapter 7 Microsequencer 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.
9-6 The Control Word Fig The selection variables for the datapath control the microoperations executed within datapath for any given clock pulse.
1 ITCS 3181 Logic and Computer Systems 2014 B. Wilkinson Slides8.ppt Modification date: Nov 3, 2014 Random Logic Approach The approach described so far.
Microprogramming. S 2/e C D A Computer Systems Design and Architecture Second Edition© 2004 Prentice Hall Microprogramming Main Points/Terminology Difference.
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,
CS364 CH17 Micro-programmed Control
Microprogramming Andreas Klappenecker CPSC321 Computer Architecture.
Chapter 16 Control Unit Implemntation. A Basic Computer Model.
Preparation for Midterm Binary Data Storage (integer, char, float pt) and Operations, Logic, Flip Flops, Switch Debouncing, Timing, Synchronous / Asynchronous.
Chapter 15 IA 64 Architecture Review Predication Predication Registers Speculation Control Data Software Pipelining Prolog, Kernel, & Epilog phases Automatic.
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 7 Microsequencer Control Unit Design.
S. Barua – CPSC 440 CHAPTER 5 THE PROCESSOR: DATAPATH AND CONTROL Goals – Understand how the various.
1 COMP541 Sequencing and Control -- II Montek Singh April 5, 2007.
Micro-operations Are the functional, or atomic, operations of a processor. A single micro-operation generally involves a transfer between registers, transfer.
Lecture 16 Today’s topics: –MARIE Instruction Decoding and Control –Hardwired control –Micro-programmed control 1.
Microprogrammed Control Chapter 17. Team Members Guillermo Cordon Ernesto Vivanco Brian Hadley Angel Carlos Castro.
1 Microprogrammed Control Computer Organization Prof. H. Yoon MICROPROGRAMMED CONTROL Control Memory Sequencing Microinstructions Microprogram Example.
Dr Mohamed Menacer College of Computer Science and Engineering Taibah University CE-321: Computer.
MICROPROGRAMMED CONTROLLER. 11/17/2007DSD,USIT,GGSIPU2 Introduction Generalization of rom-based controller State-transition and output functions implemented.
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.
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.
Chap. 8 Sequencing and Control A Simple Computer Architecture A Simple Computer Architecture Single-Cycle Hardwired Control Single-Cycle Hardwired Control.
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.
PART 6: (1/2) Enhancing CPU Performance CHAPTER 16: MICROPROGRAMMED CONTROL 1.
Lecture 11 ALU and Control Unit Design Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.
Lecture 15 Microarchitecture Level: Level 1. Microarchitecture Level The level above digital logic level. Job: to implement the ISA level above it. The.
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
GROUP 2 CHAPTER 16 CONTROL UNIT Group Members ๏ Evelio L. Hernandez ๏ Ashwin Soerdien ๏ Andrew Keiper ๏ Hermes Andino.
Types of Micro-operation  Transfer data between registers  Transfer data from register to external  Transfer data from external to register  Perform.
Basic Concepts Microinstructions The control unit seems a reasonably simple device. Nevertheless, to implement a control unit as an interconnection of.
Design a MIPS Processor (II)
Computer Organization and Architecture + Networks
Block diagram of a Microcoded Control unit
Micro-programmed Control
Systems Architecture I
Lecture on Microcomputer
Overview Instruction Codes Computer Registers Computer Instructions
Overview Control Memory Comparison of Implementations
Micro-programmed Control Unit
MICROPROGRAMMED CONTROL
INDEX UNIT-III PPT SLIDES
Basic Processing Unit Unit- 7 Engineered for Tomorrow CSE, MVJCE.
Computer Organization and Design
Controller Implementation--Part II
Control Unit Introduction Types Comparison Control Memory
Processor Organization and Architecture
MICROPROGRAMMED CONTROL
Systems Architecture I
William Stallings Computer Organization and Architecture 8th Edition
Computer Architecture
A Discussion on Assemblers
MICROPROGRAMMED CONTROL
Systems Architecture I
MICROPROGRAMMED CONTROL
William Stallings Computer Organization and Architecture
Chapter 7 Microprogrammed Control
Processor Organization and Architecture
Presentation transcript:

Chapter 7 Microsequencer Control Unit Design

7.1 Basic Microsequencer Design It stores its control signals in a lookup ROM, microcode memory. The lookup ROM asserts the control signals in the proper sequence to realize the instructions. Microsequencer operations Microinstruction: consists of several bit fields, which are micro-operation field and next address field.

Figure 7.1 Generic microsequencer organization

Microinstruction formats Figure 7.2 Select field: To determine the source of the address of the microinstruction ADDR field: To specify an absolute address for performing an absolute jump by the microsequencer. Micro-operations field: To generate control signals Horizontal microcode Vertical microcode

Figure 7.2

Horizontal microcode and Vertical microcode One bit in the micro-operations field of the microinstruction is assigned to each micro-operation. This can result in large microinstruction. Vertical microcode The micro-operations are grouped into fields. Vertical microinstructions require fewer bits than their equivalent horizontal microinstructions. The microsequencer must incorporate a decoder for each micro-operation signals.

7.2 Design and implementation of a very simple microsequencer Layout: Figure 7.3

Figure 7.3

Mapping logic The microsequencer will use the same mapping function(Refer to Figure 6.9. 1 IR[1..0] 0 This will produce addresses of 1000, 1010,1100,1110 for ADD1, AND1, JUMP1, and INC1, respectively. Figure 7.4 , Table 7.1, Table 7.2

Figure 7.4

Generating the micro-operations using horizontal microcode A microsequencer has two tasks To generate the correct micro-operations To follow the correct sequence of the states. The micro-operations and their mnemonics are shown in Table 7.3. The complete list of control signals is given in Table 7.6.

Generating the micro-operations using vertical microcode Figure 7.5

Figure 7.5

Guidelines for grouping Whenever two micro-operations occur during the same state, assign them to different fields. Include a NOP in each field if necessary(Table 7.7). Distribute the remaining micro-operations to make best use of the micro-operation field bits. Group together micro-operations that modify the same registers in the same fields. Table 7.8, Figure 7.6

Figure 7.6

Nonoinstructions Figure 7.A It encodes all micro-operations in a single field. The microcode memory outputs a value that points to a location in nano-memory.

Figure 7A

7.3 Design and implementation of a Relatively simple microsequencer Refer to Figure 6.12 Two state, JNPZ1 and JMPZ1 are created for the states -JMPZY1, JMPZN1, JPNZY1, JPNZN1(Figure 7.7)

Figure 7.7

Basic layout for the microsequencer Figure 7.8 The box “+1” is a hardware incrementer. Since the state diagram has 39 states, microsequencer needs a 6-bit address. Mapping function: IR[3..0]00. Table 7.11

SEL signal Unconditional jump and conditional jump (Refer to Table 7.12) BT: Branch logic (Table 7.14)

Figure 7.8

7.4 Reducing the number of microinstructions Microsubroutine Figure 7.9 & 7.10

Figure 7.9

Figure 7.10

Reducing the number of microinstructions(continued) Microcode jumps Figure 7.11

Figure 7.11

7.5 Microprogrammed control vs. Hardwired control Complexity of the instruction sets Ease of modification Clock speed

7.6 Pentium Microprocessor Figure 7.12

Figure 7.12