Chapter 6. Synchronous Sequential Logic

Size: px
Start display at page:

Download "Chapter 6. Synchronous Sequential Logic"

Transcription

1 6. Synchrono Seqential Logic 6- Chapter 6. Synchrono Seqential Logic Introction x (I/P) q (PS) Combinational Circit q (NS) Memory Element y (O/P) x (I/P) q (PS) NS Logic Memory q Element (NS) O/P Logic y (O/P) Mealy Moel Moore Moel Figre : Synchrono eqential circit moel. A eqential circit i a logic circit that employ memory element in aition to (combinational) logic gate. Their otpt are etermine from the tate of the memory cell (a well a the preent inpt combination). The tate of the memory element, in trn, i a fnction of the previo inpt (an the previo tate). It behavior therefore i pecifie by a time eqence of inpt an internal tate. The binary information tore in the memory element (flip-flop) at any given time efine the tate of the eqential circit. An aynchrono eqential circit change their tate an otpt vale whenever a change in inpt vale occr. It behavior epen on the orer in which it inpt ignal change an can be affecte at any time. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

2 6. Synchrono Seqential Logic 6- A ynchrono eqential circit change their tate an otpt vale at fixe point of time, which are pecifie by the riing an/or falling ege of a free-rnning clock ignal. It behavior i efine at icrete intant of time. Synchronization ally i achieve by a timing evice calle a clock generator, which generate a perioic train of clock ple itribte throghot the ytem to trigger the memory element. A ynchrono eqential circit can be moele by a finite tate machine (FSM): M = (x; y; q;f;h); where f : x q! y (the Mealy machine) or f : q! y (the Moore machine) i the otpt fnction, an h : x q! q i the next-tate fnction. Note that q (t) = q(t +). Clock perio Clock with Riing ege Figre : Clock ignal [Gajki]. Falling ege Clock perio: time between cceive tranition in the ame irection (meareinm,n,orp). Clock freqency: the reciprocal of clock perio (meare in KHz, MHz, or GHz). Clock with: time ring which the clock ignal i high (vale i ). A clock ignal i active high if the tate change occr at the clock riing ege or ring the clock with. It i active low otherwie. Clock ty cycle: ratio of clock with an clock perio. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

3 6. Synchrono Seqential Logic 6-3 SR Latch The SR latch i a baic memory element which can tore one bit of information. It conit of two cro-cople NOR gate or two cro-cople NAN gate. It ha two inpt ignal, the et ignal (S) anthereet ignal (R). It ha two otpt ignal, an. It ha two tate, the et tate (when = an = ) anthereet tate (when = an = ). In the NOR-type SR latch, if S = R =, = =. If, beqently, both S an R are iaerte at the ame time, the otpt wol be npreictable. It i elay epenent. The latch can ocillate (if both NOR gate have the ame elay). The ocillation i calle critical race. Normally, we prohibit the inpt combination S = R = to avoi the problem. an are then alway complementary to each other. In the NAN-type SR latch, if S = R =, = =. If, beqently, both S an R are aerte at the ame time, the otpt wol be npreictable. Normally, we prohibit the inpt combination S = R = to avoi the problem. an are then alway complementary to each other. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

4 6. Synchrono Seqential Logic 6-4 S R (next) (next) S.4 R.4 (a) Logic chematic (c) Trth table S R Unefine Unefine t t t t 3 t 4 t 5 t 6 t 7 t 8 t 9 t S R.4.4 (b) Timing iagram S R (next) (next) (a) Logic chematic (c) Trth table S R Unefine Unefine t t t t 3 t 4 t 5 t 6 t 7 t 8 t 9 t (b) Timing iagram Figre 3: NOR-type an NAN-type SR latche [Gajki]. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

5 6. Synchrono Seqential Logic 6-5 Gate SR Latch (Clocke SR Latch) The gatesrlatchi one that ha a thir inpt, C (ally the clock ignal), which enable or iable the SR latch (ee Fig. 4). The eigner mt make re that the inpt ignal o not change ring the time winow aron the falling ege of C. The winow tart at etp time t etp before the falling ege of C an en with hol time t hol after the falling ege of C. In Fig. 5, e.g., the following conition mt hol for C: t t t 3 t t etp t hol S C C S R Next tate of No change No change = ; Reet tate R = ; Set tate Unefine (a) Logic iagram (b) Fnction table Fig. 4-7 SR Latch with Control Inpt Figre 4: Gate SR latch (NAN-type) [Mano & Kime]. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

6 6. Synchrono Seqential Logic 6-6 C S R (next) S C R R C S.. NA (a) Graphic ymbol (b) Logic chematic (c) Trth table C reet tate et tate reet tate S R t t t t 3 t 4 t 5 t 6 t 7 t 8 t 9 t t t t 3 () Timing iagram Figre 5: Gate SR latch (NOR-type) [Gajki]. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

7 6. Synchrono Seqential Logic 6-7 Gate Latch The gate latch ha only one inpt (the ata inpt). Contrcte from a gate SR latch by connecting the inpt to S an to R. Avoiing S = R = (for NOR-type latch). C C (next). C. (a) Graphic ymbol (b) Logic chematic (c) Trth table C reet tate et tate reet tate t t t t 3 t 4 t 5 t 6 t 7 t 8 t 9 t etp t hol t etp t hol t etp t hol () Timing iagram Figre 6: Gate latch [Gajki]. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

