Computer Architecture and Organization

Similar documents
Principles of Computer Architecture. Appendix A: Digital Logic

Chapter Contents. Appendix A: Digital Logic. Some Definitions

1. Convert the decimal number to binary, octal, and hexadecimal.

MODU LE DAY. Class-A, B, AB and C amplifiers - basic concepts, power, efficiency Basic concepts of Feedback and Oscillation. Day 1

Using minterms, m-notation / decimal notation Sum = Cout = Using maxterms, M-notation Sum = Cout =

MODULE 3. Combinational & Sequential logic

Microprocessor Design

Chapter 3. Boolean Algebra and Digital Logic

R13. II B. Tech I Semester Regular Examinations, Jan DIGITAL LOGIC DESIGN (Com. to CSE, IT) PART-A

R13 SET - 1 '' ''' '' ' '''' Code No: RT21053

Department of Computer Science and Engineering Question Bank- Even Semester:

Question Bank. Unit 1. Digital Principles, Digital Logic

LESSON PLAN. Sub Code: EE2255 Sub Name: DIGITAL LOGIC CIRCUITS Unit: I Branch: EEE Semester: IV

Solution to Digital Logic )What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it,

DIGITAL SYSTEM DESIGN UNIT I (2 MARKS)

MODEL QUESTIONS WITH ANSWERS THIRD SEMESTER B.TECH DEGREE EXAMINATION DECEMBER CS 203: Switching Theory and Logic Design. Time: 3 Hrs Marks: 100

1.b. Realize a 5-input NOR function using 2-input NOR gates only.

The word digital implies information in computers is represented by variables that take a limited number of discrete values.

Digital Principles and Design

EXPERIMENT: 1. Graphic Symbol: OR: The output of OR gate is true when one of the inputs A and B or both the inputs are true.

Find the equivalent decimal value for the given value Other number system to decimal ( Sample)

CHAPTER 4: Logic Circuits

EE292: Fundamentals of ECE

Page 1. Some Definitions. Chapter 3: Sequential Logic. Sequential Logic. The Combinational Logic Unit. A NOR Gate with a Lumped Delay

A Review of logic design

Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 151) Pass Marks: 24

Tribhuvan University Institute of Science and Technology Bachelor of Science in Computer Science and Information Technology

St. MARTIN S ENGINEERING COLLEGE

Chapter 4. Logic Design

MC9211 Computer Organization

WINTER 15 EXAMINATION Model Answer

ME 515 Mechatronics. Introduction to Digital Electronics


UNIT 1: DIGITAL LOGICAL CIRCUITS What is Digital Computer? OR Explain the block diagram of digital computers.

UNIT III. Combinational Circuit- Block Diagram. Sequential Circuit- Block Diagram

CS6201 UNIT I PART-A. Develop or build the following Boolean function with NAND gate F(x,y,z)=(1,2,3,5,7).

Introduction to Digital Logic Missouri S&T University CPE 2210 Exam 3 Logistics

Laboratory Objectives and outcomes for Digital Design Lab

DIGITAL CIRCUIT LOGIC UNIT 9: MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES

Vignana Bharathi Institute of Technology UNIT 4 DLD

CS302 Digital Logic Design Solved Objective Midterm Papers For Preparation of Midterm Exam

EECS 270 Final Exam Spring 2012

Chapter 5: Synchronous Sequential Logic

TIME SCHEDULE. MODULE TOPICS PERIODS 1 Number system & Boolean algebra 17 Test I 1 2 Logic families &Combinational logic

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad ELECTRICAL AND ELECTRONICS ENGINEERING

Subject : EE6301 DIGITAL LOGIC CIRCUITS

CHAPTER 4: Logic Circuits

TYPICAL QUESTIONS & ANSWERS

CPS311 Lecture: Sequential Circuits

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS

problem maximum score 1 28pts 2 10pts 3 10pts 4 15pts 5 14pts 6 12pts 7 11pts total 100pts

CS 61C: Great Ideas in Computer Architecture

Combinational vs Sequential

Introduction to Digital Logic Missouri S&T University CPE 2210 Exam 2 Logistics

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops

Final Exam review: chapter 4 and 5. Supplement 3 and 4

UNIVERSITY OF MASSACHUSSETS LOWELL Department of Electrical & Computer Engineering Course Syllabus for Logic Design Fall 2013

Course Plan. Course Articulation Matrix: Mapping of Course Outcomes (COs) with Program Outcomes (POs) PSO-1 PSO-2

