MARIE: an Introduction to a Simple Computer

Total Page:16

File Type:pdf, Size:1020Kb

MARIE: an Introduction to a Simple Computer MARIE: An Introduction to a Outline Simple Computer Learn the components common to every modern computer system. Be able to explain how each component contributes to program execution. Understand a simple architecture invented Machine Architecture that is Really to illuminate these basic concepts, and how Intuitive and Easy it relates to some real architectures. Know how the program assembly process works. CS 2401 Comp. Org. Marie -- Chapter 4 1 CS 2401 Comp. Org. & Marie -- Chapter 4 2 & Assembly Assembly 44..11 Introduction 44..22 CPU Basic and Organization Chapter 1 presented a general overview of The computer’s CPU fetches, decodes, and computer systems. executes program iiinstructions. In Chapter 2, we discussed how data is stored and manipulated by various The two principal parts of the CPU are the computer system components. datapath and the control unit. Chapter 3 described the fundamental The datapath consists of an arithmetic-logic unit components of digital circuits. and storage units (registers) that are Having this background, we can now interconnected by a data bus that is also unddhderstand how computer components connected to main memory. work, and how they fit together to create Various CPU components perform sequenced useful computer systems. operations according to signals provided by its control unit. CS 2401 Comp. Org. & Marie -- Chapter 4 3 CS 2401 Comp. Org. & Marie -- Chapter 4 4 Assembly Assembly 1 44..22 CPU Basic and Organization 44..33 The BUS Registers hold data -- addresses, program counters, The CPU shares data with other system data -- that can be readily accessed by the CPU. comppyyonents by way of a data bus. Size of a register varies according to the design. A bus is a set of wires that simultaneously convey a single bit along each line. The number of registers varies from architecture to Two types of buses are commonly found in architecture. computer systems: point-to-point, and multipoint They can be implemented using D flip-flops. buses. A 32-bit register requires 32 D flip-flops. The arithmetic-logic unit (ALU) carries out logical and arithmetic operations as directed by the control unit. The control unit determines which actions to carry out according to the values in a program counter register and a status register. point-to-point bus configuration multipoint configuration CS 2401 Comp. Org. & Marie -- Chapter 4 5 CS 2401 Comp. Org. & Marie -- Chapter 4 6 Assembly Assembly 44..33 The BUS 44..33 The BUS Buses consist of data lines, control lines, and address lines. A multipoint bus is shown below. Data lines convey bits from one device to another Because a multipoint bus is a shared Control lines determine the direction of data flow resource, access to it is controlled through when each device can access the bus protocols, which are built into the Acknowledge bus request, interrupts, and clock synchronization signals hardware. Address lines determine the location of the source or destination of the data. CS 2401 Comp. Org. & Marie -- Chapter 4 7 CS 2401 Comp. Org. & Marie -- Chapter 4 8 Assembly Assembly 2 44..33 The BUS 44..33 The BUS Bus transactions: In a master-slave configuration, where more than one Sending an address for a read or write device can be the bus master, concurrent bus master Transferring data from memory to a register for memory read requests must be arbitrated. Transferring data from a register to memory for memory write Four categories of bus arbitration are: I/O reads and writes from peripheral devices Daisy chain: Permissions are passed from the Each transfer occurs within a bus cycle highest-priority device to the lowest. Centralized parallel: Each device is directly connected to an arbitration circuit. Distributed using self-detection: Devices decide which gets the bus among themselves. Distributed using collision-detection: Any device can try to use the bus. If its data collides with the data of another device, it tries again. CS 2401 Comp. Org. & Marie -- Chapter 4 9 CS 2401 Comp. Org. & Marie -- Chapter 4 10 Assembly Assembly 44..44 Clocks 44..44 Clocks Every computer contains at least one clock that Clock speed should not be confused with CPU synchronizes the activities of its components. performance. A fixed number of clock cycles are required to carry The CPU time required to run a program is given by out each data movement or computational operation. the general performance equation: The clock frequency, measured in megahertz or gigahertz, determines the speed with which all operations are carried out. We see that we can improve CPU throughput when Clock cycle time is the reciprocal of clock frequency. we reduce the number of instructions in a program, An 800 MHz clock has a cycle time of 1.25 ns. reduce the number of cyypcles per instruction, or reduce the number of nanoseconds per clock cycle. Multiplication operation Intel 286 required 20 clock cycles Pentium required 1 clock cycle CS 2401 Comp. Org. & Marie -- Chapter 4 11 CS 2401 Comp. Org. & Marie -- Chapter 4 12 Assembly Assembly 3 44..66 Memory Organization and 44..55 Input/Output Subsystem Addressing Computer memory consists of a linear array of addressable A computer communicates with the outside storage cells that are similar to registers. world through its input/output (I/O) Memory can be btbyte-addressa ble, or word-addressa ble, where a subsystem. word typically consists of two or more bytes. Memory is constructed of RAM chips, often referred to in terms of I/O devices connect to the CPU through length width. various interfaces. If the memory word size of the machine is 16 bits, then a 4M 16 RAM chip gives us 4 megabytes of 16-bit memory locations. I/O can be memory-mapped-- where the I/O device behaves like main memory from the CPU’s point of view. O/OOr I/O can be instruction-bdhbased, where t he CPU has a specialized I/O instruction set. We study I/O in detail in chapter 7. CS 2401 Comp. Org. & Marie -- Chapter 4 13 CS 2401 Comp. Org. & Marie -- Chapter 4 14 Assembly Assembly 44..66 Memory Organization and 44..66 Memory Organization and Addressing Addressing How does the computer access a memory Physical memory usually consists of more location corresponds to a particular than one RAM chip. address? Access is more efficient when memory is We observe that 4M can be expressed as organized into banks of chips with the 22 220 = 222 words. addresses interleaved across the chips The memory locations for this memory are With low-order interleaving, the low order numbered 0 through 222 1. bits of the address specify which memory Thus, the memory bus of this system bank contains the address of interest. requires at least 22 address lines. Accordldingly, in hhhigh-ordlder interleaving, the The address lines “count” from 0 to 222 -1 in high order address bits specify the memory binary. Each line is either “on” or “off” indicating bank. the location of the desired memory element. CS 2401 Comp. Org. & Marie -- Chapter 4 15 CS 2401 Comp. Org. & Marie -- Chapter 4 16 Assembly Assembly 4 44..66 Memory Organization and Addressing Problem 4 Page 260 How many bits would you need to address a 2M 32 memory if a. The memory is byte-addressable? Low-Order Interleaving b. The memory is word-addressable? a. There are 2M × 4 byyqtes which equals 2 × 220 × 22 = 223 total bytes, so 23 bits are needed for an address b. There are 2M words which equals 2 × 220 = 221, so 21 bits are required for an address High-Order Interleaving CS 2401 Comp. Org. & Marie -- Chapter 4 17 CS 2401 Comp. Org. & Marie -- Chapter 4 18 Assembly Assembly Problem 5 Page 260 Problem 9 Page 260 Suppose that a 2M 16 main memory is built using How many bits would you need to 256K 8 RAM chips and memory is word-addressable. address a 4M 16 memory if a. How many RAM chips are necessary? a. The memory is byte-addressable? b. How many RAM chips are there per memory word? c. How many address bits are needed for each RAM b. The memory is word-addressable? chip? d. How many banks will this memory have? e. How many address bits are needed for all of 20 2 23 a. There are 2M × 4 byyqtes which equals 2 × 2 × 2 = 2 total memory? bytes, so 23 bits are needed for an address b. There are 2M words which equals 2 × 220 = 221, so 21 bits f. If high-order interleaving is used, where would are required for an address address 14 (which is E in hex) be located? g. Repeat Exercise 6f for low-order interleaving. CS 2401 Comp. Org. & Marie -- Chapter 4 19 CS 2401 Comp. Org. & Marie -- Chapter 4 20 Assembly Assembly 5 Problem 9 Page 260 Problem 11 Page 261 A digital computer has a memory unit with 24 bits per 000 218 23 218 23 00000 – 3FFFF word. The instruction set consists of 150 different operations. All instructions have an operation code 001 218 23 218 23 00000 – 3FFFF part (opcode) and address part (allowing for only one address). Each instruction is stored in one word of 010 218 23 218 23 00000 – 3FFFF memory. 011 218 23 218 23 00000 – 3FFFF a. How many bits are needed for the opcode? 100 218 23 218 23 00000 – 3FFFF b. How many bits are left for the address part of the instruction? 18 3 18 3 101 2 2 2 2 00000 – 3FFFF c. What is the maximum allowable size for memory? 110 218 23 218 23 00000 – 3FFFF d.
Recommended publications
  • 18-447 Computer Architecture Lecture 6: Multi-Cycle and Microprogrammed Microarchitectures
    18-447 Computer Architecture Lecture 6: Multi-Cycle and Microprogrammed Microarchitectures Prof. Onur Mutlu Carnegie Mellon University Spring 2015, 1/28/2015 Agenda for Today & Next Few Lectures n Single-cycle Microarchitectures n Multi-cycle and Microprogrammed Microarchitectures n Pipelining n Issues in Pipelining: Control & Data Dependence Handling, State Maintenance and Recovery, … n Out-of-Order Execution n Issues in OoO Execution: Load-Store Handling, … 2 Reminder on Assignments n Lab 2 due next Friday (Feb 6) q Start early! n HW 1 due today n HW 2 out n Remember that all is for your benefit q Homeworks, especially so q All assignments can take time, but the goal is for you to learn very well 3 Lab 1 Grades 25 20 15 10 5 Number of Students 0 30 40 50 60 70 80 90 100 n Mean: 88.0 n Median: 96.0 n Standard Deviation: 16.9 4 Extra Credit for Lab Assignment 2 n Complete your normal (single-cycle) implementation first, and get it checked off in lab. n Then, implement the MIPS core using a microcoded approach similar to what we will discuss in class. n We are not specifying any particular details of the microcode format or the microarchitecture; you can be creative. n For the extra credit, the microcoded implementation should execute the same programs that your ordinary implementation does, and you should demo it by the normal lab deadline. n You will get maximum 4% of course grade n Document what you have done and demonstrate well 5 Readings for Today n P&P, Revised Appendix C q Microarchitecture of the LC-3b q Appendix A (LC-3b ISA) will be useful in following this n P&H, Appendix D q Mapping Control to Hardware n Optional q Maurice Wilkes, “The Best Way to Design an Automatic Calculating Machine,” Manchester Univ.
    [Show full text]
  • A 4.7 Million-Transistor CISC Microprocessor
    Auriga2: A 4.7 Million-Transistor CISC Microprocessor J.P. Tual, M. Thill, C. Bernard, H.N. Nguyen F. Mottini, M. Moreau, P. Vallet Hardware Development Paris & Angers BULL S.A. 78340 Les Clayes-sous-Bois, FRANCE Tel: (+33)-1-30-80-7304 Fax: (+33)-1-30-80-7163 Mail: [email protected] Abstract- With the introduction of the high range version of parallel multi-processor architecture. It is used in a family of the DPS7000 mainframe family, Bull is providing a processor systems able to handle up to 24 such microprocessors, which integrates the DPS7000 CPU and first level of cache on capable to support 10 000 simultaneously connected users. one VLSI chip containing 4.7M transistors and using a 0.5 For the development of this complex circuit, a system level µm, 3Mlayers CMOS technology. This enhanced CPU has design methodology has been put in place, putting high been designed to provide a high integration, high performance emphasis on high-level verification issues. A lot of home- and low cost systems. Up to 24 such processors can be made CAD tools were developed, to meet the stringent integrated in a single system, enabling performance levels in performance/area constraints. In particular, an integrated the range of 850 TPC-A (Oracle) with about 12 000 Logic Synthesis and Formal Verification environment tool simultaneously active connections. The design methodology has been developed, to deal with complex circuitry issues involved massive use of formal verification and symbolic and to enable the designer to shorten the iteration loop layout techniques, enabling to reach first pass right silicon on between logical design and physical implementation of the several foundries.
    [Show full text]
  • Embedded Multi-Core Processing for Networking
    12 Embedded Multi-Core Processing for Networking Theofanis Orphanoudakis University of Peloponnese Tripoli, Greece [email protected] Stylianos Perissakis Intracom Telecom Athens, Greece [email protected] CONTENTS 12.1 Introduction ............................ 400 12.2 Overview of Proposed NPU Architectures ............ 403 12.2.1 Multi-Core Embedded Systems for Multi-Service Broadband Access and Multimedia Home Networks . 403 12.2.2 SoC Integration of Network Components and Examples of Commercial Access NPUs .............. 405 12.2.3 NPU Architectures for Core Network Nodes and High-Speed Networking and Switching ......... 407 12.3 Programmable Packet Processing Engines ............ 412 12.3.1 Parallelism ........................ 413 12.3.2 Multi-Threading Support ................ 418 12.3.3 Specialized Instruction Set Architectures ....... 421 12.4 Address Lookup and Packet Classification Engines ....... 422 12.4.1 Classification Techniques ................ 424 12.4.1.1 Trie-based Algorithms ............ 425 12.4.1.2 Hierarchical Intelligent Cuttings (HiCuts) . 425 12.4.2 Case Studies ....................... 426 12.5 Packet Buffering and Queue Management Engines ....... 431 399 400 Multi-Core Embedded Systems 12.5.1 Performance Issues ................... 433 12.5.1.1 External DRAMMemory Bottlenecks ... 433 12.5.1.2 Evaluation of Queue Management Functions: INTEL IXP1200 Case ................. 434 12.5.2 Design of Specialized Core for Implementation of Queue Management in Hardware ................ 435 12.5.2.1 Optimization Techniques .......... 439 12.5.2.2 Performance Evaluation of Hardware Queue Management Engine ............. 440 12.6 Scheduling Engines ......................... 442 12.6.1 Data Structures in Scheduling Architectures ..... 443 12.6.2 Task Scheduling ..................... 444 12.6.2.1 Load Balancing ................ 445 12.6.3 Traffic Scheduling ...................
    [Show full text]
  • Introduction to Microcoded Implementation of a CPU Architecture
    Introduction to Microcoded Implementation of a CPU Architecture N.S. Matloff, revised by D. Franklin January 30, 1999, revised March 2004 1 Microcoding Throughout the years, Microcoding has changed dramatically. The debate over simple computers vs complex computers once raged within the architecture community. In the end, the most popular microcoded computers survived for three reasons - marketshare, technological improvements, and the embracing of the principles used in simple computers. So the two eventually merged into one. To truly understand microcoding, one must understand why they were built, what they are, why they survived, and, finally, what they look like today. 1.1 Motivation Strictly speaking, the term architecture for a CPU refers only to \what the assembly language programmer" sees|the instruction set, addressing modes, and register set. For a given target architecture, i.e. the architecture we wish to build, various implementations are possible. We could have many different internal designs of the CPU chip, all of which produced the same effect, namely the same instruction set, addressing modes, etc. The different internal designs could then all be produced for the different models of that CPU, as in the familiar Intel case. The different models would have different speed capabilities, and probably different prices to the consumer. But the same machine languge program, say a .EXE file in the Intel/DOS case, would run on any CPU in the family. When desigining an instruction set architecture, there is a tradeoff between software and hardware. If you provide very few instructions, it takes more instructions to perform the same task, but the hardware can be very simple.
    [Show full text]
  • A Characterization of Processor Performance in the VAX-1 L/780
    A Characterization of Processor Performance in the VAX-1 l/780 Joel S. Emer Douglas W. Clark Digital Equipment Corp. Digital Equipment Corp. 77 Reed Road 295 Foster Street Hudson, MA 01749 Littleton, MA 01460 ABSTRACT effect of many architectural and implementation features. This paper reports the results of a study of VAX- llR80 processor performance using a novel hardware Prior related work includes studies of opcode monitoring technique. A micro-PC histogram frequency and other features of instruction- monitor was buiit for these measurements. It kee s a processing [lo. 11,15,161; some studies report timing count of the number of microcode cycles execute z( at Information as well [l, 4,121. each microcode location. Measurement ex eriments were performed on live timesharing wor i loads as After describing our methods and workloads in well as on synthetic workloads of several types. The Section 2, we will re ort the frequencies of various histogram counts allow the calculation of the processor events in 5 ections 3 and 4. Section 5 frequency of various architectural events, such as the resents the complete, detailed timing results, and frequency of different types of opcodes and operand !!Iection 6 concludes the paper. specifiers, as well as the frequency of some im lementation-s ecific events, such as translation bu h er misses. ?phe measurement technique also yields the amount of processing time spent, in various 2. DEFINITIONS AND METHODS activities, such as ordinary microcode computation, memory management, and processor stalls of 2.1 VAX-l l/780 Structure different kinds. This paper reports in detail the amount of time the “average’ VAX instruction The llf780 processor is composed of two major spends in these activities.
    [Show full text]
  • Digital and System Design
    Digital System Design — Use of Microcontroller RIVER PUBLISHERS SERIES IN SIGNAL, IMAGE & SPEECH PROCESSING Volume 2 Consulting Series Editors Prof. Shinsuke Hara Osaka City University Japan The Field of Interest are the theory and application of filtering, coding, trans- mitting, estimating, detecting, analyzing, recognizing, synthesizing, record- ing, and reproducing signals by digital or analog devices or techniques. The term “signal” includes audio, video, speech, image, communication, geophys- ical, sonar, radar, medical, musical, and other signals. • Signal Processing • Image Processing • Speech Processing For a list of other books in this series, see final page. Digital System Design — Use of Microcontroller Dawoud Shenouda Dawoud R. Peplow University of Kwa-Zulu Natal Aalborg Published, sold and distributed by: River Publishers PO box 1657 Algade 42 9000 Aalborg Denmark Tel.: +4536953197 EISBN: 978-87-93102-29-3 ISBN:978-87-92329-40-0 © 2010 River Publishers All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, mechanical, photocopying, recording or otherwise, without prior written permission of the publishers. Dedication To Nadia, Dalia, Dina and Peter D.S.D To Eleanor and Caitlin R.P. v This page intentionally left blank Preface Electronic circuit design is not a new activity; there have always been good designers who create good electronic circuits. For a long time, designers used discrete components to build first analogue and then digital systems. The main components for many years were: resistors, capacitors, inductors, transistors and so on. The primary concern of the designer was functionality however, once functionality has been met, the designer’s goal is then to enhance per- formance.
    [Show full text]
  • Exploiting Coarse-Grained Parallelism to Accelerate Protein Motif Finding with a Network Processor
    Exploiting Coarse-Grained Parallelism to Accelerate Protein Motif Finding with a Network Processor Ben Wun, Jeremy Buhler, and Patrick Crowley Department of Computer Science and Engineering Washington University in St.Louis {bw6,jbuhler,pcrowley}@cse.wustl.edu Abstract The first generation of general-purpose CMPs is expected to employ a small number of sophisticated, While general-purpose processors have only recently employed superscalar CPU cores; by contrast, NPs contain many, chip multiprocessor (CMP) architectures, network processors much simpler single-issue cores. Desktop and server (NPs) have used heterogeneous multi-core architectures since processors focus on maximizing instruction-level the late 1990s. NPs differ qualitatively from workstation and parallelism (ILP) and minimizing latency to memory, server CMPs in that they replicate many simple, highly efficient while NPs are designed to exploit coarse-grained processor cores on a chip, rather than a small number of parallelism and maximize throughput. NPs are designed sophisticated superscalar CPUs. In this paper, we compare the to maximize performance and efficiency on packet performance of one such NP, the Intel IXP 2850, to that of the processing workloads; however, we believe that many Intel Pentium 4 when executing a scientific computing workload with a high degree of thread-level parallelism. Our target other workloads, in particular tasks drawn from scientific program, HMMer, is a bioinformatics tool that identifies computing, are better suited to NP-style CMPs than to conserved motifs in protein sequences. HMMer represents CMPs based on superscalar cores. motifs as hidden Markov models (HMMs) and spends most of its In this work, we study a representative scientific time executing the well-known Viterbi algorithm to align workload drawn from bioinformatics: the HMMer proteins to these models.
    [Show full text]
  • The Implementation of Prolog Via VAX 8600 Microcode ABSTRACT
    The Implementation of Prolog via VAX 8600 Microcode Jeff Gee,Stephen W. Melvin, Yale N. Patt Computer Science Division University of California Berkeley, CA 94720 ABSTRACT VAX 8600 is a 32 bit computer designed with ECL macrocell arrays. Figure 1 shows a simplified block diagram of the 8600. We have implemented a high performance Prolog engine by The cycle time of the 8600 is 80 nanoseconds. directly executing in microcode the constructs of Warren’s Abstract Machine. The imulemention vehicle is the VAX 8600 computer. The VAX 8600 is a general purpose processor Vimal Address containing 8K words of writable control store. In our system, I each of the Warren Abstract Machine instructions is implemented as a VAX 8600 machine level instruction. Other Prolog built-ins are either implemented directly in microcode or executed by the general VAX instruction set. Initial results indicate that. our system is the fastest implementation of Prolog on a commercrally available general purpose processor. 1. Introduction Various models of execution have been investigated to attain the high performance execution of Prolog programs. Usually, Figure 1. Simplified Block Diagram of the VAX 8600 this involves compiling the Prolog program first into an intermediate form referred to as the Warren Abstract Machine (WAM) instruction set [l]. Execution of WAM instructions often follow one of two methods: they are executed directly by a The 8600 consists of six subprocessors: the EBOX. IBOX, special purpose processor, or they are software emulated via the FBOX. MBOX, Console. and UO adamer. Each of the seuarate machine language of a general purpose computer.
    [Show full text]
  • CHAPTER 4 MARIE: an Introduction to a Simple Computer
    CHAPTER 4 MARIE: An Introduction to a Simple Computer 4.1 Introduction 219 4.2 CPU Basics and Organization 219 4.2.1 The Registers 220 4.2.2 The ALU 221 4.2.3 The Control Unit 221 4.3 The Bus 221 4.4 Clocks 225 4.5 The Input/Output Subsystem 227 4.6 Memory Organization and Addressing 227 4.7 Interrupts 235 4.8 MARIE 236 4.8.1 The Architecture 236 4.8.2 Registers and Buses 236 4.8.3 Instruction Set Architecture 238 4.8.4 Register Transfer Notation 242 4.9 Instruction Processing 244 4.9.1 The Fetch–Decode–Execute Cycle 244 4.9.2 Interrupts and the Instruction Cycle 246 4.9.3 MARIE’s I/O 249 4.10 A Simple Program 249 4.11 A Discussion on Assemblers 252 4.11.1 What Do Assemblers Do? 252 4.11.2 Why Use Assembly Language? 254 4.12 Extending Our Instruction Set 255 4.13 A Discussion on Decoding: Hardwired Versus Microprogrammed Control 262 4.13.1 Machine Control 262 4.13.2 Hardwired Control 265 4.13.3 Microprogrammed Control 270 4.14 Real-World Examples of Computer Architectures 274 4.14.1 Intel Architectures 275 4.14.2 MIPS Architectures 282 Chapter Summary 284 CMPS375 Class Notes (Chap04) Page 1 / 27 Dr. Kuo-pao Yang 4.1 Introduction 219 • In this chapter, we first look at a very simple computer called MARIE: A Machine Architecture that is Really Intuitive and Easy. • We then provide brief overviews of Intel and MIPS machines, two popular architectures reflecting the CISC (Complex Instruction Set Computer) and RISC (Reduced Instruction Set Computer) design philosophies.
    [Show full text]
  • Vhdl Projects to Reinforce Computer Architecture Classroom Instruction
    AC 2007-372: VHDL PROJECTS TO REINFORCE COMPUTER ARCHITECTURE CLASSROOM INSTRUCTION Ronald Hayne, The Citadel Ronald J. Hayne, PhD, is an Assistant Professor in the Department of Electrical and Computer Engineering at The Citadel. His professional areas of interest are digital systems and hardware description languages. He is a retired Army officer with experience in academics and Defense laboratories. Page 12.1588.1 Page © American Society for Engineering Education, 2007 VHDL Projects to Reinforce Computer Architecture Classroom Instruction Abstract Exploration of various computer architecture constructs needs reinforcement beyond pencil and paper homework problems. Unfortunately, laboratory exercises based on microprocessor trainers are limited to a single architecture and a resolution of single assembly language instructions. A hardware description language, such as VHDL, can be used to provide simulation-based application of the classroom instruction regardless of the course text. Models of computer components such as registers, memory, and ALUs can be readily defined to match textbook examples and then combined to demonstrate multiple architectural concepts. Students with basic knowledge of VHDL from their prerequisite digital logic course are able to modify and use these models to simulate computer behavior at the register transfer level with data and control signal visibility at each clock cycle. A program of instruction has been developed that uses VHDL homework exercises and a capstone design project to provide hands-on application of course concepts using modern design tools. Exercises include addressing modes, microprogrammed control, and computer arithmetic. The design project models a multi-bus architecture and hardwired control unit from the text to implement a basic instruction set.
    [Show full text]
  • Brief History of Microprogramming
    Microprogramming History -- Mark Smotherman A Brief History of Microprogramming Mark Smotherman Last updated: October 2012 Summary: Microprogramming is a technique to implement the control logic necessary to execute instructions within a processor. It relies on fetching low-level microinstructions from a control store and deriving the appropriate control signals as well as microprogram sequencing information from each microinstruction. Definitions and Example Although loose usage has sometimes equated the term "microprogramming" with the idea of "programming a microcomputer", this is not the standard definition. Rather, microprogramming is a systematic technique for implementing the control logic of a computer's central processing unit. It is a form of stored-program logic that substitutes for hardwired control circuitry. The central processing unit in a computer system is composed of a data path and a control unit. The data path includes registers, function units such as shifters and ALUs (arithmetic and logic units), internal processor busses and paths, and interface units for main memory and I/O busses. The control unit governs the series of steps taken by the data path during the execution of a user- visible instruction, or macroinstruction (e.g., load, add, store). Each action of the datapath is called a register transfer and involves the transfer of information within the data path, possibly including the transformation of data, address, or instruction bits by the function units. A register transfer is accomplished by gating out (sending) register contents onto internal processor busses, selecting the operation of ALUs, shifters, etc., through which that information might pass, and gating in (receiving) new values for one or more registers.
    [Show full text]
  • The Design of a Reduced Instruction Set Computer Using a Silicon Compiler
    AN ABSTRACT OF THE THESIS OF Licheng Zhang for the degree of Master of Science in Electrical and Computer Engineering presented on June 7, 1989. Title: The Design of A Reduced Instruction Set Computer UsingA Silicon Compiler. Redacted for Privacy Abstract appro ed- John Muff The objective of this thesisisto describe the design and implementation of a VSLI reduced instruction set computer(RISC). The RISC machine constitutes a new style of computerarchitecture. Itdifferssignificantly from the complex instructionset computer architectures(CISC)ofthepast.RISCarchitecturesare characterized by their high performance, simple instructionsets, minimal hardware requirements, and their abilityto support block structured programming languages adequately. In this thesis a 16-bit single chip RISC was designed using the Genesil Silicon Compiler. It has 14 instructions, anoverlapped register window structure,and on chip memory.Itcan execute most instructions in a single clock cycle,including procedure calls and returns. The peak performance of this chip is approximately6 MIPS. The chip was implemented in 2 micron CMOS technology. The chip sizeis 516.54 X 514.27 mils. This chip has not been fabricated. THE DESIGN OF A REDUCED INSTRUCTION SET COMPUTER USING A SILICON COMPLIER By Licheng Zhang A THESIS submittedto Oregon State University in partial fulfillment of the requirement for the degree of Master of Science Completed June 7, 1989 Commencement June,1990. APPROVED: Redacted for Privacy ssor of Electrical and Comp ter gineering in charge of major Redacted for Privacy Head of Department of Electrical and Computer Engineering Redacted for Privacy Dean of Gradua eSchool Date thesis is presented: June 7, 1989. TABLE OF CONTENTS 1.
    [Show full text]