Figure 1-1 Basic Gates

Similar documents
CPE/EE 422/522. Chapter 1 - Review of Logic Design Fundamentals. Dr. Rhonda Kay Gaede UAH. 1.1 Combinational Logic

Overview of Chapter 4

Analysis of clocked sequential networks

ELEC Digital Logic Circuits Fall 2014 Sequential Circuits (Chapter 6) Finite State Machines (Ch. 7-10)

Working with Combinational Logic. Design example: 2x2-bit multiplier

Lecture 10: Synchronous Sequential Circuits Design

S.E. Sem. III [ETRX] Digital Circuit Design. t phl. Fig.: Input and output voltage waveforms to define propagation delay times.

King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department

Synchronous Sequential Logic

Working with combinational logic

Appendix B. Review of Digital Logic. Baback Izadi Division of Engineering Programs

Review for B33DV2-Digital Design. Digital Design

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 7 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

EE40 Lec 15. Logic Synthesis and Sequential Logic Circuits

Lecture 3 Review on Digital Logic (Part 2)

Clocked Sequential Circuits UNIT 13 ANALYSIS OF CLOCKED SEQUENTIAL CIRCUITS. Analysis of Clocked Sequential Circuits. Signal Tracing and Timing Charts

Topic 8: Sequential Circuits

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

CSC 322: Computer Organization Lab

Logic. Basic Logic Functions. Switches in series (AND) Truth Tables. Switches in Parallel (OR) Alternative view for OR

Appendix A: Digital Logic. Principles of Computer Architecture. Principles of Computer Architecture by M. Murdocca and V. Heuring

Introduction to Digital Logic

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 9 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

Fundamentals of Digital Design

Adders allow computers to add numbers 2-bit ripple-carry adder

Appendix A: Digital Logic. CPSC 352- Computer Organization

Parity Checker Example. EECS150 - Digital Design Lecture 9 - Finite State Machines 1. Formal Design Process. Formal Design Process

Sequential vs. Combinational

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BENG (HONS) ELECTRICAL & ELECTRONICS ENGINEERING EXAMINATION SEMESTER /2017

Chapter 2. Review of Digital Systems Design

Sequential Circuit Analysis

University of Minnesota Department of Electrical and Computer Engineering

Problem Set 9 Solutions

Reg. No. Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER Second Semester. Computer Science and Engineering

Appendix A: Digital Logic. Principles of Computer Architecture. Principles of Computer Architecture by M. Murdocca and V. Heuring

Show that the dual of the exclusive-or is equal to its compliment. 7

Mealy & Moore Machines

BER KELEY D AV IS IR VINE LOS AN GELES RIVERS IDE SAN D IEGO S AN FRANCISCO

Principles of Computer Architecture. Appendix B: Reduction of Digital Logic. Chapter Contents

ENGG 1203 Tutorial _03 Laboratory 3 Build a ball counter. Lab 3. Lab 3 Gate Timing. Lab 3 Steps in designing a State Machine. Timing diagram of a DFF

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

Vidyalankar S.E. Sem. III [ETRX] Digital Circuits and Design Prelim Question Paper Solution

(Boolean Algebra, combinational circuits) (Binary Codes and -arithmetics)

Unit 12 Problem Solutions

DIGITAL LOGIC CIRCUITS

Chapter 6 Introduction to state machines

Lecture 14: State Tables, Diagrams, Latches, and Flip Flop

EECS Components and Design Techniques for Digital Systems. FSMs 9/11/2007

ECE/Comp Sci 352 Digital Systems Fundamentals. Charles R. Kime Section 2 Fall Logic and Computer Design Fundamentals

11.1 As mentioned in Experiment 10, sequential logic circuits are a type of logic circuit where the output of

Written reexam with solutions for IE1204/5 Digital Design Monday 14/

Sequential Logic Circuits

Chapter 7 Logic Circuits

Topic 8: Sequential Circuits. Bistable Devices. S-R Latches. Consider the following element. Readings : Patterson & Hennesy, Appendix B.4 - B.

Philadelphia University Student Name: Student Number:

Chapter 7: Digital Components. Oregon State University School of Electrical Engineering and Computer Science. Review basic digital design concepts:

