Digital Circuit Engineering

Size: px
Start display at page:

Download "Digital Circuit Engineering"

Transcription

1 Digitl Ciruit Engineering 5 INPUT MAPS (A) Loop squres with no friens, they n never shre. (B) Loop squres with no rothers, n simutneously loop their friens. Iterte: (A') Loop squres seperte from friens in lst itertion (B') Loop squres seperte from rothers in lst itertion Repet: Simplifition Asorption + = + = + + = 2n Distriutive Most Common Stupi Errors ( + A)( + B) = + AB. = ( + A)( + B)( + C) = + ABC + = Crleton University 202 ig5morek_mpsl.fm p. Revise; Jnury 27, 202 Slie i Five-vrile mps Dul 4-vrile mps Vrile-entere mps Split-squre mps (optionl) Illustrtions showing when vrile entere mps re esier Multiple-output mps Exmple: rille eoer Methos of irling multiple-output mps. Do hlf-mps first 2. Loop s with no friens. Loop squres whose friens left for the rk sie. 3. Loop s with no rothers on the sme mp Expn these nite loops on other mps 4. Iterte over 2 n 3 5. Heuristi, result my not lwys work. Appenix exmple: BCD to 7-segment eoer Common Errors Crleton University ig5morek_mpsl.fm p. 2, Revise; 202 Comment on Slie i

2 Five-Vrile Krnugh Mps Methos for Five Vriles ) Dul 4-Vrile mps e=0 e= Think of two mps on top of eh other One n loop squres: on either level, or oth levels. top ottom lyer 2) Vrile-Entere Mp Best for where e hs simple reltions: e uses only few squres or e uses lmost ll the squres. lyer Enter vriles (letters) on the 6 squre mp e for s on top lyer e for s on ottom lyer. Cn loop e e Cnnot loop e e This mp for e This mp for e 0 0 e e ig5morek_mpsl.fm p. 3 Revise; 202 Slie 5 Five-Vrile Krnugh Mps 5-Vrile Mps Methos 5-Vrile Mps Methos Dul 4-Vrile Mps Best for messy ptterns. Best with s (on t res) Vrile Entere Mps Best when one vrile, sy x, is use ut x is use little or not t ll. - Exmple, Cler input whih mkes ll outputs zero. Chosing the right vrile s the entere one n mke the looping muh esier. Speil Notes on 5-Vrile Mps Normlly 0 s re left lnk to reue the lutter. Here 0 is speifilly entere on one mp if is on the other mp. See Metho on top of slie. rp Aroun To loop etween lyers, the lyers must hve in the sme position on oth lyers. These re the squres whih iffer y only one input it. As shown on the right, orner squres re onfusing. e=0 e= OK e=0 e= rong looping Crleton University ig5morek_mpsl.fm p. 4, Revise; 202 Comment on Slie 5

3 Equtions From Five Vrile Mps Metho : Dul 4-Vrile Mps Terms for loops on the e=0 (top) mp re ANDe with e Terms for loops on oth mps on t mention e. Terms for loops on the e= (ottom) mp re ANDe with e Metho 2: Vrile-Entere Mp e e Loops ontining e re like loops only on the top (e=0) mp ove. These re ANDe with e F= e( ) e() F= e( ) Loops tht ontin only s on t hve e in there expression. Loops ontining e re like loops only on the ottom (e=) mp ove e() These re ANDe with e s loope only y e or e is only hlf loope e=0 0 e= e e 0 e e Equivlent loops Compre wht hppens without this loop? ig5morek_mpsl.fm p. 5 Revise; 202 Slie 6 Equtions From Five Vrile Mps 5 Vriles Plotte on 6 Squre Mp 5 Vriles Plotte on 6 Squre Mp Aove exmple illustrtes: ) Drwing mp from wors 2) Being reful to hve ll s loope in oth the e n the e plne. - If you see only single loop roun, mke sure tht loop oes not ontin e or e. Exmple Using Dul Mps properly e e loope in oth plnes e Not loope in e plne e e Loop n get n eqution. F= e() e() e=0 e= 0 0 e=0 e= 0 0 Noting it is the sme prolem, try using vrile entere mp try to loop n fin minimum eqution. e= e e Crleton University ig5morek_mpsl.fm p. 6, Revise; 202 Comment on Slie 6

4 Use of Vrile-Entere Mps Exmple: Drw Vrile-Entere Mp for F, n Loop For Min Ciruit F is true when: oth A n B re off or oth C n B re off or oth A n E re on Comine on one mp (OR the 3 mps) A Loop mp E E D Are these loops enough? E E C E E A A B E E These squres were not loope in e plne Loop e Funtion written D C oth A n B off D E E C E E B A B A E E D C oth C n B off E D E E C E E B B nees nother loop F = EA + D E E E E A E E E E C oth A n E on A B + C B + 0 e plne oth plnes e plne B ig5morek_mpsl.fm p. 7 Revise; 202 Slie 7 Use of Vrile-Entere Mps 5 Vriles Plotte on 6 Squre Mp Choosing the est mp to get n eqution Aove the F vrile hs simple pttern in tht it overs hlf of eh mp in n esy to loop form. If one vrile n e ftore out s in the prolem elow, this is goo guieline on wht to use. 5-. PROBLEM (Dul Mps) F = ( + + )e + ( + + )e = ( + )e + ( + )e + Plot F on the 5 vrile mp on the right. e= e= PROBLEM (se on the lst prolem) Loop the 5 vrile mp n reue F to 2 letters, 4 terms of 3 letters eh. There is rumor this n e reue to 0 letters 5-3. PROBLEM rite own the equtions for T L n T R from the slie. Crleton University ig5morek_mpsl.fm p. 8, Revise; 202 Comment on Slie 7

5 Vrile Entere Mps, T-Bir Til Lights Til Light Control Inputs Til light Til light LR B T L T R R- LR Right turn 4-wy, 0 Flsh Flsh Flsh L Left turn, Flsh B Brke Soli Soli - R B 0 Right turn & Brke Soli Flsh LR B 4-wy n Brke Flsh Flsh L- B 0 Left turn & Brke Flsh Soli 4 inputs on 3 se-input mp The Flsh input signl interts in simple wy. The 3 se-input vrile entere mp is simpler thn the 4-vrile mp. L B B 0 0 F F R F F F F L F F Til light T L Til light T R ith 5 or 6 vrile prolem, think out using vrile entere mp. Choosing the proper entere vrile is importnt. Unfortuntely there my not e proper vrile. R T L L B Inputs L R E26-07A FLASH F Hz on-off signl B F Til light T L TR R ig5morek_mpsl.fm p. 9 Revise; 202 Slie 8 Vrile Entere Mps, T-Bir Til Lights 4 Vriles Plotte on 3-Bse Vrile 4 Vriles Plotte on 3-Bse Vrile Mp Til Light Control There re two outputs, one for eh til light. Eh hs mp. ou n ignore the 2n mp (T R ) for this isussion. Unlike most rs, there re two seprte swithes for the turn signls, L n R. Turning on oth L n R turns on the emergeny (4-wy) flshers. The left (right) rke light n the left (right) turn signls use the sme light uls or LEDs. If the rke is pushe with turn signl flshing, the other sie stys on ontinuously (soli). If L, R n B re ll on, the 4-wy flshers overrie the rke,. Vrile-Entere mp Choosing the vrile to est to use s the entere vrile is importnt. Often this vrile is little ifferent from the other vriles, like the Cler n Flsh signls in the exmples. A more omplex mp is use in the T-Bir Til Lights l. 6 Vrile Mps If you hve 6 vrile prolem, you just might e le to esily reue it to 4x4 mp with 2 entere vriles. In the T-Bir Til Lights l, 5-vrile prolem is plotte on 4x2 mp PROBLEM: rite the eqution, or rw the iruit, represente y this 6-vrile,y vrile-entere mp. ht ws this iruit lle in the Phone Swith L? 5-5. PROBLEM: Loop the mp for for T R ner the mile of Slie 9, n the fin the lgeri expression for T R. 0 0 A D B C mp of g Crleton University ig5morek_mpsl.fm p. 0, Revise; 202 Comment on Slie 8

6 Five-Vrile Mps ith Inluing in 5-Vrile Mps Using Dul Mps e=0 e=0 John s solution 0 e= 0 e= 0 F= e() + + e() Using Vrile-Entere Mps Tom s solution e=0 e= 0 F= e() + + e / / /0 / On top On ottom ht mess Tom sys, The intertion of n e is too omplex. Use ul mps for 5-input prolems with s. ig5morek_mpsl.fm p. Revise; 202 Slie 9 Five-Vrile Mps ith Five-Vrile Mps ith Don t Cres Five-Vrile Mps ith Don t Cres Dul 4-vrile mps The extension of s to 5 vriles is stright forwr. As efore, n e optionlly loope like PROBLEM F = + + e + e Further,,,e n never tke on the vlues 0,,0,0 ( e) n,,, n never tke on the vlues 0,0,0, ( ) Plot F on the 5 vrile mp on the right, inluing s. e=0 e= 5-7. PROBLEM (se on the lst prolem) Loop the 5 vrile mp n reue F to 2 letters, Compre the nswer with the slie. Using vrile-entere with Vrile-entere mps lone usully nnot hnle. One hs to opt split-squre nottion for t lest some squres. Although there re few speil ses where vrile-entere mps might e useful, like when the s re ll stke on top of eh other in the two lyers, it is usully etter to use ul mps for these prolems. Crleton University ig5morek_mpsl.fm p. 2, Revise; 202 Comment on Slie 9

7 Multiple Outputs From Sme Ciruit Two outputs, F n G Sme inputs Fin the iruits for F n G Nee two mps Nee two iruits Often one n shre some gtes e optimize mps iniviully got one ommon gte. iruit size estimtes 29 letters (literls) gte inputs gtes In CMOS (numer trnsistors)/2 Mp of F F u = 3 letters Mp of G F= + G= + +u++ +u++ 3 letters 3 letters 5 AND inputs + 5 OR inputs 2 AND inputs + 5 OR inputs G ig5morek_mpsl.fm p. 3 Revise; 202 Slie 20 Multiple Outputs From Sme Ciruit Five-Vrile Mps ith Don t Cres Ciruits ith Two Outputs Multiple Outputs The ifferene etween multiple outputs n single outputs ith multiple outputs, one n often fin ommon gtes tht n e use for oth outputs. Often these ommon gtes re not optimum for either iniviul iruit, ut re optimum for the whole iruit. The exmple In this slie the iruits were optimize iniviully with hlf-herte effort to fin ommon terms. In the next slie, ommon terms were ggressively sought out. Ciruit omplexity There re severl wys to estimte the size of the iruit. The sme mesures lso estimte power issiption whih is now likely to e more importnt thn size. Inverters re not usully ounte in the gte ount. This is euse most will e sore when one oes n AND/OR to NAND/NOR onversion. Three methos of estimting iruit size:. The numer of gtes. 2. The numer of gte inputs. This mits tht multi-input gtes re lrger. One gte input usully orrespons to two trnsistors in CMOS logi. 3. The numer of letters on the right hn sie of the expressions. This is esy to o, n some onsiere it the est estimte. Note these re reltive estimtes; use for estimting if one iruit is signifintly igger thn nother. An solute or n urte estimte requires one to know the etils of the implementtion. Crleton University ig5morek_mpsl.fm p. 4, Revise; 202 Comment on Slie 20

