Outline. Introduction to number systems: sign/magnitude, ones complement, twos complement Review of latches, flip flops, counters

Size: px
Start display at page:

Download "Outline. Introduction to number systems: sign/magnitude, ones complement, twos complement Review of latches, flip flops, counters"

Transcription

1 Outline Last time: Introuction to number systems: sign/magnitue, ones complement, twos complement Review of latches, flip flops, counters This lecture: Review Tables & Transition Diagrams Implementation Using D Flip-Flops Machine Equivalence Incompletely Specifie Machines Assignment & Coing Schemes Design Example: Assign Coes to s Design Example: Implement Using D flip-flops Design Example: Implement Using T flip-flops CS5 Newton/Pister 8.. Clocke Synchronous Finite- Machines Example: Consier the stuent association coffee vening machine which sells coffee at 5 /cup. The machine will accept nickles, imes, an quarters, one at a time. The coffee release line will be set to true when 5 or more has been put into the machine an the machine will return the correct change. CS5 Newton/Pister 8..2 CS5 Sp 98 R. Newton & K. Pister

2 primary inputs (σ(t)) seconary inputs (q(t)) Definition: Mealy Machine Next- Logic Memory Output Logic l seconary outputs (q(t+)) primary outputs (z(t)) A sequential machine or Mealy Machine can be characterize by the quintuple: M = ( S, Q, Z,, l) where S = finite non-empty set of input symbols σ, σ2,..., σi Q = finite non-empty set of states q, q2,..., qn Z = finite non-empty set of output symbols z, z2,..., zm = next-state function, which maps Q S fi Q l = the output function, which maps Q S fi Z CS5 Newton/Pister 8..3 primary inputs (σ(t)) seconary inputs (q(t)) Definition: Moore Machine Next- Logic Memory Output Logic l seconary outputs (q(t+)) primary outputs (z(t)) A sequential machine is sai to be of the Moore type (Moore Machine ) if its output function is a function only of its states (i.e. l : Q fi Z) Every Mealy Machine can be converte to a Moore Machine an vice versa. If the Memory is clocke, the machines are Clocke, Synchronous Mealy an Moore machines respectively. CS5 Newton/Pister 8..4 CS5 Sp 98 R. Newton & K. Pister 2

3 Design Example: Inputs, Outputs an s Example: Consier the stuent association coffee vening machine which sells coffee at 5 /cup. The machine will accept nickles, imes, an quarters, one at a time. The coffee release line will be set to true when 5 or more has been put into the machine an the machine will return the correct change. Input S = { 5,, 25 } M = ( S, Q, Z,, l ) Sequential Machine Output Z = { D, R, R5, R, R5, R2 } Q = { q, q5, q } CS5 Newton/Pister 8..5 Next- an Output Functions /Output table ( symbol roppe for clarity): q\s 5 25 q q5,d q,d q,r q5 q,d q,r q,r5 q q,r q,r5 q,r2 Input q Next, Output q5 q q 5/D q5 CS5 Newton/Pister Means that upon the insertion of 5, when the machine is in state q, it will go to state q5, the coffee will not be release an no change ( ) will be returne CS5 Sp 98 R. Newton & K. Pister 3

4 How About a Moore Machine? Input S = { 5,, 25 } Next- Logic Memory Output Logic l Output Z = { D, R, R5, R, R5, R2 } Q = { q, q5, q, } CS5 Newton/Pister 8..7 Input /Output Transition Table an Transition Diagram: Moore Machine q\s 5 25 z q q5 q q25 D q5 q q5 q3 D q q5 q2 q35 D q5 q5 q q25 R q2 q5 q q25 R5 q25 q5 q q25 R q3 q5 q q25 R5 q35 q5 q q25 R2 q/d q5/r q5/d q/d q2/r5 q3/5 Next Output q25/r q35/2 CS5 Newton/Pister 8..8 CS5 Sp 98 R. Newton & K. Pister 4

5 Conversion to Mealy Machine Input q\s 5 25 q q5,d q,d q25,r q5 q q,d q5,r q3,r5 q5,r q2,r5 q35,r2 q5 q5,d q,d q25,r q2 q5,d q,d q25,r q25 q5,d q,d q25,r q3 q5,d q,d q25,r q35 q5,d q,d q25,r Next, Output CS5 Newton/Pister 8..9 Machine Equivalence Let qa an qb be two states of machines Ma an Mb respectively. s qa an qb are sai to be equivalent iff, starting with qa an qb, for any sequence of input symbols applie to the two machines, the output sequences are ientical. If qa an i are not ientical, they are sai to be istinguishable. Let Ma an Mb be two sequential machines. Ma an Mb are sai to be eqivalent iff for every state of Ma there exists at least one equivalent state in Mb, an vice versa. Similarly, if Ma an Mb are not equivalent we say they are istinguishable. Two states qa an qb are equivalent if: () qa an qb prouce the same output values (for Mealy machines, they must prouce the same outputs for all legal input conitions). (2) For each input combination, qa an qb must have the same next state, or equivalent next states. CS5 Newton/Pister 8.. CS5 Sp 98 R. Newton & K. Pister 5

6 Minimization of Completely-Specifie Machines Two states are sai to be k-equivalent if, when excite by an input sequence of k symbols, yiel ientical output sequences. The machine can be partitione by this k-equivalence relation into k-equivalence classes. For any n-state machine, there can be at most (n-) successive, istinct partitions. For any n-state machine, these equivalence classes contain one an only one unique state. To minimize a completely-specifie machine: () Fin the -equivalence classes, 2-equivalence classes, etc. until the k+ equivalence classes are the same as the K equivalence classes, then stop. (2) Combine all the states in the same class into a single state. If the machine has m equivalence classes, the machine has m states. CS5 Newton/Pister 8.. Design Example: Minimization q \ s partition q q5,d q,d q25,r I q5 q,d q5,r q3,r5 II q q5,r q2,r5 q35,r2 III q5 q5,d q,d q25,r I q2 q5,d q,d q25,r I q25 q5,d q,d q25,r I q3 q5,d q,d q25,r I q35 q5,d q,d q25,r I CS5 Newton/Pister 8..2 CS5 Sp 98 R. Newton & K. Pister 6

