SYNCHRONOUS SEQUENTIAL CIRCUITS

Size: px
Start display at page:

Download "SYNCHRONOUS SEQUENTIAL CIRCUITS"

Transcription

1 CHAPTER SYNCHRONOUS SEUENTIAL CIRCUITS Registers an counters, two very common synchronous sequential circuits, are introuce in this chapter. Register is a igital circuit for storing information. Contents of registers can also be manipulate for purposes other than storage. A counter is a evice that performs state transitions. Analysis an synthesis of synchronous sequential circuits are also introuce in this chapter.. Registers An n-bit register is a circuit that can store n bits of information. Every bit in a register is assigne a position number. The position numbers ranges from to n-, with assigne to the rightmost bit an incremente towar the left. Since a flip-flop can store one bit of information, a register can be constructe from n flip-flops. Figure.(a) shows the bit positions an the contents of a 4-bit register. The contents are 2 2. Figure.(b) shows the circuit of a 4-bit register. When a 4-bit ata a 3 a 2 a a is applie to the inputs of the four flip-flops, they will be store in the register when the flips-flops are triggere by the positive ege of a clock pulse. (a) 3 2 Bit position 3 2 Contents a 3 3 a 2 2 a a Clock (b) Figure. (a) Notation for a 4-bit register. (b) Circuit for a 4-bit register. The usage of a register is limite if it can only store information. A shift register not only can store information but also can shift its contents to either right or left. The operation of a 4-bit shift-right register is shown in Figure.2(a). A circuit iagram for this register is given in Figure.2(b). 3 2 can be shifte to the right one bit in each clock cycle. SR in is an eternal bit shifte into position 3. is lost after the shift. 69

2 The contents are SR in 3 2 after shifting. If is connecte to the input of the leftmost flip-flop, i.e. SR in =, the contents will be 3 2 after shifting. This is calle a right rotation. Implementation of a shift-right register is simple. As shown in Figure.2(b), the output of one flip-flop is connecte to the input of the net (less significant) flip-flop. Figure.2 (a) Operation of a 4-bit shift-right register. (b) Circuit of register. (a) 3 2 SR in SR in 3 2 Clock (b) A universal 4-bit shift-register that performs four ifferent functions is introuce. The four functions are hol, shift right, shift left, an parallel loa. The function hol leaves the contents of the register intact after the register is triggere by a clock pulse. Parallel loa allows a 4-bit ata to be loae into the register following the positive ege of a clock pulse. The functions an the contents of the register after being triggere by a clock pulse are liste in Table.. The function to be eecute is efine by two selection signals s an s. Table. Function table for a 4-bit universal shift register. Function s s Contents Bit position 3 2 Hol 3 2 Shift right SR in 3 2 Shift left 2 SL in Parallel loa a 3 a 2 a a Figure.3 is a esign of the universal 4-bit shift register. A 4-to- multipleer is use to select the ata to be store in each flip-flop. The right column in Table. lists 7

3 the contents of the register after an operation has been carrie out. Therefore they are the inputs to the multipleers as shown in Figure.3. SL in is an eternal bit shifte into position for left-shift. a 3 a 2 a a is a 4-bit ata to be loae into the register. 4-to- MUX 3 SR in 2 a to- MUX 2 3 a to- MUX 2 a to- MUX SL in a 2 3 s s CLK Figure.3 esign of a 4-bit universal shift register. 7

4 .2 Counters A counter is a synchronous sequential circuit that can generate a sequence of numbers or states. The sequence can be in escening, ascening, or ranom orer. Figure.4 is the state iagram of a counter of si ifferent states. It is calle a 6-state counter. The sequence is repeate every si clock cycles. Assume is the initial state, followe by five other states in the orer of,,,, an. The three binary values are the outputs 2,, an of three flip-flops use to implement the counter. The timing iagrams for the counter are shown in Figure.5. Present state Net state 2 2 Figure.4 State iagram of a 6-state counter. clock 2 State Figure.5 Timing iagram of the 6-state counter in Figure.4. 72

5 Ring Counter In a ring counter, each state is represente by one flip-flop. An n-state ring counter requires n flip-flops. In each state, only one flip-flop output is asserte an all the others are e-asserte. In other wors, only one flip-flop output is an all the other flip-flop outputs are. Table.2 is the state assignment table for a 4-bit or 4-state ring counter. The four states are name T, T, T 2, an T 3. State assignment is to assign a combination of flip-flop output values to a state, or vice versa. The state iagram of the 4-bit ring counter is shown in Figure.6. The asserte output is shifte from left to right an Table.2 State assignment table for a 4-state ring counter State 2 3 T T T 2 T 3 Reset T T T 3 T 2 Figure.6 State iagram of a 4-state ring counter. V cc Reset 2 3 C P C P C P C P Clock Figure.7 Circuit iagram for a 4-bit ring counter. 73

6 is rotate to the leftmost position from the rightmost position. The state transition is T T T 2 T 3 T. Figure.7 is the circuit iagram for the 4-state ring counter. Note that it is essentially a right-rotate register. Asynchronous clear (C) an preset (P) are use to initialize the counter to the initial state T by applying a positive pulse to the Reset input. All asynchronous preset an clear inputs are e-asserte uring normal counting..3 Analysis of Synchronous Sequential Circuits Analysis is the reverse of synthesis or esign. It is a process to unerstan the function of a circuit. Two moels of synchronous sequential circuits are use to show the proceure in analysis. Moore Moel The circuit iagram for a synchronous sequential circuit of Moore moel is given in Figure.8. The circuit has one input, one output Z, an two JK flip-flops. The combinational portion of the sequential circuit consists of one AN gate an one XOR gate. The analysis can be carrie out in a number of steps. J clock K 2 Z J K Figure.8 Synchronous sequential circuit of Moore moel for analysis. Step : Write the ecitation an output functions. J 2 = K 2 = J = K = 2 Z = 2 Step 2: Substitute the ecitation functions into the characteristic equations for the two flip-flops to get the net-state equations. 74

7 2 = J 2 2 K 2 2 = 2 ( ) 2 = = J K = ( 2 ) = 2 2 Step 3: Convert the net-state equations to net-state maps Figure.9 Net-state maps. Step 4: Convert the net-state maps to a table. The table is calle a transition table because it shows the transition from present states to net states. If the output is also inclue in the table, it is calle a transition/output table. Table.3 Transition/output table. 2 2 = = Step 5: Replace the states in the transition/output table using the state assignment in Table.4. The transition/output table is converte to a state/output table. Z Table.4 State assignment. Table.5 State/output table. 2 State Present state Net state = = A A A C B B A C C C C B Z 75

