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

Similar documents
DIGITAL SYSTEM DESIGN UNIT I (2 MARKS)

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

Microprocessor Design

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

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

Digital Principles and Design

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

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


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

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

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

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

BHARATHIDASAN ENGINEERING COLLEGE, NATTRAMPALLI DEPARTMENT OF ECE

St. MARTIN S ENGINEERING COLLEGE

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

PURBANCHAL UNIVERSITY

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

Chapter 6. Flip-Flops and Simple Flip-Flop Applications

Objectives. Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath

CHAPTER 4: Logic Circuits

Semester III. Subject Name: Digital Electronics. Subject Code: 09CT0301. Diploma Branches in which this subject is offered: Computer Engineering

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

Subject : EE6301 DIGITAL LOGIC CIRCUITS

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

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


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

Digital Fundamentals: A Systems Approach

Computer Architecture and Organization

Combinational / Sequential Logic

Logic Design. Flip Flops, Registers and Counters

CSE Latches and Flip-flops Dr. Izadi. NOR gate property: A B Z Cross coupled NOR gates: S M S R Q M

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

EE292: Fundamentals of ECE

AM AM AM AM PM PM PM

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

Contents Circuits... 1

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari

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

CHAPTER 4: Logic Circuits

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

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

RS flip-flop using NOR gate

Flip-Flops and Sequential Circuit Design

Question Bank. Unit 1. Digital Principles, Digital Logic

A.R. ENGINEERING COLLEGE, VILLUPURAM ECE DEPARTMENT

4.S-[F] SU-02 June All Syllabus Science Faculty B.Sc. II Yr. Instrumentation Practice [Sem.III & IV] S.Lot

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

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall

Prepared By Verified By Approved By Mr M.Kumar Mrs R.Punithavathi Dr. V.Parthasarathy Asst. Professor / IT HOD / IT Principal

Sequential Logic Circuits

RS flip-flop using NOR gate

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.

Chapter 5 Synchronous Sequential Logic

Software Engineering 2DA4. Slides 9: Asynchronous Sequential Circuits

Synchronous Sequential Logic

MODULE 3. Combinational & Sequential logic

Chapter 5: Synchronous Sequential Logic

Principles of Computer Architecture. Appendix A: Digital Logic

The reduction in the number of flip-flops in a sequential circuit is referred to as the state-reduction problem.

SRM UNIVERSITY FACULTY OF ENGINEERING AND TECHNOLOGY SCHOOL OF ELECTRONICS AND ELECTRICAL ENGINEERING DEPARTMENT OF ECE COURSE PLAN

Sri Vidya College of Engineering And Technology. Virudhunagar Department of Electrical and Electronics Engineering

COMP2611: Computer Organization. Introduction to Digital Logic

CS8803: Advanced Digital Design for Embedded Hardware

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

Computer Organization & Architecture Lecture #5

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

Chapter Contents. Appendix A: Digital Logic. Some Definitions

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

QUICK GUIDE COMPUTER LOGICAL ORGANIZATION - OVERVIEW

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

Synchronous Sequential Logic. Chapter 5

Vignana Bharathi Institute of Technology UNIT 4 DLD

Digital Logic Design I

Synchronous Sequential Logic

Synchronous sequential circuits

Department of ELECTRICAL & ELECTRONICS ENGINEERING Year / Semester / Section : II/IV Academic Year :

MUHAMMAD NAEEM LATIF MCS 3 RD SEMESTER KHANEWAL

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

Experiment 8 Introduction to Latches and Flip-Flops and registers

Part II. Chapter2: Synchronous Sequential Logic

Registers and Counters

WINTER 15 EXAMINATION Model Answer

DIGITAL FUNDAMENTALS

ELCT201: DIGITAL LOGIC DESIGN

Digital Electronic Circuits and Systems

Introduction to Microprocessor & Digital Logic

Electrical and Telecommunications Engineering Technology_TCET3122/TC520. NEW YORK CITY COLLEGE OF TECHNOLOGY The City University of New York

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS

Chapter 3. Boolean Algebra and Digital Logic