Analogue Versus Digital [5 M]


VU Mobile Powered by S NO Group

Section 6.8 Synthesis of Sequential Logic Page 1 of 8

Sequential Logic. Analysis and Synthesis. Joseph Cavahagh Santa Clara University. r & Francis. TaylonSi Francis Group. , Boca.Raton London New York \

WINTER 14 EXAMINATION

The basic logic gates are the inverter (or NOT gate), the AND gate, the OR gate and the exclusive-or gate (XOR). If you put an inverter in front of

DHANALAKSHMI SRINIVASAN INSTITUTE OF RESEARCH AND TECHNOLOGY CS6201-DIGITAL PRINCIPLE AND SYSTEM DESIGN. I Year/ II Sem PART-A TWO MARKS UNIT-I


Department of Electrical and Computer Engineering Mid-Term Examination Winter 2012

1 Hour Sample Test Papers: Sample Test Paper 1. Roll No.

D Latch (Transparent Latch)

AIM: To study and verify the truth table of logic gates

DIGITAL CIRCUIT COMBINATORIAL LOGIC

Where Are We Now? e.g., ADD $S0 $S1 $S2?? Computed by digital circuit. CSCI 402: Computer Architectures. Some basics of Logic Design (Appendix B)

Sequential Logic Circuits

A.R. ENGINEERING COLLEGE, VILLUPURAM ECE DEPARTMENT

CS8803: Advanced Digital Design for Embedded Hardware

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) WINTER 2018 EXAMINATION MODEL ANSWER

Chapter 5 Synchronous Sequential Logic

UNIT IV. Sequential circuit

THE KENYA POLYTECHNIC

REPEAT EXAMINATIONS 2002

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

ELCT201: DIGITAL LOGIC DESIGN

Switching Circuits & Logic Design, Fall Final Examination (1/13/2012, 3:30pm~5:20pm)

211: Computer Architecture Summer 2016

North Shore Community College

BHARATHIDASAN ENGINEERING COLLEGE, NATTRAMPALLI DEPARTMENT OF ECE

Logic Design II (17.342) Spring Lecture Outline

Page No.1. CS302 Digital Logic & Design_ Muhammad Ishfaq

Digital Design, Kyung Hee Univ. Chapter 5. Synchronous Sequential Logic

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

Physics 323. Experiment # 10 - Digital Circuits

RS flip-flop using NOR gate

S.K.P. Engineering College, Tiruvannamalai UNIT I

For Teacher's Use Only Q Total No. Marks. Q No Q No Q No

1. a) For the circuit shown in figure 1.1, draw a truth table showing the output Q for all combinations of inputs A, B and C. [4] Figure 1.

In this chapter, you will...

Logic Design Viva Question Bank Compiled By Channveer Patil

CS 151 Final. Instructions: Student ID. (Last Name) (First Name) Signature

Flip-Flops and Sequential Circuit Design

Transcription:

A-1 Appendix A - Digital Logic Computer Architecture and Organization Miles Murdocca and Vincent Heuring Appendix A Digital Logic

A-2 Appendix A - Digital Logic Chapter Contents A.1 Introduction A.2 Combinational Logic A.3 Truth Tables A.4 Logic Gates A.5 Properties of Boolean Algebra A.6 The Sum-of-Products Form and Logic Diagrams A.7 The Product-of-Sums Form A.8 Positive vs. Negative Logic A.9 The Data Sheet A.10 Digital Components A.11 Sequential Logic A.12 Design of Finite State Machines A.13 Mealy vs. Moore Machines A.14 Registers A.15 Counters A.16 Reduction of Combinational Logic and Sequential Logic A.17 Reduction of Two-Level Expressions A.18 State Reduction

A-3 Appendix A - Digital Logic Some Definitions Combinational logic: a digital logic circuit in which logical decisions are made based only on combinations of the inputs. e.g. an adder. Sequential logic: a circuit in which decisions are made based on combinations of the current inputs as well as the past history of inputs. e.g. a memory unit. Finite state machine: a circuit which has an internal state, and whose outputs are functions of both current inputs and its internal state. e.g. a vending machine controller.

A-4 Appendix A - Digital Logic The Combinational Logic Unit Translates a set of inputs into a set of outputs according to one or more mapping functions. Inputs and outputs for a CLU normally have two distinct (binary) values: high and low, 1 and 0, 0 and 1, or 5 V. and 0 V. for example. The outputs of a CLU are strictly functions of the inputs, and the outputs are updated immediately after the inputs change. A set of inputs i 0 i n are presented to the CLU, which produces a set of outputs according to mapping functions f 0 f m.