8 Multiple Outputs Minimiztion Try to hrer to shre terms (gtes) Ientify ommon squres on oth mps Loop ommon terms even if the iniviul mps llow lrger loops Chek, sometimes ommon terms o not help. Here it hnge 3-input AND to 4-input AND n remove nother 3-input. Mp of F Mp of G size mesures Prev This slie slie letters (literls) gte inputs 9 gtes gte inputs v= letters w= u= G F F=v+w+u G=v+w+u AND inputs + 5 OR inputs 9 letters gte inputs 9 letters ig5morek_mpsl.fm p. 5 Revise; 202 Slie 2 Multiple Outputs Minimiztion Multiple Outputs Multiple Outputs Colleting the u+v+w terms woul reue the numer of letters n gte inputs, ut will inrese the numer of gtes. However the totl logi is lerly reue. x = u+v+w = + + ( letters, 4 inputs, 4 gtes)) F = + + x G = + + x Totl: 25 letters, 0 gtes, 32 gte inputs 5-8. PROBLEM Fin the Σ of Π expressions with miniml logi for the two-output iruit E, F. Soln. hs 5 gtes. If it is not pure Σ of Π,it n e one in 5 twoinput gtes, or, with ftoring, 4 gtes PROBLEM ) Fin the Σ of Π equtions using the minimum totl numer of gtes if no gtes re shre etween outputs. ) Fin the wy to reue this to 9 gtes if gtes re shre etween mps. One solution hs: two 5-input gtes, one 4-input gte, five 3-input gtes, n one 2-input gte. (7 letters, 9 inputs, 3 gtes) (7 letters, 9 inputs, 3 gtes) D CD AB A 0 C E = E F B E F D D CD CD AB 0 0 AB B B A A 0 0 C C F = G= MT04B Crleton University ig5morek_mpsl.fm p. 6, Revise; 202 Comment on Slie 2

9 Multiple Outputs; BCD -> Brille BCD to Brille Conversion BCD (Binry Coe Deiml) Four its n efine numers up to 5. BCD igits use 4 its ut not ll omintions. Binry 0 through 5 re not use Brille Brille symols for igits re 4 rise ots. The ot s position is enote y,,,. is upper left, is lower right Brille Digits Binry De Binry Coe Deimls AB \CD Binry positions on K-mp Corresponing eiml numers Brille ptterns for eiml igits ig5morek_mpsl.fm p. 7 Revise; 202 Slie 22 Multiple Outputs; BCD -> Brille Brille Brille The Brille oe onsists of 6 squres, only the upper 4 re use for igits. A B C D E F G H I J K L M N O P Q R S T U V The first ten letters of the lphet re the sme s the igits. Crleton University ig5morek_mpsl.fm p. 8, Revise; 202 Comment on Slie 22

10 Multiple Outputs; Brille Mps.BCD to Brille Brille Dot ientifition Design BCD to Brille Converter BCD input ABCD Design iruit to: ept inry-oe eiml input ABCD generte Brille output. Brille ) Drw mps for outputs,, n. Inlue on t res. ) Loop the mps for minimum Σ of Π logi if eh output is trete seprtely. ) Loop the mps to minimize logi inluing gte shring. ) Stte (i) the minimum numer of gtes use (ii) the numer of gte inputs (iii) the numer of letters. AB \CD Not use Not use Not use BCD positions on K-mp Not 2 use Not use Not use Corresponing eiml numers Brille ptterns for eiml igits ig5morek_mpsl.fm p. 9 Revise; 202 Slie 23 Multiple Outputs; Brille Mps Four Output Minimiztion Four Output Minimiztion The figure ove on the right shows: - the inry positions on Krnugh mp, - the orresponing eiml numers, - n the Brille pttern for the eiml igits Brille symols re pttern of rise ots. The positions of the ots is given y the symols,, n. Design Exmple Design iruit whih will ept inry-oe eiml input ABCD n generte Brille output. Binry-oe eiml igits only go from 0 to 9. The other numers, 0 through 5 will never e reeive s inputs. ) Drw the mp for the output. Be sure to inlue on t res. ) Drw the mps for eh of the,, n outputs. ) Loop the mps to give the minimum Σ of Π logi if eh output is trete seprtely. ) Drw new set of mps. Then loop them to give minimum logi if gtes n e shre etween mps. e) Stte (i) the minimum numer of gtes use n (ii) the numer of gte inputs, (iii) the numer of letters. Crleton University ig5morek_mpsl.fm p. 20, Revise; 202 Comment on Slie 23

11 BCD--> Brille; Initil Mps ) Drw mps for outputs,, n. Inlue on t res. Mp of Mp of Mp of Mp of ig5morek_mpsl.fm p. 2 Revise; 202 Slie 24 BCD--> Brille; Initil Mps Four Output Minimiztion Drwing the Four Mps is the ot in the upper left orner. Thus the mp onsists of ll the numers whih hve tht ot, nmely, 3, 2, 4, 5, 7,6 n 8. All the other squres on the mp re either 0 or. is the ot in the upper right orner. The mp onsists of ll the numers whih hve tht ot, nmely 0, 3, 4, 6, 7 n 9. Crleton University ig5morek_mpsl.fm p. 22, Revise; 202 Comment on Slie 24

12 BCD--> Brille; No Gte Shring (How not to o it) ) Mps loope s though eh output ws inepenent. Lter this will e use to show svings from shring Mp of = Mp of = 24 letters = 4 gtes (0 AND) = = 34 inputs Mp of = Mp of = + ig5morek_mpsl.fm p. 23 Revise; 202 Slie 25 BCD--> Brille; No Gte Shring (How Four Output Minimiztion Cirling the Mps s Thought They ere Completely Inepenent These mps re loope, with no ttempt to shre AND terms; one gets: 24 letters (lso lle literls). Rememer one ounts only the letters on the right hn sie. 4 gtes. 0 AND gtes whih will e the importnt numer when we look t Progrmmle Logi Arrys. 34 gte inputs. One n esily ount them y rwing piture. This lso turns out to e the numer of letters plus for eh AND term.(2 or more inputs AND terms) in the,,, n equtions. A set of irling guielines to minimize gte the gte ount 6 letters 8 gte inputs Eh AND terms hs n output into the OR gte tht is not ounte when you ount the letters. On the next few slies set of heuristis re given to shre gtes. A heuristi is n lgorithm whih usully gives goo nswer, ut is not gurntee to work, or s in this se give the est nswer. These heuristis re esigne to emphsise smll gte ount, n my tully inrese the numer of letters. These heuristis (exept for rule ) re espeilly goo for Progrmmle Logi Arrys (one lter) where the numer of gtes is ll importnt, n the numer of inputs is onstnt. = Crleton University ig5morek_mpsl.fm p. 24, Revise; 202 Comment on Slie 25

13 BCD--> Brille; Shring Gtes; Hlf-Mps ) Loop the mps trying to shre gtes Hlf-Mp Rule (Rule ) Loop the hlf-mps first. They o not ny gtes. nees only one AND gte for three loops Rule () my not (on );,, (on ); work on Progrmmle Logi Arrys (to e one lter) Mp of Mp of hlf-mp hlf-mp qurter-mp A hlf-mp is loop whih overs hlf the squres Mp of Mp of ig5morek_mpsl.fm p. 25 Revise; 202 Slie 26 BCD--> Brille; Shring Gtes; Hlf-Mps Heuristi Rules for Looping Orer in Heuristi Rules for Looping Orer in Multiple Output Mps These rules will e followe in the next few pges. Hlf Mp Rule: Loop the hlf-mps first. (like n on the mp ove) They o not ny AND gtes. 2. No Friens Rule: Loop squres tht pper on only one mp. Suh squres n never e shre. 2).My Friens Are Gone Rule: Their friens re loope or on ll the other mps. No useful shring. 3. Prorstente Deisions: ith severl looping hoies for squre, o nother squre first if ville. 4. No Brothers Rule: Loop s with no neighours on the sme mp (the fmily mp), exept loope neighours or. Loop the sme squre on other mps tht hve n unloope there. 4).Expn the fmily mp loops provie you n lso expn the loops on ny frien s mps. Keep the loops if they re mx size, on the fmily mp. If they reh mx size on nother mp first, these rules hve no further vise. 5. ou re on your own. Fortuntely it is usully esy. Looping mps trying to shre gtes The only tht ppers on only one mp. () A loop tht enloses hlf the mp, oes not use n AND gte; it is only piee of wire. 0 0 Mp of 0 0 Mp of 0 0 Alwys loop them, there is no gin from 0 0 shring piee of wire. However there is n exeption. In PLA (to e overe lter) 0 0 piee of wire oes tke n AND gte. In tht se o not utomtilly loop hlf mps. Mp of (2) The s tht pper on only one mp nnot shre n AND gte with nother mp. Hene loop them with the lrgest possile loop immeitely Mp of Crleton University ig5morek_mpsl.fm p. 26, Revise; 202 Comment on Slie 26

14 BCD--> Brille; Fmily n Friens Cirling the mps trying to shre gtes Fmily n Friens; mening A squre is one of the 6 squres on the mp. e only look t squres tht ontin. For on one mp: s in sme squre in other mps re friens s in jent squres on the sme mp re rothers No friens See white sq on other mps Fmily Mp of 0 No rothers 0 0 Mp of 0 0 Friens from high shool Friens Friens from Crleton Hs 2 rothers 0 0 Mp of 0 0 Friens from the street gng Mp of ig5morek_mpsl.fm p. 27 Revise; 202 Slie 27 BCD--> Brille; Fmily n Friens Heuristi Rules for Looping Orer in Fmily n Friens Preten you re in squre on one mp Fmily re other s on the sme mp. The importnt fmily memers re rothers. Brothers re in jent squres to you. Friens re s in the sme position on other mps. One frien is loope, one sys he/she hs gone to the rk sie. There is no point in trying to shre gtes with tht is lrey loope. Crleton University ig5morek_mpsl.fm p. 28, Revise; 202 Comment on Slie 27

