CpE358/CS381. Switching Theory and Logical Design. Class 16

Size: px
Start display at page:

Download "CpE358/CS381. Switching Theory and Logical Design. Class 16"

Transcription

1 CpE358/CS38 Switching Theory and Logical Design Class 6 CpE358/CS38 Summer- 24 Copyright

2 Today Fundamental concepts of digital systems (Mano Chapter ) inary codes, number systems, and arithmetic (Ch ) oolean algebra (Ch 2) Simplification of switching equations (Ch 3) Digital device characteristics (e.g., TTL, CMOS)/design considerations (Ch ) Combinatoric logical design including LSI implementation (Chapter 4) Flip-flops and state memory elements (Ch 5) Sequential logic analysis and design (Ch 5) Counters, shift register circuits (Ch 6) Hazards, Races, and time related issues in digital design (Ch 9) Synchronous vs. asynchronous design (Ch 9) Memory and Programmable logic (Ch 7) Minimization of sequential systems Introduction to Finite Automata CpE358/CS38 Summer- 24 Copyright

3 Consider This Sequential System: x Input Sequential System S z Output Questions to ask: Is S operating as intended? Was the design correct? Has a failure occurred? Is S the simplest design that generates z for a given x? Are all states necessary? Can S be forced to go to a given state? Are two systems, S and S 2 distinguishable from each other? Reference for today s material: Hennie, Finite State Models for Logical Machines CpE358/CS38 Summer- 24 Copyright

4 A Specific Sequential Design Issue Design Verification Does system meet intended system requirements? Does it perform properly over a range of operational conditions? Testing in Manufacture Are there any faults in the product as produced? Field Diagnostics Is the system still working properly? If there is a fault, can it be localized? For each case, how much testing is needed? How much is practical? CpE358/CS38 Summer- 24 Copyright

5 X n inputs Sequential Design Testing Combinational Circuit Z m outputs Storage Element(s) k state variables Clock How many tests need to be performed to find all possible faults in system? CpE358/CS38 Summer- 24 Copyright

6 X n inputs Sequential Design Testing Combinational Circuit Z m outputs Storage Element(s) k state variables Clock How many tests need to be performed to find all possible faults in system? All storage elements need to be exercised All combinatorial circuit elements need to be tested CpE358/CS38 Summer- 24 Copyright 24-59

7 X n inputs Sequential Design Testing Combinational Circuit Z m outputs Storage Element(s) k state variables Clock How many tests need to be performed to find all possible faults in system? All storage elements need to be exercised Testing all 2 k states Testing all 2 k! possible state-state transitions All combinatorial circuit elements need to be tested Testing all 2 n input combinations Testing all 2 n input combinations in all 2 k states CpE358/CS38 Summer- 24 Copyright 24-59

8 X n inputs Sequential Design Testing Combinational Circuit Z m outputs Storage Element(s) k state variables Clock How many tests need to be performed to find all possible faults in system? All storage elements need to be exercised Testing all 2 k states Testing all 2 k! possible state-state transitions ut internal state All combinatorial circuit elements need to be tested is generally not Testing all 2 n input combinations observable! Testing all 2 n input combinations in all 2 k states CpE358/CS38 Summer- 24 Copyright

9 Sequential Design Testing d d d 2 d k- a a a 2 a N- N-bit to 2 N line decoder R/W o o o 2 o k- CpE358/CS38 Summer- 24 Copyright

10 Sequential Design Testing Do select lines operate correctly? d d d 2 d k- a a a 2 a N- N-bit to 2 N line decoder R/W o o o 2 o k- CpE358/CS38 Summer- 24 Copyright

11 Sequential Design Testing Do data lines operate correctly? d d d 2 d k- a a a 2 a N- N-bit to 2 N line decoder R/W o o o 2 o k- CpE358/CS38 Summer- 24 Copyright

12 Sequential Design Testing Do output lines operate correctly? d d d 2 d k- a a a 2 a N- N-bit to 2 N line decoder R/W o o o 2 o k- CpE358/CS38 Summer- 24 Copyright

13 Sequential Design Testing Are there any cell-to-cell interactions? d d d 2 d k- a a a 2 a N- N-bit to 2 N line decoder R/W o o o 2 o k- CpE358/CS38 Summer- 24 Copyright

14 Sequential Design Testing ->= Are there any lingering data effects? ->=.9 d d d ->=.2 2 d k- ->= a a a 2 a N- N-bit to 2 N line decoder R/W o o o 2 o k- CpE358/CS38 Summer- 24 Copyright

15 Sequential Design Testing Are there any data pattern effects? d d d 2 d k- a a a N-bit to 2 2 N line decoder a N- R/W o o o 2 o k- CpE358/CS38 Summer- 24 Copyright

16 Sequential Design Testing How many test conditions are there for a 2 N word x K-bit memory array? d d d 2 d k- a a a 2 a N- N-bit to 2 N line decoder R/W o o o 2 o k- CpE358/CS38 Summer- 24 Copyright 24-6

17 Sequential Design Testing How many test conditions are there for a 2 N word x K-bit memory array? 2 NK states, (2 NK )! single state-to-single state transitions d d d 2 d k- a a a 2 a N- N-bit to 2 N line decoder R/W o o o 2 o k- CpE358/CS38 Summer- 24 Copyright 24-6

18 State Diagram/State Table / Present State Next State/Output Next State/Output A (input ) (input ) A C/ A/ / / A/ C/ C C/ / / C / / Reference for today s material: Hennie, Finite State Models for Logical Machines, Wiley, 968 CpE358/CS38 Summer- 24 Copyright 24-62

19 Finite State Machine Model X n inputs Combinational Circuit Z m outputs Storage Element(s) Clock CpE358/CS38 Summer- 24 Copyright 24-63

20 Finite State Machine Model X(t) Input Present state Delayless Combinational Circuit Next state Z(t) Output s(t) Delay, D s(t+) CpE358/CS38 Summer- 24 Copyright 24-64

21 Finite State Machine Model X(t) Input Present state Delayless Combinational Circuit Next state Z(t) Output s(t) Delay, D s(t+) CpE358/CS38 Summer- 24 Copyright 24-65

22 Finite State Machine Model X(t) Input Present state Delayless Some Combinational arbitrary combinatorial Circuit logic along with system state information Next state Z(t) Output s(t) Logic functions =? Number Delay, of states =? State transitions D =? s(t+) CpE358/CS38 Summer- 24 Copyright 24-66

23 Finite State Machine Model X(t) Input Present state Delayless Combinational Circuit Next state Z(t) Output s(t) Delay, D s(t+) x Machine M z CpE358/CS38 Summer- 24 Copyright 24-67

24 Fundamental Properties of FSMs Accessibility Is state S accessible? x Machine M z / A / / / / / D C / CpE358/CS38 Summer- 24 Copyright 24 / -68

