Nanoprogramming Extending microprogramming. Microprogramming The microprogram counter contains The address of the next microinstruction to be executed.

Slides:



Advertisements
Similar presentations
Microprogramming A Case Study.
Advertisements

Instruction Set Design
1 ITCS 3181 Logic and Computer Systems B. Wilkinson Slides9.ppt Modification date: March 30, 2015 Processor Design.
1  1998 Morgan Kaufmann Publishers Summary:. 2  1998 Morgan Kaufmann Publishers How many cycles will it take to execute this code? lw $t2, 0($t3) lw.
 Suppose for a moment that you were asked to perform a task and were given the following list of instructions to perform:
1 Microprocessor History. 2 The date is the year that the processor was first introduced. Many processors are re- introduced at higher clock speeds for.
Computer Architecture
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.
Memory Hierarchy. Smaller and faster, (per byte) storage devices Larger, slower, and cheaper (per byte) storage devices.
Charles Kime © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 7 – Registers and Register Transfers Part 3 – Control of.
Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 5: CPU and Memory.
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,
Computer Architecture I - Class 9
Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc. All rights reserved The Microarchitecture Level.
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
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.
Implementation of a Stored Program Computer
The Microarchitecture Level The level above the digital logic level is the microarchitecture level.  Its job is to implement the ISA (Instruction Set.
1 TK6123: COMPUTER ORGANISATION & ARCHITECTURE Prepared By: Associate Prof. Dr Masri Ayob Lecture 6: CPU and Memory (1)
Dr. Abdel-Rahman Al-Qawasmi
Assembly & Machine Languages
Processor Organization and Architecture
INTRODUCTION TO MICROCONTROLLER. What is a Microcontroller A microcontroller is a complete microprocessor system, consisting of microprocessor, limited.
Basic Operational Concepts of a Computer
Lecture 8 Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.
The CPU The Central Presentation Unit Main Memory and Addresses Address bus and Address Space Data Bus Control Bus The Instructions set Mnemonics Opcodes.
Lecture 16 Today’s topics: –MARIE Instruction Decoding and Control –Hardwired control –Micro-programmed control 1.
Memory and Addressing How and Where Information is Stored.
Components of a Computer Prepared by: Mrs. McCallum-Rodney.
Introduction to Computing Systems from bits & gates to C & beyond The Von Neumann Model Basic components Instruction processing.
Microcode Source: Digital Computer Electronics (Malvino and Brown)
1 Microprogrammed Control Computer Organization Prof. H. Yoon MICROPROGRAMMED CONTROL Control Memory Sequencing Microinstructions Microprogram Example.
Operating Systems Lecture No. 2. Basic Elements  At a top level, a computer consists of a processor, memory and I/ O Components.  These components are.
Computer Architecture And Organization UNIT-II Structured Organization.
Microprogrammed Control Unit Control Memory Sequencing Microinstructions Microprogram Example Design of Control Unit Microinstruction Format.
PHY 201 (Blum)1 Microcode Source: Digital Computer Electronics (Malvino and Brown)
EEC4133 Computer Organization & Architecture Chapter 5: Datapath & Control by Muhazam Mustapha, April 2014.
Chap. 8 Sequencing and Control A Simple Computer Architecture A Simple Computer Architecture Single-Cycle Hardwired Control Single-Cycle Hardwired Control.
Lecture 7: 9/17/2002CS149D Fall CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture.
1.4 Representation of data in computer systems Instructions.
COMPURT ORGANAZTION CHAPTER 5. Computer Organization We can divide the parts that make up a computer into 3 subsystems : 1. Central processing unit (CPU).
1  1998 Morgan Kaufmann Publishers Value of control signals is dependent upon: –what instruction is being executed –which step is being performed Use.
Basic Elements of Processor ALU Registers Internal data pahs External data paths Control Unit.
Simple ALU How to perform this C language integer operation in the computer C=A+B; ? The arithmetic/logic unit (ALU) of a processor performs integer arithmetic.
8051 Micro Controller. Microcontroller versus general-purpose microprocessor.
1  2004 Morgan Kaufmann Publishers No encoding: –1 bit for each datapath operation –faster, requires more memory (logic) –used for Vax 780 — an astonishing.
 Designing CU – One FF per State Method  5 Transformation Rules  Transformation Process  Microprogrammed Control Unit.
Computer Architecture
1 Instructions are stored in a memory called instruction memory To execute each instruction, we get the instruction out of memory, store in a register.
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.
Computing Science Computer Structure: Lesson 1: Processor Structure
Memory Organisation Source: under
Lecture on Microcomputer
MICROPROGRAMMED CONTROL
Basic Processing Unit Unit- 7 Engineered for Tomorrow CSE, MVJCE.
The Computer Architecture
Architectural Overview
Processor Organization and Architecture
MICROPROGRAMMED CONTROL
Memory Organisation Source: under
CDCA 2203 Elements of Computer Architecture Open University Malaysia
Classification of instructions
Central Processing Unit
Memory Organisation Source: under
Hardware Organization
Basic components Instruction processing
MICROPROGRAMMED CONTROL
MICROPROGRAMMED CONTROL
Presentation transcript:

Nanoprogramming Extending microprogramming

Microprogramming The microprogram counter contains The address of the next microinstruction to be executed.

Microprogramming The microprogram memory contains all the microinstructions. Each machine level instruction is interpreted by one or more microinstructions.

Microprogramming If there are n machine- level instructions and each instruction is interpreted by m microinstructions, the size of the microprogram ROM is n.m lines.

Microprogramming The microinstruction register holds the bits of the current microinstruction. If this is p bits wide, the total size of the microprogram memory in bits is n.m.p

Microprogramming This structure requires a lot of fast microinstruction storage. For example, if there are 512 machine-level instructions, and each instruction is interpreted by four 200-bit microinstructions, the size of the ROM is 512 x 4 x 200 = 409,600 bits (51,200 bytes)

Nanoprogramming Microinstructions are very long; for example 200 bits. This requires a large amount of storage. However, of all the possible different microinstructions, a typical Microprogram ROM contains only a tiny fraction of possible microinstructions. Nanoprogramming reduces the number of control bits require to interpret an instruction set.

Nanoprogramming The microprogram memory (control ROM) is now much narrower because it contains pointers to the actual microinstructions.

Nanoprogramming The microinstruction register contains a short pointer that points to the nanoinstruction memory.

Nanoprogramming The nanoinstruction memory contains the actual microinstructions and is very wide.

Nanoprogramming Suppose that a microinstruction is 200 bits wide and that the microprogram memory contains only 120 unique microinstructions. Thus, out of possible microinstructions, only 120 are actually used. Each microinstruction in the control ROM cam be replaced by a pointer that requires only 7 bits. 2 7 = 128 < 120

Nanoprogramming The nanoinstruction memory contains the 120 unique 100-bit- wide microinstructions.

Nanoprogramming Let’s use the previous example, with 512 machine-level instructions, where each instruction is interpreted by four 200-bit microinstructions. The size of the control ROM without nanoprogramming is 512 x 4 x 200 = 409,600 bits (51,200 bytes) With nanoprogramming (and assuming 120 unique microinstructions) the control ROM now requires 512 x 4 x 7 = 2048 x 7 = 14,336 bits because the 200-bit microinstruction has been replaced by a 7-bit pointer. The nanoinstruction memory contains bit microinstructions or 120 x 200 = 24,000 bits. The total size of the read-only memory is the sum of the microinstruction memory and nanoinstruction memories or 14, ,000 = 38,336 bits (4,792 bytes). Nanoprogramming has reduced the storage requirement by a factor of 10