7 Design Example: Minimization -partition q \ s partition q q5,d q,d q25,r q5 q5,d q,d q25,r I q2 q5,d q,d q25,r q25 q5,d q,d q25,r q3 q5,d q,d q25,r q35 q5,d q,d q25,r II q5 q,d q5,r q3,r5 III q q5,r q2,r5 q35,r2 CS5 Newton/Pister 8..3 Assignment q\s 5 25 q q5,d q,d q,r q5 q,d q,r q,r5 q q,r q,r5 q,r2 We must assign coes to symbolic values. Coes for input an output symbols are usually "given" so we must etermine coes for the state symbols. This process is calle state assignment or state coing. If binary storage elements are use we nee: Ølog2(N s )ø < N m < N s CS5 Newton/Pister 8..4 CS5 Sp 98 R. Newton & K. Pister 7

8 Design Example: Assignment Minimum-Length Coe For this example, 2 < N m < 3. If we choose N m = 2, an assign coes ranomly, then we have the state table: q\σ 5 25,D,D,R,D,R,R5,R,R5,R2??,????,????,?? unuse state CS5 Newton/Pister 8..5 Implementation Using D Flip-Flops Can use positive-ege-triggere D flop-flop irectly to implement storage element: Input S = { 5,, 25 } Next- Logic D Q CLK D Q Output Logic l Output Z = { D, R, R5, R, R5, R2 } CLK D Q CLK CLK Q = {,,} CS5 Newton/Pister 8..6 CS5 Sp 98 R. Newton & K. Pister 8

9 Design Example: Assignment One-Hot Coe For this example, 2 < N m < 3. If we choose N m = 3, an assign coes ranomly but where exactly one bit of the coe is "" for each vali state, then we have the state table: q\s 5 25,D,D,R,D,R,R5,R,R5,R2???,?????,?????,?????,?????,?????,?????,?????,?????,?????,?????,?????,?????,?????,?????,?? unuse states CS5 Newton/Pister 8..7 Steps to FSM Design Construct a state/output table from the wor escription (or a state graph). Minimization: Minimize the number of states (usually helps). Assignment: Coose a set of state variables an assign coes to name states. Substitute the state-variable combinations into the state/output table to create a transition/output table that shows the esire next-state variable combination for each state/input combination. Choose a flip-flop type (e.g. D, J-K, T) for the state memory. Construct an excitation table that shows the excitation values require to obtain the esire next-state value for each state/input combination. Derive excitation equations from excitation table. Derive output equations from transition/output table. Draw logic iagram that shows combinational next-state an output functions as well as flip-flops. CS5 Newton/Pister 8..8 CS5 Sp 98 R. Newton & K. Pister 9

10 Minimization Using an Implication Table Buil a compatibility checking table in a laer shape, as shown, an label each row q2, q3,... qn an column q, q2, qn- (no nee for iagonal). b q\s z a b c e f g h c f h e a e c a f b b h c g c e f g h a b c e f g CS5 Newton/Pister 8..9 Minimization Using am Implication Table: Summary of Approach Construct an implication table which contains a square for each pair of states. Label each row q2, q3,... qn an column q, q2, qn- (no nee for iagonal). Compare each each pair of rows in the state table. If the outputs associate with states i an j are ifferent, put an in square i-j to inicate that i j (trivial non-equivalence). If the outputs an the next states are the same, put a in square i-j to inicate i j (trivial equivalence). In all other squares, put state-pairs that must be equivalent if states i-j are to be equivalent (if the next states of i an j are m an n for some input σ, then m-n is an implie pair an goes in square i-j). Go through the non- an non- squares, one at a time. If square i-j contains an implie pair an square m-n contains an, then i j so put an in i-j as well. If any 's were ae in the last step, repeat it until no more 's are ae. For each square i-j which not containing an, i j. CS5 Newton/Pister 8..2 CS5 Sp 98 R. Newton & K. Pister

11 Implication Table Example: Pass q\s z a b c e f g h c f h e a e c a f b b h c g b c e f g h -f c-h c-e b- c-h a-f e-h b-f a- e-f b- c-e -g a-b e-h c-f a-b a-g c-f b-g a b c e f g CS5 Newton/Pister 8..2 Implication Table Example: Pass an Pass 2 b c -f c-h c-e a-f e-h b c -f c-h c-e a-f e-h e f g h b- c-h b-f a- e-f b- c-e -g a-b e-h c-f a-b a-g c-f b-g a b c e f g e f g h b- c-h b-f a- e-f b- c-e -g a-b e-h c-f a-b a-g c-f b-g a b c e f g CS5 Newton/Pister CS5 Sp 98 R. Newton & K. Pister

12 Implication Table Example: Final Table q\s z a b c f g h c f h c a f b b h c g CS5 Newton/Pister Steps to FSM Design Construct a state/output table from the wor escription (or a state graph). Minimization: Minimize the number of states (usually helps a bit). Assignment: Coose a set of state variables an assign coes to name states. Substitute the state-variable combinations into the state/output table to create a transition/output table (next-state table) that shows the esire next-state variable combination for each state/input combination. Construct next-state K-maps as neee. Choose a flip-flop type (e.g. D, J-K, T) for the state memory. Construct an excitation table that shows the flip-flop input excitation values require to obtain the esire next-state value for each state/input combination. Derive flip-flop excitation equations from excitation table. Derive output equations from transition/output table. Draw logic iagram that shows combinational next-state an output functions as well as flip-flops. CS5 Newton/Pister CS5 Sp 98 R. Newton & K. Pister 2

13 Guielines for Assignment The iea of the following heuristics is to try to get the 's together (in the same implicant) on the flip-flop input maps. This metho oes not apply to all problems an even when it is applicable it oes not guarantee a minimum soultion. s which have the same next state, for a given input, shoul be given ajacent assignments ("fan-out oriente"). s which are the next states of the same state shoul be given ajacent assignments ("fan-in oriente"). Thir priority, to simplify the output function, states which have the same output for a given input shoul be given ajacent assignments (this will help put the 's together in the output K- maps; "output oriente"). / b a / / c / / e / f / / {a,b}; {,e}; {c,f} CS5 Newton/Pister But How Do You Actually Do It? Write own all of the states that shoul be given ajacent assignments accoring to the criteria above ("assignment constraints", or "face embeing constraints.") Then, using a Karnaugh-map, try to satisfy as many of them as possible (or use a computer program which oes it: Kiss, Nova, Mustang, Jei). Some guielines to help are: Assign the starting state to the "" square on the map (picking a ifferent square oesn't help, since all squares have the same number of ajacencies an it's easier to reset to ""). Fanout-oriente guielines an ajacency conitions require more than once shoul be satisfie first. When guielines require that 3 or 4 states be ajacent, these states shoul be place within a group of 4 on the assignment map. If there are only a few outputs, the output guieline shoul be applie last. If there are lots of outputs an only a few states, then give more weight to the thir guieline. CS5 Newton/Pister CS5 Sp 98 R. Newton & K. Pister 3