25 Fundamental Properties of FSMs Distinguishability Can M be distinguished from M 2? A / x z / / / Machine M C / / x z Machine M 2 / / / R S T / / CpE358/CS38 Summer- 24 Copyright 24 / -69

26 Combinations of Machines x z Machine M Combinational Logic z Machine M 2 z 2 CpE358/CS38 Summer- 24 Copyright 24-6

27 Combinations of Machines x z Machine M Combinational Logic z Machine M 2 z 2 x Machine M 2 z CpE358/CS38 Summer- 24 Copyright 24-6

28 Combinations of Machines x Machine M z Recognize String A Machine M 2 z 2 Recognize String Combinational Logic z x Machine M 2 z Recognize Strings A, jointly CpE358/CS38 Summer- 24 Copyright 24-62

29 Combinations of Machines Recognize strings that have an odd number of s and contain a block of four contiguous s CpE358/CS38 Summer- 24 Copyright 24-63

30 Combinations of Machines Recognize strings that have an odd number of s and contain a block of four contiguous s State A A A CpE358/CS38 Summer- 24 Copyright 24-64

31 Combinations of Machines Recognize strings that have an odd number of s and contain a block of four contiguous s State State A A A A A A C C A D D A E E E E CpE358/CS38 Summer- 24 Copyright 24-65

32 Combinations of Machines Recognize strings that have an odd number of s and contain a block of four contiguous s State State State A A A A AA AA A A C A AC C A D A A A D A E AC AA D E E E A AA C D A AE C A AD AE AE E AD AA E E E AE CpE358/CS38 Summer- 24 Copyright 24-66

33 Combinations of Machines Recognize strings that have an odd number of s and contain a block of four contiguous s State State State A A A A AA AA A A C A AC C A D A A A D A E AC AA D E E E A AA C D A AE C A AD Machines designed as compositions of two or more machines may be easier to design and maintain AE AD E AE AA E E E AE CpE358/CS38 Summer- 24 Copyright 24-67

34 Capabilities of FSMs Transform an input signal into an output pattern An arbitrarily long string of periodic inputs must eventually produce a periodic output Systems that do not have this property cannot be built using FSMs Recognize the occurrence of a specific input signal or pattern Intermediate outputs are not important, only the final output CpE358/CS38 Summer- 24 Copyright 24-68

35 Capabilities of FSMs Transform an input signal into an output pattern An arbitrarily long string of periodic inputs must eventually produce a periodic output Systems that do not have this property cannot be built using FSMs WHY? Recognize the occurrence of a specific input signal or pattern Intermediate outputs are not important, only the final output CpE358/CS38 Summer- 24 Copyright 24-69

36 Deterministic vs. Nondeterministic FSMs Deterministic: A C D State A C D C C D D D C A Out Known starting state, unique successor states Nondeterministic: A C D State A C C C D,D - Out D D A Unknown/nonunique starting state, nonunique successor states, incomplete specification of machine CpE358/CS38 Summer- 24 Copyright 24-62

37 Use for Nondeterministic Machines Recognize a sequence that ends with or using a deterministic machine CpE358/CS38 Summer- 24 Copyright 24-62

38 Use for Nondeterministic Machines Recognize a sequence that ends with or using a deterministic machine Generate basic sequences to be recognized easy to do / b / d / f / h a / c / e / h CpE358/CS38 Summer- 24 Copyright

39 Use for Nondeterministic Machines Recognize a sequence that ends with or using a deterministic machine Generate basic sequences to be recognized easy to do Add all other transitions not so simple / / / / b / d / f / h a / / / / / c / e / g / / CpE358/CS38 Summer- 24 Copyright

40 Use for Nondeterministic Machines Recognize a sequence that ends with or using a deterministic machine Generate basic sequences to be recognized easy to do Add all other transitions not so simple Derive state table straightforward State / / / a b b b c d / b / d / f / h c d b f e e a / / c / / / / e / / g / e f g h g b b f e h d e CpE358/CS38 Summer- 24 Copyright

41 Use for Nondeterministic Machines Recognize a sequence that ends with or using a deterministic machine Generate basic sequences to be recognized easy to do Add all other transitions not so simple Derive state table straightforward Eliminate equivalent states State / / / a b b b c d / / D / F / H c d b f e e A / / C / / / / E / / G / e f g h g b b f e h d e CpE358/CS38 Summer- 24 Copyright

42 Use for Nondeterministic Machines Recognize a sequence that ends with or using a deterministic machine Generate basic sequences to be recognized easy to do Add all other transitions not so simple Derive state table straightforward Eliminate equivalent states State / / a b b b c d A / / / C / / / / D / E F / c d e f b f b b e e e d / CpE358/CS38 Summer- 24 Copyright

43 Use for Nondeterministic Machines Recognize a sequence that ends with or using a nondeterministic machine CpE358/CS38 Summer- 24 Copyright

44 Use for Nondeterministic Machines Recognize a sequence that ends with or using a nondeterministic machine Generate basic sequences to be recognized easy to do H I J K G L M N CpE358/CS38 Summer- 24 Copyright

45 Use for Nondeterministic Machines Recognize a sequence that ends with or using a nondeterministic machine Generate basic sequences to be recognized easy to do Add nondeterministic transitions easy to do, H I J K G L M N CpE358/CS38 Summer- 24 Copyright

46 Use for Nondeterministic Machines Recognize a sequence that ends with or using a nondeterministic machine Generate basic sequences to be recognized easy to do Add nondeterministic transitions easy to do State Convert to deterministic system - mechanical G GH Out, H I J K G L M N CpE358/CS38 Summer- 24 Copyright 24-63

47 Use for Nondeterministic Machines Recognize a sequence that ends with or using a nondeterministic machine Generate basic sequences to be recognized easy to do Add nondeterministic transitions easy to do State Convert to deterministic system - mechanical G GH GL Out, H I J K G L M N CpE358/CS38 Summer- 24 Copyright 24-63

48 Use for Nondeterministic Machines Recognize a sequence that ends with or using a nondeterministic machine Generate basic sequences to be recognized easy to do Add nondeterministic transitions easy to do State Convert to deterministic system - mechanical G GH GL Out GH GH, H I J K G L M N CpE358/CS38 Summer- 24 Copyright

49 Use for Nondeterministic Machines Recognize a sequence that ends with or using a nondeterministic machine Generate basic sequences to be recognized easy to do Add nondeterministic transitions easy to do State Convert to deterministic system - mechanical G GH GL Out GH GH GIL, H I J K G L M N CpE358/CS38 Summer- 24 Copyright