8 6. Synchrono Seqential Logic 6-8 Flip-Flop A latch which i enable whenever C = i calle a level-enitive latch (or level-triggere latch). At any point ring that time, any inpt change will propagate to the otpt (with ome mall elay), caing erroneo hifting a hown below. Soltion: mater-lave an ege-triggere flip-flop. A flip-flop (FF) repon to inpt change only ring the tranition in C. 3 C C C (a) Logic chematic C t t t t 3 t 4 t 5 t 6 t 7 (b) Timing iagram Figre 7: Erroneo hifting with latche [Gajki]. A mater-lave flop-flop i implemente with two latche a mater latch an a lave latch. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

9 6. Synchrono Seqential Logic 6-9 The inpt to the mater latch i the inpt to the FF. The inpt to the lave latch i the otpt from the mater latch. The otpt from the lave latch i the otpt of the FF. Both latche are riven by the ame clock ignal,. The mater latch i enable iff =. The lave latch i enable iff =. Avantage: the FF i never tranparent. Mater latch m 4./3. C C Slave latch 4./3. (a) Logic chematic m t t t t 3 t 4 t 5 t 6 t 7 t t 8 9 (b) Timing iagram Figre 8: Mater-lave flip-flop [Gajki]. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

10 6. Synchrono Seqential Logic 6- Mater lave flip flop Mater lave flip flop Mater lave flip flop m m 3m 3 C C C C C C (a) Logic chematic C m m m t t t t 3 t 4 t 5 t 6 t 7 (b) Timing iagram Figre 9: Shifting with mater-lave flip-flop [Gajki]. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

11 6. Synchrono Seqential Logic 6- An ege-triggere FF i implemente with three interconnecte SR latche: et, reet, an otpt latche. Poitive-ege-triggere FF (-to- tranition) Negative-ege-triggere FF (-to- tranition) Set latch.4 A.4 S.4.4 R.4 Otpt latch.4 B Reet latch (a) Logic chematic A S R.4.4 B t t t t 3 t 4 t 5 t 6 t 7 t 8 t 9 (b) Timing iagram Figre : Ege-triggere flip-flop [Gajki]. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

12 6. Synchrono Seqential Logic 6- Flip flop name Flip flop ymbol Table : Flip-flop type [Gajki]. Characteritic Characteritic table eqation Excitation table SR S R S R (next) (next) = S + R SR = (next) S R NA JK J K J K (next) (next) = J + K (next) J K (next) (next) = (next) T T T (next) (next) = T + T (next) T cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

13 6. Synchrono Seqential Logic 6-3 Flip-Flop Type We ame only poitive (riing) ege-triggere FF. SR (et-reet), JK, (ata), an T (toggle) FF are the for major FF commonly e. The characteritic table give for every inpt an tate combination before the riing ege of the correponing tate of the FF after the falling ege of. A characteritic eqation for each FF can be erive from the characteritic table ing the map metho. The excitation table i erive from the characteritic table by tranpoing inpt an otpt colmn. It give the vale of the FF inpt that are neceary to change the FF preent tate to the eire next tate. Table : State iagram for vario flip-flop [Gajki]. Flip flop name State iagram SR S,R =, S,R =, = = S,R =, S,R =, JK J,K= J,K =, or, = = J,K =, or, J,K =, = = = = = = T T= T = = = T= T = A flip-flop can have aynchrono inpt: PRS (preet) anclr (clear or reet). cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

14 6. Synchrono Seqential Logic 6-4 They are e to preet an clear the FF inepenently of other inpt. They are not controlle by the clock ignal. CLR C PRS CLR PRS (a) latch (b) Graphic ymbol PRS Set latch A S R Otpt latch PRS CLR CLR Reet latch B (c) ege triggere flip flop () Graphic ymbol Figre : flip-flop with aynchrono inpt [Gajki]. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

15 6. Synchrono Seqential Logic 6-5 Analyi of Seqential Logic The analyi of a eqential circit conit of obtaining a table or a iagram for the time eqence of inpt, otpt, an internal tate: the tate table or the tate iagram. It i alo poible to write Boolean expreion incling the neceary time eqence. The ame information available in a tate table can be repreente graphically in a tate iagram. A tate iagram i a irecte graph, where each noe repreent a niqe tate, an each arc a niqe tate tranition. The erivation of a tate iagram from a tate table (an vice vera) i niqe o far a iomorphim i concerne (th can be revere). Given a logic chematic, the analyi procere i a follow:. erive excitation eqation. erive next-tate an otpt eqation 3. Generate next-tate an otpt table 4. Generate tate iagram 5. evelop timing iagram 6. Simlate logic chematic cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

16 6. Synchrono Seqential Logic 6-6 Cnt (a) Logic chematic = Cnt + = Cnt + Cnt = Cnt + Cnt + Cnt (b) Excitation eqation (next) = (next) = = Cnt + Cnt + Cnt = Cnt + Cnt (c) Next tate eqation Preent tate Next tate (next) (next) Cnt = Cnt = () State table Figre : Analyi of a molo-4 conter [Gajki]. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

17 6. Synchrono Seqential Logic 6-7 Cnt = = Cnt = = Cnt = Cnt = Cnt = Cnt = = Cnt = = Cnt = (e) State iagram clock cycle clock cycle clock cycle 3 clock cycle 4 Cnt t t t t 3 t 4 t 5 (f) Timing iagram Figre 3: Analyi of a molo-4 conter (cont) [Gajki]. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

18 6. Synchrono Seqential Logic 6-8 Cnt (a) Logic chematic = Cnt + = Cnt + Cnt = Cnt Cnt + Cnt + (b) Excitation eqation (next) = (next) = = Cnt + Cnt + Cnt = Cnt + Cnt = (c) Next tate an otpt eqation Preent tate Next tate (next) (next) Cnt = Cnt = Otpt () State an otpt table Figre 4: Analyi of a tate-bae (Moore) molo-4 conter [Gajki]. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