EET 310 Flip-Flops 11/17/2011 1


Sequential Logic. Handouts: Lecture Slides Spring /27/01. L06 Sequential Logic 1

3. Complete the following table of equivalent values. Use binary numbers with a sign bit and 7 bits for the value

Written exam for IE1204/5 Digital Design with solutions Thursday 29/

Decoding A Counter. svbitec.wordpress.com 1

Switching Circuits & Logic Design

CPS 104 Computer Organization and Programming Lecture 11: Gates, Buses, Latches. Robert Wagner

Digital Logic: Boolean Algebra and Gates. Textbook Chapter 3

Preparation of Examination Questions and Exercises: Solutions

Logic design? Transistor as a switch. Layered design approach. CS/COE1541: Introduction to Computer Architecture. Logic Design Review.

ELCT201: DIGITAL LOGIC DESIGN

Different encodings generate different circuits

Synchronous Sequential Circuit Design. Digital Computer Design

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) State any two Boolean laws. (Any 2 laws 1 mark each)

Chapter 4. Sequential Logic Circuits

Digital Design. Sequential Logic

Simplify the following Boolean expressions and minimize the number of literals:

University of Toronto Faculty of Applied Science and Engineering Edward S. Rogers Sr. Department of Electrical and Computer Engineering

Chapter 6. Synchronous Sequential Circuits

Vidyalankar. S.E. Sem. III [EXTC] Digital System Design. Q.1 Solve following : [20] Q.1(a) Explain the following decimals in gray code form

S.Y. Diploma : Sem. III [DE/ED/EI/EJ/EN/ET/EV/EX/IC/IE/IS/IU/MU] Principles of Digital Techniques

FSM model for sequential circuits

Design of Datapath Controllers

Sequential Logic. Road Traveled So Far

Digital Logic Design - Chapter 4

UNIT 8A Computer Circuitry: Layers of Abstraction. Boolean Logic & Truth Tables

CHAPTER * 6-2. a) 3-input NAND gate b) 4-input NOR gate * Pearson Education, Inc. a) F = (A + B) C D. b) G = (A + B) (C + D)

Ch 7. Finite State Machines. VII - Finite State Machines Contemporary Logic Design 1

Boolean Algebra and Digital Logic 2009, University of Colombo School of Computing

Digital Electronics. Part A

CMSC 313 Lecture 15 Good-bye Assembly Language Programming Overview of second half on Digital Logic DigSim Demo

Chapter 7. Synchronous Sequential Networks. Excitation for

S.Y. Diploma : Sem. III [CO/CM/IF/CD/CW] Digital Techniques

King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department

CS/COE1541: Introduction to Computer Architecture. Logic Design Review. Sangyeun Cho. Computer Science Department University of Pittsburgh

Lecture 9: Digital Electronics

Vidyalankar S.E. Sem. III [CMPN] Digital Logic Design and Analysis Prelim Question Paper Solution

State and Finite State Machines

ELEN Electronique numérique

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

NTE4035B Integrated Circuit CMOS, 4 Bit Parallel In/Parallel Out Shift Register

EE115C Winter 2017 Digital Electronic Circuits. Lecture 19: Timing Analysis

Transcription:

Figure - Basic Gates B ND: = B B OR: = + B NOT: = ' B ELUSIVE OR: = + B

Figure -2 Full dder Y in FULL DDER (a) Full adder module out Sum Y in outsum (b) Truth Table Sum = 'Y'in + 'Yin' + Y'in' + Yin = + Y + in out = 'Yin + Y'in + Yin' + Yin = Y + in + Yin

Figure -3 Four-Variable Karnaugh Maps B D 4 2 8 B D four corner terms combine to give B' D' 3 5 3 7 5 9 'BD 2 6 4 F = m(,2,3,5,6,7,8,,) + d(4,5) = + B' D' + ' BD = (B' + + D) (B + + D') ('+B')

Figure -4 Selection of Prime Implicants B D '' 4 2 8 5 3 9 3 7 5 D 2 6 4 'B'D' F = '' + 'B'D' + D + 'BD or F = '' + 'B'D' + D + BD