8 Step 6: Convert the state/output table to a state iagram. A/ B/ / C/ Figure. Moore moel state iagram. In this eample, the output of the circuit is a function of 2 an. It oes not epen on the present input of. Therefore the output is place together with the state name insie the circle. A synchronous sequential circuit is calle a Moore moel machine if the outputs are functions of the present state but not of the present inputs. A synchronous sequential circuit with a finite number of states is also calle a finite-state machine. Mealy Moel The circuit in Figure. is a sequential circuit of Mealy moel. The output of this circuit epens on the present state as well as the present input. The proceure for analyzing a Mealy moel machine an a Moore moel machine are the same, ecept some minor ifferences ue to ifferent types of outputs. 2 Z clock T Figure. Synchronous sequential circuit of Mealy moel for analysis. 76

9 Step : Write the ecitation an output functions. 2 = ( 2 ) T = 2 = ( 2 ) = 2 Z = 2 Step 2: Substitute the ecitation functions into the characteristic equations to get the netstate equations. 2 = 2 = ( 2 ) = 2 = T = 2 Step 3: Convert the net-state equations to net-state maps. is the same as the function in Eample Figure.2 Net-state maps. Step 4: Convert the net-state maps to a transition/output table. Note that the values of Z o not have to be liste separately. They are place net to the values of 2 because Z is also a function of 2,, an. Table.6 Transition/output table. 2 2, Z = =,,,,,,,, 77

10 Step 5: Convert the transition/output table to a state/output table using the state assignment in Table.7. Table.7 State assignment. Table.8 State/output table. 2 State Present state Net state, output = = A A A, B, B B C, A, C C, C, B, A, Step 6: Convert the state/output table to a state iagram. Because Z is a function of the present state an the input, its values are place after an separate by a slash. / A / / B / / / / C / Figure.3 Mealy moel state iagram..4 esign of Counters The esign of a logic circuit usually starts with a wor escription of the function or behavior of the circuit. In synchronous sequential circuit esign, a state iagram is usually constructe first from the wor escription. Construction of a state iagram probably is the most ifficult step in the esign proceure. Lack of unerstaning in the behavior of a circuit may lea to an incorrect state iagram. Sample inputs an their corresponing outputs may be rawn in the form of timing iagrams or in other forms to better unerstan the behavior of the circuit. The rest of the esign proceure can more or less follow the analysis proceure in reverse orer. 78

11 .4. Counter esign The esign of an 8-state counter is given to illustrate the esign proceure. The sequence is in the orer of,, 2, 3, 4, 5, 6, 7,... More specifically, it is calle a moulo-8 counter. The state that is also the outputs is 2. As shown in Table.9, a transition table, after being constructe from the state iagram in Figure.4, is converte to three net-state maps in Figure.5. The net-state equations can be obtaine irectly from the net-state maps. 2 = = 2 ( ) 2 = ( ) 2 ( ) 2 = ( ) 2 = = = Table.9 Transition table for moulo-8 counter. Figure.4 State iagram for a moulo-8 counter. Present state 2 Net state Figure.5 Net-state maps for moulo-8 counter. The net step is to etermine the ecitation functions. It is necessary to ecie what type of flip-flops to use in the esign before the ecitation functions can be etermine. The use of flip-flops will first be emonstrate because of its simple characteristic. 79

12 esign with Flip-Flops Because the ecitation is the same as the net state for flip-flops, the ecitation functions are available without further erivations. Figure.6 is the circuit iagram of the counter using flip-flops. 2 = 2 = ( ) 2 = = = = 2 clock Figure.6 Circuit iagram for moulo-8 counter. esign with JK Flip-Flops by Ecitation Table In analysis, the net-state equations are obtaine by substituting the ecitation functions into the characteristic equations. is a function of the ecitations or flip-flop inputs an the present state. In esign, the ecitations are to be etermine from an. The information of an is given by the net-state maps or net-state equations. The characteristic table for JK flip-flops provies if J, K, an are given. The ecitation table etermines the values of J an K if an are given. The ecitation table for JK flip-flops is given in Table.. From the table, it is seen that each combination of an values can result from two ifferent functions of JK flip-flops. For eample, for the transition of from to, it can be either no change or reset. The JK values for those two functions are an respectively. Thus the value of J is. The value of K can be either or, which is enote by a on t-care value. By using the ecitation table, the flip-flop inputs J i an K i for i =,, 2 can be etermine as shown in Table.. The first two columns are the transition table in 8

13 Table.9. To etermine the ecitations for state transitions, the transition from 2 = to is eplaine. For the transition of 2 from to, J 2 = an K 2 =. For to change from to, J = an K =. For to change from to, J = an K =. After the ecitations have been etermine, Table. becomes the truth table for all J i an K i after removing the high-lighte column for 2. Table. Ecitation table for JK flip-flops. J K Function No change (JK = ) or reset (JK = ) Set (JK = ) or toggle (JK = ) Reset (JK = ) or toggle (JK = ) No change (JK = ) or set (JK = ) Table. J an K ecitations for a moulo-8 counter. Present state 2 Net state 2 Ecitations J 2 K 2 J K J K 2 J J 2 2 J 2 K 2 K Figure.7 K-maps for ecitation functions. K 8

14 The K-maps for the ecitation functions in Table. are plotte in Figure.7. The simplest sum-of-proucts epressions for the ecitation functions are J 2 = J = J = K 2 = K = K = esign with JK Flip-Flops by Partition esign of synchronous sequential circuits with JK flip-flops using the ecitation table is straightforwar but teious. A better metho that partitions a net-state map into two sub-maps, one for J an one for K, is introuce. If a synchronous sequential circuit consists of n JK flip-flops an A set of eternal inputs X, the net-state equation i for flip-flop i is a function of all the flip-flop outputs an X. As shown below, i can be epane to two sub-functions by Shannon s epansion theorem. i ( n, n 2,..., i,...,,, X) = i i ( n, n 2,..., i =,...,,, X) i i ( n, n 2,..., i =,...,,, X) By comparing the above equation with the characteristic equation of JK flip-flops which is i = J i i K i i It is seen that J i an K i are in fact the two sub-functions of i with i as the epansion variable. J i = i ( n, n 2,..., i =,...,,, m, m 2,.,, ) = ( i ) i = K i = i ( n, n 2,..., i =,...,,, m, m 2,.,, ) = ( i ) i = The epansion of the net-state equation for i is shown in the following binary iagram. i ( n, n 2,..., i,...,,, X) Net-state equation for flip-flop i J i = ( i ) i = K i = ( i ) i = Figure.8 Epansion of net-state equation into J an K ecitations. 82