15 BCD--> Brille; Shring Gtes, No Friens Rule (Rule2) No Friens Rule (for ht to Loop Next) For s with no friens ( ppers on only one mp). There is no wy to shre them. Loop them with s mny rothers s possile. (ou n inlue other s n s in the loop to mke it lrger) (on ) est loope y (on ) No friens 2 rothers 0 0 Mp of Mp of Mp of Mp of ig5morek_mpsl.fm p. 29 Revise; 202 Slie 28 BCD--> Brille; Shring Gtes, No Friens Heuristi Rules for Looping Orer in Cirling the mps trying to shre gtes Rehsh of Rules ( n 2) e hve now loope hlf-mps n s tht only pper on one mp. These lter loops will never e shre, hene we ignore them when we look for further shring. These loops will e gry she to mke them esy to ignore from now on. Rule (2) Now, we look for unloope s tht re loope (gry) on ll the other mps. These s re now frienless; they will never e usefully shre etween mps euse the potentil shring prtners re lrey loope. Rule() n Progrmmle Logi Arrys (PLAs n PALs) In these rrys, whih will e stuie lter, the AND gtes re preuilt. It tkes the sme resoures to mke -input AND gte s it oes 5-input one. In suh ses shring is ll importnt. Hlf-mps shoul e trete like ny other loops, n re likely not est euse they re hr to shre. Crleton University ig5morek_mpsl.fm p. 30, Revise; 202 Comment on Slie 28

16 BCD--> Brille; Shring; My Friens Are Gone ) Looping mps trying to shre gtes, (Rule 2) My Friens Are Gone Rule. (Loope into the rk sie) ith no friens left, we nnot usefully shre loops. Loop these new frienless s. This former frien is loope, leving this with no friens to shre gte with Loop him with rothers n s. loop (on ) Frien went to the rk sie Mp of frien is 0 gone Mp of 0 0 frien 0 is gone 0 Loop him His frien is gone. Mp of Mp of ig5morek_mpsl.fm p. 3 Revise; 202 Slie 29 BCD--> Brille; Shring; My Friens Are Heuristi Rules for Looping Orer in Squres whose friens were loope erlier, n re now on the rk sie. e re going to hve to loop these squres some time, n there is no point in trying to shre gtes with s tht re lrey inlue in nother loop. Squres where the friens re on t res re not worth shreing. Crleton University ig5morek_mpsl.fm p. 32, Revise; 202 Comment on Slie 29

17 BCD--> Brille; Shring; My Friens Are Gone ) Looping mps trying to shre gtes (Rule 2 ) My Friens Are Gone Rule. (They went over to the rk sie) Fin s tht nnot e usefully shre; friens re lrey loope. Loop them with rothers. in nnot e usefully shre. loop (on ) in nnot e usefully shre. loop (on ) Mp of Mp of 0 0 Mp of 0 Loop me 0 Loop me My only frien My only frien is gone is gone. 0 0 Mp of 0 0 ig5morek_mpsl.fm p. 33 Revise; 202 Slie 30 BCD--> Brille; Shring; My Friens Are Heuristi Rules for Looping Orer in Looping the mps trying to shre gtes There is no point in trying to shre loops if ll your friens hve gone over to the rk sie (lrey loope). Loop these squres now. Here, how to loop them is ler. In some ses it in not, for exmple: If the the friens re loope or, n the loop my inlue other squres. No friens Fmily Frien Here the smller n e shre n is useful on the other mp. The lrger nnot e shre n is poor hoie. Crleton University ig5morek_mpsl.fm p. 34, Revise; 202 Comment on Slie 30

18 BCD--> Brille; Shring; Friens Are All Gone ) My Friens Are Gone Rule, rule 2 (ont) Two frienless. n tht n t shre loops It mkes ifferene whih is one first Mp of Mp of Loop me first Mp of Mp of De frien 0 0 No loop 0 me first 0 frien De De frien Choie (4 orners), Choie 2 or (lst olumn) Mp of Mp of One Choie loop (right entre) Mp of ig5morek_mpsl.fm p. 35 Revise; 202 Slie 3 BCD--> Brille; Shring; Friens Are All Heuristi Rules for Looping Orer in Cirling the mps trying to shre gtes (Rule 2) (ontinue) Continue to look for s tht re unloope on only one mp. Loop them. Prorstente if one squre hs severl loop hoies (Rule 3). Sometimes they n e loope in severl wys. Look t wht else is inlue in the loop. Look t, in the upper right orner. Choie : Here four orner loop will lso over one extr squre. Choie 2: A vertil olumn loop will lso over one extr squre. Look t, lote out here. Single hoie: It n e loope to over one more unovere fmily squres. Tht loop n lso e shre so his rother overs nother frien squre. Its loop lso removes the vertil olumn hoie for, the upper right orner. Conlusion: Loop first. Then loop using the four orners. Crleton University ig5morek_mpsl.fm p. 36, Revise; 202 Comment on Slie 3

19 BCD--> Brille; Prorstente ) My Friens Are Gone Rule, rule 2 (ont) Two frienless s. It mkes ifferene whih is one first Loop first? Two hoies Loop first? One hoie n Choie (4 orners), Choie 2 or (lst olumn) Single Choie loop (right entre) Use Rule 3 Prorstente hih to o first? ou must o oth squres, ut - Do the single hoie one first. It my stop you from mking poor hoie on the other one. tht n t shre loops Mp of Mp of Mp of Do first. ig5morek_mpsl.fm p. 37 Revise; 202 Slie 32 BCD--> Brille; Prorstente Heuristi Rules for Looping Orer in hy Prorstente? There ws question of whih squre to loop next. One squre oul e loope in only one wy. The other h two possile loops to hoose from. Usully the single hoie squre is the one to o next. It puts off mking hoie whih might not e the right one. In this se it remove one of the hoies from the other squre, mking the next loop no-riner. Crleton University ig5morek_mpsl.fm p. 38, Revise; 202 Comment on Slie 32

20 BCD--> Brille; Prorstention my help ) Looping the mps trying to shre gtes Result of Looping using Prorstention It removes one hoie from Mp of Mp of Mp of Mp of Loop first. (in mp ) Expn loop to over unovere squre in mp This lso removes hoie from Must loop four orners ig5morek_mpsl.fm p. 39 Revise; 202 Slie 33 BCD--> Brille; Prorstention my help Heuristi Rules for Looping Orer in Finl results of Rule 2. My friens re gone. Note tht y looping just s tht one is sure nnot e shre, the size of the prolem hs een gretly reue. ht to Loop Next rules in summry. Hlf Mp Rule: Loop the hlf-mps first. They o not ny AND gtes. 2. No Friens Rule: Loop squres tht pper on only one mp. Suh squres n never e shre. 2).My Friens Are Gone Rule: Loop squres whos friens re loope or on ll other mps. No useful shring. 3. Prorstente Deisions: ith severl looping hoies for squre, o nother squre first if ville. 4. No Brothers Rule: Loop s with no neighours on the sme mp (the fmily mp), exept loope neighours or. Loop the sme squre on other mps tht hve n unloope. 4).Expn the fmily mp loops provie you n lso expn the loops on ny frien s mps. Keep the loops if they re mx size, on the fmily mp. If they reh mx size on nother mp first, these rules hve no further vise. 5. Use originl thought. Fortuntely it is usully esy. Crleton University ig5morek_mpsl.fm p. 40, Revise; 202 Comment on Slie 33

21 BCD--> Brille; Shring ) Looping the mps trying to shre gtes Summry of wht is loope up to now. Loops from the previous slie re now she. Mp of Mp of Mp of Left to 0 o 0 0 Mp of ig5morek_mpsl.fm p. 4 Revise; 202 Slie 34 BCD--> Brille; Shring Heuristi Rules for Looping Orer in Cirling the mps strting with the fmily Rule (4): Squres with The oviously unshrele loops hve een foun. e will now look for loops tht n e shre. To o this is to strt smll. Look for single squres on one mp tht re lso n unloope on one or more other mps. Cll the originl mp the fmily mp. e know we will hve to loop tht, n we will try to shre its loop. Then expn the fmily squre s loop to inlue more squres. Do the sme expnsion on the other mps. Eventully you will hve to stop. If you hve to stop euse limittions on the fmily mp this squre must e the est. ou know tht must e loope, n this is the lrgest squre tht n o it. If you hve to stop euse of limittions on the other mps, you will hve to evlute the enefits of shring versus the enefits of hving the lrger squre on the fmily mp. This requires ifferent kin of thinking thn just following the rules. Rememer Lrger loops mke smller gtes. Shring loops elimintes gte(s). Coul the friens squre e inlue in nother loop? Goo luk. Crleton University ig5morek_mpsl.fm p. 42, Revise; 202 Comment on Slie 34

22 BCD--> Brille; Loop Single Chilren ) looping the mps trying to shre gtes. (Rule 4) No Brothers Rule. Mp of Loop s with NO rothers on its fmily mp 0 0 Don t ount loope rothers or s. Then loop friens on other mps 0 Single hil 0 Mp of Mp of Mp of Mp of Mp of Mp of Mp of frien (4) Expn the loops on the fmily mp Try to lso expn on the friens mp(s). - Stop expning when loop on fmily mp is mx size. - It my e est to stop when the friens loop is mx size. Use your jugement. ig5morek_mpsl.fm p. 43 Revise; 202 Slie 35 BCD--> Brille; Loop Single Chilren Heuristi Rules for Looping Orer in The rules (Guielines) hve finishe The rest is: Common sense. Low unning. Luk Here the wy to loop the other squres is firly ler PROBLEM Assume the term,,, =,,0, is use for some other purpose, like eiml point, n is no longer on t re input. Fin the new set of mps, n the new equtions. ou will inrese the numer of gte inputs y two (I think), ut you shoul not hve to ny new gtes. Crleton University ig5morek_mpsl.fm p. 44, Revise; 202 Comment on Slie 35

23 BCD--> Brille; Finl Clen Up ) Looping the mps trying to shre gtes. Use Originl Thought Tke wht is left n try to loop n shre Here the solution is very ler. Mp of Mp of Mp of Mp of ig5morek_mpsl.fm p. 45 Revise; 202 Slie 36 BCD--> Brille; Finl Clen Up Finl Equtions n Gte Count Finl Equtions n Gte Count The finl equtions show: Letters 7.7% loss Gtes 4.3% sving AND gtes 20% sving Gte inputs 8.9% sving. Not too impressive? For more imressive result see Comment on Slie 46. ht ommonly hppens is tht shring oes not sve too muh on the letter ount, ut hs etter sving on the gte ount. Unfortuntely, omputer-ie esign softwre often ounts letters. AND gtes my e the most importnt For mny CPLD (omplex progrmmle logi evies) the internl logi is with PALs (Progrmmle Arry Logi) in whih the importnt prmeter is the numer of AND gtes. Shring gtes is then muh more importnt thn the letter ount. ho res how mny gtes there re? ith ten million gtes on piee of silion tht osts $3. why shoul one worry. If you hve smll iruit whih my e replite,0 times on piee of silion. It mtters. Also power usge inreses with gte ount. This mens your ell phone runs own more quikly, or your lp top nees igger fn. Dely in iruit often inreses with more gtes. Crleton University ig5morek_mpsl.fm p. 46, Revise; 202 Comment on Slie 36