Figure -5 Simplification Using Map-Entered Variables B D D B B D D B E F E G E = F = MS = 'B' + D E =, F = MS = 'D E =, F = MS 2 = D G = MS + EMS + FMS 2 = 'B' + D + E'D + FD

Figure -6 NND and NOR Gates NND: B B = (B)' = ' + B' B NOR: B = (+B)' = 'B'

Figure -7 onversion to NOR Gates B' D E F G (a) ND-OR network Z B' ' omplemented input cancels inversion Double inversion cancels D E F G' (b) Equivalent NOR-gate network Z

Figure -8 onversion of ND-OR Network to NND Gates B D (a) ND_OR network E F B Bubbles cancel D (b) First step in NND conversion E F B' dded inverter D' (c) ompleted conversion dded inverter E' F

Figure -9 Elimination of -Hazard B D F E F = B' + B (a) Network with -hazard B - Hazard B B' D E F ns ns 2 ns 3 ns 4 ns 5 ns 6 ns (b) Timing hart B F B F = B' + B + (c) Network with hazard removed

Figure - locked D Flip-flop with Rising-edge Trigger Q' LK DFF Q D Q + = D D Q Q +

Figure - locked J-K Flip-flop Q' K FF K Q J J K Q Q + Q + = JQ' + K'Q

Figure -2 locked T Flip-flop Q' Q T Q Q + LK FF T + Q = QT' + Q'T = Q + T

Figure -3 S-R Latch S R P Q S R Q Q+ Q + = S + R'Q

Figure -4 Transparent D Latch G Q Latch D G D Q Q +

Figure -5 Implementation of D Latch D G Q Q + = DG + G'Q + (DQ) D

Figure -6 General Model of Mealy Sequential Machine Inputs () Outputs (Z) ombinational Network Next state clock State Reg State

Figure -7 State Graph and Table for ode onverter t t t 2 t 3 /,/ S / / N S S2 / / /,/ N S3 S4 /,/ / / S5 S6 N (a) Mealy state graph / NS PS = = S S S2 S3 S4 S5 S6 S S3 S4 S5 S5 S S S2 S4 S4 S5 S6 S Z = = (b) State Table

From Page 2 I. States which have the same next state (NS) for a given input should be given adjacent assignments (look at the columns of the state table). II. States which are the next states of the same state should be given adjacent assignments (look at the rows). III. States which have the same output for a given input should be given adjacent assignments. I. (,2) (3,4) (5,6) (in the = column, S and S2 both have NS S4; in the = column, S3 & S4 have NS S5, and S5 & S6 have NS S) II. (,2) (3,4) (5,6) (S & S2 are NS of S; S3 & S4 are NS of S; and S5 & S6 are NS of S4) III. (,,4,6) (2,3,5) Q2 Q3 Q S S Figure -8(a) State ssignment Map S5 S2 S3 S6 S4

Figure -7(b) State Table Figure -8(b) Transition Table NS Z Q Q2 Q3 Z PS = = = = QQ2Q3 = = = = S S S2 S S3 S4 S2 S4 S4 S3 S5 S5 S4 S5 S6 S5 S S S6 S xxx x xxx xxx x x S =, S =, S2 =, S3 =, S4 =, S5 =, S6 =

Figure -9 Karnaugh Maps for Figure -7 Q Q 2 Q 3 Q Q 2 Q 3 D = Q + = Q 2 ' Q Q 2 Q 3 D 2 = Q + 2 = Q Q Q 2 Q 3 D 3 = Q 3 + = Q Q 2 Q 3 + 'Q Q 3 ' + Q 'Q 2 ' Z = 'Q 3 ' + Q 3

Figure -2 Realization of ode onverter Q Q2 Q3 G Q2' D Q FF Q' Q Q' I Q Q3' ' G2 2 Q D Q FF2 Q' Q2 Q2' G5 5 Q' Q2' G3 3 D3 G4 LK D Q FF3 Q' Q3 Q3' ' G6 6 G7 Z