15 From the net state equations of the moulo-8 counter, which are 2 = ( ) 2 = = the ecitation functions can be obtaine as follows: J 2 = ( 2 ) 2 = = ( ) = K 2 = [( 2 ) 2 = ] = [( ) ] = J = ( ) = = = K = [( ) = ] = ( ) = J = ( ) = = K = [( ) = ] = The results are ientical to those using the ecitation table. esign with T Flip-Flops A T flip-flop can perform two functions, either no change or toggle. The ecitation table can be reaily constructe, as shown in Table.2. When =, it is no change, T =. When, the state is toggle, T =. Therefore the ecitation equation is T = Table.2 Ecitation table for T flip-flops. T Function Hol (No change) Toggle Toggle Hol (No change) The ecitation functions for the moulo-8 counter can be obtaine by substituting the net-state equations into the above equation. 83

16 T 2 = 2 2 = 2 ( ) 2 = T = = = T = = = The K-maps for the ecitation functions can also be erive irectly from the net-state maps. By eamining the ecitation equation, it is apparent that T i = i when i =. When i =, T i = ( i ). Therefore the K-map for T i can be obtaine from the net-state map i by complementing the portion in which i =. The K-maps for T 2, T, an T are shown in Figure.9. The highlighte portion in each map is the complement of the net-state map T 2 Figure.9 K-maps for the ecitations of T flip-flops. T T.4.2 Self-Correcting Counter The state iagram for a 6-state counter is given in Figure.2. The transitions of states are not in escening or ascening orer. It is a ranom orer. Three flip-flops are require in the implementation of this counter. States 2 an 7 are not use. They are calle unuse or invali states. If for any reason the counter starts from an unuse state or goes astray to one of the unuse states, it shoul be able to return to the normal count sequence. Such a counter is sai to be self-correcting. Table.3 is the transition table. The net-state of an unuse state is a on't-care state. Net-state verification for the two unuse states is require at the completion of esign to ensure that the counter is self-correcting. The following ecitation functions are obtaine from the net-state maps in Figure.2 if flip-flops are use. 2 = 2 = 2 = = 2 2 = ( 2 ) = = 2 84

17 Figure.2 State iagram for a 6-state self-correcting counter. Table.3 Transition table for a 6-state self-correcting counter. Present state 2 Net state Figure.2 Net-state maps for the 6-state self-correcting counter. The net-state of an unuse state can be etermine by substituting the values of 2 into the above equations. An easier approach is to eamine the groupings of - cells on the net-state maps. A on t-care value is equal to if it is groupe with -cells. Otherwise it is. Eamination of the on t-care values on the net-state maps shows that the net states of an are an respectively. If the counter happens to be in the state, it will stay in this state forever an cannot return to the normal sequence. Since the counter is not self-correcting, a ifferent esign is necessary Figure.22 Re-esign of the 6-state self-correcting counter. In re-esigning the counter, the on t-care terms on the net-state map are left out in grouping. The groupings for 2 an remain unchange. The ecitation function is 85

18 = = 2 2 = ( 2 ) The net-states of an are now an respectively. Thus the counter is self-correcting. To implement the counter using JK flip-flops, each of the net-state maps in Figure.2 is partitione into two sub-function maps as shown in Figure.23. The K- maps in the secon row of Figure.24 are the K-maps for K 2, K, an K. They are inverte to the K-maps for K 2, K, an K in the thir row of the figure. The ecitation functions are J 2 = ' K 2 = J = 2 2 = ( 2 ) K = J = 2 K = J 2 = ( 2 ) 2 = J = ( ) = J = ( ) = 2 2 K 2 = ( 2 ) 2 = K = ( ) = K = ( ) = 2 2 K 2 K K Figure.23 K-maps for JK ecitations. There are various ways to etermine the net-states of the two unuse states. One of them is to fin the net state from the following net-state equations. 86

19 2 = J 2 2 K 2 2 = 2 ( ) 2 = 2 2 = J K = ( 2 ) () = 2 2 = J K = 2 2 = 2 By substituting 2 by in the net-state equations, 2 =. With 2 =, the values of 2 in the net-state equations are. Up-own Self-Correcting Counter The state iagram shown in Figure.24 is another eample of a 6-state counter. However, the state transitions can also be in the reverse irection. It is calle an up-own counter. Up-count an own-count are controlle by an eternal signal C. When C =, the counting is in the up or forwar irection. When C =, the counting is in the own or backwar irection. Net states are etermine not only by present states but also by C. The transition table is given in Table.4. The net-state maps are shown in Figure.25. The counter is implemente using T flip-flops. The K-maps for T 2, T, an T are obtaine from the net-state maps in Figure.25 using the metho evelope in Section.4. an shown in Figure.26. The highlighte cells are the complements of the corresponing cells in Figure.26. C = C = Figure.24 State iagram for a 6-state up-own counter. The K-maps for the ecitations in Figure.27 show high contents of XOR. T 2 = C C = (C ) T = (C ) (C ) = (C ) T = (C ) (C ) = (C ) 87

20 Table.4 Transition table for a 6-state up-own counter. Present state Net state 2 2 C = C = 2 C 2 2 C 2 C Figure.25 Net-state maps for a 6-state up-own counter. 2 C T 2 2 C T 2 C T Figure.26 T ecitations for the 6-state up-own counter in Figure.26. The net states of the unuse states can be rea off irectly from the K-maps for the ecitations T 2, T, an T. Note that the values for the highlighte cells in Figure.26 shoul be complemente. The net-state maps obtaine from Figure.26 are 88

21 shown in Figure.27. The net-states of the two unuse state rea from Figure.27 are as follows. They are inepenent of the value of C. 2 = 2 = 2 = 2 = 2 C 2 2 C Figure.27 Net-state maps for a 6-state up-own counter after esign. 2 C.5 Synthesis of Synchronous Sequential Circuits In the esign of a counter, the state iagram can be constructe very easily from a given counting sequence. In general, such is not the case for a synchronous sequential circuit. Sometimes, it is helpful to unerstan the problem by generating a sample input sequence an its corresponing output sequence. A bit-sequence etector or recognizer is use as an eample. A bit-sequence etector is a synchronous sequential circuit to etect a specific sequence applie to a single input. One bit is inputte to the circuit in each clock cycle. When a specific input sequence is etecte, the output of the circuit becomes ; otherwise the output is. The sequence to be etecte in this eample is a 3-bit sequence. After a sequence of is etecte, the circuit starts to etect the net sequence. No part in one sequence can be use as part of the net sequence. This is referre to as a non-overlapping sequence. The esigns for both Moore moel an Mealy moel will be illustrate. Moore Moel A sample sequence of input an its corresponing output Z are liste in Table.5. All sequences of are highlighte. The output will not become until the clock cycle after the sequence has been etecte. If Z becomes in the same clock cycle as the thir bit, the output is a function of the input. This is then a Mealy moel. For instance, if Z = in clock cycle 7 because of the input sequence in clock cycles 5, 6, an 7, what is 89