19 6. Synchrono Seqential Logic 6-9 Cnt = = Cnt = = = = Cnt = Cnt = Cnt = Cnt = = = Cnt = = = Cnt = (e) State iagram clock cycle clock cycle clock cycle 3 clock cycle 4 Cnt t t t t 3 t 4 t 5 (f) Timing iagram Figre 5: Analyi of a tate-bae (Moore) molo-4 conter (cont) [Gajki]. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

20 6. Synchrono Seqential Logic 6- Cnt (a) Logic chematic = Cnt + = Cnt + Cnt = Cnt Cnt + Cnt + (b) Excitation eqation (next) = (next) = = Cnt + Cnt + Cnt = Cnt + Cnt = Cnt (c) Next tate an otpt eqation Preent tate Next tate / Otpt (next) Cnt = Cnt = / (next) / / / / / / / / () State an otpt table Figre 6: Analyi of a inpt-bae (Mealy) molo-4 conter [Gajki]. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

21 6. Synchrono Seqential Logic 6- Cnt = / = Cnt = / = Cnt = / = = = Cnt = / = Cnt = / = Cnt = / = = Cnt = / = = Cnt = / = (e) State iagram clock cycle clock cycle clock cycle 3 clock cycle 4 Cnt t t t t 3 t 4 t 5 (f) Timing iagram Figre 7: Analyi of a inpt-bae (Mealy) molo-4 conter (cont) [Gajki]. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

22 6. Synchrono Seqential Logic 6- Synthei of Seqential Logic eign ecription or timing iagram evelop tate iagram Generate next tate an otpt table Minimize tate Encoe inpt, tate, otpt erive next tate an otpt eqation Chooe memory element erive excitation eqation Optimize logic implementation erive logic chematic an timing iagram Simlate logic chematic Verify fnctionality an timing Figre 8: Synthei procere for FSM moel [Gajki]. FSM Moel (State iagram) Captre Conier a molo-3 p/own conter. Two inpt: cont enable (C) an cont irection (). When C =, it top conting. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

23 6. Synchrono Seqential Logic 6-3 When C =, it cont p if = anownif =. One otpt: = when the conter reache while conting p or while conting own. C = C Molo 3 p/own conter C = C = C = C = C = (a) Conter ymbol (b) Partial tate iagram (p an own conting) C = C = C = C = C = C = C = C = C = C = C = C = C = C = C = C = C = C = C = C = C = C = C = C = C = C = (c) Partial tate iagram (changing irection) C = C = C = C = () Final tate iagram Figre 9: State iagram for a molo-3 conter [Gajki]. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

24 6. Synchrono Seqential Logic 6-4 Example (State iagram for the BC-to-Exce-3 ecoer) The inpt are applie erially, with LSB firt, an the otpt are generate erially, too. TABLE 4-6 Seqence Table for Coe Converter Example Seqence in Orer of igit Repreente Seqence in Orer of Common Prefixe BC Inpt Exce-3 Otpt BC Inpt Exce-3 Otpt Table 4-6 Seqence Table for Coe Converter Example Init Init / / / / B= B= B= B= (a) / / / or / B= B= B= (b) Init Init / / / or / / / / or / / or / B= / / B= / or / / or / B= / / B= / or / B= B= B= B= B= B= / or / / / / / B3= B3= B3= B3= (c) Fig. 4- Contrction of a State iagram () cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

25 6. Synchrono Seqential Logic 6-5 State Minimization We wol like to rece the nmber of gate an FF ring the eign of a eqential circit (they ometime are competing objective). The nmber of gate an the nmber of inpt per gate for the next tate an otpt fnction can be rece by tate minimization. The nmber of FF reqire i irectly relate to the nmber of tate of the FSM. ForanFSMwithm tate, we wol nee log me FF. g / / / / a / / / / b / / f / / / / c e PS a b c e f g NS a b c a e f a f g f a f O/P t q a a b c e f f g f g a x y Figre : An FSM example. Given the FSM a hown above, can we fin an eqivalent FSM with fewer than 7 tate? efinition Two FSM are ai to be (behaviorally) eqivalent if given any inpt eqence, tarting from any ientical initial tate, they proce the ame otpt eqence. efinition Two tate, j an k,inanfsmareaitobeeqivalent, enote a j k,iff cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

26 6. Synchrono Seqential Logic i x; h( j ;i)=h( k ;i);. 8 i x; f ( j ;i)=f ( k ;i). ➀ Fin row in the tate table that have ientical NS an O/P entrie. They correpon to eqivalent tate. If there are no eqivalent tate, top. ➁ When tate are eqivalent, one of them can be remove. Upate the entrie of the remaining table to reflect the change. Go to ➀. PS a b c e f g NS a b c a e f a f g f a f O/P ➁ ➀ NS O/P NS O/P PS PS a a b a a b b c b c c a c a e f e e a f e a f ge f g a f t q a a b c e e e a x y The ame otpt eqence relt althogh the tate eqence i ifferent. Note that in either machine, 3 FF are reqire to repreent the tate. Three FF can repreent p to 8 tate. Une tate are treate a ontcare. In general, recing the tate table i likely (bt oe not garantee) to relt in a maller nmber of FF or gate. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

27 6. Synchrono Seqential Logic 6-7 Preent tate Next tate C = C = C = / / / / / / / / / / / / / / / / / / (a) Initial tate table C = {,,,,, } Otpt vale C = G = {, } G = {, } G = {, } G G G G G G G G G G G G G G G G G G Next tate (b) Partitioning into eqivalence clae Preent tate Next tate C = C = C = / / / / / / (c) Final next tate/otpt table / / / Figre : State rection for the molo-3 conter [Gajki]. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