50 Use for Nondeterministic Machines Recognize a sequence that ends with or using a nondeterministic machine Generate basic sequences to be recognized easy to do Add nondeterministic transitions easy to do State Convert to deterministic system - mechanical G GH GL Out GH GH GIL GL GH GLM, H I J K GIL GLM GHJ GHN GLM GLM G GHJ GHN GH GH GILK GIL L M N GILK GHJ GLM CpE358/CS38 Summer- 24 Copyright

51 Use for Nondeterministic Machines Recognize a sequence that ends with or using a nondeterministic machine Generate basic sequences to be recognized easy to do Add nondeterministic transitions easy to do State Convert to deterministic system mechanical G GH Eliminate redundant states mechanical GH GH GL GIL Out GL GH GLM, H I J K GIL GLM GHJ GHN GLM GLM G GHJ GHN GH GH GILK GIL L M N GILK GHJ GLM CpE358/CS38 Summer- 24 Copyright

52 Use for Nondeterministic Machines Recognize a sequence that ends with or using a nondeterministic machine Generate basic sequences to be recognized easy to do Add nondeterministic transitions easy to do State Convert to deterministic system mechanical G GH Eliminate redundant states mechanical GH GH GL GIL Out GL GH GLM, H I J K GIL GLM GHJ GH GLM GLM G GHJ GH GIL L M N CpE358/CS38 Summer- 24 Copyright

53 Use for Nondeterministic Machines Recognize a sequence that ends with or using a nondeterministic machine Generate basic sequences to be recognized easy to do Add nondeterministic transitions easy to do State Convert to deterministic system mechanical A (G) Eliminate redundant states mechanical (GH, GHN) Convert from Moore to Mealy machine, rename states C (GL) C D E, H I J K D (GILK, GIL) E (GLM) F E E G F (GHJ) D L M N CpE358/CS38 Summer- 24 Copyright

54 Use for Nondeterministic Machines Recognize a sequence that ends with or using a nondeterministic machine Generate basic sequences to be recognized easy to do Add nondeterministic transitions easy to do State Convert to deterministic system mechanical A (G) Eliminate redundant states mechanical (GH, GHN) Convert from Moore to Mealy machine, rename states C (GL) C D E, H I J K D (GILK, GIL) E (GLM) F E E G F (GHJ) D L M N State a b b b c d Results in equivalent machine with less effort c b e d f e e b e CpE358/CS38 Summer- 24 Copyright 24 f b d -638

55 Experiments on FSMs Synchronizing Sequences Consider the machine with the state table: State A C D E A C C C D E E C What is the final state if the input is? CpE358/CS38 Summer- 24 Copyright

56 Experiments on FSMs Synchronizing Sequences Consider the machine with the state table: State A C D E A C C C D E E C What is the final state if the input is for each initial state? A: A CpE358/CS38 Summer- 24 Copyright 24-64

57 Experiments on FSMs Synchronizing Sequences Consider the machine with the state table: State A C D E A C C C D E E C What is the final state if the input is for each initial state? A: A > > > : > > > C: C > A > > D: D > C > A > E: E > C > A > CpE358/CS38 Summer- 24 Copyright 24-64

58 Experiments on FSMs Synchronizing Sequences Consider the machine with the state table: State A C D E A C C C D E E C What is the final state if the input is for each initial state? A: A > > > : > > > C: C > A > > D: D > C > A > E: E > C > A > is a synchronizing sequence for this machine, always leading it to state CpE358/CS38 Summer- 24 Copyright

59 Experiments on FSMs Homing Sequences Given a user selected input sequence X i, observing only Z i, can the final state of M be determined? If X i exists, it is a homing sequence x Machine M z Homing sequences can be used to test the behavior of M CpE358/CS38 Summer- 24 Copyright

60 Experiments on FSMs Distinguishing Sequences Given a user selected input sequence X i, observing only Z i, can the initial state of M be determined? If X i exists, it is a distinguishing sequence x Machine M z Distinguishing sequences can be used to test the behavior of M CpE358/CS38 Summer- 24 Copyright

61 Distinguishing vs. Homing Sequences Every distinguishing sequence is a homing sequence Not all homing sequences are distinguishing sequences CpE358/CS38 Summer- 24 Copyright

62 Distinguishing vs. Homing Sequences Every distinguishing sequence is a homing sequence x D z allows determination of S Machine M S with input x D > S F Not all homing sequences are distinguishing sequences CpE358/CS38 Summer- 24 Copyright

63 Distinguishing vs. Homing Sequences Every distinguishing sequence is a homing sequence x D z allows determination of S Machine M S with input x D > S F Not all homing sequences are distinguishing sequences x H Machine M z allows determination of S F S A with input x H > S F, but S with input x H > S F, CpE358/CS38 Summer- 24 Copyright

64 Distinguishing vs. Homing Sequences Consider: State A C D E D D E E C E A C CpE358/CS38 Summer- 24 Copyright

65 Distinguishing vs. Homing Sequences Consider: State Initial State Output for input Final State A C A D E C C D A C C D E D C E E C E Each output is different, depending on the initial state. is a distinguishing sequence. It is also a homing sequence final state is known CpE358/CS38 Summer- 24 Copyright

66 Distinguishing vs. Homing Sequences Consider: State Initial State Output for input Final State A C A D E C C D A C E D E D E E C E Each output is NOT different, depending on the initial state (e.g., states A and D). is a NOT distinguishing sequence. ut it is a homing sequence final state is known CpE358/CS38 Summer- 24 Copyright 24-65

67 Machine Identification Checking Sequences Are M X, a machine as observed, equivalent to M D, a machine whose operation is known? Is M X operating as designed (M D )? x Machine M X z x Machine M D z CpE358/CS38 Summer- 24 Copyright 24-65

68 Machine Identification Checking Sequences Are M X, a machine as observed, equivalent to M D, a machine whose operation is known? Is M X operating as designed (M D )? x Machine M X z x Machine M D z It is not always possible to distinguish two different machines The checking sequence can quickly become unmanageable CpE358/CS38 Summer- 24 Copyright

69 Checking Sequences Consider: M : State A A A M x is either M or M 2. M 2 : State A A C C C CpE358/CS38 Summer- 24 Copyright

70 Checking Sequences Consider: M : State A A A M x is either M or M 2. Starting state M 2 : State input ut: M (A,S) = M 2 (,S) A A C C C CpE358/CS38 Summer- 24 Copyright

71 Checking Sequences Consider: M : State A A A M x is either M or M 2. Starting state M 2 : State input ut: M (A,S) = M 2 (,S) A A C C C Without knowing starting state, M and M 2 cannot be distinguished CpE358/CS38 Summer- 24 Copyright

72 Checking Sequences Can the state table of a system be completely determined without internal knowledge of the system? CpE358/CS38 Summer- 24 Copyright