22 the value of Z in clock cycle 7 if the input is in clock cycle 7? Z will be, not. The value of Z in clock cycle 7 now epens on the value of. Table.5 Sample input/output sequence for a Moore moel bit-sequence etector. Clock cycle Input. Output Z Before constructing the state iagram, it is realize that four ifferent conitions may occur uring etection. Conition A: Nothing has been etecte, not even the first bit of the sequence. Conition B: The first bit,, has been etecte. Conition C: The first two bits,, have been etecte. Conition : All three bits,, have been etecte. A/ B/ / C/ Figure.28 State iagram for a circuit of Moore moel to etect. Therefore, the minimum number of states is four. Sometimes, a state iagram with etra states may be constructe. The state iagram may still be correct. But this will increase the amount of components to be use. For eample, four states can be represente by two flip-flops. Five states require three flip-flops. For one state iagram with si states an another with eight states, both nee three flip-flops. However, the one with si states has two unuse states, the net states of which are on t-care states. With more on t care terms on the net-state or ecitation maps, the ecitation functions may be simpler. Various techniques can be use to minimize a state iagram. But it is not the topic in this chapter. Since the behavior of a synchronous sequential circuit can be escribe by a finite number of states. It is also calle a finite-state machine. 9

23 The state iagram for the bit sequence etector is constructe in Figure.28 base on the four conitions. The state iagram is converte to a state/output table in Table.6. The net step is state assignment. For the four combinations of flip-flop output values,,,, an, one of them is assigne to state A. There are four choices. After one of them is selecte for A, there are three combinations left for state B. Then there will be two combinations left for state C. Finally, only one combination is left for state. Thus, there are = 24 ifferent ways to assign the four combinations of values to the four states. A goo assignment will reuce the amount of components use to realize the circuit. The topic of how to get a goo state assignment is not covere here. A ranom assignment as the one in Table.4 is use. The state/output table is transforme to a transition/output table in Table.7. The net-state maps are shown in Figure.29. They are partitione to obtain the JK ecitations in Figure.3. A circuit iagram is given in Figure.3. J 2 = K 2 = ( ) J = K = 2 Z = 2 Table.6 State/output table for bit-sequence etector. Table.7 Transition/output table for bit-sequence etector. Present state Net state 2 Z 2 = = = = A A B B C B C A A B Z Figure.29 Net-state maps for the bit sequence etector. 9

24 2 J 2 = ( 2 ) 2 = J = ( ) = 2 K 2 = [( 2 ) 2 = ] K = [( ) = ] Figure.3 K-maps for the ecitations of the bit sequence etector. J 2 clock K Z J K Figure.3 Sequential circuit of Moore moel to etect a sequence of. Mealy Moel To esign the bit sequence etector for as a Mealy moel, a sample input/output sequence is given in Table.8. Overlapping is not allowe. Table.8 Sample input/output sequence for a Mealy moel bit-sequence etector. Clock cycle Input. Output Z. 92

25 For Mealy moel, the output becomes in the same clock cycle when the thir bit of the sequence is etecte. There is no nee to wait until the net clock cycle to generate an output of an it saves one state. The three conitions require for a Mealy moel are Conition A: Nothing has been etecte, not even the first bit of the sequence. Conition B: The first bit,, has been etecte. Conition C: The first two bits,, have been etecte. If present input =, Z =. If =, Z =. The state iagram base on the above conitions is plotte in Figure.32. The state iagram is converte to a state/output table in Table.9. By using the following state assignments 2 = 2 = 2 = 2 = for states A for states B for states C Unuse state the state/output table is converte to the transition/output table in Table.2. Note that / A / B / /, / / C Figure.32 State iagram of a Mealy moel circuit for etecting a sequence of. Table.9 State/output table for bit-sequence etector. Table.2 Transition/output table for bit-sequence etector. Present state Net state, Z 2, Z 2 = = = = A A, B,,, B C, B,,, C A, A,,,,, 93

26 The transition/output table is further converte to two net state maps an the K-map for Z in Figure.33, from which the following ecitation an output functions are obtaine. A circuit iagram is given in Figure.34. J 2 = K 2 = J = 2 K = Z = Figure.33 Net-state maps an output K-map. Z J 2 clock K J Z V cc K Figure.34 Sequential circuit of Mealy moel to etect a sequence of. Overlapping of Sequences If overlapping is allowe in the etection of the sequence, the state iagrams for Moore moel an Mealy moel can be easily moifie. For Moore moel, state represents the following situation. A sample input/output sequence for Moore moel with consieration of overlapping is given in Table.9. 94

27 Table.9 Sample input/output sequence for a Moore moel bit-sequence etector with overlapping. Clock cycle Input. Output Z Conition : All three bits,, have been etecte. It is a state for the thir bit of the sequence just etecte an for the first bit of the net sequence. Therefore, if the input is in state, the first two bits of the net possible sequence,, have been etecte. The net state shoul then be C. If the input is in state, the secon -bit of the previous sequence can be ignore because only one -bit is neee for the first bit of a new sequence. Thus the transition is from state to state B. The moifie state iagram for Moore moel is given in Figure.35. A/ B/ / C/ Figure.35 Moore moel state iagram for overlapping sequences. To moify the state iagram to allow overlapping for Mealy moel, a sample input/output sequence is shown in Table.29. Conition C is eplaine below. Conition C: The first two bits,, have been etecte. If the present input =, Z =. If =, Z =. When =, it also serves as the first bit of the net sequence an the net state is state B. Table.2 Sample input/output sequence for a Mealy moel bit-sequence etector with overlapping. Clock cycle Input. Output Z. 95

28 The moifie state iagram is given in Figure.36. / / A B / / / / C Figure.36 Mealy moel state iagram for overlapping sequences. PROBLEMS. Analyze the synchronous sequential circuit in Figure P. using the following state assignment: A: B: C: : 2. Repeat Problem for the synchronous sequential circuit in Figure P.2. J Z clock Figure P. K J K 96