28 6. Synchrono Seqential Logic 6-8 Eqivalence clae of tate alo can be obtaine by an implication table. A trianglar table in which every entry repreent a pecific pair of tate. Every pair of tate i aigne one entry in the table < 3, > 4 <, 6 > <, > Figre : An implication table [Gajki]. ➀ Enter a for every pair of tate that iffer in their otpt vale for at leat one et of inpt vale. Pair of tate that are not eqivalent are eliminate. ➁ For the remaining pair of tate, enter into each entry the next-tate pair that wol have to be eqivalent if the pair of tate repreente by the entry are to be eqivalent. The eqivalence of the next-tate pair i implie. For example, the eqivalence of < ; 5 > implie the eqivalence of < 3 ; 4 >. ➂ Scan the table from top to bottom one row at a time, an from left to right one colmn at a time, an enter a into any qare having at leat one noneqivalent next-tate pair. May be iterate everal time ntil no are entere ring the table can. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

29 6. Synchrono Seqential Logic 6-9 All the noncroe entrie repreent eqivalent pair. ➃ Grop the eqivalent tate into eqivalent clae. If i j an j k,then i k. Preent tate Next tate / Otpt C = C = C = / / / / / / / / / / / / / / / / / / (a) Next tate an otpt table <, > (b) Implication table Figre 3: Rection ing the implication table [Gajki]. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

30 6. Synchrono Seqential Logic 6-3 State Encoing (Aignment) NS O/P PS a a b b c c a e e a q a-a-a-3 a b c e PS NS O/P PS I/P NS O/P ABC x ABC y ifferent tate encoing (aignment) relt in ifferent (combinational) circit for the intene FSM. ifferent cot an elay. There are at leat n! ifferent way to encoe n tate. There i no eay tate-encoing procere that garantee a minimal-cot or minimal-elay combinational circit. Exploration of all poibilitie i impoible. Heritic are often e. Minimm-bit change: aign Boolean vale to the tate in ch a way that the total nmber of bit change for all tate tranition i minimize. Prioritize ajacency: aign ajacent encoing, which iffer in one bit only, to all tate that have a common orce, etination, or otpt.. The highet priority i given to tate that have the ame next tate for a given inpt vale.. The econ priority i given to the next tate of the ame tate. 3. The thir priority i given to tate that have the ame otpt vale for the ame inpt vale. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

31 6. Synchrono Seqential Logic 6-3 One-hot encoing: e renant encoing in which one FF i aigne to each tate. (a) Straight forwar encoing (b) Minimm bit change encoing Figre 4: Two ifferent encoing for a -bit binary conter [Gajki]. / / Priority : (, ) /, / Priority : (, ) / /, / / / / Priority 3: (, ), (, 3 ) / / 3 (a) Initial tate iagram (b) Ajacency prioritie (c) Poible encoing Figre 5: Encoing bae on prioritize ajacency [Gajki]. Encoing A Encoing B Encoing C Figre 6: Some encoing for molo-3 conter [Gajki]. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

32 6. Synchrono Seqential Logic 6-3 C (next) (next) (a) Next tate map (b) Otpt map (next) = C + C + C (next) = C + C + C = C + C (c) Excitation an otpt eqation.4.8 (next) (next) Cot ( ) = 4 Cot ( ) = 4 elay ( ) = 4. elay ( ) = 4. Cot () = 8 elay () = 3.6 () Cot an elay etimation Figre 7: Cot an elay etimation for encoing A [Gajki]. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

33 6. Synchrono Seqential Logic 6-33 C (next) (next) (a) Next tate map (b) Otpt map (next) = C + C + C (next) = C + C + C = C + C (c) Excitation an otpt eqation.4.8 (next) (next) Cot ( ) = 4 elay ( ) = 3.6 Cot ( ) = 4 elay ( ) = 3.6 () Cot an elay etimation Cot () = 6 elay () = 3. Figre 8: Cot an elay etimation for encoing B [Gajki]. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

34 6. Synchrono Seqential Logic 6-34 C (next) (next) (next) (a) Next tate table (b) Otpt table (next) (next) (next) = C + C + C = C + C + C = C + C + C = C + C (c) Excitation an otpt eqation (next) (next) (next) Cot ( ) = Cot ( ) = Cot ( ) = Cot () = 6 elay ( ) = elay( ) = elay ( ) = 3.6 elay () = 3. () Cot an elay etimation Figre 9: Cot an elay etimation for encoing C [Gajki]. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

35 6. Synchrono Seqential Logic 6-35 Choice of Memory Element After tate minimization an tate encoing, we chooe the proper type of FF for implementation. Given the tate tranition table, we wih to fin the FF inpt conition that will cae the reqire tranition. A tool for ch a prpoe i the excitation table, which can be erive from the characteritic table (or eqation). SR FF are generally e when ifferent ignal et an reet the FF. FF are goo for application reqiring ata tranfer (e.g., hift regiter). T FF are goo for thoe involving complementation (e.g., binary conter). Many igital ytem are contrcte entirely with JK FF becae they are the mot veratile available. JK i efl when we nee to combine the behavior of T an SR. The excitation table for the JK flip-flop ha many ont-care, which are more likely to relt in impler combinational circit. An example ing SR FF: + S R PS ABC I/P x NS ABC O/P y SA SB SC RA RB RC. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

36 6. Synchrono Seqential Logic 6-36 C (next) (next) (a) Next tate table for encoing A (preent) (next) S R J K T (b) Flip flop excitation table C S S R R S = + C C [cot = 8, elay = 3.6] R = = ( + C ) S = C + C [cot = 9, elay =.4] [cot = 8, elay = 3.6] = C = ( + C ) [cot = 9, elay =.4] R (c) Implementation with SR flip flop Figre 3: Mo-3 conter ing SR FF [Gajki]. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