73 Checking Sequences Can the state table of a system be completely determined without internal knowledge of the system? Generally, no: Any test sequence of length N that allows determination of a state table of machine M A can be recognized by M with more states it takes an infinitely long sequence to avoid this possibility. CpE358/CS38 Summer- 24 Copyright

74 Summary Fundamental concepts of digital systems (Mano Chapter ) inary codes, number systems, and arithmetic (Ch ) oolean algebra (Ch 2) Simplification of switching equations (Ch 3) Digital device characteristics (e.g., TTL, CMOS)/design considerations (Ch ) Combinatoric logical design including LSI implementation (Chapter 4) Flip-flops and state memory elements (Ch 5) Sequential logic analysis and design (Ch 5) Counters, shift register circuits (Ch 6) Hazards, Races, and time related issues in digital design (Ch 9) Synchronous vs. asynchronous design (Ch 9) Memory and Programmable logic (Ch 7) Minimization of sequential systems Introduction to Finite Automata CpE358/CS38 Summer- 24 Copyright

75 Homework 6 due in Class 8 There is no class 8 CpE358/CS38 Summer- 24 Copyright

CpE358/CS381. Switching Theory and Logical Design. Summer

CpE358/CS381. Switching Theory and Logical Design. Summer Switching Theory and Logical Design - Class Schedule Monday Tuesday Wednesday Thursday Friday May 7 8 9 - Class 2 - Class 2 2 24 - Class 3 25 26 - Class 4 27 28 Quiz Commencement 3 June 2 - Class 5 3 -

More information

CprE 281: Digital Logic

CprE 281: Digital Logic CprE 281: Digital Logic Instructor: Alexander Stoytchev http://www.ece.iastate.edu/~alexs/classes/ Synchronous Sequential Circuits Basic Design Steps CprE 281: Digital Logic Iowa State University, Ames,

More information

FYSE420 DIGITAL ELECTRONICS

FYSE420 DIGITAL ELECTRONICS FYSE42 IGITAL ELECTRONICS Lecture 4 [] [2] [3] IGITAL LOGIC CIRCUIT ANALYSIS & ESIGN Nelson, Nagle, Irvin, Carrol ISBN -3-463894-8 IGITAL ESIGN Morris Mano Fourth edition ISBN -3-98924-3 igital esign Principles

More information

CpE358/CS381. Switching Theory and Logical Design. Class 2

CpE358/CS381. Switching Theory and Logical Design. Class 2 CpE358/CS38 Switching Theor and Logical Design Class 2 CpE358/CS38 Switching Theor and Logical Design Summer- 24 Copright 24 Stevens Institute of Technolog -45 Toda s Material Fundamental concepts of digital

More information

Synchronous Sequential Circuit Design. Digital Computer Design

Synchronous Sequential Circuit Design. Digital Computer Design Synchronous Sequential Circuit Design Digital Computer Design Races and Instability Combinational logic has no cyclic paths and no races If inputs are applied to combinational logic, the outputs will always

More information

Logical design of digital systems

Logical design of digital systems 21062017 lectures Summer Semester 2017 Table of content 1 Combinational circuit design 2 Elementary combinatorial circuits for data transmission 3 Memory structures 4 Programmable logic devices 5 Algorithmic

More information

Sequential logic and design

Sequential logic and design Principles Of Digital Design Sequential logic and design Analysis State-based (Moore) Input-based (Mealy) FSM definition Synthesis State minimization Encoding Optimization and timing Copyright 20-20by

More information

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

Ch 7. Finite State Machines. VII - Finite State Machines Contemporary Logic Design 1 Ch 7. Finite State Machines VII - Finite State Machines Contemporary Logic esign 1 Finite State Machines Sequential circuits primitive sequential elements combinational logic Models for representing sequential

More information

vidyarthiplus.com vidyarthiplus.com vidyarthiplus.com ANNA UNIVERSITY- COMBATORE B.E./ B.TECH. DEGREE EXAMINATION - JUNE 2009. ELECTRICAL & ELECTONICS ENGG. - FOURTH SEMESTER DIGITAL LOGIC CIRCUITS PART-A

More information

Topic 8: Sequential Circuits

Topic 8: Sequential Circuits Topic 8: Sequential Circuits Readings : Patterson & Hennesy, Appendix B.4 - B.6 Goals Basic Principles behind Memory Elements Clocks Applications of sequential circuits Introduction to the concept of the

More information

Models for representing sequential circuits

Models for representing sequential circuits Sequential Circuits Models for representing sequential circuits Finite-state machines (Moore and Mealy) Representation of memory (states) Changes in state (transitions) Design procedure State diagrams

More information

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

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 9 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Week 9 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering TIMING ANALYSIS Overview Circuits do not respond instantaneously to input changes

More information

COE 202: Digital Logic Design Sequential Circuits Part 3. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

COE 202: Digital Logic Design Sequential Circuits Part 3. Dr. Ahmad Almulhem   ahmadsm AT kfupm Phone: Office: COE 202: Digital Logic Design Sequential Circuits Part 3 Dr. Ahmad Almulhem Email: ahmadsm AT kfupm Phone: 860-7554 Office: 22-324 Objectives Important Design Concepts State Reduction and Assignment Design

More information

Department of Electrical & Electronics EE-333 DIGITAL SYSTEMS

Department of Electrical & Electronics EE-333 DIGITAL SYSTEMS Department of Electrical & Electronics EE-333 DIGITAL SYSTEMS 1) Given the two binary numbers X = 1010100 and Y = 1000011, perform the subtraction (a) X -Y and (b) Y - X using 2's complements. a) X = 1010100

More information

Lecture 10: Synchronous Sequential Circuits Design

Lecture 10: Synchronous Sequential Circuits Design Lecture 0: Synchronous Sequential Circuits Design. General Form Input Combinational Flip-flops Combinational Output Circuit Circuit Clock.. Moore type has outputs dependent only on the state, e.g. ripple

More information

Digital Logic and Design (Course Code: EE222) Lecture 19: Sequential Circuits Contd..

Digital Logic and Design (Course Code: EE222) Lecture 19: Sequential Circuits Contd.. Indian Institute of Technology Jodhpur, Year 2017-2018 Digital Logic and Design (Course Code: EE222) Lecture 19: Sequential Circuits Contd.. Course Instructor: Shree Prakash Tiwari Email: sptiwari@iitj.ac.in

More information

COE 202: Digital Logic Design Sequential Circuits Part 3. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

COE 202: Digital Logic Design Sequential Circuits Part 3. Dr. Ahmad Almulhem   ahmadsm AT kfupm Phone: Office: COE 202: Digital Logic Design Sequential Circuits Part 3 Dr. Ahmad Almulhem Email: ahmadsm AT kfupm Phone: 860-7554 Office: 22-324 Objectives State Reduction and Assignment Design of Synchronous Sequential

More information

CpE358/CS381. Switching Theory and Logical Design. Class 7