29 z Figure P.2 clock T 3. Given below are the ecitation an output functions of a Moore moel synchronous sequential circuit. J = ( ) K = T = Z = Analyze the synchronous sequential circuit. 4. Given below is the transition table for an 8-state counter known as Johnson counter. Realize the counter using flip-flops Given below are the state table an state assignment for a synchronous sequential circuit. Realize the circuit using flip-flops. State assignment 2 Present state A B C E Net State, output = = B, E, A, C, B, C, C, E,, A, 97

30 6. Realize the following Moore moel state table using (a) flip-flops, (b) JK flipflops. State assignment Present state Net state Output Z = = A B C B B A A C C 7. Realize the following state table using (a) flip-flops, (b) T flip-flops, an (c) JK flip-flops. State assignment Present state A B C Net state, output = = A, C,, B, B, B, B, A, 8. Realize the following state table using JK flip-flops. State assignment 2 Present state A B C E F Net State, output = = B,, A, C,, C, B, E, C, A, E, F, 9. Construct a state iagram for a synchronous sequential circuit that etects an input sequence of. The output z is when the sequence is etecte. Otherwise z is. Sequences are allowe to overlap. A sample input/output is given below. Input Output z. esign a synchronous sequential circuit of Moore moel that recognizes the input sequence. The output Z is when the sequence is etecte. Otherwise Z is. Use flip-flops in the realization. A sample input/output is given below. Input Output z 98

31 . esign the bit-sequence recognizer in Problem as a Mealy moel machine. 2. esign a synchronous sequential circuit of Moore moel that recognizes the input sequence. When the sequence is etecte, the output z becomes. z will return to after two consecutive s are etecte. The circuit will then start the etection of the net sequence. Use T flip-flops. A sample input/output sequence is given below. Input Output z 99

Outcomes. Unit 14. Review of State Machines STATE MACHINES OVERVIEW. State Machine Design

Outcomes. Unit 14. Review of State Machines STATE MACHINES OVERVIEW. State Machine Design 4. Outcomes 4.2 Unit 4 tate Machine Design I can create a state iagram to solve a sequential problem I can implement a working state machine given a state iagram 4.3 Review of tate Machines 4.4 TATE MACHINE

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

Computers also need devices capable of Storing data and information Performing mathematical operations on such data

Computers also need devices capable of Storing data and information Performing mathematical operations on such data Sequential Machines Introduction Logic devices examined so far Combinational Output function of input only Output valid as long as input true Change input change output Computers also need devices capable

More information

CMSC 313 Preview Slides

CMSC 313 Preview Slides CMSC 33 Preview Slies These are raft slies. The actual slies presente in lecture may be ifferent ue to last minute changes, scheule slippage,... UMBC, CMSC33, Richar Chang CMSC 33 Lecture

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

Introduction EE 224: INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN. Lecture 6: Sequential Logic 3 Registers & Counters 5/9/2010

Introduction EE 224: INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN. Lecture 6: Sequential Logic 3 Registers & Counters 5/9/2010 EE 224: INTROUCTION TO IGITAL CIRCUITS & COMPUTER ESIGN Lecture 6: Sequential Logic 3 Registers & Counters 05/10/2010 Avinash Kodi, kodi@ohio.edu Introduction 2 A Flip-Flop stores one bit of information

More information

Digital Logic Design. Midterm #2

Digital Logic Design. Midterm #2 EECS: igital Logic esign r. nthony. Johnson f5m2s_il7.fm - igital Logic esign Miterm #2 Problems Points. 5 2. 4 3. 6 Total 5 Was the exam fair? yes no EECS: igital Logic esign r. nthony. Johnson f5m2s_il7.fm

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

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

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

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

3. Complete the following table of equivalent values. Use binary numbers with a sign bit and 7 bits for the value EGC22 Digital Logic Fundamental Additional Practice Problems. Complete the following table of equivalent values. Binary. Octal 35.77 33.23.875 29.99 27 9 64 Hexadecimal B.3 D.FD B.4C 2. Calculate the following

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

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

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

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

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 Following the slides of Dr. Ahmed H. Madian Lecture 10 محرم 1439 ه Winter

More information

18 EVEN MORE CALCULUS

18 EVEN MORE CALCULUS 8 EVEN MORE CALCULUS Chapter 8 Even More Calculus Objectives After stuing this chapter you shoul be able to ifferentiate an integrate basic trigonometric functions; unerstan how to calculate rates of change;

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

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

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

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

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 محرم 1439 ه Winter

More information

Review: Designing with FSM. EECS Components and Design Techniques for Digital Systems. Lec 09 Counters Outline.

Review: Designing with FSM. EECS Components and Design Techniques for Digital Systems. Lec 09 Counters Outline. Review: esigning with FSM EECS 150 - Components and esign Techniques for igital Systems Lec 09 Counters 9-28-0 avid Culler Electrical Engineering and Computer Sciences University of California, Berkeley

More information

Survey Sampling. 1 Design-based Inference. Kosuke Imai Department of Politics, Princeton University. February 19, 2013

Survey Sampling. 1 Design-based Inference. Kosuke Imai Department of Politics, Princeton University. February 19, 2013 Survey Sampling Kosuke Imai Department of Politics, Princeton University February 19, 2013 Survey sampling is one of the most commonly use ata collection methos for social scientists. We begin by escribing

More information

Time Allowed 3:00 hrs. April, pages

Time Allowed 3:00 hrs. April, pages IGITAL ESIGN COEN 32 Prof. r. A. J. Al-Khalili Time Allowed 3: hrs. April, 998 2 pages Answer All uestions No materials are allowed uestion a) esign a half subtractor b) esign a full subtractor c) Using

More information

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

COE 202: Digital Logic Design Sequential Circuits Part 4. Dr. Ahmad Almulhem   ahmadsm AT kfupm Phone: Office: COE 202: Digital Logic Design Sequential Circuits Part 4 Dr. Ahmad Almulhem Email: ahmadsm AT kfupm Phone: 860-7554 Office: 22-324 Objectives Registers Counters Registers 0 1 n-1 A register is a group

More information

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

L4: Sequential Building Blocks (Flip-flops, Latches and Registers) L4: Sequential Building Blocks (Flip-flops, Latches and Registers) Acknowledgements: Lecture material adapted from R. Katz, G. Borriello, Contemporary Logic esign (second edition), Prentice-Hall/Pearson