14 Assignment: Design Example q \ s q q, q2, q q3, q2, q2 q, q4, q3 q5, q2, q4 q, q6, q5 q5, q2, q6 q, q6, Consier the state table opposite: Guieline : {q,q2,q4,q6} since all have q as next-state with input. Similary {q,q,q3,q5}; {q3,q5}; {q4,q6}. Guieline 2: {q,q2} since nextstates of q. Similarly {q2,q3}; {q,q4}; {q2,q5} twice; {q,q6} twice. Guieline 3: woul not be worth using here. We alreay have a lot of constraints an their is only one output, mostly. CS5 Newton/Pister Assignment: Design Example Given the ajacency constraints: : {q,q2,q4,q6}; {q,q,q3,q5}; {q3,q5}; {q4,q6}. 2: {q,q2}; {q2,q3}; {q,q4}; {q2,q5} twice; {q,q6} twice. Choose number of flip-flops: 6 states so nee at least 3 an no more than 6. Try with 3 -A, B, C say. Task is now to choose assignment of 3-bit (ABC) state coes to q-q6 so that as many of the above constraints as possible are satisfie, in the orer state earlier. AB A C B AB A C q q2 q q q6 q4 q5 q B q q3 q2 q q q6 5 CS5 Newton/Pister CS5 Sp 98 R. Newton & K. Pister 4

15 Assignment: Design Example Assignments achieve by trial-anerror (question: woul we have been able to satisfy more constraints using 4 flip-flops instea of 3?). Top assignment leas to coes: q =, q =, q2 =, q3 =, q4 =, q5 =, q6 = Now we can construct the next-state maps for the assignment. {q,q2,q4,q6} sa BC q q q 3 * 4 q q5 q2 q5 q {q3,q5} * q2 q2 {q,q3,q5} q2 q4 q6 8 9 q6 {q4,q6} CS5 Newton/Pister Steps to FSM Design Construct a state/output table from the wor escription (or a state graph). Minimization: Minimize the number of states (usually helps a bit). Assignment: Coose a set of state variables an assign coes to name states. Substitute the state-variable combinations into the state/output table to create a transition/output table (next-state table) that shows the esire next-state variable combination for each state/input combination. Construct next-state K-maps as neee. Choose a flip-flop type (e.g. D, J-K, T) for the state memory. Construct an excitation table that shows the flip-flop input excitation values require to obtain the esire next-state value for each state/input combination. Derive flip-flop excitation equations from excitation table. Derive output equations from transition/output table. Draw logic iagram that shows combinational next-state an output functions as well as flip-flops. CS5 Newton/Pister 8..3 CS5 Sp 98 R. Newton & K. Pister 5

16 Guielines for Determining Flip-Flop Input Equations from Next- Map Qn = Qn = Rules for forming input map from nextstate map (2) Type Input D T EN S-R S R J-K J K Qn+= Qn+= * * * Qn+= Qn+ = * * * Qn = half no change no change Qn = half no change complement no change replace s with *s replace s with *s complement no change fill in with *s fill in with *s complement Notes: () * = "on't care" (2) Always copy *s from next-state map to input map first (3) For S, Qn= half an R, Qn= half, fill remaining entries with s. CS5 Newton/Pister 8..3 Flip-Flop Input Equations From Next- Map: Example AB Qn * AB Qn * AB Qn * Qn+ next-state map D input map T input map AB AB Qn Qn S * * * * * * J CS5 Newton/Pister AB Qn R * * * 5 S-R input map AB Qn * * * 2 6 * * 5 J-K input map K CS5 Sp 98 R. Newton & K. Pister 6

17 Next- Maps: Design Example Choose flip-flop types: D flip-flops Recall assignments: q =, q =, q2 =, q3 =, q4 =, q5 =, q6 = Construct D input maps from next-state map, substituting state coes. A BC * * A BC * 4 7 * sa BC 3 * 4 5 * An+ Bn+ Cn+ CS5 Newton/Pister Steps to FSM Design Construct a state/output table from the wor escription (or a state graph). Minimization: Minimize the number of states (usually helps a bit). Assignment: Coose a set of state variables an assign coes to name states. Substitute the state-variable combinations into the state/output table to create a transition/output table (next-state table) that shows the esire next-state variable combination for each state/input combination. Construct next-state K-maps as neee. Choose a flip-flop type (e.g. D, J-K, T) for the state memory. Construct an excitation table that shows the flip-flop input excitation values require to obtain the esire next-state value for each state/input combination. Derive flip-flop excitation equations from excitation table. Derive output equations from transition/output table. Draw logic iagram that shows combinational next-state an output functions as well as flip-flops. CS5 Newton/Pister CS5 Sp 98 R. Newton & K. Pister 7

18 Next- Maps: Summary of Example Nee 6 gates an 3 gate-inputs to implement the machine using this assignment. Straight binary assignment (q=, q=, etc.) woul yiel gates an 39 gate-inputs. The approach gave goo results in this example, but that is not always the case. CS5 Newton/Pister Derive Output Equations from Output Maps A BC 3 * * Output map from Transition/Output Table CS5 Newton/Pister CS5 Sp 98 R. Newton & K. Pister 8

19 Steps to FSM Design Construct a state/output table from the wor escription (or a state graph). Minimization: Minimize the number of states (usually helps a bit). Assignment: Coose a set of state variables an assign coes to name states. Substitute the state-variable combinations into the state/output table to create a transition/output table (next-state table) that shows the esire next-state variable combination for each state/input combination. Construct next-state K-maps as neee. Choose a flip-flop type (e.g. D, J-K, T) for the state memory. Construct an excitation table that shows the flip-flop input excitation values require to obtain the esire next-state value for each state/input combination. Derive flip-flop excitation equations from excitation table. Derive output equations from transition/output table. Draw logic iagram that shows combinational next-state an output functions as well as flip-flops. CS5 Newton/Pister CS5 Sp 98 R. Newton & K. Pister 9

Chapter 5 Synchronous Sequential Logic