24 BCD--> Brille; Finl Equtions n Gte Count ) Finl equtions n gte ount, Mp of 0 0 G 0 0 H Mp of 0 0 N N 0 L L 0 Mp of 0 0 J 0 J L 0 Mp of 0 0 J 0 J 0 H L = G on mp H = = + H + + = + L + N on mp This solution with gte shring 26 letters 2 gtes (8 ANDs) 3 gte inputs J = = J + + L + = J + + H ith no shring 24 4 (0 AND) 34 Letters like H re put on the mp to help mth loops with equtions. ig5morek_mpsl.fm p. 47 Revise; 202 Slie 37 BCD--> Brille; Finl Equtions n Gte Minimiztion of prolems of this omplexity woul e one using omputer-ie esign progrm. However the initil setting up of the prolem, proly with the i of Krnugh mps, woul hve to e one mnully. Also you nee to know wht the progrm is trying to o. For exmple, oes it give hlf-mps omplete priority? this is unesirle for rry logi implementtions. Crleton University ig5morek_mpsl.fm p. 48, Revise; 202 Comment on Slie 37

25 Appenix: Another Multiple Output Exmple The Common Errors Setion Is At the En The 7-Segment Disply Another Exmple with mny Multiple Outputs An exmple muh like the BCD to Brille exmple My opinion is tht setting up the equtions is the most useful thing to lern here. It hs 7 outputs inste of 4. Before rule 2 ws importnt n rule 3 ws simple. Here rule 2 oes nothing, n rule 3 is omplex. This gives more prtie rther thn giving new onepts. ig5morek_mpsl.fm p. 49 Revise; 202 Slie 38 Appenix: Another Multiple Output Seven-Segment Disply Driver Seven-Segment Disply Driver Design Exmple The slie ove, shows the rs in seven segment isply suh s is use in mny utomotive shor isplys, or other right isplys. All the igits from 0 through nine n e shown y lighting the proper rs. Design iruit whih tkes inry-oe-eiml (BCD) igit in on les,, n n sens out the signls to light the 7-segment isply on les,,,, e, f, n g. Binry-oe eiml (BCD) igits only go from 0 to 9. The other numers, 0 through 5 will never e reeive s inputs. Utilize this ft in your solution. 5-. PROBLEM \ The igits on the right hve revise form for, 7, 6 n 9. Derive the mps for the isply rivers PROBLEM Fin the minimum iruit with the three outputs efine y the mps elow. This is hr prolem. ou shoul re over the exmple for the 7-segment isply rivers efore ttempting it Revise isply F = G = H =. The right isplys, suh s on loks n lk/don t-lk signls use light-emitting ioes. The immer wth n ontrol pnel isplys re usully liqui rystl n hve more omplex river logi. Crleton University ig5morek_mpsl.fm p. 50, Revise; 202 Comment on Slie 38

26 ExmpleOutput Minimiztion; 7-Segment Disply 7-Segment Disply Driver, BCD Digits in inry Design Driver Logi 4 inputs, 7 outputs 7 mps, eh with 6 on t res Generte Mps Choose segment fin ll the squres where is lit. Repet for,,... LOGIC f g e Design this logi f e g Deiml igits isplye Digits with lit Digits with lit Digits with lit Digits with lit Digits with e lit Digits with f lit Digits with g lit ig5morek_mpsl.fm p. 5 Revise; 202 Slie 39 Appenix: Another Multiple Output Rules for Multi-mp Minimiztion Rules for Multi-mp Minimiztion These re the sme suggeste rules s use in the BCD--> Brille exmple. If you hve not thoroughly stuie tht, the rules will e hr to unerstn. However, the rules re expline in more etil in the next few pges. The rules here re stte little more formlly thn in the BCD--> Brille exmple. The rules re firly utomti up to 4. At rule 4 one hs to use more jugment, intuition n low unning. After oing these rules, irling ny remining squres is usully firly esy. If the minimiztion is for rry logi, whih will e stuie lter. The first rule (loop the hlf mps) is not one. In rry logi AND n OR gtes re preuilt, so -input AND n one with more inputs use the sme resoures. Solution to Pro 5-2. L=+ + F= +L G=+L H= letters, 27 gte inputs, gtes Crleton University ig5morek_mpsl.fm p. 52, Revise; 202 Comment on Slie 39

27 Mps for 7-Segment Disply Drivers f e g Digits with lit Trnsfer lit segment mps to Krnugh mps Loop s in on one mp, who s squre is either loope, 0 or on ll other m Minimiztion Do fin loops ommon to two or more mps using these suggeste rules introue in the Brille exmple: e f g () Look for hlf-mp loops (2) Loop s on one mp who s squres on other mps re 0. (No friens rule) (2) Loop s on one mp, who s friens on other mps, re loope, 0 or. (3) ith severl loop next nites, put off the ones with hoies of loops, until the en. (4) Loop s with rothers on the sme mp, exept loope neighours or. (4) Expn the nite loops, rete in (3), provie you n lso expn on the other mps. - Keep loops tht re mx size on the fmily mp. (4) Otherwise think out it! Some expnsions my intert with (4) ig5morek_mpsl.fm p. 53 Revise; 202 Slie 40 Mps for 7-Segment Disply Drivers Rules for Multi-mp Minimiztion Mps for 7-Segment Disply Driver Minimiztion (ontinue) Loops tht over hlf the mp These re represente y single letter n re prtiulrly goo. Sine they only ontin single letter, they o not nee n AND gte. The input n fee iretly into the OR gte. There is no vntge to shring these terms etween mps euse there is no hrwre to shre. 5. Lote ll loops whih, with s if neee, over hlf of mp. There re some ten of them in this exmple. 6. It is esy to overo this rule Two of these loops over no s tht re not overe y other loops. The only new squres they over ontin s n hene re useless. Remove suh loops. The n mps hve suh useless loops. e f g Crleton University ig5morek_mpsl.fm p. 54, Revise; 202 Comment on Slie 40

28 7-Segment Disply; Loop Hlf-Mps Minimiztion Rule, Hlf-Mp Rule (Rule ) Look for hlf-mp loops (one letter terms) These o not require n AND gte. Hene they n lwys e loope without loss of potentil gte shring. These loops re ll hlf-mp loops. Exmple: nees only one AND gte for three loops e f g A ommon error: The she loops, on the n mps, re reunnt. ig5morek_mpsl.fm p. 55 Revise; 202 Slie 4 7-Segment Disply; Loop Hlf-Mps Rules for Multi-mp Minimiztion Minimiztion (ontinue) Rule (2) The No Friens Rule A whih ppers on only one mp, n never e shre. These shoul e loope on the one mp with the lrgest possile loop. Unfortuntely there re no frienless s in the seven-segment eoer. Rule (2) All My Friens Hve Gone to The Drk Sie Rule These s might s well e loope now, euse there is no sving from shring the loop with nother mp where the squre is lrey loope or. Unfortuntely, ll the s hve friens on one one or more mps. hih mps use ny prtiulr squre is summrize in the mp in the upper right orner ove. Crleton University ig5morek_mpsl.fm p. 56, Revise; 202 Comment on Slie 4

29 7-Segment Disply; No Friens Minimiztion Rule (2) n (2) No Friens Rule (2) Loop s on one mp who s squre on other mps re 0 (Hve no frien on friens mps) There re none here. My Friens Hve Gone to the Drk Sie (2) Loop s on one mp, who s squre is either 0, loope or on ll other mps. These nnot e usefully shre with other mps. There re none here. Exmples: Unloope, ut on more thn one mp,,,, e,f g e,g,g,,,e g g,e e f g Loop s in on one mp, who s squre is either loope, 0 or on ll other mps. Mps with unloope squres This is one ig5morek_mpsl.fm p. 57 Revise; 202 Slie 42 7-Segment Disply; No Friens Rules for Multi-mp Minimiztion Minimiztion (ontinue) Rule (4) Loop single s whih hve no rothers on the sme mp exept loope s or s. Loop the single s. There hve to e s in the orresponing squres in other mp(s), or they woul hve een loope in rule 2. These s hve gret potentil for shring. Further, y strting with the smllest loop, we o not lose shring opportunities. In this exmple mps, n f, hve single squres. The ft tht the loops oul expn into s or into lrey loope res oes not mtter. This is hnle in the next rule. These single squre loops re nite loops. f Rule (4)Expn the loops on the fmily mp n on the friens mps. Stop when ny of the loops nnot e further expne. Stop for goo if the fmily mp loop is oing the limiting. Otherwise see Rule (4) Exmple; the originl fmily mp loop in n e expne to two squres in, n g. This is the mximum expnsion in. n lso on the frien s mps n g, Similrly, the fmily mp expnsion shown in n e expne in. It is limite on the fmily mp, n not further limite y the other mps, so we expn to the full 4 squres. g Crleton University ig5morek_mpsl.fm p. 58, Revise; 202 Comment on Slie 42

30 7-Segment Disply; Single Chil Rule Minimiztion (4) Loop s with no rothers on the sme mp, exept loope rothers or. Single loop s in the sme squre on other mps. e f g fmily mp loop (4) Expn these fmily mp loops provie you n lso expn on ll the other mps. fmily mp loops fmily mp loop e f g Expn Expn Expn Expn This is one This is one ig5morek_mpsl.fm p. 59 Revise; 202 Slie 43 7-Segment Disply; Single Chil Rule Rules for Multi-mp Minimiztion Minimiztion (ontinue) Rule (4n 4) Expn the fmily mp loops ut hek efore over expning. Previously the expnsion of the loop on the fmily mp ws limite on tht mp Here we re expning loops tht re limite y the frien mps. Thus squre n expn to or to on mp. f g g However one nnot similrly expn the loop ll the wy on the g mp. One oul ignore shring gte with g n expn the strting loop to, the full olumn. However look t f. There n e use to over the strting squre in the orner. This sves gte, provie there is goo wy (4 orners?) to loop tht orner squre on the other mps, nmely, n e. g Four orners is goo wy, s shown on the next slie, ut it turns out not to e quite s goo. e Crleton University ig5morek_mpsl.fm p. 60, Revise; 202 Comment on Slie 43