More information

or 0101 Machine

or 0101 Machine Synchronous State Graph or Synchronous State Graph or Detector Design a state graph for a machine with: One input X, one output Z. Z= after receiving the complete sequence or Overlapped sequences are detected.

More information

EE 209 Logic Cumulative Exam Name:

EE 209 Logic Cumulative Exam Name: EE 209 Logic Cumulative Exam Name: 1.) Answer the following questions as True or False a.) A 4-to-1 multiplexer requires at least 4 select lines: true / false b.) An 8-to-1 mux and no other logi can be

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

EE 209 Spiral 1 Exam Solutions Name:

EE 209 Spiral 1 Exam Solutions Name: EE 29 Spiral Exam Solutions Name:.) Answer the following questions as True or False a.) A 4-to- multiplexer requires at least 4 select lines: true / false b.) An 8-to- mux and no other logic can be used

More information

課程名稱 : 數位邏輯設計 P-1/ /6/11

課程名稱 : 數位邏輯設計 P-1/ /6/11 課程名稱 : 數位邏輯設計 P-1/41 2012/6/11 extbook: igital esign, 4 th. Edition M. Morris Mano and Michael. iletti Prentice-Hall, Inc. 教師 : 蘇慶龍 INSRUOR : HING-LUNG SU E-mail: kevinsu@yuntech.edu.tw hapter 6 P-2/41

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

Diagonalization of Matrices Dr. E. Jacobs

Diagonalization of Matrices Dr. E. Jacobs Diagonalization of Matrices Dr. E. Jacobs One of the very interesting lessons in this course is how certain algebraic techniques can be use to solve ifferential equations. The purpose of these notes is

More information

CSCI 2150 Intro to State Machines

CSCI 2150 Intro to State Machines CSCI 2150 Intro to State Machines Topic: Now that we've created flip-flops, let's make stuff with them Reading: igital Fundamentals sections 6.11 and 9.4 (ignore the JK flip-flop stuff) States Up until

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

Topics for Lecture #9. Button input processor

Topics for Lecture #9. Button input processor opics for Lecture # Reminder: midterm examination # next uesday starting at :0am. Examples of small state machines simultaneous button push detector (continued) button push processor pulse stretcher General

More information

Motivation. CS/EE 3700 : Fundamentals of Digital System Design

Motivation. CS/EE 3700 : Fundamentals of Digital System Design Motivation CS/EE 37 : Funamentals o Digital System Design Chris J. Myers Lecture 4: Logic Optimization Chapter 4 Algebraic manipulation is not systematic. This chapter presents methos that can be automate

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

Table of Common Derivatives By David Abraham