CpE358/CS381. Switching Theory and Logical Design. Class 7 CpE358/CS38 Switchin Theory and Loical Desin Class 7 CpE358/CS38 Summer 24 Copyriht 24 236 Today Fundamental concepts o diital systems (Mano Chapter ) Binary codes, number systems, and arithmetic (Ch )

More information

Chapter 5 Synchronous Sequential Logic

Chapter 5 Synchronous Sequential Logic Chapter 5 Synchronous Sequential Logic Sequential circuit: A circuit that includes memory elements. In this case the output depends not only on the current input but also on the past inputs. Memory A synchronous

More information

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

Appendix B. Review of Digital Logic. Baback Izadi Division of Engineering Programs Appendix B Review of Digital Logic Baback Izadi Division of Engineering Programs bai@engr.newpaltz.edu Elect. & Comp. Eng. 2 DeMorgan Symbols NAND (A.B) = A +B NOR (A+B) = A.B AND A.B = A.B = (A +B ) OR

More information

CPE100: Digital Logic Design I

CPE100: Digital Logic Design I Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu CPE100: Digital Logic Design I Midterm02 Review http://www.ee.unlv.edu/~b1morris/cpe100/ 2 Logistics Thursday Nov. 16 th In normal lecture (13:00-14:15)

More information

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

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BENG (HONS) ELECTRICAL & ELECTRONICS ENGINEERING EXAMINATION SEMESTER /2017 UNIVERSITY OF BOLTON TW35 SCHOOL OF ENGINEERING BENG (HONS) ELECTRICAL & ELECTRONICS ENGINEERING EXAMINATION SEMESTER 2-2016/2017 INTERMEDIATE DIGITAL ELECTRONICS AND COMMUNICATIONS MODULE NO: EEE5002

More information

Digital Design. Sequential Logic

Digital Design. Sequential Logic Principles Of igital esign Chapter 6 Sequential Logic Chapter preview Boolean algebra 3 Logic gates and flip-flops 3 Finite-state machine 6 Logic design techniques 4 Sequential design techniques 6 Binary

More information

ECE 341. Lecture # 3

ECE 341. Lecture # 3 ECE 341 Lecture # 3 Instructor: Zeshan Chishti zeshan@ece.pdx.edu October 7, 2013 Portland State University Lecture Topics Counters Finite State Machines Decoders Multiplexers Reference: Appendix A of

More information

Sequential Synchronous Circuit Analysis

Sequential Synchronous Circuit Analysis Sequential Synchronous Circuit Analysis General Model Current State at time (t) is stored in an array of flip-flops. Next State at time (t+1) is a Boolean function of State and Inputs. Outputs at time

More information

Fundamentals of Digital Design

Fundamentals of Digital Design Fundamentals of Digital Design Digital Radiation Measurement and Spectroscopy NE/RHP 537 1 Binary Number System The binary numeral system, or base-2 number system, is a numeral system that represents numeric

More information

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

ELEC Digital Logic Circuits Fall 2014 Sequential Circuits (Chapter 6) Finite State Machines (Ch. 7-10) ELEC 2200-002 Digital Logic Circuits Fall 2014 Sequential Circuits (Chapter 6) Finite State Machines (Ch. 7-10) Vishwani D. Agrawal James J. Danaher Professor Department of Electrical and Computer Engineering

More information

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

(Boolean Algebra, combinational circuits) (Binary Codes and -arithmetics) Task 1. Exercises: Logical Design of Digital Systems Seite: 1 Self Study (Boolean Algebra, combinational circuits) 1.1 Minimize the function f 1 a ab ab by the help of Boolean algebra and give an implementation

More information

Let s now begin to formalize our analysis of sequential machines Powerful methods for designing machines for System control Pattern recognition Etc.

Let s now begin to formalize our analysis of sequential machines Powerful methods for designing machines for System control Pattern recognition Etc. Finite State Machines Introduction Let s now begin to formalize our analysis of sequential machines Powerful methods for designing machines for System control Pattern recognition Etc. Such devices form

More information

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

Topic 8: Sequential Circuits. Bistable Devices. S-R Latches. Consider the following element. Readings : Patterson & Hennesy, Appendix B.4 - B. Topic 8: Sequential Circuits Bistable Devices Readings : Consider the following element Patterson & Hennesy, Appendix B.4 - B.6 Goals Basic Principles behind Memory Elements Clocks Applications of sequential

More information

Synchronous Sequential Logic

Synchronous Sequential Logic 1 IT 201 DIGITAL SYSTEMS DESIGN MODULE4 NOTES Synchronous Sequential Logic Sequential Circuits - A sequential circuit consists of a combinational circuit and a feedback through the storage elements in

More information

LOGIC CIRCUITS. Basic Experiment and Design of Electronics

LOGIC CIRCUITS. Basic Experiment and Design of Electronics Basic Experiment and Design of Electronics LOGIC CIRCUITS Ho Kyung Kim, Ph.D. hokyung@pusan.ac.kr School of Mechanical Engineering Pusan National University Outline Combinational logic circuits Output

More information

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

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 7 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Week 7 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering SEQUENTIAL CIRCUITS: LATCHES Overview Circuits require memory to store intermediate

More information

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

EECS Components and Design Techniques for Digital Systems. FSMs 9/11/2007 EECS 150 - Components and Design Techniques for Digital Systems FSMs 9/11/2007 Sarah Bird Electrical Engineering and Computer Sciences University of California, Berkeley Slides borrowed from David Culler

More information

Last lecture Counter design Finite state machine started vending machine example. Today Continue on the vending machine example Moore/Mealy machines

Last lecture Counter design Finite state machine started vending machine example. Today Continue on the vending machine example Moore/Mealy machines Lecture 2 Logistics HW6 due Wednesday Lab 7 this week (Tuesday exception) Midterm 2 Friday (covers material up to simple FSM (today)) Review on Thursday Yoky office hour on Friday moved to Thursday 2-:2pm

More information

Generalized FSM model: Moore and Mealy

Generalized FSM model: Moore and Mealy Lecture 18 Logistics HW7 is due on Monday (and topic included in midterm 2) Midterm 2 on Wednesday in lecture slot cover materials up to today s lecture Review session Tuesday 4:15pm in EEB125 Last lecture

More information

ECE380 Digital Logic. Synchronous sequential circuits

ECE380 Digital Logic. Synchronous sequential circuits ECE38 Digital Logic Synchronous Sequential Circuits: State Diagrams, State Tables Dr. D. J. Jackson Lecture 27- Synchronous sequential circuits Circuits here a clock signal is used to control operation

More information

LOGIC CIRCUITS. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D.