31 7-Seg Disply; Don t Overexpn On Fmily Mp Minimiztion (4) Consier your expnsions: - Keep loops tht re mx size on fmily mp n re mx size on fmily mp; they shoul e kept. mx size - Others expnsions re less ler: Expning on mp, removes for shring on mp g, ut it overs two more squres in f. However, shre with,, & e n over them, ut see next pge. Remove e mx size f g This is one e f This is one g Remove ig5morek_mpsl.fm p. 6 Revise; 202 Slie 44 7-Seg Disply; Don t Overexpn On Rules for Multi-mp Minimiztion Minimiztion (ontinue) Rule (4) Expn the fmily mp loops n ll the orresponing loops on other mps. Two prtil solutions emerge: Solution () expns nite squre on mp, to Solution () overexpns it to. Solution () loops 2 orners. Solution () loops 4 orners. It is not yet ler whih will e etter. Crleton University ig5morek_mpsl.fm p. 62, Revise; 202 Comment on Slie 44

32 7-Seg Disply; Cheking Expnsion Minimiztion Solution () shring on,, e & f. Solution () expning. Then ing (4 orners) to tke the ple of e f g e f g This is one This is one ig5morek_mpsl.fm p. 63 Revise; 202 Slie 45 7-Seg Disply; Cheking Expnsion Minimiztion (the en) Try the est tril solutions. It is only t the en tht we n tell whih is the est solution. Here the g mp eies the nswer: The () solution g mp looks like it hs more gtes. However every AND gte is shre with nother mp. The () solution hs 4-squre loop,, whih is only use on the g mp, n thus osts n extr gte. g g Crleton University ig5morek_mpsl.fm p. 64, Revise; 202 Comment on Slie 45

33 7-Seg Disply; Finl Fill In Finl Fill In Solution () using (2 orners) Nee two more loops n Solution () using (4 orners) Nee three more loops, n e f g This is one e f g This is one ig5morek_mpsl.fm p. 65 Revise; 202 Slie 46 7-Seg Disply; Finl Fill In Disply Drivers, Forming Equtions Disply Drivers, Forming Equtions One wy of forming equtions is to use letter like J, H, L.. for eh term n put the letter in the squres overe y the loop for the term.thus Q = is written in the two left-hn orners on four mps. To voi onfusion, leve in squres whih re overe y severl loops. One writes the equtions for the segments s the OR of these letters. Thus e = Q + P Terms whih hve only one input like, o not require speil letter, n we give them the nme of the input vrile. Finl Results ith no shring of gtes 46 letters (literls) 23 gtes (6 AND) 58 gte inputs Mximum Shring Solution () Less Shring Solution () 40 letters 37 letters 3 gtes (7 AND) 4 gtes (6 AND) 40 gte inputs 38 gte inputs Using outputs in Solution () s inputs for other outputs. 38 letters 3 gtes (7 AND) 38 gte inputs Here shring sves muh more thn it i for the Brille prolem. As is generlly oserve, shring minly reues the numer of gtes. It hs less effet on letters or gte inputs, in ft it my even inrese these. For exmple Solution () hs more shring n fewer gtes, ut it hs more letters n more gte inputs PROBLEM (Do 5-. efore oing this.) Minimize the equtions for multiple outputs, using the revise isply for numers, 7, 6 n 9. Follow the methos use in the lst few pges. Keep the sme pitl letters for ll expressions tht o not hnge. If you nee new expressions, the letters K, Q, R, S, T, U n V hve not een use Crleton University ig5morek_mpsl.fm p. 66, Revise; 202 Comment on Slie 46

34 7-Seg Disply; Finl Equtions Form Equtions (Solution ) Lel AND terms with letters If only one term overs squre reple y letter. If severl terms over squre leve s. H M N J L J H M N P H H H M P L N P H e f g J = M = H = N = L = P = Size mesures 40 letters (literls) 3 gtes (6 ANDs) 40 gte inputs = H + J + M + N + = J + L + = + + = H + N + M + P e = H + P f = H + + g = L+ M + N + P + All terms reuse. Using: = f + = e + N + M 38 letters 3 gtes 38 gte inputs ig5morek_mpsl.fm p. 67 Revise; 202 Slie 47 7-Seg Disply; Finl Equtions Finl Results Common Errors ith Krnugh Mps Chek for wrprouns Chek for 4-orners Chek for wrproun on opposite sie Chek for wrproun top-to-ottom Chek for expnsion of loop to 4 squres or 8 squres Lern to spot squres with no friens. Crleton University ig5morek_mpsl.fm p. 68, Revise; 202 Comment on Slie 47

35 ig5morek_mpsl.fm p. 69 Revise; 202 Common Errors Mp of F Mp of G Chek our Mp Entries If you put one vrile in the wrong squres, you re tost! Don t Tret Multiple Output Prolems Like Unrelte Ciruits Mp of F Mp of G Do Hlf-Mps First (Exept for PLAs in lter setion) 2 gtes 9 gtes, 3 shre No friens, n other rules re heuristis, they often, ut not lwys, work. Don t Tret Two-Output Prolems Like 5-Vrile Prolems Chek for rproun, n ie rp Aroun Common Mp Errors ig5morek_mpsl.fm p. 70 Revise; 202 Slie i

36 Common Mp Errors Finl Results Crleton University ig5morek_mpsl.fm p. 7, Revise; 202 Comment on Slie 48

Digital Circuit Engineering