37 6. Synchrono Seqential Logic 6-37 C J K J K J C + = C = (C + + ) K = C J = C + C = (C + + ) K = C () Implementation with JK flip flop [cot =, elay =.4] [cot =, elay = ] [cot =, elay =.4] [cot =, elay = ] C C T T T = C + C + C [cot =, elay = 3.6] T = C + C + C [cot =, elay = 3.6] = C + C + C = C + C + C [cot = 4, elay = 4.] [cot = 4, elay = 4.] (e) Implementation with T flip flop (f) Implementation with flip flop Figre 3: Mo-3 conter ing other type of FF [Gajki]. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

38 6. Synchrono Seqential Logic 6-38 Optimization an Timing iagram C.4 J K Inpt otpt elay.4 J K 4. C, to 5.4 to 7.6 C, to 5.6 to 7.4 (a) Logic chematic (b) elay table C t t t t 3 t 4 t 5 t 6 Figre 3: Schematic an a timing iagram of mo-3 conter [Gajki]. eign Example: Conter A conter i a eqential circit that goe throgh a precribe eqence of tate pon the application of inpt/clock ple (the cont ple). A banary conter i one that follow the binary eqence. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

39 6. Synchrono Seqential Logic 6-39 An n-bit conter cont from p to ( n ), an then reet to. What i a elf-correcting FSM? What ha it to o with ne tate? We are going to eign a ivie-by-6 conter (molo-6 conter) with the conting eqence (,,,3,4,5), which proce a if the tate 5 i encontere, an otherwie. We are going to e T FF. The tate iagram an table are hown below. 5 -/ -/ 4 -/ -/ 3 -/ -/ PS ABC NS ABC O/P y Excitation TA TB TC From the table, the implifie otpt fnction an the excitation fnction can be erive ing the K-map: A BC A BC BC A y = AC TA = AC + BC TA = A Φ B A BC TB = A C TC = An the chematic of the conter i hown below. T T T y A B C What if we e JK FF? Work the etail ot. cfl Cheng-Wen W, Lab for Reliable Compting (LaRC), EE, NTHU 5

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

SYNCHRONOUS SEQUENTIAL CIRCUITS

SYNCHRONOUS SEQUENTIAL CIRCUITS 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

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

Nuclear and Particle Physics - Lecture 16 Neutral kaon decays and oscillations

Nuclear and Particle Physics - Lecture 16 Neutral kaon decays and oscillations 1 Introction Nclear an Particle Phyic - Lectre 16 Netral kaon ecay an ocillation e have alreay een that the netral kaon will have em-leptonic an haronic ecay. However, they alo exhibit the phenomenon of

More information

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

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

Chapter 3 : Transfer Functions Block Diagrams Signal Flow Graphs

Chapter 3 : Transfer Functions Block Diagrams Signal Flow Graphs Chapter 3 : Tranfer Function Block Diagram Signal Flow Graph 3.. Tranfer Function 3.. Block Diagram of Control Sytem 3.3. Signal Flow Graph 3.4. Maon Gain Formula 3.5. Example 3.6. Block Diagram to Signal

More information

Bifurcation analysis of the statics and dynamics of a logistic model with two delays

Bifurcation analysis of the statics and dynamics of a logistic model with two delays Plihe in the Chao, Soliton & Fractal, Vol. 8, Ie, April 6, Page 54 554 Bifrcation analyi of the tatic an ynamic of a logitic moel with two elay. Berezowi, E. Fała Sileian Univerity of Technology Intitte

More information

Concepts Introduced. Digital Electronics. Logic Blocks. Truth Tables

Concepts Introduced. Digital Electronics. Logic Blocks. Truth Tables Concepts Introdced Digital Electronics trth tables, logic eqations, and gates combinational logic seqential logic Digital electronics operate at either high or low voltage. Compters se a binary representation

More information

Problem Class 4. More State Machines (Problem Sheet 3 con t)

Problem Class 4. More State Machines (Problem Sheet 3 con t) Problem Class 4 More State Machines (Problem Sheet 3 con t) Peter Cheng Department of Electrical & Electronic Engineering Imperial College London URL: www.ee.imperial.ac.k/pcheng/ee2_digital/ E-mail: p.cheng@imperial.ac.k

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

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

A NEW APPROACH FOR INVESTIGATION OF MULTI MACHINE STABILITY IN A POWER SYSTEM

A NEW APPROACH FOR INVESTIGATION OF MULTI MACHINE STABILITY IN A POWER SYSTEM ISSN: 50-038 (Online) A NEW APPROACH FOR INVESTIGATION OF MULTI MACHINE STABILITY IN A POWER SYSTEM MEENAKSHI DE a, G. DAS b AND K. K. MANDAL c abc Department of Power Engineering, Jadavpr Univerity ABSTRACT

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

2.0 ANALYTICAL MODELS OF THERMAL EXCHANGES IN THE PYRANOMETER

2.0 ANALYTICAL MODELS OF THERMAL EXCHANGES IN THE PYRANOMETER 2.0 ANAYTICA MODE OF THERMA EXCHANGE IN THE PYRANOMETER In Chapter 1, it wa etablihe that a better unertaning of the thermal exchange within the intrument i neceary to efine the quantitie proucing an offet.

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

ON ITERATIVE FEEDBACK TUNING AND DISTURBANCE REJECTION USING SIMPLE NOISE MODELS. Bo Wahlberg