Figure -2 Derivation of J-K Input Equations Q Q + Q J = Q 2 ' Q K = Q 2 Q 2 Q 3 Q 2 Q 3 Q 2 Q 3 (a) Derivation using separate J-K map Q + Q Q + Q 2 Q Q + 3 Q 2 Q 3 Q 2 Q 3 J 2 Q 2 Q 3 K 2 ' J 3 J3 K 3 ' J K ' J J 2 = Q J = Q 2 ' K = Q K 2 2 = Q ' (b) Derivation using the shortcut method J 3 = 'Q + Q ' K 3 = Q ' + Q 2 '

Figure -22 oding Schemes for Serial Data Transmission bit sequence NRZ NRZI RZ Manchester bit time

Figure -23 Moore network for NRZ-to-Manchester onversion NRZ data LK2 onversion Network Z Manchester data (a) onversion network S S3 S S2 (b) State Graph Present State S S S 2 S 3 Next State = = S S 2 S S 3 S 3 S (c) State table Present Output (Z)

Figure -24 Timing for Moore Network bit time (NRZ) LOK2 State Z (Manchester) S S S 2 S 3 S S 3 S S 3 S S S 2 S S 2 S 3 S S bit time

Figure -25 Determination of Equivalent States s i N Z = ( s i, ) s j N 2 Z 2 = 2 ( s j, ) s i s j iff Z = Z 2 for every input sequence

Figure -26(i) State Table Reduction Present State Next State = Present Output = a c f b d e c h/ a g d b g e e b f f a g c g h c f b c d e c - d e - f f - g b - c f - g a- d e- g a b iff c d and e f e- g a- b f a- b g c - e b-g e - f a- g a b c d e f

Figure -26(ii) State Table Reduction b c - d e - f a b iff c d and e f b c - d e - f c f - g a- d e- g c f - g a- d e- g d b- c f - g e- g a- b d b - c f - g e- g a- b e e f a- b f a- b g c - e b-g e - f a- g g c - e b-g e - f a-g a b c d e f a b c d e f a b, c d, e f

Figure -26(iii) State Table Reduction Present State Next State = Present Output = a c f b d e c h/ a g d b g e e b f f a g c g h c f a b, c d, e f Present State = = a c e c a g e e a g c g Final Reduced Table

Figure -27 Timing Diagram for ode onverter lock State S S S 3 S 5 S S 2 S 4 S 5 S Next State S S 3 S 5 S * S 2 S 4 S 5 S S 2 Z t a t b t c * = S

Figure -28 Timing Diagram for Figure -2 lock Q3 Q2 Q Z

Figure -29 Setup and Hold Times for D Flip-flop t su t h D lock Q t plh t phl

Figure -3 Setup and Hold Timing for hanges in LK t x t y t cxmin D t cxmax t su t h

Figure -3 Synchronous Digital System lock Data In ontrol Inputs ONTROL SETION ontrol Signals ondition Signals DT SETION Data Out

Figure -32 Timing hart for System with Falling-Edge Devicves State hange Initiated Here lock Switching Transients Uncertain ontrol Signal lock S Figure -33 Gated ontrol Signal lock S LK K lock S K (a) Faling-edge device (b) Rising-edge device

Figure -34 Timing hart with Rising-Edge Devices State hange Initiated Here lock Switching Transients ontrol Signal (S) LK = lock S (a) (b) S LK2 = lock + S Figure -35 Incorrect Design Figure -36 orrect Design (a) with gated clock (b) With enble lock S LK K lock S LK2 K S lock Enable K "Rising Edge" Device

Synchronous Design Principals (from page 34) Method: Result: ll clock inputs to flip-flops, registers, counters, etc. are driven directly from the system clock or from the clock NDed with a control signal. ll state changes occur immediately following the active edge of the clock signal. dvantage: ll switching transients, switching noise, etc. occur between clock pulses and have no effect on system performance.

Figure -37 Four Kinds of Tristate Buffers B B B B B Hi-Z Hi-Z B Hi-Z Hi-Z B Hi-Z Hi-Z B Hi-Z Hi-Z (a) (b) (c) (d)

Figure -38 Data Transfer Using Tristate Bus Input Data Eni 8 Ena 8 TRI-STTE BUS Enb Enc Lda Reg. Ldb Reg. B Ldc Reg. lock