LOGIC CIRCUITS. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D. Basic Experiment and Design of Electronics LOGIC CIRCUITS Ho Kyung Kim, Ph.D. hokyung@pusan.ac.kr School of Mechanical Engineering Pusan National University Digital IC packages TTL (transistor-transistor

More information

Digital Electronics Sequential Logic

Digital Electronics Sequential Logic /5/27 igital Electronics Sequential Logic r. I. J. Wassell Sequential Logic The logic circuits discussed previously are known as combinational, in that the output depends only on the condition of the latest

More information

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

King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department Page 1 of 13 COE 202: Digital Logic Design (3-0-3) Term 112 (Spring 2012) Final

More information

Finite State Machine. By : Ali Mustafa

Finite State Machine. By : Ali Mustafa Finite State Machine By : Ali Mustafa So Far We have covered the memory elements issue and we are ready to implement the sequential circuits. We need to know how to Deal(analyze) with a sequential circuit?

More information

INF2270 Spring Philipp Häfliger. Lecture 8: Superscalar CPUs, Course Summary/Repetition (1/2)

INF2270 Spring Philipp Häfliger. Lecture 8: Superscalar CPUs, Course Summary/Repetition (1/2) INF2270 Spring 2010 Philipp Häfliger Summary/Repetition (1/2) content From Scalar to Superscalar Lecture Summary and Brief Repetition Binary numbers Boolean Algebra Combinational Logic Circuits Encoder/Decoder

More information

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

Logic. Basic Logic Functions. Switches in series (AND) Truth Tables. Switches in Parallel (OR) Alternative view for OR TOPIS: Logic Logic Expressions Logic Gates Simplifying Logic Expressions Sequential Logic (Logic with a Memory) George oole (85-864), English mathematician, oolean logic used in digital computers since

More information

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

Show that the dual of the exclusive-or is equal to its compliment. 7 Darshan Institute of ngineering and Technology, Rajkot, Subject: Digital lectronics (2300) GTU Question ank Unit Group Questions Do as directed : I. Given that (6)0 = (00)x, find the value of x. II. dd

More information

Chapter 3 Digital Logic Structures

Chapter 3 Digital Logic Structures Chapter 3 Digital Logic Structures Original slides from Gregory Byrd, North Carolina State University Modified by C. Wilcox, M. Strout, Y. Malaiya Colorado State University Computing Layers Problems Algorithms

More information

Digital Design 2010 DE2 1

Digital Design 2010 DE2 1 1 Underviser: D. M. Akbar Hussain Litteratur: Digital Design Principles & Practices 4 th Edition by yj John F. Wakerly 2 DE2 1 3 4 DE2 2 To enable students to apply analysis, synthesis and implementation

More information

CSE140: Components and Design Techniques for Digital Systems. Midterm Information. Instructor: Mohsen Imani. Sources: TSR, Katz, Boriello & Vahid

CSE140: Components and Design Techniques for Digital Systems. Midterm Information. Instructor: Mohsen Imani. Sources: TSR, Katz, Boriello & Vahid CSE140: Components and Design Techniques for Digital Systems Midterm Information Instructor: Mohsen Imani Midterm Topics In general: everything that was covered in homework 1 and 2 and related lectures,

More information

COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University

COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University 1 OEN 312 DIGIAL SYSEMS DESIGN - LEURE NOES oncordia University hapter 6: Registers and ounters NOE: For more examples and detailed description of the material in the lecture notes, please refer to the

More information

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

ECE/Comp Sci 352 Digital Systems Fundamentals. Charles R. Kime Section 2 Fall Logic and Computer Design Fundamentals University of Wisconsin - Madison ECE/Comp Sci 352 Digital Systems Fundamentals Charles R. Kime Section 2 Fall 2001 Lecture 5 Registers & Counters Part 2 Charles Kime Counters Counters are sequential circuits

More information

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

Lecture 14: State Tables, Diagrams, Latches, and Flip Flop EE210: Switching Systems Lecture 14: State Tables, Diagrams, Latches, and Flip Flop Prof. YingLi Tian Nov. 6, 2017 Department of Electrical Engineering The City College of New York The City University

More information

Clocked Synchronous State-machine Analysis

Clocked Synchronous State-machine Analysis Clocked Synchronous State-machine Analysis Given the circuit diagram of a state machine: Analyze the combinational logic to determine flip-flop input (excitation) equations: D i = F i (Q, inputs) The input

More information

Example: vending machine

Example: vending machine Example: vending machine Release item after 15 cents are deposited Single coin slot for dimes, nickels o change Reset Coin Sensor Vending Machine FSM Open Release Mechanism Clock Spring 2005 CSE370 - guest

More information

Sequential Logic Circuits

Sequential Logic Circuits Chapter 4 Sequential Logic Circuits 4 1 The defining characteristic of a combinational circuit is that its output depends only on the current inputs applied to the circuit. The output of a sequential circuit,

More information

Sample Test Paper - I

Sample Test Paper - I Scheme G Sample Test Paper - I Course Name : Computer Engineering Group Marks : 25 Hours: 1 Hrs. Q.1) Attempt any THREE: 09 Marks a) Define i) Propagation delay ii) Fan-in iii) Fan-out b) Convert the following:

More information

Different encodings generate different circuits

Different encodings generate different circuits FSM State Encoding Different encodings generate different circuits no easy way to find best encoding with fewest logic gates or shortest propagation delay. Binary encoding: K states need log 2 K bits i.e.,

More information

Lecture 8: Sequential Networks and Finite State Machines

Lecture 8: Sequential Networks and Finite State Machines Lecture 8: Sequential Networks and Finite State Machines CSE 140: Components and Design Techniques for Digital Systems Spring 2014 CK Cheng, Diba Mirza Dept. of Computer Science and Engineering University

More information

EECS150 - Digital Design Lecture 11 - Shifters & Counters. Register Summary

EECS150 - Digital Design Lecture 11 - Shifters & Counters. Register Summary EECS50 - Digital Design Lecture - Shifters & Counters February 24, 2003 John Wawrzynek Spring 2005 EECS50 - Lec-counters Page Register Summary All registers (this semester) based on Flip-flops: q 3 q 2

More information

Lecture 7: Logic design. Combinational logic circuits

Lecture 7: Logic design. Combinational logic circuits /24/28 Lecture 7: Logic design Binary digital circuits: Two voltage levels: and (ground and supply voltage) Built from transistors used as on/off switches Analog circuits not very suitable for generic

More information

EECS150 - Digital Design Lecture 16 Counters. Announcements

EECS150 - Digital Design Lecture 16 Counters. Announcements EECS150 - Digital Design Lecture 16 Counters October 20, 2011 Elad Alon Electrical Engineering and Computer Sciences University of California, Berkeley http://www-inst.eecs.berkeley.edu/~cs150 Fall 2011

More information

6. Finite State Machines