Chapter 5 Synchronous Sequential Logic Chapter 5 Synchronous Sequential Logic Chih-Tsun Huang ( 黃稚存 ) http://nthucad.cs.nthu.edu.tw/~cthuang/ Department of Computer Science National Tsing Hua University Outline Introduction Storage Elements:

More information

Digital Circuit And Logic Design I. Lecture 8

Digital Circuit And Logic Design I. Lecture 8 Digital Circuit And Logic Design I Lecture 8 Outline Sequential Logic Design Principles (1) 1. Introduction 2. Latch and Flip-flops 3. Clocked Synchronous State-Machine Analysis Panupong Sornkhom, 2005/2

More information

Digital Circuit And Logic Design I

Digital Circuit And Logic Design I Digital Circuit And Logic Design I Lecture 8 Outline Sequential Logic Design Principles (1) 1. Introduction 2. Latch and Flip-flops 3. Clocked Synchronous State-Machine Panupong Sornkhom, 2005/2 2 1 Sequential

More information

Section 6.8 Synthesis of Sequential Logic Page 1 of 8

Section 6.8 Synthesis of Sequential Logic Page 1 of 8 Section 6.8 Synthesis of Sequential Logic Page of 8 6.8 Synthesis of Sequential Logic Steps:. Given a description (usually in words), develop the state diagram. 2. Convert the state diagram to a next-state

More information

ELCT201: DIGITAL LOGIC DESIGN

ELCT201: DIGITAL LOGIC DESIGN ELCT201: DIGITAL LOGIC DESIGN Dr. Eng. Haitham Omran, haitham.omran@guc.edu.eg Dr. Eng. Wassim Alexan, wassim.joseph@guc.edu.eg Lecture 8 Following the slides of Dr. Ahmed H. Madian محرم 1439 ه Winter

More information

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

UNIT III. Combinational Circuit- Block Diagram. Sequential Circuit- Block Diagram UNIT III INTRODUCTION In combinational logic circuits, the outputs at any instant of time depend only on the input signals present at that time. For a change in input, the output occurs immediately. Combinational

More information

Digital Logic Design I

Digital Logic Design I Digital Logic Design I Synchronous Sequential Logic Mustafa Kemal Uyguroğlu Sequential Circuits Asynchronous Inputs Combinational Circuit Memory Elements Outputs Synchronous Inputs Combinational Circuit

More information

Analysis of Clocked Sequential Circuits

Analysis of Clocked Sequential Circuits Analysis of Clocked Sequential Circuits COE 202 Digital Logic Design Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals Presentation Outline Analysis of Clocked Sequential circuits State

More information

CHAPTER 4: Logic Circuits

CHAPTER 4: Logic Circuits CHAPTER 4: Logic Circuits II. Sequential Circuits Combinational circuits o The outputs depend only on the current input values o It uses only logic gates, decoders, multiplexers, ALUs Sequential circuits

More information

Lecture 11: Synchronous Sequential Logic

Lecture 11: Synchronous Sequential Logic Lecture 11: Synchronous Sequential Logic Syed M. Mahmud, Ph.D ECE Department Wayne State University Aby K George, ECE Department, Wayne State University Contents Characteristic equations Analysis of clocked

More information

Sequential Logic Circuits

Sequential Logic Circuits Sequential Logic Circuits By Dr. M. Hebaishy Digital Logic Design Ch- Rem.!) Types of Logic Circuits Combinational Logic Memoryless Outputs determined by current values of inputs Sequential Logic Has memory

More information

Advanced Digital Logic Design EECS 303

Advanced Digital Logic Design EECS 303 Advanced Digital Logic Design EECS 303 http://ziyang.eecs.northwestern.edu/eecs303/ Teacher: Robert Dick Office: L477 Tech Email: dickrp@northwestern.edu Phone: 847 467 2298 Outline Introduction Reset/set

More information

EE292: Fundamentals of ECE

EE292: Fundamentals of ECE EE292: Fundamentals of ECE Fall 2012 TTh 10:00-11:15 SEB 1242 Lecture 23 121120 http://www.ee.unlv.edu/~b1morris/ee292/ 2 Outline Review Combinatorial Logic Sequential Logic 3 Combinatorial Logic Circuits

More information

Logic Design ( Part 3) Sequential Logic- Finite State Machines (Chapter 3)

Logic Design ( Part 3) Sequential Logic- Finite State Machines (Chapter 3) Logic esign ( Part ) Sequential Logic- Finite State Machines (Chapter ) Based on slides McGraw-Hill Additional material 00/00/006 Lewis/Martin Additional material 008 Roth Additional material 00 Taylor

More information

Sequential Circuits. Output depends only and immediately on the inputs Have no memory (dependence on past values of the inputs)

Sequential Circuits. Output depends only and immediately on the inputs Have no memory (dependence on past values of the inputs) Sequential Circuits Combinational circuits Output depends only and immediately on the inputs Have no memory (dependence on past values of the inputs) Sequential circuits Combination circuits with memory

More information

Universidad Carlos III de Madrid Digital Electronics Exercises

Universidad Carlos III de Madrid Digital Electronics Exercises 1. Complete the chronogram for the circuit given in the figure. inst7 NOT A INPUT VCC AND2 inst5 DFF D PRN Q CLRN inst XOR inst2 TFF PRN T Q CLRN inst8 OUTPUT OUTPUT Q Q1 CLK INPUT VCC CLEARN INPUT VCC

More information

FPGA Implementation of Sequential Logic

FPGA Implementation of Sequential Logic ECE 428 Programmable ASIC Design FPGA Implementation of Sequential Logic Haibo Wang ECE Department Southern Illinois University Carbondale, IL 62901 8-1 Sequential Circuit Model Combinational Circuit:

More information

CS8803: Advanced Digital Design for Embedded Hardware

CS8803: Advanced Digital Design for Embedded Hardware CS883: Advanced Digital Design for Embedded Hardware Lecture 4: Latches, Flip-Flops, and Sequential Circuits Instructor: Sung Kyu Lim (limsk@ece.gatech.edu) Website: http://users.ece.gatech.edu/limsk/course/cs883

More information

Chapter 5: Synchronous Sequential Logic

Chapter 5: Synchronous Sequential Logic Chapter 5: Synchronous Sequential Logic NCNU_2016_DD_5_1 Digital systems may contain memory for storing information. Combinational circuits contains no memory elements the outputs depends only on the inputs

More information

WEEK 10. Sequential Circuits: Analysis and Design. Page 1