ON ITERATIVE FEEDBACK TUNING AND DISTURBANCE REJECTION USING SIMPLE NOISE MODELS. Bo Wahlberg ON ITERATIVE FEEDBACK TUNING AND DISTURBANCE REJECTION USING SIMPLE NOISE MODELS Bo Wahlberg S3 Automatic Control, KTH, SE 100 44 Stockholm, Sween. Email: bo.wahlberg@3.kth.e Abtract: The objective of

More information

A Note on Irreducible Polynomials and Identity Testing

A Note on Irreducible Polynomials and Identity Testing A Note on Irrecible Polynomials an Ientity Testing Chanan Saha Department of Compter Science an Engineering Inian Institte of Technology Kanpr Abstract We show that, given a finite fiel F q an an integer

More information

CARLETON UNIVERSITY Final EXAMINATION Wed, April 26, 2006, 14:00

CARLETON UNIVERSITY Final EXAMINATION Wed, April 26, 2006, 14:00 RLTO UIVRSITY Final ITIO We, pril 26, 26, 4: ame: umber: Signature: URTIO: 3 HOURS o. of Stuent: 29 epartment ame & oure umber: lectronic L 267, an oure Intructor() T.G.Ray an J. Knight UTHORIZ OR TUR

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

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

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

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

Chapter #6: Sequential Logic Design

Chapter #6: Sequential Logic Design Chapter #6: equential Logic esign Contemporary Logic esign No. 6- Cross-Coupled NO Gates ust like cascaded inverters, with capability to force output to (reset) or (set) \ eset Hold et eset et ace \ Forbidden

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

Sequential logic and design

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

More information

Synchronous Sequential Circuit

Synchronous Sequential Circuit Synchronous Sequential Circuit The change of internal state occurs in response to the synchronized clock pulses. Data are read during the clock pulse (e.g. rising-edge triggered) It is supposed to wait

More information

15.1 Elimination of Redundant States

15.1 Elimination of Redundant States 15.1 Elimination of Redundant States In Ch. 14 we tried not to have unnecessary states What if we have extra states in the state graph/table? Complete the table then eliminate the redundant states Chapter

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

Module: 8 Lecture: 1

Module: 8 Lecture: 1 Moule: 8 Lecture: 1 Energy iipate by amping Uually amping i preent in all ocillatory ytem. It effect i to remove energy from the ytem. Energy in a vibrating ytem i either iipate into heat oun or raiate

More information

Finite State Machine. By : Ali Mustafa

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

More information

Analysis of Clocked Sequential Circuits

Analysis of Clocked Sequential Circuits Objectives Analysis of Clocked Sequential Circuits The objectives of this lesson are as follows: Analysis of clocked sequential circuits with an example State Reduction with an example State assignment

More information

Vidyalankar S.E. Sem. III [EXTC] Digital Electronics Prelim Question Paper Solution ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD = B

Vidyalankar S.E. Sem. III [EXTC] Digital Electronics Prelim Question Paper Solution ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD = B . (a). (b). (c) S.E. Sem. III [EXTC] igital Electronics Prelim Question Paper Solution ABC ABC ABC ABC ABC ABC ABC ABC = B LHS = ABC ABC ABC ABC ABC ABC ABC ABC But ( ) = = ABC( ) ABC( ) ABC( ) ABC( )

More information

Finite State Machine (FSM)

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

More information

Sequential Circuit Analysis

Sequential Circuit Analysis Sequential Circuit Analysis Last time we started talking about latches and flip-flops, which are basic one-bit memory units. Today we ll talk about sequential circuit analysis and design. First, we ll

More information

1.054/1.541 Mechanics and Design of Concrete Structures (3-0-9) Outline 7 Shear Failures, Shear Transfer, and Shear Design

1.054/1.541 Mechanics and Design of Concrete Structures (3-0-9) Outline 7 Shear Failures, Shear Transfer, and Shear Design 1.054/1.541 echanic an Deign of Concrete Strctre Spring 2004 Prof. Oral Bykoztrk aachett Intitte of Technology Otline 7 1.054/1.541 echanic an Deign of Concrete Strctre (3-0-9) Otline 7 Shear Failre, Shear

More information

Module 4: Time Response of discrete time systems Lecture Note 1

Module 4: Time Response of discrete time systems Lecture Note 1 Digital Control Module 4 Lecture Module 4: ime Repone of dicrete time ytem Lecture Note ime Repone of dicrete time ytem Abolute tability i a baic requirement of all control ytem. Apart from that, good

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

Menu. Master-Slave Flip-Flop

Menu. Master-Slave Flip-Flop Menu Clocks and Master-lave Flip-Flops J-K and other Flip-Flops Truth table & excitation table Adders (see [Lam: pg 130]) Counters Look into my... 1 CLK Master-lave Flip-Flop Master-lave Latch/Flip-Flop

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

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

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

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

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

Digital Logic Design - Chapter 4

Digital Logic Design - Chapter 4 Digital Logic Design - Chapter 4 1. Analyze the latch circuit shown below by obtaining timing diagram for the circuit; include propagation delays. Y This circuit has two external input and one feedback

More information

Compensation of backlash effects in an Electrical Actuator

Compensation of backlash effects in an Electrical Actuator 1 Compenation of backlah effect in an Electrical Actuator R. Merzouki, J. C. Caiou an N. M Siri LaboratoireeRobotiqueeVeraille 10-12, avenue e l Europe 78140 Vélizy e-mail: merzouki@robot.uvq.fr Abtract

More information

ERTH403/HYD503, NM Tech Fall 2006

ERTH403/HYD503, NM Tech Fall 2006 ERTH43/HYD53, NM Tech Fall 6 Variation from normal rawown hyrograph Unconfine aquifer figure from Krueman an e Rier (99) Variation from normal rawown hyrograph Unconfine aquifer Early time: when pumping

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