A-5 Appendix A - Digital Logic Truth Tables Developed in 1854 by George Boole further developed by Claude Shannon (Bell Labs) Outputs are computed for all possible input combinations (how many input combinations are there? Consider a room with two light switches. How must they work? Don't show this to your electrician, or wire your house this way. This circuit definitely violates the electric code. The practical circuit never leaves the lines to the light "hot" when the light is turned off. Can you figure how?

A-6 Appendix A - Digital Logic Alternate Assignments of Outputs to Switch Settings Logically identical truth table to the original (see previous slide), if the switches are configured up-side down.

A-7 Appendix A - Digital Logic Truth Tables Showing All Possible Functions of Two Binary Variables The more frequently used functions have names: AND, XOR, OR, NOR, XOR, and NAND. (Always use upper case spelling.)

A-8 Appendix A - Digital Logic Logic Gates and Their Symbols Logic symbols for AND, OR, buffer, and NOT Boolean functions Note the use of the inversion bubble. (Be careful about the nose of the gate when drawing AND vs. OR.)

A-9 Appendix A - Digital Logic Logic symbols for NAND, NOR, XOR, and XNOR Boolean functions

A-10 Appendix A - Digital Logic Variations of Basic Logic Gate Symbols

A-11 Appendix A - Digital Logic The Inverter at the Transistor Level Power Terminals Transistor Symbol A Transistor Used as an Inverter Inverter Transfer Function

A-12 Appendix A - Digital Logic Allowable Voltages in Transistor- Transistor-Logic (TTL) Assignments of logical 0 and 1 to voltage ranges (left) at the output of a logic gates, (right) at the input to a logic gate.

A-13 Appendix A - Digital Logic Transistor-Level Circuits For 2-Input NAND and NOR Gates

A-14 Appendix A - Digital Logic CMOS Configurations Schematic symbols for (left) n-channel transistor and (right) p-channel transistor. CMOS configurations for (a) NOT, (b) NOR, and (c) NAND gates.

A-15 Appendix A - Digital Logic Tri-State Buffers Outputs can be 0, 1, or electrically disconnected.

A-16 Appendix A - Digital Logic The Basic Properties of Boolean Algebra Principle of duality: The dual of a Boolean function is made by replacing AND with OR and OR with AND, constant 1s by 0s, and 0s by 1s A, B, etc. are literals; 0 and 1 are constants.

A-17 Appendix A - Digital Logic DeMorgan s Theorem Discuss: Applying DeMorgan s theorem by pushing the bubbles, and bubble tricks.

A-18 Appendix A - Digital Logic NAND Gates Can Implement AND and OR Gates Inverted inputs to a NAND gate are implemented with NAND gates.

A-19 Appendix A - Digital Logic The Sum-of-Products (SOP) Form Truth Table for The Majority Function Transform the function into a two-level AND-OR equation Implement the function with an arrangement of logic gates from the set {AND, OR, NOT} M is true when A=0, B=1, and C=1, or when A=1, B=0, and C=1, and so on for the remaining cases. Represent logic equations by using the sum-of-products (SOP) form

A-20 Appendix A - Digital Logic The SOP Form of the Majority Gate The SOP form for the 3-input majority gate is: M = ABC + ABC + ABC + ABC = m3 + m5 +m6 +m7 = Σ (3, 5, 6, 7) Each of the 2 n terms are called minterms, running from 0 to 2 n - 1 Note the relationship between minterm number and boolean value. Discuss: common-sense interpretation of equation.

A-21 Appendix A - Digital Logic A 2-Level AND-OR Circuit Implements the Majority Function The encircled T intersections are electrically common (see next slide).

A-22 Appendix A - Digital Logic Notation Used at Circuit Intersections

A-23 Appendix A - Digital Logic A 2-Level OR-AND Circuit Implements the Majority Function

A-24 Appendix A - Digital Logic Positive vs. Negative Logic Positive logic: truth, or assertion is represented by logic 1, higher voltage; falsity, de- or unassertion, logic 0, is represented by lower voltage. Negative logic: truth, or assertion is represented by logic 0, lower voltage; falsity, de- or unassertion, logic 1, is represented by lower voltage

A-25 Appendix A - Digital Logic Positive and Negative Logic (Cont d.)

A-26 Appendix A - Digital Logic Bubble Matching Active low signals are signified by a prime or overbar or /. Active high: enable Active low: enable, enable, enable/ Ex: microwave oven control: Active high: Heat = DoorClosed Start Active low:? (hint: begin with AND gate as before.)

A-27 Appendix A - Digital Logic Bubble Matching (Cont d.)

A-28 Appendix A - Digital Logic The Data Sheet

A-29 Appendix A - Digital Logic Digital Components High level digital circuit designs are normally made using collections of logic gates referred to as components, rather than using individual logic gates. The majority function can be viewed as a component. Levels of integration (numbers of gates) in an integrated circuit (IC): Small scale integration (SSI): 10-100 gates. Medium scale integration (MSI): 100 to 1000 gates. Large scale integration (LSI): 1000-10,000 logic gates. Very large scale integration (VLSI): 10,000-upward. These levels are approximate, but the distinctions are useful in comparing the relative complexity of circuits. Let us consider several useful MSI components:

A-30 Appendix A - Digital Logic The Multiplexer

A-31 Appendix A - Digital Logic Gate-Level Layout of Multiplexer

A-32 Appendix A - Digital Logic Implementing the Majority Function with an 8-1 Mux Principle: Use the mux select to pick out the selected minterms of the function.

A-33 Appendix A - Digital Logic Efficiency: Using a 4-1 Mux to Implement the Majority Function Principle: Use the A and B inputs to select a pair of minterms. The value applied to the MUX input is selected from {0, 1, C, C} to pick the desired behavior of the minterm pair.

A-34 Appendix A - Digital Logic The Demultiplexer (DEMUX)

A-35 Appendix A - Digital Logic The Demultiplexer is a Decoder with an Enable Input

A-36 Appendix A - Digital Logic A 2-to-4 Decoder

A-37 Appendix A - Digital Logic Using a 3-to-8 Decoder to Implement the Majority Function

A-38 Appendix A - Digital Logic The Priority Encoder An encoder translates a set of inputs into a binary encoding, Can be thought of as the converse of a decoder. A priority encoder imposes an order on the inputs. A i has a higher priority than A i+1

A-39 Appendix A - Digital Logic Programmable Logic Arrays (PLAs) A PLA is a customizable AND matrix followed by a customizable OR matrix:

A-40 Appendix A - Digital Logic Using a PLA to Implement the Majority Function

A-41 Appendix A - Digital Logic Using PLAs to Implement an Adder

A-42 Appendix A - Digital Logic A Multi-Bit Ripple- Carry Adder PLA Realization of a Full Adder

A-43 Appendix A - Digital Logic Sequential Logic The combinational logic circuits we have been studying so far have no memory. The outputs always follow the inputs. There is a need for circuits with memory, which behave differently depending upon their previous state. An example is a vending machine, which must remember how many coins and what kinds of coins have been inserted. The machine should behave according to not only the current coin inserted, but also upon how many coins and what kinds of coins have been inserted previously. These are referred to as finite state machines, because they can have at most a finite number of states.

A-44 Appendix A - Digital Logic Classical Model of a Finite State Machine An FSM is composed of a combinational logic unit and delay elements (called flipflops) in a feedback path, which maintains state information.

A-45 Appendix A - Digital Logic NOR Gate with Lumped Delay The delay between input and output (which is lumped at the output for the purpose of analysis) is at the basis of the functioning of an important memory element, the flip-flop.

A-46 Appendix A - Digital Logic S-R Flip-Flop The S-R flip-flop is an active high (positive logic) device.

A-47 Appendix A - Digital Logic NAND Implementation of S-R Flip-Flop A NOR implementation of an S-R flip-flop is converted into a NAND implementation.

A-48 Appendix A - Digital Logic A Hazard It is desirable to be able to turn off the flip-flop so it does not respond to such hazards.

A-49 Appendix A - Digital Logic A Clock Waveform: The Clock Paces the System In a positive logic system, the action happens when the clock is high, or positive. The low part of the clock cycle allows propagation between subcircuits, so that the signals settle at their correct values when the clock next goes high.

A-50 Appendix A - Digital Logic Scientific Prefixes For computer memory, 1K = 2 10 = 1024. For everything else, like clock speeds, 1K = 1000, and likewise for 1M, 1G, etc.

A-51 Appendix A - Digital Logic Clocked S-R Flip-Flop The clock signal, CLK, enables the S and R inputs to the flip-flop.

A-52 Appendix A - Digital Logic Clocked D Flip-Flop The clocked D flip-flop, sometimes called a latch, has a potential problem: If D changes while the clock is high, the output will also change. The Master-Slave flip-flop (next slide) addresses this problem.

A-53 Appendix A - Digital Logic Master-Slave Flip-Flop The rising edge of the clock loads new data into the master, while the slave continues to hold previous data. The falling edge of the clock loads the new master data into the slave.

A-54 Appendix A - Digital Logic Clocked J-K Flip-Flop The J-K flip-flop eliminates the disallowed S=R=1 problem of the S-R flip-flop, because Q enables J while Q disables K, and vice-versa. However, there is still a problem. If J goes momentarily to 1 and then back to 0 while the flip-flop is active and in the reset state, the flip-flop will catch the 1. This is referred to as 1 s catching. The J-K Master-Slave flip-flop (next slide) addresses this problem.

A-55 Appendix A - Digital Logic Master-Slave J-K Flip-Flop

A-56 Appendix A - Digital Logic Clocked T Flip-Flop The presence of a constant 1 at J and K means that the flip-flop will change its state from 0 to 1 or 1 to 0 each time it is clocked by the T (Toggle) input.

A-57 Appendix A - Digital Logic Negative Edge-Triggered D Flip-Flop When the clock is high, the two input latches output 0, so the Main latch remains in its previous state, regardless of changes in D. When the clock goes high-to-low, values in the two input latches will affect the state of the Main latch. While the clock is low, D cannot affect the Main latch.

A-58 Appendix A - Digital Logic Example: Modulo-4 Counter Counter has a clock input (CLK) and a RESET input. Counter has two output lines, which take on values of 00, 01, 10, and 11 on subsequent clock cycles.

A-59 Appendix A - Digital Logic State Transition Diagram for Mod-4 Counter

A-60 Appendix A - Digital Logic State Table for Mod-4 Counter

A-61 Appendix A - Digital Logic State Assignment for Mod-4 Counter

A-62 Appendix A - Digital Logic Truth Table for Mod-4 Counter

A-63 Appendix A - Digital Logic Logic Design for Mod-4 Counter

A-64 Appendix A - Digital Logic Example: A Sequence Detector Example: Design a machine that outputs a 1 when exactly two of the last three inputs are 1. e.g. input sequence of 011011100 produces an output sequence of 001111010. Assume input is a 1-bit serial line. Use D flip-flops and 8-to-1 multiplexers. Start by constructing a state transition diagram (next slide).

A-65 Appendix A - Digital Logic Sequence Detector State Transition Diagram Design a machine that outputs a 1 when exactly two of the last three inputs are 1.

A-66 Appendix A - Digital Logic Sequence Detector State Table

A-67 Appendix A - Digital Logic Sequence Detector State Assignment

A-68 Appendix A - Digital Logic Sequence Detector Logic Diagram

A-69 Appendix A - Digital Logic Example: A Vending Machine Controller Example: Design a finite state machine for a vending machine controller that accepts nickels (5 cents each), dimes (10 cents each), and quarters (25 cents each). When the value of the money inserted equals or exceeds twenty cents, the machine vends the item and returns change if any, and waits for next transaction. Implement with a PLA and D flip-flops.

A-70 Appendix A - Digital Logic Vending Machine State Transition Diagram

A-71 Appendix A - Digital Logic Vending Machine State Table and State Assignment

A-72 Appendix A - Digital Logic PLA Vending Machine Controller

A-73 Appendix A - Digital Logic Moore Counter Mealy Model: Outputs are functions of Inputs and Present State. Previous FSM designs were Mealy Machines, in which next state was computed from present state and inputs. Moore Model: Outputs are functions of Present State only.

A-74 Appendix A - Digital Logic Four-Bit Register Makes use of tri-state buffers so that multiple registers can gang their outputs to common output lines.

A-75 Appendix A - Digital Logic Left-Right Shift Register with Parallel Read and Write

A-76 Appendix A - Digital Logic Modulo-8 Counter Note the use of the T flip-flops, implemented as J-K s. They are used to toggle the input of the next flip-flop when its output is 1.

A-77 Appendix A - Digital Logic Reduction (Simplification) of Boolean Expressions It is often possible to simplify the canonical SOP (or POS) forms. A smaller Boolean equation generally translates to a lower gate count in the target circuit. We cover three methods: algebraic reduction, Karnaugh map reduction, and tabular (Quine-McCluskey) reduction.

A-78 Appendix A - Digital Logic Reduced Majority Function Circuit Compared with the AND-OR circuit for the unreduced majority function, the inverter for C has been eliminated, one AND gate has been eliminated, and one AND gate has only two inputs instead of three inputs. Can the function by reduced further? How do we go about it?

A-79 Appendix A - Digital Logic The Algebraic Method Consider the majority function, F. We apply the algebraic method to reduce F to its minimal two-level form:

A-80 Appendix A - Digital Logic The Algebraic Method This majority circuit is functionally equivalent to the previous majority circuit, but this one is in its minimal two-level form:

A-81 Appendix A - Digital Logic Karnaugh Maps: Venn Diagram Representation of Majority Function Each distinct region in the Universe represents a minterm. This diagram can be transformed into a Karnaugh Map.

A-82 Appendix A - Digital Logic K-Map for Majority Function Place a 1 in each cell that corresponds to that minterm. Cells on the outer edge of the map wrap around

A-83 Appendix A - Digital Logic Adjacency Groupings for Majority Function F = BC + AC + AB

A-84 Appendix A - Digital Logic Minimized AND-OR Majority Circuit F = BC + AC + AB The K-map approach yields the same minimal two-level form as the algebraic approach.

A-85 Appendix A - Digital Logic K-Map Groupings Minimal grouping is on the left, non-minimal (but logically equivalent) grouping is on the right. To obtain minimal grouping, create smallest groups first.

A-86 Appendix A - Digital Logic K-Map Corners are Logically Adjacent

A-87 Appendix A - Digital Logic K-Maps and Don t Cares There can be more than one minimal grouping, as a result of don t cares.

A-88 Appendix A - Digital Logic 3-Level Majority Circuit K-Kap Reduction results in a reduced two-level circuit (that is, AND followed by OR. Inverters are not included in the two-level count). Algebraic reduction can result in multi-level circuits with even fewer logic gates and fewer inputs to the logic gates.

A-89 Appendix A - Digital Logic Truth Table with Don t Cares A truth table representation of a single function with don t cares.

A-90 Appendix A - Digital Logic Tabular (Quine-McCluskey) Reduction Tabular reduction begins by grouping minterms for which F is nonzero according to the number of 1 s in each minterm. Don t cares are considered to be nonzero. The next step forms a consensus (the logical form of a cross product) between each pair of adjacent groups for all terms that differ in only one variable.

A-91 Appendix A - Digital Logic Table of Choice The prime implicants form a set that completely covers the function, although not necessarily minimally. A table of choice is used to obtain a minimal cover set.

A-92 Appendix A - Digital Logic Reduced Table of Choice In a reduced table of choice, the essential prime implicants and the minterms they cover are removed, producing the eligible set. F = ABC + ABC + BD + AD

A-93 Appendix A - Digital Logic Multiple Output Truth Table The power of tabular reduction comes into play for multiple functions, in which minterms can be shared among the functions.

A-94 Appendix A - Digital Logic Multiple Output Table of Choice F 0 (A,B,C) = ABC + BC F 1 (A,B,C) = AC + AC + BC F 2 (A,B,C) = B

A-95 Appendix A - Digital Logic Speed and Performance The speed of a digital system is governed by: the propagation delay through the logic gates, and the propagation delay across interconnections. We will look at characterizing the delay for a logic gate, and a method of reducing circuit depth using function decomposition.

A-96 Appendix A - Digital Logic Propagation Delay for a NOT Gate (Adapted from: Hamacher et. al. 2001)

A-97 Appendix A - Digital Logic MUX Decomposition

A-98 Appendix A - Digital Logic OR-Gate Decomposition Fanin affects circuit depth.

A-99 Appendix A - Digital Logic State Reduction Description of state machine M 0 to be reduced.

A-100 Appendix A - Digital Logic Distinguishing Tree A next state tree for M 0.

A-101 Appendix A - Digital Logic Reduced State Table A reduced state table for machine M 1.

A-102 Appendix A - Digital Logic Sequence Detector State Transition Diagram

A-103 Appendix A - Digital Logic Sequence Detector State Table

A-104 Appendix A - Digital Logic Sequence Detector Reduced State Table

A-105 Appendix A - Digital Logic Sequence Detector State Assignment

A-106 Appendix A - Digital Logic Sequence Detector K-Maps K-map reduction of next state and output functions for sequence detector.

A-107 Appendix A - Digital Logic Sequence Detector Circuit