WEEK 10. Sequential Circuits: Analysis and Design. Page 1 WEEK 10 Sequential Circuits: Analysis and Design Page 1 Analysis of Clocked (Synchronous) Sequential Circuits Now that we have flip-flops and the concept of memory in our circuit, we might want to determine

More information

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

The word digital implies information in computers is represented by variables that take a limited number of discrete values. Class Overview Cover hardware operation of digital computers. First, consider the various digital components used in the organization and design. Second, go through the necessary steps to design a basic

More information

MC9211 Computer Organization

MC9211 Computer Organization MC9211 Computer Organization Unit 2 : Combinational and Sequential Circuits Lesson2 : Sequential Circuits (KSB) (MCA) (2009-12/ODD) (2009-10/1 A&B) Coverage Lesson2 Outlines the formal procedures for the

More information

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

Final Exam review: chapter 4 and 5. Supplement 3 and 4 Final Exam review: chapter 4 and 5. Supplement 3 and 4 1. A new type of synchronous flip-flop has the following characteristic table. Find the corresponding excitation table with don t cares used as much

More information

Synchronous Sequential Logic

Synchronous Sequential Logic Synchronous Sequential Logic ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Fall, 2012 ldvan@cs.nctu.edu.tw http://www.cs.nctu.edu.tw/~ldvan/ Outlines Sequential

More information

Synchronous Sequential Logic. Chapter 5

Synchronous Sequential Logic. Chapter 5 Synchronous Sequential Logic Chapter 5 5-1 Introduction Combinational circuits contains no memory elements the outputs depends on the inputs Synchronous Sequential Logic 5-2 5-2 Sequential Circuits Sequential

More information

CS8803: Advanced Digital Design for Embedded Hardware