Counters

Counter dan Register

COE328 Course Outline. Fall 2007

`COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University

Switching Theory And Logic Design UNIT-IV SEQUENTIAL LOGIC CIRCUITS

ELE2120 Digital Circuits and Systems. Tutorial Note 8

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

Combinational vs Sequential

'if it was so, it might be; and if it were so, it would be: but as it isn't, it ain't. That's logic'

Transcription:

Sequential Logic Analysis and Synthesis Joseph Cavahagh Santa Clara University r & Francis TaylonSi Francis Group, Boca.Raton London New York \ CRC is an imprint of the Taylor & Francis Group, an informa business

CONTENTS Preface xi Chapter 1 Review of Combinational Logic 1 1.1 Number Systems 2 1.1.1 Binary Number System 3 1.1.2 Octal Number System 4 1.1.3 Decimal Number System 4 1.1.4 Hexadecimal Number System 5 1.2 Number Representations 8 1.2.1 Sign Magnitude 8 1.2.2 Diminished-Radix Complement 9 1.2.3 Radix Complement 10 1.3 Boolean Algebra 12 1.4 Minimization Techniques 18 1.4.1 Algebraic Minimization 19 1.4.2 Karnaugh Maps 20 1.4.3 Quine-McCluskey Algorithm 28 1.5 Logic Symbols 35 1.6 Analysis of Combinational Logic 37 1.7 Synthesis of Combinational Logic 42 1.8 Multiplexers 45 1.9 Decoders 47 1.10 Encoders 53. 1.11 Comparators 54 1.12 Storage Elements 56 1.12.1 SR Latch 57 1.12.2 D Flip-Flop 57 1.12.3 JK Flip-Flop 59 1.12.4 T Flip-Flop 60 1.13 Programmable Logic Devices 61 1.13.1 Programmable Read-Only Memories 61 1.13.2 Programmable Array Logic 64 1.13.3 Programmable Logic Array 67 1.14 Problems 69 Chapter 2 Analysis of Synchronous Sequential Machines 77 2.1 Sequential Circuits 78 2.1.1 Machine Alphabets 79 2.1.2 Formal Definition of a Synchronous Sequential Machine 82 '

viii Contents 2.2 Classes of Sequential Machines 89 2.2.1 Combinational Logic 89 2.2.2 Registers 93.,;. 5. 2.2.3 Counters 98 2.2.4 Moore Machines 105 2.2.5 Mealy Machines 110 2.2.6 Asynchronous Sequential Machines 121 2.2.7 Additional Definitions for Synchronous Sequential. Machines 123 2.3 Methods of Analysis 136 2.3.1. Next-State Table 136 2.3.2 Present-State Map 137 2.3.3 Next-State Map 137 2.3.4 Input Map 138 2.3.5 Output Map 140;,. -. 2.3.6 Timing Diagram 141.. 2.3.7 State Diagram 143 2.3.8 Analysis Examples 146 2.4 Complete and Incomplete Synchronous Sequential Machines 161 2.4.1 Complete Synchronous Sequential,Machines 161 2.4.2 Incomplete Synchronous Sequential Machines 162 2.5 Problems 166.. Chapter 3 Synthesis of Synchronous Sequential Machines 1181 3.1 Synthesis Procedure 182 3.1.1 Equivalent States 183 3.2 Synchronous Registers 197 3.2.1 Parallel-In, Parallel-Out Registers 197 3.2.2 Parallel-In, Serial-Out Registers 201 3.2.3'- Serial-Iri, Parallel-Out Registers 205 3.2.4 Serial-In^ Serial-Out Registers 208 3.2.5 Linear Feedback Shift Registers 212 3.2.6 Combinational Shifter 218 ' 3.3 Synchronous Counters 223 3.3.1 Modulo-8 Counter 223 3.3.2 Modulo-10 Counter234 ;, " V-.-,' 3.3.3 Johnson Counter 245 3.3.4 Binary-to-Gray Code Converter 248 3.4 Moore Machines 254,..-. : ; 3.5. Mealy Machines 277., : 3.6 Moore-Mealy Equivalence 298 b.. : 3.6.1 Mealy-to-Moore Transformation 298 3.6.2 Moore-to-Mealy Transformation 307 3.7 Output Glitches 307

Contents ix 3.7.1 Glitch Elimination Using State Code Assignment 312 3.7.2 Glitch Elimination Using Storage Elements 319 ' 3.7.3 Glitch Elimination Using Complemented Clock 323 3.7.4 Glitch Elimination Using Delayed Clock 326 3.7.5 Glitches and Output Maps 333 -...- 3.7.6 Compendium of Output Glitches 339 3.8 Problems 344 Chapter 4 Synthesis of Synchronous Sequential Machines 2 361 4.1 Multiplexers for 8 Next-State Logic 361 4.1.1 Linear-Select Multiplexers 363 4.1.2 Nonlinear-Select Multiplexers 377 4.2 Decoders for 1 Output Logic 400 4.3 Programmable Logic Devices 412 4.3.1 Programmable Read-Only Memory 413 4.3.2 Programmable Array Logic 421,' '..,.,.4.3.3 Programmable Logic Array 432.,.' 4-3.4 Field-Programmable Gate Array 437 > 4.4 > a Microprocessor-Controlled Sequential Machines 448, r..., 4.4..1 General Considerations 449,....,- 4.4.2 Mealy Machine Synthesis 453.-,. 4.4.3 Machine State Augmentation 461, 4.4.4 Moore and Mealy Outputs 466 4.4.5 System Architecture 467 4.4.6 Multiple Machines 477 4.5 Sequential Iterative Machines 481 4.6 Error Detection in Synchronous Sequential Machines 489 : ' : 4:7-"' Problems 500 ' " : - ' ; Chapter 5 Analysis of Asynchronous Sequential Machines 519 5.1 Introduction 520. 5.2 Fundamental-Mode Model 522 5.3.Methods of Analysis 526 5.4. ; Hazards 553 :. 5.4.1 Static Hazards 553.. 5.4.2 Dynamic Hazards 568 5.4.3 Essential Hazards 572 5.4.4 Multiple-Order Hazards 577 5.5 Oscillations 578 >,.,.., :,. 5.6 Races 582 ' ''''' ' ' 5.6.1 Noncritical Races 583, 5.6.2 Cycles 586

Contents 5.6.3 Critical Races 586 5.7 Problems 590 Chapter 6 Synthesis of Asynchronous Sequential Machines 607. 6.1 Introduction 608 6.2 Synthesis Procedure 610 6.2.1 State Diagram 612 6.2.2 Primitive Flow Table 616 6.2.3 Equivalent States 632 6.2.4 Merger Diagram 645 6.2.5 Merged Flow Table 656 6.2.6 Excitation' Maps and Equations 661 6.2.7 Output Maps and Equations 691 6.2.8 Logic Diagram 710 6.3 Synthesis Examples 716 6.3.1 Mealy Machine with Two Inputs and One Output 716 6.3.2 Mealy Machine with Two Inputs and One Output Using a Programmable Logic Array (PLA) 727 6.3.3 Moore Machine with One Input and One Output 735 6.3.4 Mealy Machine with Two Inputs and Two Outputs 741 6.3.5 Mealy Machine with Three Inputs and One Output 755 6.3.6 Mealy Machine with Two Inputs and Two Outputs 765 6.4 Problems 777 ' Chapter 7 Pulse-Mode Asynchronous Sequential Machines 807 7.1 Analysis Procedure 809 7.1.1 57? Latches as Storage Elements 810 7.1.2 57? Latches with D Flip-Flops as Storage Elements 817 7.2 Synthesis Procedure 823 7.2.1 SR Latches as Storage Elements 823 7.2.2 TFlip-Flops as Storage Elements 830 7.2.3 57?-r Flip-Flops as Storage Elements 836 7.2.4 57? Latches with D Flip-Flops as Storage Elements 844 7.3 Problems 850 Appendix Answers to Selected Problems 861 Index 889