Digital Circuit Engineering Digitl Ciruit Engineering 5 IN UT P MAPS (A) Loop squres with no friens, they n never shre. (B) Loop squres with no rothers, n simutneously loop their friens. Iterte: (A') Loop squres seperte from friens

More information

CARLETON UNIVERSITY. 1.0 Problems and Most Solutions, Sect B, 2005

CARLETON UNIVERSITY. 1.0 Problems and Most Solutions, Sect B, 2005 RLETON UNIVERSIT eprtment of Eletronis ELE 2607 Swithing iruits erury 28, 05; 0 pm.0 Prolems n Most Solutions, Set, 2005 Jn. 2, #8 n #0; Simplify, Prove Prolem. #8 Simplify + + + Reue to four letters (literls).

More information

Exam Review. John Knight Electronics Department, Carleton University March 2, 2009 ELEC 2607 A MIDTERM

Exam Review. John Knight Electronics Department, Carleton University March 2, 2009 ELEC 2607 A MIDTERM riting Exms: Exm Review riting Exms += riting Exms synhronous iruits Res, yles n Stte ssignment Synhronous iruits Stte-Grph onstrution n Smll Prolems lso Multiple Outputs, n Hrer omintionl Prolem riting

More information

CS 2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2014

CS 2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2014 S 224 DIGITAL LOGI & STATE MAHINE DESIGN SPRING 214 DUE : Mrh 27, 214 HOMEWORK III READ : Relte portions of hpters VII n VIII ASSIGNMENT : There re three questions. Solve ll homework n exm prolems s shown

More information

Digital Circuit Engineering

Digital Circuit Engineering Digitl Ciruit Engineering DIGITAL VLSI Consensus, use Krnugh + + = + + + 2n Distriutive (X + A)(X + ) = X + A DESIGN Simplifition YX + X = X Generl DeMorgn Asorption Y + XY = X + Y F(,,... z,+,.,,) F(,,...

More information

Project 6: Minigoals Towards Simplifying and Rewriting Expressions

Project 6: Minigoals Towards Simplifying and Rewriting Expressions MAT 51 Wldis Projet 6: Minigols Towrds Simplifying nd Rewriting Expressions The distriutive property nd like terms You hve proly lerned in previous lsses out dding like terms ut one prolem with the wy

More information

DeMorgan s Theorem. The dual DeMorgan D + E = D E D+E D E 1 D NOR D E. Slide 29 Modified; January 3, 2006 John Knight Digital Circuits p.

DeMorgan s Theorem. The dual DeMorgan D + E = D E D+E D E 1 D NOR D E. Slide 29 Modified; January 3, 2006 John Knight Digital Circuits p. DeMorgn s Theorem DeMorgn s Theorems, Simple orms DeMorgn s Theorem DeMorgn s Theorems, Simple orms DeMorgn The ul DeMorgn A + B = A B (DeM) D + E = D E (DeM2) Inverse The ul inverse A + B = A B D E =

More information

Factorising FACTORISING.

Factorising FACTORISING. Ftorising FACTORISING www.mthletis.om.u Ftorising FACTORISING Ftorising is the opposite of expning. It is the proess of putting expressions into rkets rther thn expning them out. In this setion you will

More information

Numbers and indices. 1.1 Fractions. GCSE C Example 1. Handy hint. Key point

Numbers and indices. 1.1 Fractions. GCSE C Example 1. Handy hint. Key point GCSE C Emple 7 Work out 9 Give your nswer in its simplest form Numers n inies Reiprote mens invert or turn upsie own The reiprol of is 9 9 Mke sure you only invert the frtion you re iviing y 7 You multiply

More information

Writing Exams: Writing Exams. Exam Review

Writing Exams: Writing Exams. Exam Review riting Exms: riting Exms Exm Review riting Exms synhronous iruits += Res, yles n Stte ssignment Synhronous iruits Stte-Grph onstrution n Smll Prolems lso Multiple Outputs, n Hrer omintionl Prolem riting

More information

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides.

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides. 1 PYTHAGORAS THEOREM 1 1 Pythgors Theorem In this setion we will present geometri proof of the fmous theorem of Pythgors. Given right ngled tringle, the squre of the hypotenuse is equl to the sum of the

More information

CS 491G Combinatorial Optimization Lecture Notes

CS 491G Combinatorial Optimization Lecture Notes CS 491G Comintoril Optimiztion Leture Notes Dvi Owen July 30, August 1 1 Mthings Figure 1: two possile mthings in simple grph. Definition 1 Given grph G = V, E, mthing is olletion of eges M suh tht e i,

More information

CSE 332. Sorting. Data Abstractions. CSE 332: Data Abstractions. QuickSort Cutoff 1. Where We Are 2. Bounding The MAXIMUM Problem 4

CSE 332. Sorting. Data Abstractions. CSE 332: Data Abstractions. QuickSort Cutoff 1. Where We Are 2. Bounding The MAXIMUM Problem 4 Am Blnk Leture 13 Winter 2016 CSE 332 CSE 332: Dt Astrtions Sorting Dt Astrtions QuikSort Cutoff 1 Where We Are 2 For smll n, the reursion is wste. The onstnts on quik/merge sort re higher thn the ones

More information

Equivalent fractions have the same value but they have different denominators. This means they have been divided into a different number of parts.

Equivalent fractions have the same value but they have different denominators. This means they have been divided into a different number of parts. Frtions equivlent frtions Equivlent frtions hve the sme vlue ut they hve ifferent enomintors. This mens they hve een ivie into ifferent numer of prts. Use the wll to fin the equivlent frtions: Wht frtions

More information

Lecture 11 Binary Decision Diagrams (BDDs)

Lecture 11 Binary Decision Diagrams (BDDs) C 474A/57A Computer-Aie Logi Design Leture Binry Deision Digrms (BDDs) C 474/575 Susn Lyseky o 3 Boolen Logi untions Representtions untion n e represente in ierent wys ruth tle, eqution, K-mp, iruit, et

More information

2.4 Theoretical Foundations

2.4 Theoretical Foundations 2 Progrmming Lnguge Syntx 2.4 Theoretil Fountions As note in the min text, snners n prsers re se on the finite utomt n pushown utomt tht form the ottom two levels of the Chomsky lnguge hierrhy. At eh level

More information

Counting Paths Between Vertices. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs

Counting Paths Between Vertices. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs Isomorphism of Grphs Definition The simple grphs G 1 = (V 1, E 1 ) n G = (V, E ) re isomorphi if there is ijetion (n oneto-one n onto funtion) f from V 1 to V with the property tht n re jent in G 1 if

More information

Lecture 6: Coding theory

Lecture 6: Coding theory Leture 6: Coing theory Biology 429 Crl Bergstrom Ferury 4, 2008 Soures: This leture loosely follows Cover n Thoms Chpter 5 n Yeung Chpter 3. As usul, some of the text n equtions re tken iretly from those

More information

I1 = I2 I1 = I2 + I3 I1 + I2 = I3 + I4 I 3

I1 = I2 I1 = I2 + I3 I1 + I2 = I3 + I4 I 3 2 The Prllel Circuit Electric Circuits: Figure 2- elow show ttery nd multiple resistors rrnged in prllel. Ech resistor receives portion of the current from the ttery sed on its resistnce. The split is

More information

Surds and Indices. Surds and Indices. Curriculum Ready ACMNA: 233,

Surds and Indices. Surds and Indices. Curriculum Ready ACMNA: 233, Surs n Inies Surs n Inies Curriulum Rey ACMNA:, 6 www.mthletis.om Surs SURDS & & Inies INDICES Inies n surs re very losely relte. A numer uner (squre root sign) is lle sur if the squre root n t e simplifie.

More information

I 3 2 = I I 4 = 2A

I 3 2 = I I 4 = 2A ECE 210 Eletril Ciruit Anlysis University of llinois t Chigo 2.13 We re ske to use KCL to fin urrents 1 4. The key point in pplying KCL in this prolem is to strt with noe where only one of the urrents

More information

Trigonometry Revision Sheet Q5 of Paper 2

Trigonometry Revision Sheet Q5 of Paper 2 Trigonometry Revision Sheet Q of Pper The Bsis - The Trigonometry setion is ll out tringles. We will normlly e given some of the sides or ngles of tringle nd we use formule nd rules to find the others.

More information

PYTHAGORAS THEOREM WHAT S IN CHAPTER 1? IN THIS CHAPTER YOU WILL:

PYTHAGORAS THEOREM WHAT S IN CHAPTER 1? IN THIS CHAPTER YOU WILL: PYTHAGORAS THEOREM 1 WHAT S IN CHAPTER 1? 1 01 Squres, squre roots nd surds 1 02 Pythgors theorem 1 03 Finding the hypotenuse 1 04 Finding shorter side 1 05 Mixed prolems 1 06 Testing for right-ngled tringles

More information

Engr354: Digital Logic Circuits

Engr354: Digital Logic Circuits Engr354: Digitl Logi Ciruits Chpter 4: Logi Optimiztion Curtis Nelson Logi Optimiztion In hpter 4 you will lern out: Synthesis of logi funtions; Anlysis of logi iruits; Tehniques for deriving minimum-ost

More information

22: Union Find. CS 473u - Algorithms - Spring April 14, We want to maintain a collection of sets, under the operations of:

22: Union Find. CS 473u - Algorithms - Spring April 14, We want to maintain a collection of sets, under the operations of: 22: Union Fin CS 473u - Algorithms - Spring 2005 April 14, 2005 1 Union-Fin We wnt to mintin olletion of sets, uner the opertions of: 1. MkeSet(x) - rete set tht ontins the single element x. 2. Fin(x)

More information

Area and Perimeter. Area and Perimeter. Solutions. Curriculum Ready.

Area and Perimeter. Area and Perimeter. Solutions. Curriculum Ready. Are n Perimeter Are n Perimeter Solutions Curriulum Rey www.mthletis.om How oes it work? Solutions Are n Perimeter Pge questions Are using unit squres Are = whole squres Are = 6 whole squres = units =

More information

18.06 Problem Set 4 Due Wednesday, Oct. 11, 2006 at 4:00 p.m. in 2-106

18.06 Problem Set 4 Due Wednesday, Oct. 11, 2006 at 4:00 p.m. in 2-106 8. Problem Set Due Wenesy, Ot., t : p.m. in - Problem Mony / Consier the eight vetors 5, 5, 5,..., () List ll of the one-element, linerly epenent sets forme from these. (b) Wht re the two-element, linerly

More information

EE 108A Lecture 2 (c) W. J. Dally and P. Levis 2

EE 108A Lecture 2 (c) W. J. Dally and P. Levis 2 EE08A Leture 2: Comintionl Logi Design EE 08A Leture 2 () 2005-2008 W. J. Dlly n P. Levis Announements Prof. Levis will hve no offie hours on Friy, Jn 8. Ls n setions hve een ssigne - see the we pge Register

More information

Solutions for HW9. Bipartite: put the red vertices in V 1 and the black in V 2. Not bipartite!

Solutions for HW9. Bipartite: put the red vertices in V 1 and the black in V 2. Not bipartite! Solutions for HW9 Exerise 28. () Drw C 6, W 6 K 6, n K 5,3. C 6 : W 6 : K 6 : K 5,3 : () Whih of the following re iprtite? Justify your nswer. Biprtite: put the re verties in V 1 n the lk in V 2. Biprtite:

More information

SIMPLE NONLINEAR GRAPHS

SIMPLE NONLINEAR GRAPHS S i m p l e N o n l i n e r G r p h s SIMPLE NONLINEAR GRAPHS www.mthletis.om.u Simple SIMPLE Nonliner NONLINEAR Grphs GRAPHS Liner equtions hve the form = m+ where the power of (n ) is lws. The re lle

More information

6.5 Improper integrals

6.5 Improper integrals Eerpt from "Clulus" 3 AoPS In. www.rtofprolemsolving.om 6.5. IMPROPER INTEGRALS 6.5 Improper integrls As we ve seen, we use the definite integrl R f to ompute the re of the region under the grph of y =

More information

Fast Boolean Algebra

Fast Boolean Algebra Fst Boolen Alger ELEC 267 notes with the overurden removed A fst wy to lern enough to get the prel done honorly Printed; 3//5 Slide Modified; Jnury 3, 25 John Knight Digitl Circuits p. Fst Boolen Alger

More information

How do we solve these things, especially when they get complicated? How do we know when a system has a solution, and when is it unique?

How do we solve these things, especially when they get complicated? How do we know when a system has a solution, and when is it unique? XII. LINEAR ALGEBRA: SOLVING SYSTEMS OF EQUATIONS Tody we re going to tlk out solving systems of liner equtions. These re prolems tht give couple of equtions with couple of unknowns, like: 6= x + x 7=

More information

Introduction to Olympiad Inequalities

Introduction to Olympiad Inequalities Introdution to Olympid Inequlities Edutionl Studies Progrm HSSP Msshusetts Institute of Tehnology Snj Simonovikj Spring 207 Contents Wrm up nd Am-Gm inequlity 2. Elementry inequlities......................

More information

Lesson 2.1 Inductive Reasoning

Lesson 2.1 Inductive Reasoning Lesson 2.1 Inutive Resoning Nme Perio Dte For Eerises 1 7, use inutive resoning to fin the net two terms in eh sequene. 1. 4, 8, 12, 16,, 2. 400, 200, 100, 50, 25,, 3. 1 8, 2 7, 1 2, 4, 5, 4. 5, 3, 2,

More information

Unit 4. Combinational Circuits

Unit 4. Combinational Circuits Unit 4. Comintionl Ciruits Digitl Eletroni Ciruits (Ciruitos Eletrónios Digitles) E.T.S.I. Informáti Universidd de Sevill 5/10/2012 Jorge Jun 2010, 2011, 2012 You re free to opy, distriute

More information

CS 573 Automata Theory and Formal Languages

CS 573 Automata Theory and Formal Languages Non-determinism Automt Theory nd Forml Lnguges Professor Leslie Lnder Leture # 3 Septemer 6, 2 To hieve our gol, we need the onept of Non-deterministi Finite Automton with -moves (NFA) An NFA is tuple

More information

Now we must transform the original model so we can use the new parameters. = S max. Recruits

Now we must transform the original model so we can use the new parameters. = S max. Recruits MODEL FOR VARIABLE RECRUITMENT (ontinue) Alterntive Prmeteriztions of the pwner-reruit Moels We n write ny moel in numerous ifferent ut equivlent forms. Uner ertin irumstnes it is onvenient to work with

More information

2.4 Linear Inequalities and Interval Notation

2.4 Linear Inequalities and Interval Notation .4 Liner Inequlities nd Intervl Nottion We wnt to solve equtions tht hve n inequlity symol insted of n equl sign. There re four inequlity symols tht we will look t: Less thn , Less thn or

More information

Necessary and sucient conditions for some two. Abstract. Further we show that the necessary conditions for the existence of an OD(44 s 1 s 2 )

Necessary and sucient conditions for some two. Abstract. Further we show that the necessary conditions for the existence of an OD(44 s 1 s 2 ) Neessry n suient onitions for some two vrile orthogonl esigns in orer 44 C. Koukouvinos, M. Mitrouli y, n Jennifer Seerry z Deite to Professor Anne Penfol Street Astrt We give new lgorithm whih llows us

More information

Activities. 4.1 Pythagoras' Theorem 4.2 Spirals 4.3 Clinometers 4.4 Radar 4.5 Posting Parcels 4.6 Interlocking Pipes 4.7 Sine Rule Notes and Solutions

Activities. 4.1 Pythagoras' Theorem 4.2 Spirals 4.3 Clinometers 4.4 Radar 4.5 Posting Parcels 4.6 Interlocking Pipes 4.7 Sine Rule Notes and Solutions MEP: Demonstrtion Projet UNIT 4: Trigonometry UNIT 4 Trigonometry tivities tivities 4. Pythgors' Theorem 4.2 Spirls 4.3 linometers 4.4 Rdr 4.5 Posting Prels 4.6 Interloking Pipes 4.7 Sine Rule Notes nd

More information

Intermediate Math Circles Wednesday, November 14, 2018 Finite Automata II. Nickolas Rollick a b b. a b 4

Intermediate Math Circles Wednesday, November 14, 2018 Finite Automata II. Nickolas Rollick a b b. a b 4 Intermedite Mth Circles Wednesdy, Novemer 14, 2018 Finite Automt II Nickols Rollick nrollick@uwterloo.c Regulr Lnguges Lst time, we were introduced to the ide of DFA (deterministic finite utomton), one

More information

Lesson 2: The Pythagorean Theorem and Similar Triangles. A Brief Review of the Pythagorean Theorem.

Lesson 2: The Pythagorean Theorem and Similar Triangles. A Brief Review of the Pythagorean Theorem. 27 Lesson 2: The Pythgoren Theorem nd Similr Tringles A Brief Review of the Pythgoren Theorem. Rell tht n ngle whih mesures 90º is lled right ngle. If one of the ngles of tringle is right ngle, then we

More information

expression simply by forming an OR of the ANDs of all input variables for which the output is

expression simply by forming an OR of the ANDs of all input variables for which the output is 2.4 Logic Minimiztion nd Krnugh Mps As we found ove, given truth tle, it is lwys possile to write down correct logic expression simply y forming n OR of the ANDs of ll input vriles for which the output

More information

Combinational Logic. Precedence. Quick Quiz 25/9/12. Schematics à Boolean Expression. 3 Representations of Logic Functions. Dr. Hayden So.

Combinational Logic. Precedence. Quick Quiz 25/9/12. Schematics à Boolean Expression. 3 Representations of Logic Functions. Dr. Hayden So. 5/9/ Comintionl Logic ENGG05 st Semester, 0 Dr. Hyden So Representtions of Logic Functions Recll tht ny complex logic function cn e expressed in wys: Truth Tle, Boolen Expression, Schemtics Only Truth

More information

Spacetime and the Quantum World Questions Fall 2010

Spacetime and the Quantum World Questions Fall 2010 Spetime nd the Quntum World Questions Fll 2010 1. Cliker Questions from Clss: (1) In toss of two die, wht is the proility tht the sum of the outomes is 6? () P (x 1 + x 2 = 6) = 1 36 - out 3% () P (x 1

More information

Section 2.1 Special Right Triangles

Section 2.1 Special Right Triangles Se..1 Speil Rigt Tringles 49 Te --90 Tringle Setion.1 Speil Rigt Tringles Te --90 tringle (or just 0-60-90) is so nme euse of its ngle mesures. Te lengts of te sies, toug, ve very speifi pttern to tem

More information

Chapter 8 Roots and Radicals

Chapter 8 Roots and Radicals Chpter 8 Roots nd Rdils 7 ROOTS AND RADICALS 8 Figure 8. Grphene is n inredily strong nd flexile mteril mde from ron. It n lso ondut eletriity. Notie the hexgonl grid pttern. (redit: AlexnderAIUS / Wikimedi

More information

Finite State Automata and Determinisation

Finite State Automata and Determinisation Finite Stte Automt nd Deterministion Tim Dworn Jnury, 2016 Lnguges fs nf re df Deterministion 2 Outline 1 Lnguges 2 Finite Stte Automt (fs) 3 Non-deterministi Finite Stte Automt (nf) 4 Regulr Expressions

More information

Lesson 2.1 Inductive Reasoning

Lesson 2.1 Inductive Reasoning Lesson 2.1 Inutive Resoning Nme Perio Dte For Eerises 1 7, use inutive resoning to fin the net two terms in eh sequene. 1. 4, 8, 12, 16,, 2. 400, 200, 100, 50, 25,, 3. 1 8, 2 7, 1 2, 4, 5, 4. 5, 3, 2,

More information

CS 360 Exam 2 Fall 2014 Name

CS 360 Exam 2 Fall 2014 Name CS 360 Exm 2 Fll 2014 Nme 1. The lsses shown elow efine singly-linke list n stk. Write three ifferent O(n)-time versions of the reverse_print metho s speifie elow. Eh version of the metho shoul output

More information

Green s Theorem. (2x e y ) da. (2x e y ) dx dy. x 2 xe y. (1 e y ) dy. y=1. = y e y. y=0. = 2 e

Green s Theorem. (2x e y ) da. (2x e y ) dx dy. x 2 xe y. (1 e y ) dy. y=1. = y e y. y=0. = 2 e Green s Theorem. Let be the boundry of the unit squre, y, oriented ounterlokwise, nd let F be the vetor field F, y e y +, 2 y. Find F d r. Solution. Let s write P, y e y + nd Q, y 2 y, so tht F P, Q. Let

More information

Proportions: A ratio is the quotient of two numbers. For example, 2 3

Proportions: A ratio is the quotient of two numbers. For example, 2 3 Proportions: rtio is the quotient of two numers. For exmple, 2 3 is rtio of 2 n 3. n equlity of two rtios is proportion. For exmple, 3 7 = 15 is proportion. 45 If two sets of numers (none of whih is 0)

More information

Improper Integrals. The First Fundamental Theorem of Calculus, as we ve discussed in class, goes as follows:

Improper Integrals. The First Fundamental Theorem of Calculus, as we ve discussed in class, goes as follows: Improper Integrls The First Fundmentl Theorem of Clculus, s we ve discussed in clss, goes s follows: If f is continuous on the intervl [, ] nd F is function for which F t = ft, then ftdt = F F. An integrl

More information

Chapter 4 State-Space Planning

Chapter 4 State-Space Planning Leture slides for Automted Plnning: Theory nd Prtie Chpter 4 Stte-Spe Plnning Dn S. Nu CMSC 722, AI Plnning University of Mrylnd, Spring 2008 1 Motivtion Nerly ll plnning proedures re serh proedures Different

More information

Section 1.3 Triangles

Section 1.3 Triangles Se 1.3 Tringles 21 Setion 1.3 Tringles LELING TRINGLE The line segments tht form tringle re lled the sides of the tringle. Eh pir of sides forms n ngle, lled n interior ngle, nd eh tringle hs three interior

More information

Calculus Module C21. Areas by Integration. Copyright This publication The Northern Alberta Institute of Technology All Rights Reserved.

Calculus Module C21. Areas by Integration. Copyright This publication The Northern Alberta Institute of Technology All Rights Reserved. Clculus Module C Ares Integrtion Copright This puliction The Northern Alert Institute of Technolog 7. All Rights Reserved. LAST REVISED Mrch, 9 Introduction to Ares Integrtion Sttement of Prerequisite

More information

Tutorial Worksheet. 1. Find all solutions to the linear system by following the given steps. x + 2y + 3z = 2 2x + 3y + z = 4.

Tutorial Worksheet. 1. Find all solutions to the linear system by following the given steps. x + 2y + 3z = 2 2x + 3y + z = 4. Mth 5 Tutoril Week 1 - Jnury 1 1 Nme Setion Tutoril Worksheet 1. Find ll solutions to the liner system by following the given steps x + y + z = x + y + z = 4. y + z = Step 1. Write down the rgumented mtrix

More information

CS12N: The Coming Revolution in Computer Architecture Laboratory 2 Preparation

CS12N: The Coming Revolution in Computer Architecture Laboratory 2 Preparation CS2N: The Coming Revolution in Computer Architecture Lortory 2 Preprtion Ojectives:. Understnd the principle of sttic CMOS gte circuits 2. Build simple logic gtes from MOS trnsistors 3. Evlute these gtes

More information

GM1 Consolidation Worksheet

GM1 Consolidation Worksheet Cmridge Essentils Mthemtis Core 8 GM1 Consolidtion Worksheet GM1 Consolidtion Worksheet 1 Clulte the size of eh ngle mrked y letter. Give resons for your nswers. or exmple, ngles on stright line dd up

More information

THE PYTHAGOREAN THEOREM

THE PYTHAGOREAN THEOREM THE PYTHAGOREAN THEOREM The Pythgoren Theorem is one of the most well-known nd widely used theorems in mthemtis. We will first look t n informl investigtion of the Pythgoren Theorem, nd then pply this

More information

4.5 THE FUNDAMENTAL THEOREM OF CALCULUS

4.5 THE FUNDAMENTAL THEOREM OF CALCULUS 4.5 The Funmentl Theorem of Clculus Contemporry Clculus 4.5 THE FUNDAMENTAL THEOREM OF CALCULUS This section contins the most importnt n most use theorem of clculus, THE Funmentl Theorem of Clculus. Discovere

More information

Eigenvectors and Eigenvalues

Eigenvectors and Eigenvalues MTB 050 1 ORIGIN 1 Eigenvets n Eigenvlues This wksheet esries the lger use to lulte "prinipl" "hrteristi" iretions lle Eigenvets n the "prinipl" "hrteristi" vlues lle Eigenvlues ssoite with these iretions.

More information

Section 4: Integration ECO4112F 2011

Section 4: Integration ECO4112F 2011 Reding: Ching Chpter Section : Integrtion ECOF Note: These notes do not fully cover the mteril in Ching, ut re ment to supplement your reding in Ching. Thus fr the optimistion you hve covered hs een sttic

More information

1 ELEMENTARY ALGEBRA and GEOMETRY READINESS DIAGNOSTIC TEST PRACTICE

1 ELEMENTARY ALGEBRA and GEOMETRY READINESS DIAGNOSTIC TEST PRACTICE ELEMENTARY ALGEBRA nd GEOMETRY READINESS DIAGNOSTIC TEST PRACTICE Directions: Study the exmples, work the prolems, then check your nswers t the end of ech topic. If you don t get the nswer given, check

More information

Part I: Study the theorem statement.

Part I: Study the theorem statement. Nme 1 Nme 2 Nme 3 A STUDY OF PYTHAGORAS THEOREM Instrutions: Together in groups of 2 or 3, fill out the following worksheet. You my lift nswers from the reding, or nswer on your own. Turn in one pket for

More information

System Validation (IN4387) November 2, 2012, 14:00-17:00

System Validation (IN4387) November 2, 2012, 14:00-17:00 System Vlidtion (IN4387) Novemer 2, 2012, 14:00-17:00 Importnt Notes. The exmintion omprises 5 question in 4 pges. Give omplete explntion nd do not onfine yourself to giving the finl nswer. Good luk! Exerise

More information

10. AREAS BETWEEN CURVES

10. AREAS BETWEEN CURVES . AREAS BETWEEN CURVES.. Ares etween curves So res ove the x-xis re positive nd res elow re negtive, right? Wrong! We lied! Well, when you first lern out integrtion it s convenient fiction tht s true in

More information

CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6

CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6 CS311 Computtionl Strutures Regulr Lnguges nd Regulr Grmmrs Leture 6 1 Wht we know so fr: RLs re losed under produt, union nd * Every RL n e written s RE, nd every RE represents RL Every RL n e reognized

More information

Algebra 2 Semester 1 Practice Final

Algebra 2 Semester 1 Practice Final Alger 2 Semester Prtie Finl Multiple Choie Ientify the hoie tht est ompletes the sttement or nswers the question. To whih set of numers oes the numer elong?. 2 5 integers rtionl numers irrtionl numers

More information

Things to Memorize: A Partial List. January 27, 2017

Things to Memorize: A Partial List. January 27, 2017 Things to Memorize: A Prtil List Jnury 27, 2017 Chpter 2 Vectors - Bsic Fcts A vector hs mgnitude (lso clled size/length/norm) nd direction. It does not hve fixed position, so the sme vector cn e moved

More information

Homework 3 Solutions

Homework 3 Solutions CS 341: Foundtions of Computer Science II Prof. Mrvin Nkym Homework 3 Solutions 1. Give NFAs with the specified numer of sttes recognizing ech of the following lnguges. In ll cses, the lphet is Σ = {,1}.

More information

p-adic Egyptian Fractions

p-adic Egyptian Fractions p-adic Egyptin Frctions Contents 1 Introduction 1 2 Trditionl Egyptin Frctions nd Greedy Algorithm 2 3 Set-up 3 4 p-greedy Algorithm 5 5 p-egyptin Trditionl 10 6 Conclusion 1 Introduction An Egyptin frction

More information

Intermediate Math Circles Wednesday 17 October 2012 Geometry II: Side Lengths

Intermediate Math Circles Wednesday 17 October 2012 Geometry II: Side Lengths Intermedite Mth Cirles Wednesdy 17 Otoer 01 Geometry II: Side Lengths Lst week we disussed vrious ngle properties. As we progressed through the evening, we proved mny results. This week, we will look t

More information

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. Comparing DFAs and NFAs (cont.) Finite Automata 2

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. Comparing DFAs and NFAs (cont.) Finite Automata 2 CMSC 330: Orgniztion of Progrmming Lnguges Finite Automt 2 Types of Finite Automt Deterministic Finite Automt () Exctly one sequence of steps for ech string All exmples so fr Nondeterministic Finite Automt

More information

AP Calculus BC Chapter 8: Integration Techniques, L Hopital s Rule and Improper Integrals

AP Calculus BC Chapter 8: Integration Techniques, L Hopital s Rule and Improper Integrals AP Clulus BC Chpter 8: Integrtion Tehniques, L Hopitl s Rule nd Improper Integrls 8. Bsi Integrtion Rules In this setion we will review vrious integrtion strtegies. Strtegies: I. Seprte the integrnd into

More information

Parse trees, ambiguity, and Chomsky normal form

Parse trees, ambiguity, and Chomsky normal form Prse trees, miguity, nd Chomsky norml form In this lecture we will discuss few importnt notions connected with contextfree grmmrs, including prse trees, miguity, nd specil form for context-free grmmrs

More information

Lecture 3: Equivalence Relations

Lecture 3: Equivalence Relations Mthcmp Crsh Course Instructor: Pdric Brtlett Lecture 3: Equivlence Reltions Week 1 Mthcmp 2014 In our lst three tlks of this clss, we shift the focus of our tlks from proof techniques to proof concepts

More information

Particle Physics. Michaelmas Term 2011 Prof Mark Thomson. Handout 3 : Interaction by Particle Exchange and QED. Recap

Particle Physics. Michaelmas Term 2011 Prof Mark Thomson. Handout 3 : Interaction by Particle Exchange and QED. Recap Prtile Physis Mihelms Term 2011 Prof Mrk Thomson g X g X g g Hnout 3 : Intertion y Prtile Exhnge n QED Prof. M.A. Thomson Mihelms 2011 101 Rep Working towrs proper lultion of ey n sttering proesses lnitilly

More information

Nondeterministic Finite Automata

Nondeterministic Finite Automata Nondeterministi Finite utomt The Power of Guessing Tuesdy, Otoer 4, 2 Reding: Sipser.2 (first prt); Stoughton 3.3 3.5 S235 Lnguges nd utomt eprtment of omputer Siene Wellesley ollege Finite utomton (F)

More information

The DOACROSS statement

The DOACROSS statement The DOACROSS sttement Is prllel loop similr to DOALL, ut it llows prouer-onsumer type of synhroniztion. Synhroniztion is llowe from lower to higher itertions sine it is ssume tht lower itertions re selete

More information

Designing finite automata II

Designing finite automata II Designing finite utomt II Prolem: Design DFA A such tht L(A) consists of ll strings of nd which re of length 3n, for n = 0, 1, 2, (1) Determine wht to rememer out the input string Assign stte to ech of

More information

Pythagoras Theorem. Pythagoras Theorem. Curriculum Ready ACMMG: 222, 245.

Pythagoras Theorem. Pythagoras Theorem. Curriculum Ready ACMMG: 222, 245. Pythgors Theorem Pythgors Theorem Curriulum Redy ACMMG:, 45 www.mthletis.om Fill in these spes with ny other interesting fts you n find out Pythgors. In the world of Mthemtis, Pythgors is legend. He lived

More information

CIT 596 Theory of Computation 1. Graphs and Digraphs

CIT 596 Theory of Computation 1. Graphs and Digraphs CIT 596 Theory of Computtion 1 A grph G = (V (G), E(G)) onsists of two finite sets: V (G), the vertex set of the grph, often enote y just V, whih is nonempty set of elements lle verties, n E(G), the ege

More information

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. NFA for (a b)*abb.

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. NFA for (a b)*abb. CMSC 330: Orgniztion of Progrmming Lnguges Finite Automt 2 Types of Finite Automt Deterministic Finite Automt () Exctly one sequence of steps for ech string All exmples so fr Nondeterministic Finite Automt

More information

3 Angle Geometry. 3.1 Measuring Angles. 1. Using a protractor, measure the marked angles.

3 Angle Geometry. 3.1 Measuring Angles. 1. Using a protractor, measure the marked angles. 3 ngle Geometry MEP Prtie ook S3 3.1 Mesuring ngles 1. Using protrtor, mesure the mrked ngles. () () (d) (e) (f) 2. Drw ngles with the following sizes. () 22 () 75 120 (d) 90 (e) 153 (f) 45 (g) 180 (h)

More information

If we have a function f(x) which is well-defined for some a x b, its integral over those two values is defined as

If we have a function f(x) which is well-defined for some a x b, its integral over those two values is defined as Y. D. Chong (26) MH28: Complex Methos for the Sciences 2. Integrls If we hve function f(x) which is well-efine for some x, its integrl over those two vlues is efine s N ( ) f(x) = lim x f(x n ) where x

More information

For a, b, c, d positive if a b and. ac bd. Reciprocal relations for a and b positive. If a > b then a ab > b. then

For a, b, c, d positive if a b and. ac bd. Reciprocal relations for a and b positive. If a > b then a ab > b. then Slrs-7.2-ADV-.7 Improper Definite Integrls 27.. D.dox Pge of Improper Definite Integrls Before we strt the min topi we present relevnt lger nd it review. See Appendix J for more lger review. Inequlities:

More information

Logarithms LOGARITHMS.

Logarithms LOGARITHMS. Logrithms LOGARITHMS www.mthletis.om.u Logrithms LOGARITHMS Logrithms re nother method to lulte nd work with eponents. Answer these questions, efore working through this unit. I used to think: In the

More information

NON-DETERMINISTIC FSA

NON-DETERMINISTIC FSA Tw o types of non-determinism: NON-DETERMINISTIC FS () Multiple strt-sttes; strt-sttes S Q. The lnguge L(M) ={x:x tkes M from some strt-stte to some finl-stte nd ll of x is proessed}. The string x = is

More information

Lecture 2e Orthogonal Complement (pages )

Lecture 2e Orthogonal Complement (pages ) Lecture 2e Orthogonl Complement (pges -) We hve now seen tht n orthonorml sis is nice wy to descrie suspce, ut knowing tht we wnt n orthonorml sis doesn t mke one fll into our lp. In theory, the process

More information

for all x in [a,b], then the area of the region bounded by the graphs of f and g and the vertical lines x = a and x = b is b [ ( ) ( )] A= f x g x dx

for all x in [a,b], then the area of the region bounded by the graphs of f and g and the vertical lines x = a and x = b is b [ ( ) ( )] A= f x g x dx Applitions of Integrtion Are of Region Between Two Curves Ojetive: Fin the re of region etween two urves using integrtion. Fin the re of region etween interseting urves using integrtion. Desrie integrtion

More information

Review of Gaussian Quadrature method

Review of Gaussian Quadrature method Review of Gussin Qudrture method Nsser M. Asi Spring 006 compiled on Sundy Decemer 1, 017 t 09:1 PM 1 The prolem To find numericl vlue for the integrl of rel vlued function of rel vrile over specific rnge

More information

CMSC 330: Organization of Programming Languages

CMSC 330: Organization of Programming Languages CMSC 330: Orgniztion of Progrmming Lnguges Finite Automt 2 CMSC 330 1 Types of Finite Automt Deterministic Finite Automt (DFA) Exctly one sequence of steps for ech string All exmples so fr Nondeterministic

More information

Trigonometry and Constructive Geometry

Trigonometry and Constructive Geometry Trigonometry nd Construtive Geometry Trining prolems for M2 2018 term 1 Ted Szylowie tedszy@gmil.om 1 Leling geometril figures 1. Prtie writing Greek letters. αβγδɛθλµπψ 2. Lel the sides, ngles nd verties

More information

Bridging the gap: GCSE AS Level

Bridging the gap: GCSE AS Level Bridging the gp: GCSE AS Level CONTENTS Chpter Removing rckets pge Chpter Liner equtions Chpter Simultneous equtions 8 Chpter Fctors 0 Chpter Chnge the suject of the formul Chpter 6 Solving qudrtic equtions

More information

1B40 Practical Skills

1B40 Practical Skills B40 Prcticl Skills Comining uncertinties from severl quntities error propgtion We usully encounter situtions where the result of n experiment is given in terms of two (or more) quntities. We then need

More information

Mathematics Number: Logarithms

Mathematics Number: Logarithms plce of mind F A C U L T Y O F E D U C A T I O N Deprtment of Curriculum nd Pedgogy Mthemtics Numer: Logrithms Science nd Mthemtics Eduction Reserch Group Supported y UBC Teching nd Lerning Enhncement

More information

Basic Derivative Properties

Basic Derivative Properties Bsic Derivtive Properties Let s strt this section by remining ourselves tht the erivtive is the slope of function Wht is the slope of constnt function? c FACT 2 Let f () =c, where c is constnt Then f 0

More information

Regular expressions, Finite Automata, transition graphs are all the same!!

Regular expressions, Finite Automata, transition graphs are all the same!! CSI 3104 /Winter 2011: Introduction to Forml Lnguges Chpter 7: Kleene s Theorem Chpter 7: Kleene s Theorem Regulr expressions, Finite Automt, trnsition grphs re ll the sme!! Dr. Neji Zgui CSI3104-W11 1

More information