CS8803: Advanced Digital Design for Embedded Hardware Copyright 2, 23 M Ciletti 75 STORAGE ELEMENTS: R-S LATCH CS883: Advanced igital esign for Embedded Hardware Storage elements are used to store information in a binary format (e.g. state, data, address,

More information

CHAPTER1: Digital Logic Circuits

CHAPTER1: Digital Logic Circuits CS224: Computer Organization S.KHABET CHAPTER1: Digital Logic Circuits 1 Sequential Circuits Introduction Composed of a combinational circuit to which the memory elements are connected to form a feedback

More information

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

Digital Design, Kyung Hee Univ. Chapter 5. Synchronous Sequential Logic Chapter 5. Synchronous Sequential Logic 1 5.1 Introduction Electronic products: ability to send, receive, store, retrieve, and process information in binary format Dependence on past values of inputs Sequential

More information

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

CSE Latches and Flip-flops Dr. Izadi. NOR gate property: A B Z Cross coupled NOR gates: S M S R Q M CSE-4523 Latches and Flip-flops Dr. Izadi NOR gate property: A B Z A B Z Cross coupled NOR gates: S M S R M R S M R S R S R M S S M R R S ' Gate R Gate S R S G R S R (t+) S G R Flip_flops:. S-R flip-flop

More information

1. (1pts) What is the Hamming distance between these two bit patterns: and ?

1. (1pts) What is the Hamming distance between these two bit patterns: and ? . (pts) What is the Hamming istance between these two bit patterns: 00 an 00? 2. (2pts) Write the equation for the carry out of the 4th aer cell in an ALU using carrylookahea, in terms of P s an G s. 3.

More information

Chapter 5 Synchronous Sequential Logic

Chapter 5 Synchronous Sequential Logic EEA051 - Digital Logic 數位邏輯 Chapter 5 Synchronous Sequential Logic 吳俊興國立高雄大學資訊工程學系 December 2005 Chapter 5 Synchronous Sequential Logic 5-1 Sequential Circuits 5-2 Latches 5-3 Flip-Flops 5-4 Analysis of

More information

CHAPTER 4: Logic Circuits

CHAPTER 4: Logic Circuits CHAPTER 4: Logic Circuits II. Sequential Circuits Combinational circuits o The outputs depend only on the current input values o It uses only logic gates, decoders, multiplexers, ALUs Sequential circuits

More information

Administrative issues. Sequential logic

Administrative issues. Sequential logic Administrative issues Midterm #1 will be given Tuesday, October 29, at 9:30am. The entire class period (75 minutes) will be used. Open book, open notes. DDPP sections: 2.1 2.6, 2.10 2.13, 3.1 3.4, 3.7,

More information

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

1. Convert the decimal number to binary, octal, and hexadecimal. 1. Convert the decimal number 435.64 to binary, octal, and hexadecimal. 2. Part A. Convert the circuit below into NAND gates. Insert or remove inverters as necessary. Part B. What is the propagation delay

More information

Combinational / Sequential Logic

Combinational / Sequential Logic Digital Circuit Design and Language Combinational / Sequential Logic Chang, Ik Joon Kyunghee University Combinational Logic + The outputs are determined by the present inputs + Consist of input/output

More information

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

1.b. Realize a 5-input NOR function using 2-input NOR gates only. . [3 points] Short Questions.a. Prove or disprove that the operators (,XOR) form a complete set. Remember that the operator ( ) is implication such that: A B A B.b. Realize a 5-input NOR function using

More information

Chapter 5 Sequential Circuits

Chapter 5 Sequential Circuits Logic and omputer Design Fundamentals hapter 5 Sequential ircuits Part 1 Storage Elements and Sequential ircuit Analysis harles Kime & Thomas Kaminski 2008 Pearson Education, Inc. (Hyperlinks are active

More information

Synchronous Sequential Logic

Synchronous Sequential Logic Synchronous Sequential Logic ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Fall, 2017 ldvan@cs.nctu.edu.tw http://www.cs.nctu.edu.tw/~ldvan/ Outlines Sequential

More information

B.Tech CSE Sem. 3 15CS202 DIGITAL SYSTEM DESIGN (Regulations 2015) UNIT -IV

B.Tech CSE Sem. 3 15CS202 DIGITAL SYSTEM DESIGN (Regulations 2015) UNIT -IV B.Tech CSE Sem. 3 5CS22 DIGITAL SYSTEM DESIGN (Regulations 25) UNIT -IV SYNCHRONOUS SEQUENTIAL CIRCUITS OUTLINE FlipFlops SR,D,JK,T Analysis of Synchronous Sequential Circuit State Reduction and Assignment

More information

Course Administration

Course Administration EE 224: INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN Lecture 5: Sequential Logic - 2 Analysis of Clocked Sequential Systems 4/2/2 Avinash Kodi, kodi@ohio.edu Course Administration 2 Hw 2 due on today

More information

Problems with D-Latch

Problems with D-Latch Problems with -Latch If changes while is true, the new value of will appear at the output. The latch is transparent. If the stored value can change state more than once during a single clock pulse, the

More information

Computer Architecture and Organization

Computer Architecture and Organization 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

More information

2 Sequential Circuits

2 Sequential Circuits 2 2.1 State Diagrams and General Form 0/0 1/0 Start State 0 /0 1/1 State 1 /1 0/1 State Diagram of a Change Detector ( Mealy-machine). The output Y assumes 1 whenever the input X has changed. Otherwise

More information

Synchronous Sequential Logic

Synchronous Sequential Logic MEC520 디지털공학 Synchronous Sequential Logic Jee-Hwan Ryu School of Mechanical Engineering Sequential Circuits Outputs are function of inputs and present states Present states are supplied by memory elements

More information

Part II. Chapter2: Synchronous Sequential Logic

Part II. Chapter2: Synchronous Sequential Logic 課程名稱 : 數位系統設計導論 P-/77 Part II Chapter2: Synchronous Sequential Logic 教師 : 郭峻因教授 INSTRUCTOR: Prof. Jiun-In Guo E-mail: jiguo@cs.ccu.edu.tw 課程名稱 : 數位系統設計導論 P-2/77 Special thanks to Prof. CHING-LING SU for

More information

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

The reduction in the number of flip-flops in a sequential circuit is referred to as the state-reduction problem. State Reduction The reduction in the number of flip-flops in a sequential circuit is referred to as the state-reduction problem. State-reduction algorithms are concerned with procedures for reducing the

More information

ECE 25 Introduction to Digital Design. Chapter 5 Sequential Circuits ( ) Part 1 Storage Elements and Sequential Circuit Analysis

ECE 25 Introduction to Digital Design. Chapter 5 Sequential Circuits ( ) Part 1 Storage Elements and Sequential Circuit Analysis EE 25 Introduction to igital esign hapter 5 Sequential ircuits (5.1-5.4) Part 1 Storage Elements and Sequential ircuit Analysis Logic and omputer esign Fundamentals harles Kime & Thomas Kaminski 2008 Pearson

More information

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

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS NH 67, Karur Trichy Highways, Puliyur C.F, 639 114 Karur District DEPARTMENT OF ELETRONICS AND COMMUNICATION ENGINEERING COURSE NOTES SUBJECT: DIGITAL ELECTRONICS CLASS: II YEAR ECE SUBJECT CODE: EC2203

More information

L5 Sequential Circuit Design

L5 Sequential Circuit Design L Sequential Circuit Design Sequential Circuit Design Mealy and Moore Characteristic Equations Design Procedure Example Sequential Problem from specification to implementation Ref: Unit 14 of text 9/2/2012

More information

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute 26.3.9. DIGITAL TECHNICS II Dr. Bálint Pődör Óbuda University, Microelectronics and Technology Institute 5. LECTURE: ANALYSIS AND SYNTHESIS OF SYNCHRONOUS SEQUENTIAL CIRCUITS 2nd (Spring) term 25/26 5.

More information

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

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters Logic and Computer Design Fundamentals Chapter 7 Registers and Counters Registers Register a collection of binary storage elements In theory, a register is sequential logic which can be defined by a state

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 # 05 February 23, 2012 Dohn Bowden 1 Today s Lecture Analysis of Clocked Sequential Circuits Chapter 13 2 Course Admin 3 Administrative Admin

More information

ELCT201: DIGITAL LOGIC DESIGN

ELCT201: DIGITAL LOGIC DESIGN ELCT201: DIGITAL LOGIC DESIGN Dr. Eng. Haitham Omran, haitham.omran@guc.edu.eg Dr. Eng. Wassim Alexan, wassim.joseph@guc.edu.eg Lecture 6 Following the slides of Dr. Ahmed H. Madian ذو الحجة 1438 ه Winter

More information

In this lecture we will work through a design example from problem statement to digital circuits.

In this lecture we will work through a design example from problem statement to digital circuits. Lecture : A Design Example - Traffic Lights In this lecture we will work through a design example from problem statement to digital circuits. The Problem: The traffic department is trying out a new system

More information

DIGITAL TECHNICS. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

DIGITAL TECHNICS. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute 27.2.2. DIGITAL TECHNICS Dr. Bálint Pődör Óbuda University, Microelectronics and Technology Institute 6. LECTURE (ANALYSIS AND SYNTHESIS OF SYNCHRONOUS SEQUENTIAL CIRCUITS) 26/27 6. LECTURE Analysis and

More information

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

problem maximum score 1 28pts 2 10pts 3 10pts 4 15pts 5 14pts 6 12pts 7 11pts total 100pts University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences EECS150 J. Wawrzynek Spring 2002 4/5/02 Midterm Exam II Name: Solutions ID number:

More information

Flip-Flops and Sequential Circuit Design

Flip-Flops and Sequential Circuit Design Flip-Flops and Sequential Circuit Design ECE 52 Summer 29 Reading ssignment Brown and Vranesic 7 Flip-Flops, Registers, Counters and a Simple Processor 7.5 T Flip-Flop 7.5. Configurable Flip-Flops 7.6

More information

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.

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. [Question 1 is compulsory] 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. Figure 1.1 b) Minimize the following Boolean functions:

More information

Introduction to Sequential Circuits

Introduction to Sequential Circuits Introduction to Sequential Circuits COE 202 Digital Logic Design Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals Presentation Outline Introduction to Sequential Circuits Synchronous

More information

Chapter 11 State Machine Design

Chapter 11 State Machine Design Chapter State Machine Design CHAPTER OBJECTIVES Upon successful completion of this chapter, you will be able to: Describe the components of a state machine. Distinguish between Moore and Mealy implementations

More information

EECS 270 Final Exam Spring 2012

EECS 270 Final Exam Spring 2012 EECS 270 Final Exam Spring 2012 Name: unique name: Sign the honor code: I have neither given nor received aid on this exam nor observed anyone else doing so. Scores: Page # Points 2 /20 3 /12 4 /10 5 /15

More information

ELCT201: DIGITAL LOGIC DESIGN

ELCT201: DIGITAL LOGIC DESIGN ELCT201: DIGITAL LOGIC DESIGN Dr. Eng. Haitham Omran, haitham.omran@guc.edu.eg Dr. Eng. Wassim Alexan, wassim.joseph@guc.edu.eg Lecture 7 Following the slides of Dr. Ahmed H. Madian محرم 1439 ه Winter

More information

ECE 301 Digital Electronics

ECE 301 Digital Electronics ECE 301 Digital Electronics Derivation of Flip-Flop Input Equations and State Assignment (Lecture #24) The slides included herein were taken from the materials accompanying Fundamentals of Logic Design,

More information

Introduction to Computer Engineering EECS dickrp/eecs203/

Introduction to Computer Engineering EECS dickrp/eecs203/ Introduction to Computer Engineering EECS 203 http://ziyang.eecs.northwestern.edu/ dickrp/eecs203/ Instructor: Robert Dick Office: L477 Tech Email: dickrp@northwestern.edu Phone: 847 467 2298 TA: Neal

More information

`COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University

`COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University `OEN 32 IGITL SYSTEMS ESIGN - LETURE NOTES oncordia University hapter 5: Synchronous Sequential Logic NOTE: For more eamples and detailed description of the material in the lecture notes, please refer

More information

Chapter 5 Sequential Circuits

Chapter 5 Sequential Circuits Logic and Computer Design Fundamentals Chapter 5 Sequential Circuits Part 2 Sequential Circuit Design Charles Kime & Thomas Kaminski 28 Pearson Education, Inc. (Hyperlinks are active in View Show mode)

More information

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

Switching Circuits & Logic Design, Fall Final Examination (1/13/2012, 3:30pm~5:20pm) Switching Circuits & Logic Design, Fall 2011 Final Examination (1/13/2012, 3:30pm~5:20pm) Problem 1: (15 points) Consider a new FF with three inputs, S, R, and T. No more than one of these inputs can be

More information

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

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 1 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 the AND gate, you get the NAND gate etc. 2 One of the

More information

Chapter 3 Unit Combinational

Chapter 3 Unit Combinational EE 2: igital Logic ircuit esign r Radwan E Abdel-Aal, OE Logic and omputer esign Fundamentals hapter 3 Unit ombinational 4 Sequential Logic esign ircuits Part Implementation Technology and Logic esign

More information

More design examples, state assignment and reduction. Page 1

More design examples, state assignment and reduction. Page 1 More design examples, state assignment and reduction Page 1 Serial Parity Checker We have only 2 states (S 0, S 1 ): correspond to an even and odd number of 1 s received so far. x Clock D FF Q Z = 1 whenever

More information

Department of CSIT. Class: B.SC Semester: II Year: 2013 Paper Title: Introduction to logics of Computer Max Marks: 30

Department of CSIT. Class: B.SC Semester: II Year: 2013 Paper Title: Introduction to logics of Computer Max Marks: 30 Department of CSIT Class: B.SC Semester: II Year: 2013 Paper Title: Introduction to logics of Computer Max Marks: 30 Section A: (All 10 questions compulsory) 10X1=10 Very Short Answer Questions: Write

More information

TMEL53, DIGITALTEKNIK. INTRODUCTION TO SYNCHRONOUS CIRCUITS, FLIP-FLOPS and COUNTERS

TMEL53, DIGITALTEKNIK. INTRODUCTION TO SYNCHRONOUS CIRCUITS, FLIP-FLOPS and COUNTERS LINKÖPING UNIVERSITY Department of Electrical Engineering TMEL53, DIGITALTEKNIK INTRODUCTION TO SYNCHRONOUS CIRCUITS, FLIP-FLOPS and COUNTERS Mario Garrido Gálvez mario.garrido.galvez@liu.se Linköping,

More information

St. MARTIN S ENGINEERING COLLEGE

St. MARTIN S ENGINEERING COLLEGE St. MARTIN S ENGINEERING COLLEGE Dhulapally, Kompally, Secunderabad-500014. Branch Year&Sem Subject Name : Electronics and Communication Engineering : II B. Tech I Semester : SWITCHING THEORY AND LOGIC

More information

Digital Circuit Engineering

Digital Circuit Engineering Digital Circuit Engineering 2nd Distributive ( + A)( + B) = + AB Circuits that work in a sequence of steps Absorption + A = + A A+= THESE CICUITS NEED STOAGE TO EMEMBE WHEE THEY AE STOAGE D MU G M MU S

More information

CPS311 Lecture: Sequential Circuits

CPS311 Lecture: Sequential Circuits CPS311 Lecture: Sequential Circuits Last revised August 4, 2015 Objectives: 1. To introduce asynchronous and synchronous flip-flops (latches and pulsetriggered, plus asynchronous preset/clear) 2. To introduce

More information

Synchronous sequential circuits

Synchronous sequential circuits 8.6.5 Synchronous sequential Table of content. Combinational circuit design. Elementary combinatorial for data transmission. Memory structures 4. Programmable logic devices 5. Algorithmic minimization

More information

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany Digital Logic Design Sequential Circuits Dr. Basem ElHalawany Combinational vs Sequential inputs X Combinational Circuits outputs Z A combinational circuit: At any time, outputs depends only on inputs

More information

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

COE 202: Digital Logic Design Sequential Circuits Part 1. Dr. Ahmad Almulhem   ahmadsm AT kfupm Phone: Office: COE 202: Digital Logic Design Sequential Circuits Part 1 Dr. Ahmad Almulhem Email: ahmadsm AT kfupm Phone: 860-7554 Office: 22-324 Objectives Sequential Circuits Memory Elements Latches Flip-Flops Combinational

More information

Quiz #4 Thursday, April 25, 2002, 5:30-6:45 PM

Quiz #4 Thursday, April 25, 2002, 5:30-6:45 PM Last (family) name: First (given) name: Student I.D. #: Circle section: Hu Saluja Department of Electrical and Computer Engineering University of Wisconsin - Madison ECE/CS 352 Digital System Fundamentals

More information

Spring 2017 EE 3613: Computer Organization Chapter 5: The Processor: Datapath & Control - 1

Spring 2017 EE 3613: Computer Organization Chapter 5: The Processor: Datapath & Control - 1 Spring 27 EE 363: Computer Organization Chapter 5: The Processor: atapath & Control - Avinash Kodi epartment of Electrical Engineering & Computer Science Ohio University, Athens, Ohio 457 E-mail: kodi@ohio.edu

More information

FE REVIEW LOGIC. The AND gate. The OR gate A B AB A B A B 0 1 1

FE REVIEW LOGIC. The AND gate. The OR gate A B AB A B A B 0 1 1 FE REVIEW LOGIC The AD gate f A, B AB The AD gates output will achieve its active state, ACTIVE HIGH, when BOTH of its inputs achieve their active state, ACTIVE E HIGH. A B AB f ( A, B) AB m (3) The OR

More information

UNIT IV. Sequential circuit

UNIT IV. Sequential circuit UNIT IV Sequential circuit Introduction In the previous session, we said that the output of a combinational circuit depends solely upon the input. The implication is that combinational circuits have no

More information

We are here. Assembly Language. Processors Arithmetic Logic Units. Finite State Machines. Circuits Gates. Transistors

We are here. Assembly Language. Processors Arithmetic Logic Units. Finite State Machines. Circuits Gates. Transistors CSC258 Week 5 1 We are here Assembly Language Processors Arithmetic Logic Units Devices Finite State Machines Flip-flops Circuits Gates Transistors 2 Circuits using flip-flops Now that we know about flip-flops

More information

Unit 11. Latches and Flip-Flops

Unit 11. Latches and Flip-Flops Unit 11 Latches and Flip-Flops 1 Combinational Circuits A combinational circuit consists of logic gates whose outputs, at any time, are determined by combining the values of the inputs. For n input variables,

More information

EECS150 - Digital Design Lecture 19 - Finite State Machines Revisited

EECS150 - Digital Design Lecture 19 - Finite State Machines Revisited EECS150 - Digital Design Lecture 19 - Finite State Machines Revisited April 2, 2013 John Wawrzynek Spring 2013 EECS150 - Lec19-fsm Page 1 Finite State Machines (FSMs) FSM circuits are a type of sequential

More information

Final Examination (Open Katz, Calculators OK, 3 hours)

Final Examination (Open Katz, Calculators OK, 3 hours) Your Name: UNIVERSITY OF CALIFORNIA AT BERKELEY BERKELEY DAVIS IRVINE LOS ANGELES RIVERSIDE SAN DIEGO SAN FRANCISCO Department of Electrical Engineering and Computer Sciences SANTA BARBARA SANTA CRUZ CS

More information

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

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS COURSE / CODE DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS In the same way that logic gates are the building blocks of combinatorial circuits, latches

More information

Chapter 5. Introduction

Chapter 5. Introduction Chapter 5 Synchronous Sequential Logic Chapter 5 Introduction Circuits require memory to store intermediate data Sequential circuits use a periodic signal to determine when to store values. A clock signal

More information

P U Q Q*

P U Q Q* ECE 27 Learning Outcome 3 - - Practice Exam / Solution LEARNING OUTCOME #3: an ability to analyze and design sequential logic circuits. Multiple Choice select the single most appropriate response for each

More information

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

MODEL QUESTIONS WITH ANSWERS THIRD SEMESTER B.TECH DEGREE EXAMINATION DECEMBER CS 203: Switching Theory and Logic Design. Time: 3 Hrs Marks: 100 MODEL QUESTIONS WITH ANSWERS THIRD SEMESTER B.TECH DEGREE EXAMINATION DECEMBER 2016 CS 203: Switching Theory and Logic Design Time: 3 Hrs Marks: 100 PART A ( Answer All Questions Each carries 3 Marks )

More information

Computer Organization

Computer Organization Computer Organization Douglas Comer Computer Science Department Purue University 25 N. University Street West Lafayette, IN 4797-266 http://www.cs.purue.eu/people/comer Copyright 26. All rights reserve.

More information

CHAPTER 6 COUNTERS & REGISTERS

CHAPTER 6 COUNTERS & REGISTERS CHAPTER 6 COUNTERS & REGISTERS 6.1 Asynchronous Counter 6.2 Synchronous Counter 6.3 State Machine 6.4 Basic Shift Register 6.5 Serial In/Serial Out Shift Register 6.6 Serial In/Parallel Out Shift Register

More information

ECE 341. Lecture # 2

ECE 341. Lecture # 2 ECE 341 Lecture # 2 Instructor: Zeshan Chishti zeshan@pdx.edu October 1, 2014 Portland State University Announcements Course website reminder: http://www.ece.pdx.edu/~zeshan/ece341.htm Homework 1: Will

More information

Other Flip-Flops. Lecture 27 1

Other Flip-Flops. Lecture 27 1 Other Flip-Flops Other types of flip-flops can be constructed by using the D flip-flop and external logic. Two flip-flops less widely used in the design of digital systems are the JK and T flip-flops.

More information

ELEN Electronique numérique

ELEN Electronique numérique ELEN0040 - Electronique numérique Patricia ROUSSEAUX Année académique 2014-2015 CHAPITRE 5 Sequential circuits design - Timing issues ELEN0040 5-228 1 Sequential circuits design 1.1 General procedure 1.2

More information

D Latch (Transparent Latch)

D Latch (Transparent Latch) D Latch (Transparent Latch) -One way to eliminate the undesirable condition of the indeterminate state in the SR latch is to ensure that inputs S and R are never equal to 1 at the same time. This is done

More information

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

Chapter 6. Flip-Flops and Simple Flip-Flop Applications Chapter 6 Flip-Flops and Simple Flip-Flop Applications Basic bistable element It is a circuit having two stable conditions (states). It can be used to store binary symbols. J. C. Huang, 2004 Digital Logic

More information

Previous Lecture Sequential Circuits. Slide Summary of contents covered in this lecture. (Refer Slide Time: 01:55)

Previous Lecture Sequential Circuits. Slide Summary of contents covered in this lecture. (Refer Slide Time: 01:55) Previous Lecture Sequential Circuits Digital VLSI System Design Prof. S. Srinivasan Department of Electrical Engineering Indian Institute of Technology, Madras Lecture No 7 Sequential Circuit Design Slide

More information

UNIT 1 NUMBER SYSTEMS AND DIGITAL LOGIC FAMILIES 1. Briefly explain the stream lined method of converting binary to decimal number with example. 2. Give the Gray code for the binary number (111) 2. 3.

More information

CSC258: Computer Organization. Combinational Logic

CSC258: Computer Organization. Combinational Logic CSC258: Computer Organization Combinational Logic 1 Anonymous: Quizzes and Fairness... A lot of students in earlier sections share the quiz question with students who have the tutorial later in the evening...

More information