Actuarial Models 1: solutions example sheet 4

Actuarial Models 1: solutions example sheet 4 Actuarial Moel 1: olution example heet 4 (a) Anwer to Exercie 4.1 Q ( e u ) e σ σ u η η. (b) The forwar equation correponing to the backwar tate e are t p ee(t) σp ee (t) + ηp eu (t) t p eu(t) σp ee (t)

More information

Mehmet Pakdemirli* Precession of a Planet with the Multiple Scales Lindstedt Poincare Technique (2)

Mehmet Pakdemirli* Precession of a Planet with the Multiple Scales Lindstedt Poincare Technique (2) Z. Natrforsch. 05; aop Mehmet Pakemirli* Precession of a Planet with the Mltiple Scales Linstet Poincare Techniqe DOI 0.55/zna-05-03 Receive May, 05; accepte Jly 5, 05 Abstract: The recently evelope mltiple

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

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

ASYNCHRONOUS SEQUENTIAL CIRCUITS

ASYNCHRONOUS SEQUENTIAL CIRCUITS ASYNCHRONOUS SEQUENTIAL CIRCUITS Sequential circuits that are not snchronized b a clock Asnchronous circuits Analsis of Asnchronous circuits Snthesis of Asnchronous circuits Hazards that cause incorrect

More information

Solutions - Final Exam (Online Section) (Due Date: December 11th by 10:00 am) Clarity is very important! Show your procedure!

Solutions - Final Exam (Online Section) (Due Date: December 11th by 10:00 am) Clarity is very important! Show your procedure! DPARTMNT OF LCTRICAL AND COMPUTR NGINRING, TH UNIVRSITY OF NW MXICO C-238L: Computer Logic Deign Fall 23 Solution - Final am (Online Section) (Due Date: December th by : am) Clarity i very important! Show

More information

Framework Model For Single Proton Conduction through Gramicidin

Framework Model For Single Proton Conduction through Gramicidin 2 Biophyical Journal Volume 80 January 200 2 30 Framework Moel For Single Proton Conuction through Gramiciin Mark F. Schumaker,* Régi Pomè, an Benoît Roux * Department of Pure an Applie Mathematic, Wahington

More information

Department of Electrical & Electronics EE-333 DIGITAL SYSTEMS

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

More information

Review for Final Exam

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

More information

Imposing and Testing Equality Constraints in Models

Imposing and Testing Equality Constraints in Models Impoing and Teting Eqality Contraint in Model Richard William, Univerity of Notre Dame, http://www3.nd.ed/~rwilliam/ Lat revied ebrary 15, 015 Overview. We have previoly diced how to impoe and tet vario

More information

Chapter 7. Synchronous Sequential Networks. Excitation for

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

More information

Chapter 3. Chapter 3 :: Topics. Introduction. Sequential Circuits

Chapter 3. Chapter 3 :: Topics. Introduction. Sequential Circuits Chapter 3 Chapter 3 :: Topics igital esign and Computer Architecture, 2 nd Edition avid Money Harris and Sarah L. Harris Introduction Latches and Flip Flops Synchronous Logic esign Finite State Machines

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

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

1. Tractable and Intractable Computational Problems So far in the course we have seen many problems that have polynomial-time solutions; that is, on