Table of Common Derivatives By David Abraham Prouct an Quotient Rules: Table of Common Derivatives By Davi Abraham [ f ( g( ] = [ f ( ] g( + f ( [ g( ] f ( = g( [ f ( ] g( g( f ( [ g( ] Trigonometric Functions: sin( = cos( cos( = sin( tan( = sec

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

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

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

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

11.1 As mentioned in Experiment 10, sequential logic circuits are a type of logic circuit where the output of EE 2449 Experiment 11 Jack Levine and Nancy Warter-Perez CALIFORNIA STATE UNIVERSITY LOS ANGELES Department of Electrical and Computer Engineering EE-2449 Digital Logic Lab EXPERIMENT 11 SEQUENTIAL CIRCUITS

More information

TMA 4195 Matematisk modellering Exam Tuesday December 16, :00 13:00 Problems and solution with additional comments

TMA 4195 Matematisk modellering Exam Tuesday December 16, :00 13:00 Problems and solution with additional comments Problem F U L W D g m 3 2 s 2 0 0 0 0 2 kg 0 0 0 0 0 0 Table : Dimension matrix TMA 495 Matematisk moellering Exam Tuesay December 6, 2008 09:00 3:00 Problems an solution with aitional comments The necessary

More information

5.4 Fundamental Theorem of Calculus Calculus. Do you remember the Fundamental Theorem of Algebra? Just thought I'd ask

5.4 Fundamental Theorem of Calculus Calculus. Do you remember the Fundamental Theorem of Algebra? Just thought I'd ask 5.4 FUNDAMENTAL THEOREM OF CALCULUS Do you remember the Funamental Theorem of Algebra? Just thought I' ask The Funamental Theorem of Calculus has two parts. These two parts tie together the concept of

More information

Design of Sequential Circuits

Design of Sequential Circuits Design of Sequential Circuits Seven Steps: Construct a state diagram (showing contents of flip flop and inputs with next state) Assign letter variables to each flip flop and each input and output variable

More information

23 Implicit differentiation

23 Implicit differentiation 23 Implicit ifferentiation 23.1 Statement The equation y = x 2 + 3x + 1 expresses a relationship between the quantities x an y. If a value of x is given, then a corresponing value of y is etermine. For

More information

2Algebraic ONLINE PAGE PROOFS. foundations

2Algebraic ONLINE PAGE PROOFS. foundations Algebraic founations. Kick off with CAS. Algebraic skills.3 Pascal s triangle an binomial expansions.4 The binomial theorem.5 Sets of real numbers.6 Surs.7 Review . Kick off with CAS Playing lotto Using

More information

THE ACCURATE ELEMENT METHOD: A NEW PARADIGM FOR NUMERICAL SOLUTION OF ORDINARY DIFFERENTIAL EQUATIONS

THE ACCURATE ELEMENT METHOD: A NEW PARADIGM FOR NUMERICAL SOLUTION OF ORDINARY DIFFERENTIAL EQUATIONS THE PUBISHING HOUSE PROCEEDINGS O THE ROMANIAN ACADEMY, Series A, O THE ROMANIAN ACADEMY Volume, Number /, pp. 6 THE ACCURATE EEMENT METHOD: A NEW PARADIGM OR NUMERICA SOUTION O ORDINARY DIERENTIA EQUATIONS

More information

Synchronous Sequential Circuit Design. Dr. Ehab A. H. AL-Hialy Page 1

Synchronous Sequential Circuit Design. Dr. Ehab A. H. AL-Hialy Page 1 Synchronous Sequential Circuit Design Dr. Ehab A. H. AL-Hialy Page Motivation Analysis of a few simple circuits Generalizes to Synchronous Sequential Circuits (SSC) Outputs are Function of State (and Inputs)

More information

CSE370 HW6 Solutions (Winter 2010)

CSE370 HW6 Solutions (Winter 2010) SE370 HW6 Solutions (Winter 2010) 1. L2e, 6.10 For this problem we are given a blank waveform with clock and input and asked to draw out the how different flip-flops and latches would behave. LK a) b)

More information

Unit II Chapter 4:- Digital Logic Contents 4.1 Introduction... 4

Unit II Chapter 4:- Digital Logic Contents 4.1 Introduction... 4 Unit II Chapter 4:- Digital Logic Contents 4.1 Introduction... 4 4.1.1 Signal... 4 4.1.2 Comparison of Analog and Digital Signal... 7 4.2 Number Systems... 7 4.2.1 Decimal Number System... 7 4.2.2 Binary

More information

Lecture 17: Designing Sequential Systems Using Flip Flops

Lecture 17: Designing Sequential Systems Using Flip Flops EE210: Switching Systems Lecture 17: Designing Sequential Systems Using Flip Flops Prof. YingLi Tian April 11, 2019 Department of Electrical Engineering The City College of New York The City University

More information

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012 CDA 3200 Digital Systems Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012 Outline Registers and Register Transfers Shift Registers Design of Binary Counters Counters for Other Sequences

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

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 of COE 22: Digital Logic Design (3--3) Term (Fall 22) Final Exam Sunday January

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

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

Week-5. Sequential Circuit Design. Acknowledgement: Most of the following slides are adapted from Prof. Kale's slides at UIUC, USA.

Week-5. Sequential Circuit Design. Acknowledgement: Most of the following slides are adapted from Prof. Kale's slides at UIUC, USA. Week-5 Sequential Circuit Design Acknowledgement: Most of the following slides are adapted from Prof. Kale's slides at UIUC, USA. Storing a value: SR = 00 What if S = 0 and R = 0? The equations on the

More information

Implicit Differentiation

Implicit Differentiation Implicit Differentiation Thus far, the functions we have been concerne with have been efine explicitly. A function is efine explicitly if the output is given irectly in terms of the input. For instance,

More information

Synchronous Sequential Logic. Chapter 5

Synchronous Sequential Logic. Chapter 5 Synchronous Sequential Logic Chapter 5 Other Flip Flops D flip flops requires smallest number of gates. Thus, they are commonly used Other flip flops are JK flip flops T flip flops

More information

Sequential Circuits Sequential circuits combinational circuits state gate delay

Sequential Circuits Sequential circuits combinational circuits state gate delay Sequential Circuits Sequential circuits are those with memory, also called feedback. In this, they differ from combinational circuits, which have no memory. The stable output of a combinational circuit

More information

Calculus in the AP Physics C Course The Derivative

Calculus in the AP Physics C Course The Derivative Limits an Derivatives Calculus in the AP Physics C Course The Derivative In physics, the ieas of the rate change of a quantity (along with the slope of a tangent line) an the area uner a curve are essential.

More information

APPROXIMATE SOLUTION FOR TRANSIENT HEAT TRANSFER IN STATIC TURBULENT HE II. B. Baudouy. CEA/Saclay, DSM/DAPNIA/STCM Gif-sur-Yvette Cedex, France

APPROXIMATE SOLUTION FOR TRANSIENT HEAT TRANSFER IN STATIC TURBULENT HE II. B. Baudouy. CEA/Saclay, DSM/DAPNIA/STCM Gif-sur-Yvette Cedex, France APPROXIMAE SOLUION FOR RANSIEN HEA RANSFER IN SAIC URBULEN HE II B. Bauouy CEA/Saclay, DSM/DAPNIA/SCM 91191 Gif-sur-Yvette Ceex, France ABSRAC Analytical solution in one imension of the heat iffusion equation

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

Synchronous Sequential Circuit Design

Synchronous Sequential Circuit Design Synchronous Sequential Circuit Design 1 Sequential circuit design In sequential circuit design, we turn some description into a working circuit We first make a state table or diagram to express the computation

More information

Applications of the Wronskian to ordinary linear differential equations

Applications of the Wronskian to ordinary linear differential equations Physics 116C Fall 2011 Applications of the Wronskian to orinary linear ifferential equations Consier a of n continuous functions y i (x) [i = 1,2,3,...,n], each of which is ifferentiable at least n times.

More information

FSM model for sequential circuits

FSM model for sequential circuits 1 FSM model for sequential circuits The mathematical model of a sequential circuit is called finite-state machine. FSM is fully characterized by: S Finite set of states ( state ~ contents of FFs) I Finite

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

Chapter 4 Part 2 Sequential Circuits

Chapter 4 Part 2 Sequential Circuits University of Wisconsin - Madison ECE/Comp Sci 352 Digital Systems Fundamentals Kewal K. Saluja and Yu Hen Hu Spring 2002 Chapter 4 Part 2 Sequential Circuits Originals by: Charles R. Kime and Tom Kamisnski

More information

Sequential vs. Combinational

Sequential vs. Combinational Sequential Circuits Sequential vs. Combinational Combinational Logic: Output depends only on current input TV channel selector (-9) inputs system outputs Sequential Logic: Output depends not only on current

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

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

DIGITAL LOGIC CIRCUITS

DIGITAL LOGIC CIRCUITS DIGITAL LOGIC CIRCUITS Introduction Logic Gates Boolean Algebra Map Specification Combinational Circuits Flip-Flops Sequential Circuits Memory Components Integrated Circuits Digital Computers 2 LOGIC GATES

More information

EE40 Lec 15. Logic Synthesis and Sequential Logic Circuits

EE40 Lec 15. Logic Synthesis and Sequential Logic Circuits EE40 Lec 15 Logic Synthesis and Sequential Logic Circuits Prof. Nathan Cheung 10/20/2009 Reading: Hambley Chapters 7.4-7.6 Karnaugh Maps: Read following before reading textbook http://www.facstaff.bucknell.edu/mastascu/elessonshtml/logic/logic3.html

More information

Gates and Flip-Flops

Gates and Flip-Flops Gates and Flip-Flops Chris Kervick (11355511) With Evan Sheridan and Tom Power December 2012 On a scale of 1 to 10, how likely is it that this question is using binary?...4? What s a 4? Abstract The operation

More information

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

L4: Sequential Building Blocks (Flip-flops, Latches and Registers) L4: Sequential Building Blocks (Flip-flops, Latches and Registers) Acknowledgements:., Materials in this lecture are courtesy of the following people and used with permission. - Randy H. Katz (University

More information

Bohr Model of the Hydrogen Atom

Bohr Model of the Hydrogen Atom Class 2 page 1 Bohr Moel of the Hyrogen Atom The Bohr Moel of the hyrogen atom assumes that the atom consists of one electron orbiting a positively charge nucleus. Although it oes NOT o a goo job of escribing

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

Designing Information Devices and Systems II Fall 2017 Note Theorem: Existence and Uniqueness of Solutions to Differential Equations

Designing Information Devices and Systems II Fall 2017 Note Theorem: Existence and Uniqueness of Solutions to Differential Equations EECS 6B Designing Information Devices an Systems II Fall 07 Note 3 Secon Orer Differential Equations Secon orer ifferential equations appear everywhere in the real worl. In this note, we will walk through

More information

Monopoly Part III: Multiple Local Equilibria and Adaptive Search

Monopoly Part III: Multiple Local Equilibria and Adaptive Search FH-Kiel University of Applie Sciences Prof Dr Anreas Thiemer, 00 e-mail: anreasthiemer@fh-kiele Monopoly Part III: Multiple Local Equilibria an Aaptive Search Summary: The information about market eman

More information

Overview of Chapter 4

Overview of Chapter 4 Overview of hapter 4 Types of Sequential ircuits Storage Elements Latches Flip-Flops Sequential ircuit Analysis State Tables State Diagrams Sequential ircuit Design Specification Assignment of State odes

More information

Digital Electronics Circuits 2017

Digital Electronics Circuits 2017 JSS SCIENCE AND TECHNOLOGY UNIVERSITY Digital Electronics Circuits (EC37L) Lab in-charge: Dr. Shankraiah Course outcomes: After the completion of laboratory the student will be able to, 1. Simplify, design

More information

Sequential Logic. Rab Nawaz Khan Jadoon DCS. Lecturer COMSATS Lahore Pakistan. Department of Computer Science

Sequential Logic. Rab Nawaz Khan Jadoon DCS. Lecturer COMSATS Lahore Pakistan. Department of Computer Science Sequential Logic Rab Nawaz Khan Jadoon DCS COMSATS Institute of Information Technology Lecturer COMSATS Lahore Pakistan Digital Logic and Computer Design Sequential Logic Combinational circuits with memory

More information

WORKBOOK. Try Yourself Questions. Electrical Engineering Digital Electronics. Detailed Explanations of

WORKBOOK. Try Yourself Questions. Electrical Engineering Digital Electronics. Detailed Explanations of 27 WORKBOOK Detailed Eplanations of Try Yourself Questions Electrical Engineering Digital Electronics Number Systems and Codes T : Solution Converting into decimal number system 2 + 3 + 5 + 8 2 + 4 8 +

More information

Synchronous Sequential Logic Part I. BME208 Logic Circuits Yalçın İŞLER

Synchronous Sequential Logic Part I. BME208 Logic Circuits Yalçın İŞLER Synchronous Sequential Logic Part I BME28 Logic Circuits Yalçın İŞLER islerya@yahoo.com http://me.islerya.com Sequential Logic Digital circuits we have learned, so far, have been combinational no memory,

More information

EET 310 Flip-Flops 11/17/2011 1

EET 310 Flip-Flops 11/17/2011 1 EET 310 Flip-Flops 11/17/2011 1 FF s and some Definitions Clock Input: FF s are controlled by a trigger or Clock signal. All FF s have a clock input. If a device which attempts to do a FF s task does not

More information

Sequential Logic Worksheet

Sequential Logic Worksheet Sequential Logic Worksheet Concept Inventory: Notes: D-latch & the Dynamic Discipline D-register Timing constraints for sequential circuits Set-up and hold times for sequential circuits 6.004 Worksheet

More information

Digital Logic Design. Midterm #2

Digital Logic Design. Midterm #2 EECS: igital Logic esign r. nthony. Johnson s7m2s_dild7.fm - igital Logic esign Midterm #2 Problems Points. 5 2. 4 3. 6 Total 5 Was the exam fair? yes no EECS: igital Logic esign r. nthony. Johnson s7m2s_dild7.fm

More information

Why Bernstein Polynomials Are Better: Fuzzy-Inspired Justification

Why Bernstein Polynomials Are Better: Fuzzy-Inspired Justification Why Bernstein Polynomials Are Better: Fuzzy-Inspire Justification Jaime Nava 1, Olga Kosheleva 2, an Vlaik Kreinovich 3 1,3 Department of Computer Science 2 Department of Teacher Eucation University of

More information

Technion - Computer Science Department - M.Sc. Thesis MSC Constrained Codes for Two-Dimensional Channels.

Technion - Computer Science Department - M.Sc. Thesis MSC Constrained Codes for Two-Dimensional Channels. Technion - Computer Science Department - M.Sc. Thesis MSC-2006- - 2006 Constraine Coes for Two-Dimensional Channels Keren Censor Technion - Computer Science Department - M.Sc. Thesis MSC-2006- - 2006 Technion

More information

Chapter #7: Sequential Logic Case Studies Contemporary Logic Design

Chapter #7: Sequential Logic Case Studies Contemporary Logic Design hapter #7: Sequential Logic ase Studies ontemporary Logic Design No. 7- Storage egister Group of storage elements read/written as a unit 4-bit register constructed from 4 D FFs Shared clock and clear lines

More information

Designing Information Devices and Systems I Spring 2018 Lecture Notes Note 16

Designing Information Devices and Systems I Spring 2018 Lecture Notes Note 16 EECS 16A Designing Information Devices an Systems I Spring 218 Lecture Notes Note 16 16.1 Touchscreen Revisite We ve seen how a resistive touchscreen works by using the concept of voltage iviers. Essentially,

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

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

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

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

Vidyalankar S.E. Sem. III [ETRX] Digital Circuits and Design Prelim Question Paper Solution S.E. Sem. III [ETRX] Digital Circuits and Design Prelim uestion Paper Solution. (a) Static Hazard Static hazards have two cases: static and static. static- hazard exists when the output variable should

More information

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

BER KELEY D AV IS IR VINE LOS AN GELES RIVERS IDE SAN D IEGO S AN FRANCISCO UN IVERSIT Y O F CA LIFO RNI A AT BERKELEY BER KELEY D AV IS IR VINE LOS AN GELES RIVERS IDE SAN D IEGO S AN FRANCISCO SAN TA BARBA RA S AN TA CRUZ De p a r tm en t of Ele ctr i ca l En gin e e rin g a

More information

Calculus of Variations

Calculus of Variations Calculus of Variations Lagrangian formalism is the main tool of theoretical classical mechanics. Calculus of Variations is a part of Mathematics which Lagrangian formalism is base on. In this section,

More information