6. Finite State Machines 6. Finite State Machines 6.4x Computation Structures Part Digital Circuits Copyright 25 MIT EECS 6.4 Computation Structures L6: Finite State Machines, Slide # Our New Machine Clock State Registers k Current

More information

Chapter 7 Logic Circuits

Chapter 7 Logic Circuits Chapter 7 Logic Circuits Goal. Advantages of digital technology compared to analog technology. 2. Terminology of Digital Circuits. 3. Convert Numbers between Decimal, Binary and Other forms. 5. Binary

More information

From Sequential Circuits to Real Computers

From Sequential Circuits to Real Computers 1 / 36 From Sequential Circuits to Real Computers Lecturer: Guillaume Beslon Original Author: Lionel Morel Computer Science and Information Technologies - INSA Lyon Fall 2017 2 / 36 Introduction What we

More information

EEE2135 Digital Logic Design

EEE2135 Digital Logic Design EEE2135 Digital Logic Design Chapter 7. Sequential Circuits Design 서강대학교 전자공학과 1. Model of Sequential Circuits 1) Sequential vs. Combinational Circuits a. Sequential circuits: Outputs depend on both the

More information

Sequential Circuit Design

Sequential Circuit Design Sequential Circuit esign esign Procedure. Specification 2. Formulation Obtain a state diagram or state table 3. State Assignment Assign binary codes to the states 4. Flip-Flop Input Equation etermination

More information

CPE100: Digital Logic Design I

CPE100: Digital Logic Design I Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu CPE100: Digital Logic Design I Final Review http://www.ee.unlv.edu/~b1morris/cpe100/ 2 Logistics Tuesday Dec 12 th 13:00-15:00 (1-3pm) 2 hour

More information

Review for Final Exam

Review for Final Exam CSE140: Components and Design Techniques for Digital Systems Review for Final Exam Mohsen Imani CAPE Please submit your evaluations!!!! RTL design Use the RTL design process to design a system that has

More information

Chapter 6. Synchronous Sequential Circuits

Chapter 6. Synchronous Sequential Circuits Chapter 6 Synchronous Sequential Circuits In a combinational circuit, the values of the outputs are determined solely by the present values of its inputs. In a sequential circuit, the values of the outputs

More information

EECS150 - Digital Design Lecture 18 - Counters

EECS150 - Digital Design Lecture 18 - Counters EECS150 - Digital Design Lecture 18 - Counters October 24, 2002 John Wawrzynek Fall 2002 EECS150 - Lec18-counters Page 1 Counters Special sequential circuits (FSMs) that sequence though a set outputs.

More information

EECS150 - Digital Design Lecture 18 - Counters

EECS150 - Digital Design Lecture 18 - Counters EECS50 - Digital Design Lecture 8 - Counters October 24, 2002 John Wawrzynek Fall 2002 EECS50 - Lec8-counters Page Counters Special sequential circuits (FSMs) that sequence though a set outputs. Examples:

More information

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

CPE/EE 422/522. Chapter 1 - Review of Logic Design Fundamentals. Dr. Rhonda Kay Gaede UAH. 1.1 Combinational Logic CPE/EE 422/522 Chapter - Review of Logic Design Fundamentals Dr. Rhonda Kay Gaede UAH UAH Chapter CPE/EE 422/522. Combinational Logic Combinational Logic has no control inputs. When the inputs to a combinational

More information

The Design Procedure. Output Equation Determination - Derive output equations from the state table

The Design Procedure. Output Equation Determination - Derive output equations from the state table The Design Procedure Specification Formulation - Obtain a state diagram or state table State Assignment - Assign binary codes to the states Flip-Flop Input Equation Determination - Select flipflop types

More information

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

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 ENGG 1203 Tutorial _03 Laboratory 3 Build a ball counter Timing diagram of a DFF Lab 3 Gate Timing difference timing for difference kind of gate, cost dependence (1) Setup Time = t2-t1 (2) Propagation

More information

Review for B33DV2-Digital Design. Digital Design

Review for B33DV2-Digital Design. Digital Design Review for B33DV2 The Elements of Modern Behaviours Design Representations Blocks Waveforms Gates Truth Tables Boolean Algebra Switches Rapid Prototyping Technologies Circuit Technologies TTL MOS Simulation

More information

ENGG 1203 Tutorial_9 - Review. Boolean Algebra. Simplifying Logic Circuits. Combinational Logic. 1. Combinational & Sequential Logic

ENGG 1203 Tutorial_9 - Review. Boolean Algebra. Simplifying Logic Circuits. Combinational Logic. 1. Combinational & Sequential Logic ENGG 1203 Tutorial_9 - Review Boolean Algebra 1. Combinational & Sequential Logic 2. Computer Systems 3. Electronic Circuits 4. Signals, Systems, and Control Remark : Multiple Choice Questions : ** Check

More information

Fundamentals of Computer Systems

Fundamentals of Computer Systems Fundamentals of Computer Systems Review for the Final Stephen A. Edwards Columbia University Summer 25 The Final 2 hours 8 problems Closed book Simple calculators are OK, but unnecessary One double-sided

More information

Logic Design II (17.342) Spring Lecture Outline

Logic Design II (17.342) Spring Lecture Outline Logic Design II (17.342) Spring 2012 Lecture Outline Class # 10 April 12, 2012 Dohn Bowden 1 Today s Lecture First half of the class Circuits for Arithmetic Operations Chapter 18 Should finish at least

More information

Digital Electronics. Part A

Digital Electronics. Part A Digital Electronics Final Examination Part A Winter 2004-05 Student Name: Date: lass Period: Total Points: Multiple hoice Directions: Select the letter of the response which best completes the item or

More information

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