1. Tractable and Intractable Computational Problems So far in the course we have seen many problems that have polynomial-time solutions; that is, on . Tractable and Intractable Comptational Problems So far in the corse we have seen many problems that have polynomial-time soltions; that is, on a problem instance of size n, the rnning time T (n) = O(n

More information

Finite State Machine (1A) Young Won Lim 6/9/18

Finite State Machine (1A) Young Won Lim 6/9/18 Finite State Machine (A) 6/9/8 Copyright (c) 23-28 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free ocumentation License, Version.2 or

More information

Chapter 4. Sequential Logic Circuits

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

More information

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 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

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

NEURAL CONTROL OF NONLINEAR SYSTEMS: A REFERENCE GOVERNOR APPROACH

NEURAL CONTROL OF NONLINEAR SYSTEMS: A REFERENCE GOVERNOR APPROACH NEURAL CONTROL OF NONLINEAR SYSTEMS: A REFERENCE GOVERNOR APPROACH L. Schnitman Institto Tecnológico e Aeronática.8-900 - S.J. os Campos, SP Brazil leizer@ele.ita.cta.br J.A.M. Felippe e Soza Universiae

More information

Ramp Metering Control on the Junction of Freeway and Separated Connecting Collector-Distributor Roadway

Ramp Metering Control on the Junction of Freeway and Separated Connecting Collector-Distributor Roadway Proceeings of the 8th WSEAS International Conference on APPLIED MATHEMATICS, Tenerife, Spain, December 16-18, 5 (pp45-5) Ramp Metering Control on the Jnction of Freeway an Separate Connecting Collector-Distribtor

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

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

Chapter 3. Digital Design and Computer Architecture, 2 nd Edition. David Money Harris and Sarah L. Harris. Chapter 3 <1>

Chapter 3. Digital Design and Computer Architecture, 2 nd Edition. David Money Harris and Sarah L. Harris. Chapter 3 <1> Chapter 3 Digital Design and Computer Architecture, 2 nd Edition David Money Harris and Sarah L. Harris Chapter 3 Chapter 3 :: Topics Introduction Latches and Flip-Flops Synchronous Logic Design Finite

More information

Adaptive partial state feedback control of the DC-to-DC Ćuk converter

Adaptive partial state feedback control of the DC-to-DC Ćuk converter 5 American Control Conference Jne 8-, 5. Portlan, OR, USA FrC7.4 Aaptive partial state feeback control of the DC-to-DC Ćk converter Hgo Rorígez, Romeo Ortega an Alessanro Astolfi Abstract The problem of

More information

Analysis of Passive Suspension System using MATLAB, Simulink and SimScape

Analysis of Passive Suspension System using MATLAB, Simulink and SimScape Analyi of Paive Spenion Sytem ing ATLAB, Simlink and SimScape iran Antony Atract The prpoe of the penion ytem in atomoile i to improve ride comfort and road handling. In thi crrent work the ride and handling

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

Chapter III Robust Digital Controller Design Methods

Chapter III Robust Digital Controller Design Methods Chapter III obut Digital Controller Deign Metho I.D. Lanau, G. Zito - "Digital Control ytem" - Chapter 3 Chapter 3. obut Digital Controller Deign Metho 3. Introuction 3. Digital ID Controller 3.. tructure

More information

Sequential Logic Circuits

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

More information

Modeling of a Self-Oscillating Cantilever

Modeling of a Self-Oscillating Cantilever Moeling of a Self-Oscillating Cantilever James Blanchar, Hi Li, Amit Lal, an Doglass Henerson University of Wisconsin-Maison 15 Engineering Drive Maison, Wisconsin 576 Abstract A raioisotope-powere, self-oscillating

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

University of Minnesota Department of Electrical and Computer Engineering

University of Minnesota Department of Electrical and Computer Engineering University of Minnesota Department of Electrical and Computer Engineering EE2301 Fall 2008 Introduction to Digital System Design L. L. Kinney Final Eam (Closed Book) Solutions Please enter your name, ID

More information

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

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

More information

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

CPE100: Digital Logic Design I

CPE100: Digital Logic Design I Chapter 3 Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu http://www.ee.unlv.edu/~b1morris/cpe1/ CPE1: Digital Logic Design I Section 14: Dr. Morris Sequential Logic Design Chapter 3 Chapter

More information

Digital Control System

Digital Control System Digital Control Sytem - A D D A Micro ADC DAC Proceor Correction Element Proce Clock Meaurement A: Analog D: Digital Continuou Controller and Digital Control Rt - c Plant yt Continuou Controller Digital

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

2. Fluid-Flow Equations

2. Fluid-Flow Equations . Fli-Flo Eqation Governing Eqation Conervation eqation for: ma momentm energy (other contitent) Alternative form: integral (control-volme) eqation ifferential eqation Integral (Control-olme) Approach

More information

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

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

More information

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

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

A Simplified Methodology for the Synthesis of Adaptive Flight Control Systems

A Simplified Methodology for the Synthesis of Adaptive Flight Control Systems A Simplified Methodology for the Synthei of Adaptive Flight Control Sytem J.ROUSHANIAN, F.NADJAFI Department of Mechanical Engineering KNT Univerity of Technology 3Mirdamad St. Tehran IRAN Abtract- A implified

More information

L =, (1) Key-Words: - ultrasonic flowmeter, delay line, transit-time, CPLD, ultrasonic transducer

L =, (1) Key-Words: - ultrasonic flowmeter, delay line, transit-time, CPLD, ultrasonic transducer A ow Cost CPD-Base Ultrasonic Flowmeter IOA IE, VIRGI TIPOUŢ, IVA BOGDAOV, SABI IOE, CĂTĂI DAIE CĂEAU Applie Electronics Department, Faclty of Electronics an Telecomnications Politehnica University of

More information

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

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

More information

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

Numerical simulation on wind pressure transients in high speed train tunnels

Numerical simulation on wind pressure transients in high speed train tunnels Compters in ailways XI 905 Nmerical simlation on win pressre transients in high spee train tnnels S.-W. Nam Department of High Spee Train, Korea ailroa esearch Institte, Korea Abstract When a train passes

More information

22. SEISMIC ANALYSIS USING DISPLACEMENT LOADING. Direct use of Earthquake Ground Displacement in a Dynamic Analysis has Inherent Numerical Errors

22. SEISMIC ANALYSIS USING DISPLACEMENT LOADING. Direct use of Earthquake Ground Displacement in a Dynamic Analysis has Inherent Numerical Errors 22. SEISIC ANALYSIS USING DISPLACEENT LOADING Direct e of Earthqake Grond Diplacement in a Dynamic Analyi ha Inherent Nmerical Error 22.1 INTRODUCTION { XE "Diplacement Seimic Loading" }ot eimic trctral

More information

Sample Test Paper - I

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

More information

Chapter 14 Sequential logic, Latches and Flip-Flops

Chapter 14 Sequential logic, Latches and Flip-Flops Chapter 14 Sequential logic, Latches and Flip-Flops Flops Lesson 4 JK Flip Flop Ch14L4-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 2 JK Flip-Flop ve edge triggered Output Q and

More information

SF2972 Game Theory Exam with Solutions March 19, 2015

SF2972 Game Theory Exam with Solutions March 19, 2015 SF2972 Game Theory Exam with Soltions March 9, 205 Part A Classical Game Theory Jörgen Weibll an Mark Voornevel. Consier the following finite two-player game G, where player chooses row an player 2 chooses

More information

Today s s Sermon. The. - ic. Important terms: Are you here? etc. AKA The Chemists Cheat Sheet. Did you read chapter 17 before class?

Today s s Sermon. The. - ic. Important terms: Are you here? etc. AKA The Chemists Cheat Sheet. Did you read chapter 17 before class? Toay Sermon The. - ic AKA The Chemit Cheat Sheet Are you here? A) Ye B) No C) Can I phone a frien? Di you rea chapter 17 before cla? A) Ye B) No C) I thought I wait till after the exam o I can focu my

More information