Reg. No. Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER Second Semester. Computer Science and Engineering Sp 6 Reg. No. Question Paper Code : 27156 B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER 2015. Second Semester Computer Science and Engineering CS 6201 DIGITAL PRINCIPLES AND SYSTEM DESIGN (Common

More information

Counters. We ll look at different kinds of counters and discuss how to build them

Counters. We ll look at different kinds of counters and discuss how to build them Counters We ll look at different kinds of counters and discuss how to build them These are not only examples of sequential analysis and design, but also real devices used in larger circuits 1 Introducing

More information

State & Finite State Machines

State & Finite State Machines State & Finite State Machines Hakim Weatherspoon CS 3410, Spring 2012 Computer Science Cornell University See P&H Appendix C.7. C.8, C.10, C.11 Stateful Components Until now is combinatorial logic Output

More information

10/12/2016. An FSM with No Inputs Moves from State to State. ECE 120: Introduction to Computing. Eventually, the States Form a Loop

10/12/2016. An FSM with No Inputs Moves from State to State. ECE 120: Introduction to Computing. Eventually, the States Form a Loop University of Illinois at Urbana-Champaign Dept. of Electrical and Computer Engineering An FSM with No Inputs Moves from State to State What happens if an FSM has no inputs? ECE 120: Introduction to Computing

More information

Lecture 3 Review on Digital Logic (Part 2)

Lecture 3 Review on Digital Logic (Part 2) Lecture 3 Review on Digital Logic (Part 2) Xuan Silvia Zhang Washington University in St. Louis http://classes.engineering.wustl.edu/ese461/ ircuit Optimization Simplest implementation ost criterion literal

More information

Digital Electronics Final Examination. Part A

Digital Electronics Final Examination. Part A Digital Electronics Final Examination Part A Spring 2009 Student Name: Date: Class Period: Total Points: /50 Converted Score: /40 Page 1 of 13 Directions: This is a CLOSED BOOK/CLOSED NOTES exam. Select

More information

Present Next state Output state w = 0 w = 1 z A A B 0 B A C 0 C A C 1

Present Next state Output state w = 0 w = 1 z A A B 0 B A C 0 C A C 1 W Combinational circuit Flip-flops Combinational circuit Z cycle: t t t 2 t 3 t 4 t 5 t 6 t 7 t 8 t 9 t : : Figure 8.. The general form of a sequential circuit. Figure 8.2. Sequences of input and output

More information

EECS150 - Digital Design Lecture 17 - Sequential Circuits 3 (Counters)

EECS150 - Digital Design Lecture 17 - Sequential Circuits 3 (Counters) EECS150 - Digital Design Lecture 17 - Sequential Circuits 3 (Counters) March 19&21, 2002 John Wawrzynek Spring 2002 EECS150 - Lec13-seq3 version 2 Page 1 Counters Special sequential circuits (FSMs) that

More information

14:332:231 DIGITAL LOGIC DESIGN

14:332:231 DIGITAL LOGIC DESIGN 14:332:231 IGITL LOGI ESIGN Ivan Marsic, Rutgers University Electrical & omputer Engineering all 2013 Lecture #17: locked Synchronous -Machine nalysis locked Synchronous Sequential ircuits lso known as

More information

CE1911 LECTURE FSM DESIGN PRACTICE DAY 1

CE1911 LECTURE FSM DESIGN PRACTICE DAY 1 REVIEW MATERIAL 1. Combinational circuits do not have memory. They calculate instantaneous outputs based only on current inputs. They implement basic arithmetic and logic functions. 2. Sequential circuits

More information

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

Clocked Sequential Circuits UNIT 13 ANALYSIS OF CLOCKED SEQUENTIAL CIRCUITS. Analysis of Clocked Sequential Circuits. Signal Tracing and Timing Charts ed Sequential Circuits 2 Contents nalysis by signal tracing & timing charts State tables and graphs General models for sequential circuits sequential parity checker Reading Unit 3 asic unit Unit : Latch

More information

Finite State Machine (FSM)

Finite State Machine (FSM) Finite State Machine (FSM) Consists of: State register Stores current state Loads next state at clock edge Combinational logic Computes the next state Computes the outputs S S Next State CLK Current State

More information

Chapter 7. Synchronous Sequential Networks. Excitation for

Chapter 7. Synchronous Sequential Networks. Excitation for Chapter 7 Excitation for Synchronous Sequential Networks J. C. Huang, 2004 igital Logic esign 1 Structure of a clocked synchronous sequential network Mealy model of a clocked synchronous sequential network

More information

Chapter 4. Sequential Logic Circuits

Chapter 4. Sequential Logic Circuits Chapter 4 Sequential Logic Circuits 1 2 Chapter 4 4 1 The defining characteristic of a combinational circuit is that its output depends only on the current inputs applied to the circuit. The output of

More information

EECS150 - Digital Design Lecture 23 - FSMs & Counters

EECS150 - Digital Design Lecture 23 - FSMs & Counters EECS150 - Digital Design Lecture 23 - FSMs & Counters April 8, 2010 John Wawrzynek Spring 2010 EECS150 - Lec22-counters Page 1 One-hot encoding of states. One FF per state. State Encoding Why one-hot encoding?

More information

Fundamentals of Boolean Algebra

Fundamentals of Boolean Algebra UNIT-II 1 Fundamentals of Boolean Algebra Basic Postulates Postulate 1 (Definition): A Boolean algebra is a closed algebraic system containing a set K of two or more elements and the two operators and

More information

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

Boolean Algebra and Digital Logic 2009, University of Colombo School of Computing IT 204 Section 3.0 Boolean Algebra and Digital Logic Boolean Algebra 2 Logic Equations to Truth Tables X = A. B + A. B + AB A B X 0 0 0 0 3 Sum of Products The OR operation performed on the products of

More information

Prove that if not fat and not triangle necessarily means not green then green must be fat or triangle (or both).

Prove that if not fat and not triangle necessarily means not green then green must be fat or triangle (or both). hapter : oolean lgebra.) Definition of oolean lgebra The oolean algebra is named after George ool who developed this algebra (854) in order to analyze logical problems. n example to such problem is: Prove

More information

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

Appendix A: Digital Logic. Principles of Computer Architecture. Principles of Computer Architecture by M. Murdocca and V. Heuring - Principles of Computer rchitecture Miles Murdocca and Vincent Heuring 999 M. Murdocca and V. Heuring -2 Chapter Contents. Introduction.2 Combinational Logic.3 Truth Tables.4 Logic Gates.5 Properties

More information

Binary addition (1-bit) P Q Y = P + Q Comments Carry = Carry = Carry = Carry = 1 P Q

Binary addition (1-bit) P Q Y = P + Q Comments Carry = Carry = Carry = Carry = 1 P Q Digital Arithmetic In Chapter 2, we have discussed number systems such as binary, hexadecimal, decimal, and octal. We have also discussed sign representation techniques, for example, sign-bit representation

More information

Ch 9. Sequential Logic Technologies. IX - Sequential Logic Technology Contemporary Logic Design 1

Ch 9. Sequential Logic Technologies. IX - Sequential Logic Technology Contemporary Logic Design 1 Ch 9. Sequential Logic Technologies Technology Contemporary Logic Design Overview Basic Sequential Logic Components FSM Design with Counters FSM Design with Programmable Logic FSM Design with More Sophisticated

More information

Chapter 6 Introduction to state machines

Chapter 6 Introduction to state machines 9..7 hapter 6 Introduction to state machines Dr.-Ing. Stefan Werner Table of content hapter : Switching Algebra hapter : Logical Levels, Timing & Delays hapter 3: Karnaugh-Veitch-Maps hapter 4: ombinational

More information

State & Finite State Machines

State & Finite State Machines State & Finite State Machines Hakim Weatherspoon CS 3410, Spring 2012 Computer Science Cornell University See P&H Appendix C.7. C.8, C.10, C.11 Big Picture: Building a Processor memory inst register file

More information