Logic Redundancy Identication. September 14, target specic faults and are sometimes referred to as. \fault-independent methods.

Size: px
Start display at page:

Download "Logic Redundancy Identication. September 14, target specic faults and are sometimes referred to as. \fault-independent methods."

Transcription

1 Fix-Vlu n Stm Unosrvility Thorms or Loi Runny Intition Sptmr 14, 2003 Astrt { Thr is lss o implition-s mthos tht intiy loi runny rom iruit topoloy n without ny primry input ssinmnt. Ths mthos r lss omplx thn utomti tst pttrn nrtion (ATPG) ut intiy only sust o ll runnis. This ppr provis nw rsults to nlr this sust. Contriutions r x-vlu thorm n two thorms on nout stm unosrvility. W rprsnt sinl ontrollilitis n osrvilitis usin n implition rph n its trnsitiv losur (TC). Both omplt n prtil implitions r inlu. Wknsss o this prour r in lin with th ts o xvlu vrils on TC n th lk o osrvility rltions ross nouts. Th x-vlu thorm s unonitionl s rom ll vrils to th x vril n thn romputs TC rursivly until no nw x nos r oun. Th stm unosrvility thorms trmin th osrvility sttus o nout stm rom its omintor st, whih ithr hs x vlus, or is unosrvl. Rsults r onsirly improv rom th prviously rport implition-s intirs. In th 5315 iruit w intiy 58 out o 59 runnt ults. All 34 runnt ults o 6288 r inti. 1. Introution Runny rmovl nsurs tht iruit os not hv unnssry loi ts, whih inrs th hip r, powr onsumption n proption ly [2, 18]. Anothr rson why runnis shoul inti is th rliility o th iruit. In th prsn o runnt ults som tstl ults my msk. Thr r thr irnt pprohs to runny intition: utomti tst pttrn nrtion (ATPG) [4, 5, 8, 12, 15, 16, 23, 25, 27, 28], tstility nlysis whr pnin on th typ o mtho w us, i.., xt or pproximt, w n intiy ll or sust o \proly" runnt ults [9, 20, 22, 26], n implition-s mthos [1, 7, 11, 13, 18, 19]. ATPG mthos n n ll runnt ults ut thy hv vry hih omplxity. Tstility nlysis, otn rstrit to linr omplxity, n intiy \hr to tst" ults som o whih my runnt. Implitions mthos o not urnt to n ll runnt ults n thir omplxity is polynomil. Both tstility nlysis n implition-s lorithms o not trt spi ults n r somtims rrr to s \ult-inpnnt mthos." Chkrhr t l. [3] n Booln ls untion to onstrut n implition rph rom ivn t lvl ntlist. Both tru n ls sttus o th sinl lin is rprsnt y nos in th implition rph. Pir-wis rltionships o sinl lins provi implition s in th rph. Sinl pnnis riv rom th trnsitiv losur r us to ru trnry rltions to inry rltions tht in turn ynmilly upt th trnsitiv losur. Whn th ATPG prolm is pos s Booln stisility, th implition rph provis usul hlp in solvin it. Rnt work hs prou svrl ATPG prorms tht us Booln stisility [4, 12, 16, 27, 28]. Th implition rph n trnsitiv losur hv lso n us in ult-inpnnt pprohs to runny intition [1]. Hr osrvilitis o sinls r rprsnt s itionl Booln vrils in th implition rph. Gur t l. [6, 7] improv suh runny intition thniqu, usin sust o ll prtil implitions riv rom th hihr orr trms rprsnt usin nin nos. Mht t l. [18] implmnt ll th unimplmnt irt n prtil implitions n this improv th rsults onsirly. Th nos in th rph rprsnt th tru n ls sttus o th sinl lins n tru n ls sttus o th osrvility o thos sinl lins. Dirt s rprsnt th Booln implition rltionships twn nos. Th motivtion or th prsnt work oms rom th wknsss o th xistin thniqu. An nlysis o runnt ults oun y natpg prorm tht oul not inti y th implition mtho shows: Th iruit topoloy ors som sinls to x vlus. Th implition rph prours oul not nlyz th t whn st o x sinls inun th stt o nothr sinl. Thr is no nrlly known prour to trmin th osrvility sttus o nout stm vn whn th nout rnhs wr unosrvl or h x vlus. Prpr or DATE'04 P1o6

2 Amon th ontriutors to th non-rph s implition pprohs r Iyr n Armovii [13], Pn t l. [21], n Zho t l. [29]. In Stion 2, thorm or x-vlu nos is ivn. Stm unosrvility thorms r isuss in Stion 3. Stion 4 proposs improvmnts in th rph thniqu s on th Booln ontrpositivlw. Limittions o our thniqu r ivn in Stion 5. Rsults r isuss in Stion 6. Stion 7 prsnts th onlusion o this ppr. 2 Fix-Vlu Nos A Booln vril x is rprsnt ytwo nos x n x in th implition rph. Eh no n in tru o ls stt. Whn x =1,nox is tru n x is ls, n vi-vrs. Th vril x ssums x vlu 0 i thr xists n x! x in th implition rph. Similrly, x ssums x vlu 1 whn th x! x xists. Whn svrl nos hv x-vlus, w hv oun som limittions o th prviously sri trnsitiv losur thniqu [6] in intiyin rtin runnis. W onsir: A primry output AND or NOR t with n unxitl s--1 runnt ult on its output lin (s s--1 in Fiur 1). A primry output OR or NAND t with n unxitl s--0 runnt ult on its output lin. Th ollowin thorm intis th ov mntion runnis. Thorm 2.1 (Fix-vlu) I Booln vril in th implition rph is x to tru (ls) vlu thn thr xist unonitionl s rom ll othr nos in th rph to th no rprsntin th tru (ls) stt o th x vril. Proo: Consir x sinl, = 0. Thn, thr xists n rom no to in th rph (whr n rprsnt tru n omplmnt vlus o sinl lin in th iruit), thn irrsptiv o th sttus o ll othr nos in th rph, will unonitionlly tru. This \unonitionl truth" must impli y ll vrils. In othr wors, thr must s rom ll th nos in th rph to th no. Th xmpl iruit shown in Fiur 1 hs 7 runnt ults. Prvious work [6] oul intiy s--1 ults on lins n. Thy oul not intiy th othr runnt ults: s--1 on lin us = = 1 i not imply = 1 in th rph, n s--0 n s--1 on lins n wr not inti u to lk o stm unosrvility rltionships. Without Thorm 2.1, w oul not intiy s--1 on lin s runnt. Fiur 2 shows prt o th implition rph. Th s othr thn th thr outoin Fiur 1: Exmpl iruit with x-vlu nos. Fiur 2: A prt o implition rph tht intis = 1 usin Thorm 2.1. s rom xist in th trnsitiv losur. Th ults s--1 n s--1 r inti to runnt u to s rom nos n in th trnsitiv losur rph to nos n, rsptivly. Ths ults r lssi- s unxitl runnt ults. As ths nos r x to loi vlu 1, orin to Thorm 2.1, w unonitionl s rom ll othr nos in th rph to nos n. This inlus two s rom to n, rsptivly. Th trnsitiv losur is otin y rph trvrsl rom h no to trmin its rhility. Trvrsl pros throuh n nin no (ll s ^ in Fiur 2) only whn pths rriv throuh ll inomin s. In this s, thror, whn w strt t, is rh n th! is. This sts to x vlu 1 n intis th s--1 ult on lin s runnt. Th othr our ults, n s--0 n s--1, r not yt inti u to th sn o ny ls stm osrvility s. Ths ults r inti- s runnt with th thorms introu in th nxt stion. 3 Stm Unosrvility Thorms W n th omintor st o nout stm in iruit s miniml st o sinls throuh whih ll orwr pths oriintin t th stm must pss. Trivilly, omintor st or ny sinl n oun s th st o rhl primry outputs (POs). A omintor st onsistin o sinl sinl is ll uniqu omintor. Our nition is onsistnt with th rph thory [10] n hs lso n us in n ATPG lorithm [14]. Thorm 3.1 (Stm unosrvility) A nout stm is unosrvl, i h sinl in its omintor st ssums onstnt vlu n: th nout stm os not hol onstnt vlu, or th nout stm hols onstnt vlu n, in spit Prpr or DATE'04 P2o6

3 o ny lol hn in th stm sinl, th omintor st vlus o not hn. A lol hn o sinl only ts th portion o th iruit twn tht sinl n POs. Proo: From th nition o th omintor st, i th stm unr onsirtion is unosrvl t th omintor st thn it will unosrvl t primry outputs s wll. So: i (X; x p )= (1) whr X is th st o primry inputs, x p is th nout stm unr onsirtion, i is th omintor st untion, tht is untion o X n x p n i 2 [1;k], whr k is th rinlity o th omintor st n is onstnt, whih n ssum loi 0 or 1 vlu. Expnin Eqution 1 usin Shnnon's xpnsion thorm [2], w t: x p i (X; 1) + x p i (X; 0) = (2) W onsir two ss: x p 6= onstnt, thn Eqution 2 implis: i (X; 1) = i (X; 0) = (3) Tkin th Booln irn o omintor untions with rspt to x p,w t: From Eqution i (X; x p p = i (X; 1) i (X; 0) (4) Thus, x p is i (X; x p p = =0 (5) x p = onstnt. Sustitutin x p = 1 in Eqution 2, w t: i (X; 1) = n i (X; 0) = unknown (6) n sustitutin x p = 0 in Eqution 2, w t: i (X; 1) = unknown n i (X; 0) = (7) Th Booln irn o o omintor untions with rspt to x p i (X; x p p = i (X; 1) i (X; 0) 6= 0 (8) In th spil s, whn i (X; 1) = i (X; 0) =, i.., i (X; x p ) rmins unhn whn x p ssums two irnt vlus, Eqution 8 vluts to 0 n th stm x p oms unosrvl. unos. stm 2 1 unos. omintor unos. omintor (ix) os. stm (ix) 0(ix) Fiur 3: An illustrtiv xmpl o Thorm 3.2. unos. stm 1 2 1(ix) omintor Fiur 4: An illustrtiv xmpl o Thorm 3.1. Thorm 3.2 (Stm unosrvility) A nout stm is unosrvl, i h sinl in its omintor st is unosrvl n: th stm os not hol onstnt vlu, or th stm hols onstnt vlu n, in spit o ny lol hn in th stm sinl, th unosrvl sttus o th omintor st rmins unhn. Proo: To provi in th nl sumission o th ppr. Th nout stm, shown in Fiur 3, is not x n th omintor hs onstnt vlu o 0. Thus, Thorm 3.1 intis nout stm s unosrvl. Th nout stm, shown in Fiur 3, is x to 0 n th omintor st ; hols onstnt vlu o 0,0. Thus, Thorm 3.1, lolly hns th vlu o n hks th t on th omintor st, whih is oun to hn. Thus, Thorm 3.1 os not intiy s n unosrvl stm. Th nout stm, shown in th sm ur, is not x n th omintor st sinls ; r x to 0. Thus, Thorm 3.2 intis s n unosrvl nout stm. Th nout stm, shown in Fiur 4, is not x n th omintor is x to 1. Thus, Thorm 3.1 intis s n unosrvl nout stm. Th nout stm, shown in Fiur 5, is x to 0 n th omintor st sinls 1;2 r unosrvl. A hn in th vlu o hns th osrvility sttus o th omintor st. Thus, Thorm 3.2 os not intiy s n unosrvl stm. Thorm 3.2 is onsistnt with lmm ivn y Iyr n Armovii [13]. Thir lmm is spil s o th Thorm 3.2 us th thorm os not rquir th unontrollility initor onition rquir y th lmm. Atr th osrvility sttus o nout stm is i, n unosrvility is implmnt in th implition rph. Prpr or DATE'04 P3o6

4 Fiur 5: A iruit with osrvl n unosrvl stms (ll ults shown r runnt) Fiur 6: Exmpl iruit showin th intition o runnt ult s--0 u to ontrpositiv s. 4 Usin th Contrpositiv Lw Aorin to th ontrpositiv lw, i thr xists n rom no p to no q thn thr must lso xist n rom no q to p [17, 24, 29]. Th us o this onpt urthr inrss th numr o runnt ults inti in omintionl loi iruits, whih is vint rom th xmpl iruit o Fiur 6. Fiur 7 shows th trnsitiv losur rph or th iruit o Fiur 6. No implis n, whil n throuh n nin no (^) imply, so trnsitiv losur rph hs n rom no to no. Similrly, w t n rom no to no. Th ontrpositiv s or ths two s r: implyin n implyin, rsptivly. Now, rom no nothr nin no oms tru (with no, implyin ). So, w t, nothr trnsitiv losur rom to n its ontrpositiv rom no to no. Also, w t trnsitiv losur rom to. Now, i w strt our trvrsl rom no, w t implition to n implis. Thus, w t n trnsitiv losur rom to (shown ol in Fiur 7), whih intis s--0 ult on lin to runnt. Th rsults o Stion 6 (Tl 1) os not ontin th implmnttion o th ontrpositiv rul. 5 Limittions Th nout stm in Fiur 8 is unosrvl n th omintor sts or stm r nithr x nor unosrvl. Thus, Thorms 3.1 n 3.2 il to intiy th unosrvility sttus o stm. Fiur 9 shows iruit with six runnt ults s oun y natpg prorm. Th nout stm oul not lssi s unosrvl y our thorms us no x-vlu or unosrvl omintor sts r oun. So, th runnt ults s--1 n s--0 oul not inti runnt y our thniqu. Fults s--1, 1 s--1, n s--1 r inti s runnt. Th ult s--1 is not inti us w o not hv nouh implitions to trvrs kwrs rom th tru Fiur 7: A prt o trnsitiv losur with ontrpositiv s to n runnt s--0 ult in Fiur Fiur 8: Exmpl o n unosrvl stm not inti y stm unosrvility thorms. no o th output o NAND t towrs its inputs, i.., w o not hv implitions to trvrs kwrs rom th tru nos o sinl n o Fiur 9. Du to this, w n not t n implition to intiy th unrivl runnt ult s--1. An xtn implition mtho in whih sts o sinls r numrt to hk or ssntil ssinmnts n intiy suh runny t hihr omputtion ost [21]. Th thr runnt ults not inti in th iruit 432 r o this typ (rr to Tl 1). 6 Rsults Tl 1 shows th rsults otin on ISCAS '85 n ISCAS '89 nhmrk iruits. Th rst olumn shows th nms o nhmrk iruits or whih rsults rom vrious prorms r ompr with rspt to th runnt ults inti n thir rsptiv CPU tims. Th nxt olumn shows th totl numr o ollps sinl ults in th iruit. Th nxt two olumns show th runnt ults inti n CPU tim in sons or th ATPG tool TRAN [4] y Chkrhr t l., whih uss trnsitiv losur or tst nrtion. Th nxt two olumns lists th rsult o FIRE [13] yiyr n Armovii. Th nxt two olumns show th rsults o th trnsitiv losur lorithm without prtil implitions y Arwl t l. [1]. Th nxt two olumns show th rsult o th trnsitiv losur lorithm with som o th prtil implitions y Gur t l. [7]. Th lst two olumns r th rsults o th nw ult-inpnnt lorithm, whih uss trnsitiv losur or runny intition. Th squntil nhmrk iruits wr onvrt into omintionl iruits y rmovin th ip-ops rom th iruit n trtin ip-op outputs s primry inputs n ip-op inputs s primry outputs. Prpr or DATE'04 P4o6

5 Tl 1: Comintionlly runnt ults in ISCAS '85 n ISCAS '89 nhmrk iruits. Ciruit Totl Runnt ults inti n run tim on Sun worksttions (: Spr 5; : Spr 2) ults TRAN [4] FIRE [13] TC [1] TC w prtil [7] OurAlo: Run. CPU Run. CPU Run. CPU Run. CPU Run. CPU ults s () ults s () ults s () ults s () ults s () s s s s s s s s s Fiur 9: Anothr xmpl o limittions. Thr r no ort ults in TRAN [4] or ll iruits in Tl 1. W us nhmrk iruit 5315 to ompr rsults or ll ths irnt prorms with our work. Th ATPG tool TRAN [4] intis ll th 59 runnt ults in th iruit without ortin ny ult in CPU tim o 32.3 s. FIRE [13] intis 20 runnt ults with CPU tim o 2.8 s. Nxt, th trnsitiv losur lorithm without prtil implition [1] intis 20 runnt ults with CPU tim o 3.4 s. Nxt, th trnsitiv losur lorithm with som prtil implitions [7] intis 32 runnt ults with CPU tim o 3.4 s. Finlly, our lorithm with th x-vlu thorm n stm unosrvility thorms implmnt intis 58 runnt ults in 3.9 s. Thus, in th nhmrk iruit 5315 our lorithm intis mor runnt ults thn ny o th ult inpnnt lorithms. Th runnt ults inti y our work r muh rtr thn ll th othr implition-s mthos sri in th rsult tl with omprl CPU tim. Th rsults r lso omprl to th ATPG tool h TRAN us or th nhmrk iruits 3540, 5315, 6288, s349, s444, s713, s1423 n s9234 our work provis ithr ll or los to ll runnt ults. W o roniz tht thr r ATPG prorms [28] tht r str thn TRAN, ut thn our prsnt implmnttion is only xprimntl with mny potntil prormn improvmnts possil. An nlysis o th nhmrk iruit 432 rvls tht u to th inility to tk ision (i.., trvrs kwrs rom th ls no o th output o th AND t, shown in Stion 2) w n not intiy 3 out o 4 runnt ults (i.., w intiy only 1 out o 4 runnt ults.) 7 Conlusion Th x-vlu thorm n stm unosrvility thorms nhn th trnsitiv losur thniqu to intiy runnt ults. Its othr pplitions, not isuss hr ut unr invstition, inlu th intition o th quivlnt ults n quivln hkin o two ivn iruits. Futur rsrh my n nw wys o tkin isions in th implition rph to trvrs rom th ls sttus o th output sinl o n AND t. Howvr, our thniqu rtins lowr omplxity thn th xponntil omplxityonatpg lorithm n intis mny, thouh not ll, runnt ults. Rrns [1] V. D. Arwl, M. L. Bushnll, n Q. Lin, \Runny Intition Usin Trnsitiv Closur," in Pro. Prpr or DATE'04 P5o6

6 o th 5th Asin Tst Symp., Novmr 1996, pp. 4{9. [2] M. L. Bushnll n V. D. Arwl, Essntils o Eltroni Tstin or Diitl, Mmory n Mix-Sinl VLSI Ciruits. Boston, MA: Kluwr Ami Pulitions, [3] S. T. Chkrhr, V. D. Arwl, n M. L. Bushnll, \Nurl Nt n Booln Stisility Mols o Loi Ciruits," IEEE Dsin n Tst o Computrs, vol. 7, no. 5, pp. 54{57, Otor [4] S. T. Chkrhr, V. D. Arwl, n S. G. Rothwilr, \A Trnsitiv Closur Alorithm or Tst Gnrtion," IEEE Trns. on Computr-Ai Dsin, vol. 12, no. 7, pp. 15{1028, July [5] H. Fujiwr n T. Shimono, \On th Alrtion o Tst Gnrtion Alorithms," in Pro. o th Intrntionl Fult-Tolrnt Computin Symp., Jun 1983, pp. 98{105. [6] V. Gur, \A Nw Trnsitiv Closur Alorithm to Intiy Runnis in Loi Ciruits," Mstr's thsis, Rutrs Univrsity, Jnury [7] V. Gur, V. D. Arwl, n M. L. Bushnll, \A Nw Trnsitiv Closur Alorithm with Applitions to Runny Intition," in Pro. o th 1st Intrntionl Workshop on Eltroni, Dsin n Tst Applitions (DELTA'02), Jnury 2002, pp. 496{500. [8] P. Gol, \An Impliit Enumrtion Alorithm to Gnrt Tsts or Comintionl Loi Ciruits," IEEE Trns. on Computrs, vol. C-30, no. 3, pp. 215{222, Mrh [9] L. H. Golstin, \Controllility/Osrvility Anlysis o Diitl Ciruits," IEEE Trns. on Ciruits n Systms, vol. CAS-26, no. 9, pp. 685{693, Sptmr [10] F. Hrry, Grph Thory. Rin, MA: Aison- Wsly, [11] M. Hrihr n P. R. Mnon, \Intition o Unttl Fults in Comintionl Ciruits," in Pro. o th Intrntionl Con. on Computr Dsin, Otor 1989, pp. 290{293. [12] M. Hntlin, H. Wittmnn, n K. J. Antrih, \A Forml Non-Huristi ATPG Approh," in Pro. o th Europn Dsin Automtion Con., Sptmr 1995, pp. 248{253. [13] M. A. Iyr n M. Armovii, \FIRE: A Fult- Inpnnt Comintionl Runny Intition Alorithm," IEEE Trnstions on VLSI Systms, vol. 4, no. 2, pp. 295{3, Jun [14] T. Kirkln n M. R. Mrr, \A Topoloil Srh Alorithm or ATPG," in Pro. o th 24 th Dsin Automtion Con., Jun-July 1987, pp. 502{508. [15] W. Kunz n D. K. Prhn, \Rursiv Lrnin: An Attrtiv Altrntiv to th Dision Tr or Tst Gnrtion in Diitl Ciruits," in Pro. o th IEEE Intrntionl Tst Con., Sptmr 1992, pp. 816{825. [16] T. Lrr, \Tst Pttrn Gnrtion Usin Booln Stisility," IEEE Trnstions on Computr-Ai Dsin, vol. 11, no. 1, pp. 4{15, Jnury [17] V. Mht, \Runny Intition in Loi Ciruits usin Extn Implition Grph n Stm Unosrvility Thorms," Mstr's thsis, Rutrs Univrsity, My [18] V. J. Mht, K. K. Dv, V. D. Arwl, n M. L. Bushnll, \A Fult-Inpnnt Trnsitiv Closur Alorithm or Runny Intition," in Pro. o th 16 th Intrntionl Con. VLSI Dsin, Jnury 2003, pp. 149{154. [19] P. R. Mnon n H. Ahuj, \Runny Rmovl n Simplition o Comintionl Ciruits," in Pro. o th 10 th IEEE VLSI Tst Symp., April 1992, pp. 268{ 273. [20] K. P. Prkr n E. J. MClusky, \Proilisti Trtmnt o Gnrl Comintionl Ntworks," IEEE Trns. on Computrs, vol. C-24, no. 6, pp. 668{670, Jun [21] Q. Pn, M. Armovii, n J. Svir, \MUST: Multipl-stm Anlysis or Intiyin Squntilly Untstl Fults," in in Pro. o th Intrntionl Tst Con., Sptmr 2000, pp. 839{846. [22] I. M. Rtiu, A. Sniovnni-Vinntlli, n D. O. Prson, \VICTOR: A Fst VLSI Tstility Anlysis Prorm," in Pro. o th IEEE Intrntionl Tst Conrn, Novmr 1982, pp. 397{4. [23] J. P. Roth, \Dionosis o Automt Filurs: A Clulus n Mtho," IBM Journl o Rsrh n Dvlopmnt, vol. 10, no. 4, pp. 278{291, July [24] M. H. Shulz n E. Auth, \Avn Automti Tst Pttrn Gnrtion n Runny Intition Thniqus," in Pro. o th Intrntionl Fult- Tolrnt Computin Symp., Jun 1988, pp. 30{35. [25] M. H. Shulz, E. Trishlr, n T. M. Srrt, \SOCRATES: A Hihly Eint Automti Tst Pttrn Gnrtion Systm," IEEE Trns. on Computr- Ai Dsin, vol. CAD-7, no. 1, pp. 126{137, Jnury [26] S. C. Sth n V. D. Arwl, \A Nw Mol or Computtion o Proilisti Tstility in Comintionl Ciruits," Intrtion, th VLSI Journl, vol. 7, no. 1, pp. 49{75, April [27] J. P. M. Silv n K. A. Skllh, \Grsp - A nw Srh Alorithm or Stisility," in Pro. o th Intrntionl Con. on Computr-Ai Dsin, Novmr 1996, pp. 220{227. [28] P. Stphn, R. K. Bryton, n A. L. Sniovnni- Vinntlli, \Comintionl Tst Gnrtion Usin Stisility," IEEE Trns. on Computr-Ai Dsin, vol. 15, no. 9, pp. 1167{1176, Sptmr [29] J. K. Zho, E. M. Runik, n J. H. Ptl, \Stti Loi Implition with Applition to Runny Intition," in Pro. o th 15 th IEEE VLSI Tst Symp., April 1997, pp. 288{293. Prpr or DATE'04 P6o6

Present state Next state Q + M N

Present state Next state Q + M N Qustion 1. An M-N lip-lop works s ollows: I MN=00, th nxt stt o th lip lop is 0. I MN=01, th nxt stt o th lip-lop is th sm s th prsnt stt I MN=10, th nxt stt o th lip-lop is th omplmnt o th prsnt stt I

More information

Outline. 1 Introduction. 2 Min-Cost Spanning Trees. 4 Example

Outline. 1 Introduction. 2 Min-Cost Spanning Trees. 4 Example Outlin Computr Sin 33 Computtion o Minimum-Cost Spnnin Trs Prim's Alorithm Introution Mik Joson Dprtmnt o Computr Sin Univrsity o Clry Ltur #33 3 Alorithm Gnrl Constrution Mik Joson (Univrsity o Clry)

More information

, each of which is a tree, and whose roots r 1. , respectively, are children of r. Data Structures & File Management

, each of which is a tree, and whose roots r 1. , respectively, are children of r. Data Structures & File Management nrl tr T is init st o on or mor nos suh tht thr is on sint no r, ll th root o T, n th rminin nos r prtition into n isjoint susts T, T,, T n, h o whih is tr, n whos roots r, r,, r n, rsptivly, r hilrn o

More information

ECE COMBINATIONAL BUILDING BLOCKS - INVEST 13 DECODERS AND ENCODERS

ECE COMBINATIONAL BUILDING BLOCKS - INVEST 13 DECODERS AND ENCODERS C 24 - COMBINATIONAL BUILDING BLOCKS - INVST 3 DCODS AND NCODS FALL 23 AP FLZ To o "wll" on this invstition you must not only t th riht nswrs ut must lso o nt, omplt n onis writups tht mk ovious wht h

More information

Cycles and Simple Cycles. Paths and Simple Paths. Trees. Problem: There is No Completely Standard Terminology!

Cycles and Simple Cycles. Paths and Simple Paths. Trees. Problem: There is No Completely Standard Terminology! Outlin Computr Sin 331, Spnnin, n Surphs Mik Joson Dprtmnt o Computr Sin Univrsity o Clry Ltur #30 1 Introution 2 3 Dinition 4 Spnnin 5 6 Mik Joson (Univrsity o Clry) Computr Sin 331 Ltur #30 1 / 20 Mik

More information

EE1000 Project 4 Digital Volt Meter

EE1000 Project 4 Digital Volt Meter Ovrviw EE1000 Projt 4 Diitl Volt Mtr In this projt, w mk vi tht n msur volts in th rn o 0 to 4 Volts with on iit o ury. Th input is n nlo volt n th output is sinl 7-smnt iit tht tlls us wht tht input s

More information

1 Introduction to Modulo 7 Arithmetic

1 Introduction to Modulo 7 Arithmetic 1 Introution to Moulo 7 Arithmti Bor w try our hn t solvin som hr Moulr KnKns, lt s tk los look t on moulr rithmti, mo 7 rithmti. You ll s in this sminr tht rithmti moulo prim is quit irnt rom th ons w

More information

COMPLEXITY OF COUNTING PLANAR TILINGS BY TWO BARS

COMPLEXITY OF COUNTING PLANAR TILINGS BY TWO BARS OMPLXITY O OUNTING PLNR TILINGS Y TWO RS KYL MYR strt. W show tht th prolm o trmining th numr o wys o tiling plnr igur with horizontl n vrtil r is #P-omplt. W uil o o th rsults o uquir, Nivt, Rmil, n Roson

More information

Outline. Computer Science 331. Computation of Min-Cost Spanning Trees. Costs of Spanning Trees in Weighted Graphs

Outline. Computer Science 331. Computation of Min-Cost Spanning Trees. Costs of Spanning Trees in Weighted Graphs Outlin Computr Sin 33 Computtion o Minimum-Cost Spnnin Trs Prim s Mik Joson Dprtmnt o Computr Sin Univrsity o Clry Ltur #34 Introution Min-Cost Spnnin Trs 3 Gnrl Constrution 4 5 Trmintion n Eiiny 6 Aitionl

More information

Seven-Segment Display Driver

Seven-Segment Display Driver 7-Smnt Disply Drivr, Ron s in 7-Smnt Disply Drivr, Ron s in Prolm 62. 00 0 0 00 0000 000 00 000 0 000 00 0 00 00 0 0 0 000 00 0 00 BCD Diits in inry Dsin Drivr Loi 4 inputs, 7 outputs 7 mps, h with 6 on

More information

Why the Junction Tree Algorithm? The Junction Tree Algorithm. Clique Potential Representation. Overview. Chris Williams 1.

Why the Junction Tree Algorithm? The Junction Tree Algorithm. Clique Potential Representation. Overview. Chris Williams 1. Why th Juntion Tr lgorithm? Th Juntion Tr lgorithm hris Willims 1 Shool of Informtis, Univrsity of Einurgh Otor 2009 Th JT is gnrl-purpos lgorithm for omputing (onitionl) mrginls on grphs. It os this y

More information

CS September 2018

CS September 2018 Loil los Distriut Systms 06. Loil los Assin squn numrs to msss All ooprtin prosss n r on orr o vnts vs. physil los: rport tim o y Assum no ntrl tim sour Eh systm mintins its own lol lo No totl orrin o

More information

QUESTIONS BEGIN HERE!

QUESTIONS BEGIN HERE! Points miss: Stunt's Nm: Totl sor: /100 points Est Tnnss Stt Univrsity Dprtmnt o Computr n Inormtion Sins CSCI 2710 (Trno) Disrt Struturs TEST or Sprin Smstr, 2005 R this or strtin! This tst is los ook

More information

Planar Upward Drawings

Planar Upward Drawings C.S. 252 Pro. Rorto Tmssi Computtionl Gomtry Sm. II, 1992 1993 Dt: My 3, 1993 Sri: Shmsi Moussvi Plnr Upwr Drwings 1 Thorm: G is yli i n only i it hs upwr rwing. Proo: 1. An upwr rwing is yli. Follow th

More information

Algorithmic and NP-Completeness Aspects of a Total Lict Domination Number of a Graph

Algorithmic and NP-Completeness Aspects of a Total Lict Domination Number of a Graph Intrntionl J.Mth. Comin. Vol.1(2014), 80-86 Algorithmi n NP-Compltnss Aspts of Totl Lit Domintion Numr of Grph Girish.V.R. (PES Institut of Thnology(South Cmpus), Bnglor, Krntk Stt, Ini) P.Ush (Dprtmnt

More information

Constructive Geometric Constraint Solving

Constructive Geometric Constraint Solving Construtiv Gomtri Constrint Solving Antoni Soto i Rir Dprtmnt Llngutgs i Sistms Inormàtis Univrsitt Politèni Ctluny Brlon, Sptmr 2002 CGCS p.1/37 Prliminris CGCS p.2/37 Gomtri onstrint prolm C 2 D L BC

More information

Module graph.py. 1 Introduction. 2 Graph basics. 3 Module graph.py. 3.1 Objects. CS 231 Naomi Nishimura

Module graph.py. 1 Introduction. 2 Graph basics. 3 Module graph.py. 3.1 Objects. CS 231 Naomi Nishimura Moul grph.py CS 231 Nomi Nishimur 1 Introution Just lik th Python list n th Python itionry provi wys of storing, ssing, n moifying t, grph n viw s wy of storing, ssing, n moifying t. Bus Python os not

More information

Problem solving by search

Problem solving by search Prolm solving y srh Tomáš voo Dprtmnt o Cyrntis, Vision or Roots n Autonomous ystms Mrh 5, 208 / 3 Outlin rh prolm. tt sp grphs. rh trs. trtgis, whih tr rnhs to hoos? trtgy/algorithm proprtis? Progrmming

More information

V={A,B,C,D,E} E={ (A,D),(A,E),(B,D), (B,E),(C,D),(C,E)}

V={A,B,C,D,E} E={ (A,D),(A,E),(B,D), (B,E),(C,D),(C,E)} Introution Computr Sin & Enginring 423/823 Dsign n Anlysis of Algorithms Ltur 03 Elmntry Grph Algorithms (Chptr 22) Stphn Sott (Apt from Vinohnrn N. Vriym) I Grphs r strt t typs tht r pplil to numrous

More information

Multipoint Alternate Marking method for passive and hybrid performance monitoring

Multipoint Alternate Marking method for passive and hybrid performance monitoring Multipoint Altrnt Mrkin mtho or pssiv n hyri prormn monitorin rt-iool-ippm-multipoint-lt-mrk-00 Pru, Jul 2017, IETF 99 Giuspp Fiool (Tlom Itli) Muro Coilio (Tlom Itli) Amo Spio (Politnio i Torino) Riro

More information

Implication Graphs and Logic Testing

Implication Graphs and Logic Testing Implition Grphs n Logi Testing Vishwni D. Agrwl Jmes J. Dnher Professor Dept. of ECE, Auurn University Auurn, AL 36849 vgrwl@eng.uurn.eu www.eng.uurn.eu/~vgrwl Joint reserh with: K. K. Dve, ATI Reserh,

More information

V={A,B,C,D,E} E={ (A,D),(A,E),(B,D), (B,E),(C,D),(C,E)}

V={A,B,C,D,E} E={ (A,D),(A,E),(B,D), (B,E),(C,D),(C,E)} s s of s Computr Sin & Enginring 423/823 Dsign n Anlysis of Ltur 03 (Chptr 22) Stphn Sott (Apt from Vinohnrn N. Vriym) s of s s r strt t typs tht r pplil to numrous prolms Cn ptur ntitis, rltionships twn

More information

5/7/13. Part 10. Graphs. Theorem Theorem Graphs Describing Precedence. Outline. Theorem 10-1: The Handshaking Theorem

5/7/13. Part 10. Graphs. Theorem Theorem Graphs Describing Precedence. Outline. Theorem 10-1: The Handshaking Theorem Thorm 10-1: Th Hnshkin Thorm Lt G=(V,E) n unirt rph. Thn Prt 10. Grphs CS 200 Alorithms n Dt Struturs v V (v) = 2 E How mny s r thr in rph with 10 vrtis h of r six? 10 * 6 /2= 30 1 Thorm 10-2 An unirt

More information

ECE 407 Computer Aided Design for Electronic Systems. Circuit Modeling and Basic Graph Concepts/Algorithms. Instructor: Maria K. Michael.

ECE 407 Computer Aided Design for Electronic Systems. Circuit Modeling and Basic Graph Concepts/Algorithms. Instructor: Maria K. Michael. 0 Computr i Dsign or Eltroni Systms Ciruit Moling n si Grph Conptslgorithms Instrutor: Mri K. Mihl MKM - Ovrviw hviorl vs. Struturl mols Extrnl vs. Intrnl rprsnttions Funtionl moling t Logi lvl Struturl

More information

CSE 373: More on graphs; DFS and BFS. Michael Lee Wednesday, Feb 14, 2018

CSE 373: More on graphs; DFS and BFS. Michael Lee Wednesday, Feb 14, 2018 CSE 373: Mor on grphs; DFS n BFS Mihl L Wnsy, F 14, 2018 1 Wrmup Wrmup: Disuss with your nighor: Rmin your nighor: wht is simpl grph? Suppos w hv simpl, irt grph with x nos. Wht is th mximum numr of gs

More information

Exam 1 Solution. CS 542 Advanced Data Structures and Algorithms 2/14/2013

Exam 1 Solution. CS 542 Advanced Data Structures and Algorithms 2/14/2013 CS Avn Dt Struturs n Algorithms Exm Solution Jon Turnr //. ( points) Suppos you r givn grph G=(V,E) with g wights w() n minimum spnning tr T o G. Now, suppos nw g {u,v} is to G. Dsri (in wors) mtho or

More information

Outline. Binary Tree

Outline. Binary Tree Outlin Similrity Srh Th Binry Brnh Distn Nikolus Austn nikolus.ustn@s..t Dpt. o Computr Sins Univrsity o Slzur http://rsrh.uni-slzur.t 1 Binry Brnh Distn Binry Rprsnttion o Tr Binry Brnhs Lowr Boun or

More information

QUESTIONS BEGIN HERE!

QUESTIONS BEGIN HERE! Points miss: Stunt's Nm: Totl sor: /100 points Est Tnnss Stt Univrsity Dprtmnt of Computr n Informtion Sins CSCI 710 (Trnoff) Disrt Struturs TEST for Fll Smstr, 00 R this for strtin! This tst is los ook

More information

CSE 373. Graphs 1: Concepts, Depth/Breadth-First Search reading: Weiss Ch. 9. slides created by Marty Stepp

CSE 373. Graphs 1: Concepts, Depth/Breadth-First Search reading: Weiss Ch. 9. slides created by Marty Stepp CSE 373 Grphs 1: Conpts, Dpth/Brth-First Srh ring: Wiss Ch. 9 slis rt y Mrty Stpp http://www.s.wshington.u/373/ Univrsity o Wshington, ll rights rsrv. 1 Wht is grph? 56 Tokyo Sttl Soul 128 16 30 181 140

More information

Overview. Usages of Fault Simulators. Problem and Motivation. Alternatives and Their Limitations. VLSI Design Verification and Testing

Overview. Usages of Fault Simulators. Problem and Motivation. Alternatives and Their Limitations. VLSI Design Verification and Testing VLSI Dsin Vriiction n Tstin Fult Simultion Mohmm Thrnipoor Elctricl n Computr Eninrin Univrsity o Conncticut Ovrviw Prolm n motivtion Fult simultion lorithms Sril Prlll Ductiv Concurrnt Othr lorithms Rnom

More information

Liqiong Wei, Zhanping Chen, and Kaushik Roy. Yibin Ye and Vivek De. logic circuits more feasible.

Liqiong Wei, Zhanping Chen, and Kaushik Roy. Yibin Ye and Vivek De. logic circuits more feasible. _ Mix-V th (MVT) CMOS Ciruit Dsin Mthooloy or Low Powr Applitions Liqion Wi, Zhnpin Chn, n Kushik Roy Shool o Eltril n Computr Eninrin Puru Univrsity, W. Lytt, IN 47907-1285 Yiin Y n Vivk D Intl Corp.,

More information

12/3/12. Outline. Part 10. Graphs. Circuits. Euler paths/circuits. Euler s bridge problem (Bridges of Konigsberg Problem)

12/3/12. Outline. Part 10. Graphs. Circuits. Euler paths/circuits. Euler s bridge problem (Bridges of Konigsberg Problem) 12/3/12 Outlin Prt 10. Grphs CS 200 Algorithms n Dt Struturs Introution Trminology Implmnting Grphs Grph Trvrsls Topologil Sorting Shortst Pths Spnning Trs Minimum Spnning Trs Ciruits 1 Ciruits Cyl 2 Eulr

More information

5/9/13. Part 10. Graphs. Outline. Circuits. Introduction Terminology Implementing Graphs

5/9/13. Part 10. Graphs. Outline. Circuits. Introduction Terminology Implementing Graphs Prt 10. Grphs CS 200 Algorithms n Dt Struturs 1 Introution Trminology Implmnting Grphs Outlin Grph Trvrsls Topologil Sorting Shortst Pths Spnning Trs Minimum Spnning Trs Ciruits 2 Ciruits Cyl A spil yl

More information

Paths. Connectivity. Euler and Hamilton Paths. Planar graphs.

Paths. Connectivity. Euler and Hamilton Paths. Planar graphs. Pths.. Eulr n Hmilton Pths.. Pth D. A pth rom s to t is squn o gs {x 0, x 1 }, {x 1, x 2 },... {x n 1, x n }, whr x 0 = s, n x n = t. D. Th lngth o pth is th numr o gs in it. {, } {, } {, } {, } {, } {,

More information

Graphs. Graphs. Graphs: Basic Terminology. Directed Graphs. Dr Papalaskari 1

Graphs. Graphs. Graphs: Basic Terminology. Directed Graphs. Dr Papalaskari 1 CSC 00 Disrt Struturs : Introuon to Grph Thory Grphs Grphs CSC 00 Disrt Struturs Villnov Univrsity Grphs r isrt struturs onsisng o vrs n gs tht onnt ths vrs. Grphs n us to mol: omputr systms/ntworks mthml

More information

(2) If we multiplied a row of B by λ, then the value is also multiplied by λ(here lambda could be 0). namely

(2) If we multiplied a row of B by λ, then the value is also multiplied by λ(here lambda could be 0). namely . DETERMINANT.. Dtrminnt. Introution:I you think row vtor o mtrix s oorint o vtors in sp, thn th gomtri mning o th rnk o th mtrix is th imnsion o th prlllppi spnn y thm. But w r not only r out th imnsion,

More information

Math 61 : Discrete Structures Final Exam Instructor: Ciprian Manolescu. You have 180 minutes.

Math 61 : Discrete Structures Final Exam Instructor: Ciprian Manolescu. You have 180 minutes. Nm: UCA ID Numr: Stion lttr: th 61 : Disrt Struturs Finl Exm Instrutor: Ciprin nolsu You hv 180 minuts. No ooks, nots or lultors r llow. Do not us your own srth ppr. 1. (2 points h) Tru/Fls: Cirl th right

More information

Outline. Circuits. Euler paths/circuits 4/25/12. Part 10. Graphs. Euler s bridge problem (Bridges of Konigsberg Problem)

Outline. Circuits. Euler paths/circuits 4/25/12. Part 10. Graphs. Euler s bridge problem (Bridges of Konigsberg Problem) 4/25/12 Outlin Prt 10. Grphs CS 200 Algorithms n Dt Struturs Introution Trminology Implmnting Grphs Grph Trvrsls Topologil Sorting Shortst Pths Spnning Trs Minimum Spnning Trs Ciruits 1 2 Eulr s rig prolm

More information

Section 10.4 Connectivity (up to paths and isomorphism, not including)

Section 10.4 Connectivity (up to paths and isomorphism, not including) Toy w will isuss two stions: Stion 10.3 Rprsnting Grphs n Grph Isomorphism Stion 10.4 Conntivity (up to pths n isomorphism, not inluing) 1 10.3 Rprsnting Grphs n Grph Isomorphism Whn w r working on n lgorithm

More information

b. How many ternary words of length 23 with eight 0 s, nine 1 s and six 2 s?

b. How many ternary words of length 23 with eight 0 s, nine 1 s and six 2 s? MATH 3012 Finl Exm, My 4, 2006, WTT Stunt Nm n ID Numr 1. All our prts o this prolm r onrn with trnry strings o lngth n, i.., wors o lngth n with lttrs rom th lpht {0, 1, 2}.. How mny trnry wors o lngth

More information

Numbering Boundary Nodes

Numbering Boundary Nodes Numring Bounry Nos Lh MBri Empori Stt Univrsity August 10, 2001 1 Introution Th purpos of this ppr is to xplor how numring ltril rsistor ntworks ffts thir rspons mtrix, Λ. Morovr, wht n lrn from Λ out

More information

0.1. Exercise 1: the distances between four points in a graph

0.1. Exercise 1: the distances between four points in a graph Mth 707 Spring 2017 (Drij Grinrg): mitrm 3 pg 1 Mth 707 Spring 2017 (Drij Grinrg): mitrm 3 u: W, 3 My 2017, in lss or y mil (grinr@umn.u) or lss S th wsit or rlvnt mtril. Rsults provn in th nots, or in

More information

Garnir Polynomial and their Properties

Garnir Polynomial and their Properties Univrsity of Cliforni, Dvis Dprtmnt of Mthmtis Grnir Polynomil n thir Proprtis Author: Yu Wng Suprvisor: Prof. Gorsky Eugny My 8, 07 Grnir Polynomil n thir Proprtis Yu Wng mil: uywng@uvis.u. In this ppr,

More information

Design Optimization Based on Diagnosis Techniques

Design Optimization Based on Diagnosis Techniques Dsign Optimiztion Bs on Dignosis Thniqus Anrs Vnris Mgy S. Air Irhim N. Hjj Univrsity of Toronto Motorol Univrsity of Illinois ECE Dprtmnt 77 W. Prmr ECE Dprtmnt n CSL Toronto, ON M5S 34 Austin, T 78729

More information

CSC Design and Analysis of Algorithms. Example: Change-Making Problem

CSC Design and Analysis of Algorithms. Example: Change-Making Problem CSC 801- Dsign n Anlysis of Algorithms Ltur 11 Gry Thniqu Exmpl: Chng-Mking Prolm Givn unlimit mounts of oins of nomintions 1 > > m, giv hng for mount n with th lst numr of oins Exmpl: 1 = 25, 2 =10, =

More information

An undirected graph G = (V, E) V a set of vertices E a set of unordered edges (v,w) where v, w in V

An undirected graph G = (V, E) V a set of vertices E a set of unordered edges (v,w) where v, w in V Unirt Grphs An unirt grph G = (V, E) V st o vrtis E st o unorr gs (v,w) whr v, w in V USE: to mol symmtri rltionships twn ntitis vrtis v n w r jnt i thr is n g (v,w) [or (w,v)] th g (v,w) is inint upon

More information

The University of Sydney MATH2969/2069. Graph Theory Tutorial 5 (Week 12) Solutions 2008

The University of Sydney MATH2969/2069. Graph Theory Tutorial 5 (Week 12) Solutions 2008 Th Univrsity o Syny MATH2969/2069 Grph Thory Tutoril 5 (Wk 12) Solutions 2008 1. (i) Lt G th isonnt plnr grph shown. Drw its ul G, n th ul o th ul (G ). (ii) Show tht i G is isonnt plnr grph, thn G is

More information

CS 461, Lecture 17. Today s Outline. Example Run

CS 461, Lecture 17. Today s Outline. Example Run Prim s Algorithm CS 461, Ltur 17 Jr Si Univrsity o Nw Mxio In Prim s lgorithm, th st A mintin y th lgorithm orms singl tr. Th tr strts rom n ritrry root vrtx n grows until it spns ll th vrtis in V At h

More information

for Performance Potsdam, NY Urbana, IL can be connected to the inputs and outputs of the LUT to

for Performance Potsdam, NY Urbana, IL can be connected to the inputs and outputs of the LUT to Thnoloy Mppin o Squntil Ciruits or LUT-s FPGAs or Prormn Pihn Pn C. L. Liu Dpt. o Eltril & Computr En. Dpt. o Computr Sin Clrkson Univrsity Univrsity o Illinois t Urn-Chmpin Potsm, NY 13699 Urn, IL 61801

More information

Graphs. CSC 1300 Discrete Structures Villanova University. Villanova CSC Dr Papalaskari

Graphs. CSC 1300 Discrete Structures Villanova University. Villanova CSC Dr Papalaskari Grphs CSC 1300 Disrt Struturs Villnov Univrsity Grphs Grphs r isrt struturs onsis?ng of vr?s n gs tht onnt ths vr?s. Grphs n us to mol: omputr systms/ntworks mthm?l rl?ons logi iruit lyout jos/prosss f

More information

New challenges on Independent Gate FinFET Transistor Network Generation

New challenges on Independent Gate FinFET Transistor Network Generation Nw hllngs on Inpnnt Gt FinFET Trnsistor Ntwork Gnrtion Viniius N. Possni, Anré I. Ris, Rnto P. Ris, Flip S. Mrqus, Lomr S. Ros Junior Thnology Dvlopmnt Cntr, Frl Univrsity o Plots, Plots, Brzil Institut

More information

12. Traffic engineering

12. Traffic engineering lt2.ppt S-38. Introution to Tltrffi Thory Spring 200 2 Topology Pths A tlommunition ntwork onsists of nos n links Lt N not th st of nos in with n Lt J not th st of nos in with j N = {,,,,} J = {,2,3,,2}

More information

Organization. Dominators. Control-flow graphs 8/30/2010. Dominators, control-dependence. Dominator relation of CFGs

Organization. Dominators. Control-flow graphs 8/30/2010. Dominators, control-dependence. Dominator relation of CFGs Orniztion Domintors, ontrol-pnn n SSA orm Domintor rltion o CFGs postomintor rltion Domintor tr Computin omintor rltion n tr Dtlow lorithm Lnur n Trjn lorithm Control-pnn rltion SSA orm Control-low rphs

More information

A Low Noise and Reliable CMOS I/O Buffer for Mixed Low Voltage Applications

A Low Noise and Reliable CMOS I/O Buffer for Mixed Low Voltage Applications Proings of th 6th WSEAS Intrntionl Confrn on Miroltronis, Nnoltronis, Optoltronis, Istnul, Turky, My 27-29, 27 32 A Low Nois n Rlil CMOS I/O Buffr for Mix Low Voltg Applitions HWANG-CHERNG CHOW n YOU-GANG

More information

CS61B Lecture #33. Administrivia: Autograder will run this evening. Today s Readings: Graph Structures: DSIJ, Chapter 12

CS61B Lecture #33. Administrivia: Autograder will run this evening. Today s Readings: Graph Structures: DSIJ, Chapter 12 Aministrivi: CS61B Ltur #33 Autogrr will run this vning. Toy s Rings: Grph Struturs: DSIJ, Chptr 12 Lst moifi: W Nov 8 00:39:28 2017 CS61B: Ltur #33 1 Why Grphs? For xprssing non-hirrhilly rlt itms Exmpls:

More information

MAT3707. Tutorial letter 201/1/2017 DISCRETE MATHEMATICS: COMBINATORICS. Semester 1. Department of Mathematical Sciences MAT3707/201/1/2017

MAT3707. Tutorial letter 201/1/2017 DISCRETE MATHEMATICS: COMBINATORICS. Semester 1. Department of Mathematical Sciences MAT3707/201/1/2017 MAT3707/201/1/2017 Tutoril lttr 201/1/2017 DISCRETE MATHEMATICS: COMBINATORICS MAT3707 Smstr 1 Dprtmnt o Mtmtil Sins SOLUTIONS TO ASSIGNMENT 01 BARCODE Din tomorrow. univrsity o sout ri SOLUTIONS TO ASSIGNMENT

More information

SAMPLE PAGES. Primary. Primary Maths Basics Series THE SUBTRACTION BOOK. A progression of subtraction skills. written by Jillian Cockings

SAMPLE PAGES. Primary. Primary Maths Basics Series THE SUBTRACTION BOOK. A progression of subtraction skills. written by Jillian Cockings PAGES Primry Primry Mths Bsis Sris THE SUBTRACTION BOOK A prorssion o sutrtion skills writtn y Jillin Cokins INTRODUCTION This ook is intn to hlp sur th mthmtil onpt o sutrtion in hilrn o ll s. Th mstry

More information

CS 241 Analysis of Algorithms

CS 241 Analysis of Algorithms CS 241 Anlysis o Algorithms Prossor Eri Aron Ltur T Th 9:00m Ltur Mting Lotion: OLB 205 Businss HW6 u lry HW7 out tr Thnksgiving Ring: Ch. 22.1-22.3 1 Grphs (S S. B.4) Grphs ommonly rprsnt onntions mong

More information

CSE 373: AVL trees. Warmup: Warmup. Interlude: Exploring the balance invariant. AVL Trees: Invariants. AVL tree invariants review

CSE 373: AVL trees. Warmup: Warmup. Interlude: Exploring the balance invariant. AVL Trees: Invariants. AVL tree invariants review rmup CSE 7: AVL trs rmup: ht is n invrint? Mihl L Friy, Jn 9, 0 ht r th AVL tr invrints, xtly? Disuss with your nighor. AVL Trs: Invrints Intrlu: Exploring th ln invrint Cor i: xtr invrint to BSTs tht

More information

A 4-state solution to the Firing Squad Synchronization Problem based on hybrid rule 60 and 102 cellular automata

A 4-state solution to the Firing Squad Synchronization Problem based on hybrid rule 60 and 102 cellular automata A 4-stt solution to th Firing Squ Synhroniztion Prolm s on hyri rul 60 n 102 llulr utomt LI Ning 1, LIANG Shi-li 1*, CUI Shung 1, XU Mi-ling 1, ZHANG Ling 2 (1. Dprtmnt o Physis, Northst Norml Univrsity,

More information

Similarity Search. The Binary Branch Distance. Nikolaus Augsten.

Similarity Search. The Binary Branch Distance. Nikolaus Augsten. Similrity Srh Th Binry Brnh Distn Nikolus Augstn nikolus.ugstn@sg..t Dpt. of Computr Sins Univrsity of Slzurg http://rsrh.uni-slzurg.t Vrsion Jnury 11, 2017 Wintrsmstr 2016/2017 Augstn (Univ. Slzurg) Similrity

More information

learning objectives learn what graphs are in mathematical terms learn how to represent graphs in computers learn about typical graph algorithms

learning objectives learn what graphs are in mathematical terms learn how to represent graphs in computers learn about typical graph algorithms rp loritms lrnin ojtivs loritms your sotwr systm sotwr rwr lrn wt rps r in mtmtil trms lrn ow to rprsnt rps in omputrs lrn out typil rp loritms wy rps? intuitivly, rp is orm y vrtis n s twn vrtis rps r

More information

16.unified Introduction to Computers and Programming. SOLUTIONS to Examination 4/30/04 9:05am - 10:00am

16.unified Introduction to Computers and Programming. SOLUTIONS to Examination 4/30/04 9:05am - 10:00am 16.unii Introution to Computrs n Prormmin SOLUTIONS to Exmintion /30/0 9:05m - 10:00m Pro. I. Kristin Lunqvist Sprin 00 Grin Stion: Qustion 1 (5) Qustion (15) Qustion 3 (10) Qustion (35) Qustion 5 (10)

More information

(a) v 1. v a. v i. v s. (b)

(a) v 1. v a. v i. v s. (b) Outlin RETIMING Struturl optimiztion mthods. Gionni D Mihli Stnford Unirsity Rtiming. { Modling. { Rtiming for minimum dly. { Rtiming for minimum r. Synhronous Logi Ntwork Synhronous Logi Ntwork Synhronous

More information

35 th Design Automation Conference Copyright 1998 ACM

35 th Design Automation Conference Copyright 1998 ACM Eint Booln ivision n Sustitution Shih-Chih Chng vi Ihsin Chng pt. o CS n IE Ntionl Chung Chng Univrsit Ultim Intronnt Th. Chi-Yi, TAIWAN, ROC Sunnvl, CA 94086 Astrt Booln ivision, n hn Booln sustitution,

More information

# 1 ' 10 ' 100. Decimal point = 4 hundred. = 6 tens (or sixty) = 5 ones (or five) = 2 tenths. = 7 hundredths.

# 1 ' 10 ' 100. Decimal point = 4 hundred. = 6 tens (or sixty) = 5 ones (or five) = 2 tenths. = 7 hundredths. How os it work? Pl vlu o imls rprsnt prts o whol numr or ojt # 0 000 Tns o thousns # 000 # 00 Thousns Hunrs Tns Ons # 0 Diml point st iml pl: ' 0 # 0 on tnth n iml pl: ' 0 # 00 on hunrth r iml pl: ' 0

More information

Decimals DECIMALS.

Decimals DECIMALS. Dimls DECIMALS www.mthltis.o.uk ow os it work? Solutions Dimls P qustions Pl vlu o imls 0 000 00 000 0 000 00 0 000 00 0 000 00 0 000 tnths or 0 thousnths or 000 hunrths or 00 hunrths or 00 0 tn thousnths

More information

Register Allocation. How to assign variables to finitely many registers? What to do when it can t be done? How to do so efficiently?

Register Allocation. How to assign variables to finitely many registers? What to do when it can t be done? How to do so efficiently? Rgistr Allotion Rgistr Allotion How to ssign vrils to initly mny rgistrs? Wht to o whn it n t on? How to o so iintly? Mony, Jun 3, 13 Mmory Wll Disprity twn CPU sp n mmory ss sp improvmnt Mony, Jun 3,

More information

Boolean Function Representation based on disjoint-support decompositions. Λ

Boolean Function Representation based on disjoint-support decompositions. Λ Booln Funtion Rprsnttion s on isjoint-support ompositions. Λ Vlri Brto n Murizio Dmini Diprtimnto i Elttroni Inormti Univrsitá i Pov, Vi Grnio 6/A, 353 Pov, ITALY -mil: rin@i.unip.it mini@i.unip.it Tl:

More information

BDD-BASED LOGIC OPTIMIZATION SYSTEM

BDD-BASED LOGIC OPTIMIZATION SYSTEM -ASE LOGIC OPTIMIZATION SYSTEM Conun Yn Mij Cisilski urry 2 TR-CSE-- yn,isils.umss.u prtmnt o Eltril n Computr Eninrin Univrsity o Msshustts Amhrst, MA 3 YANG AN CIESIELSKI: -ASE LOGIC OPTIMIZATION SYSTEM

More information

Graph Isomorphism. Graphs - II. Cayley s Formula. Planar Graphs. Outline. Is K 5 planar? The number of labeled trees on n nodes is n n-2

Graph Isomorphism. Graphs - II. Cayley s Formula. Planar Graphs. Outline. Is K 5 planar? The number of labeled trees on n nodes is n n-2 Grt Thortil Is In Computr Sin Vitor Amhik CS 15-251 Ltur 9 Grphs - II Crngi Mllon Univrsity Grph Isomorphism finition. Two simpl grphs G n H r isomorphi G H if thr is vrtx ijtion V H ->V G tht prsrvs jny

More information

Testing Digital Systems. CPE/EE 428, CPE 528 Testing Combinational Logic (3) Testing Digital Systems: Detection. Testing Digital Systems: Detection

Testing Digital Systems. CPE/EE 428, CPE 528 Testing Combinational Logic (3) Testing Digital Systems: Detection. Testing Digital Systems: Detection Tstin iit Systms CPE/EE 428, CPE 528 Tstin Comintion Loi (3) Comintion vs Squnti Systms W sh ovr omintion first Squnti iruits n tst usin omintion tst nrtion n sn hins Th stt FF sr onnt in shift ristr.

More information

Using the Printable Sticker Function. Using the Edit Screen. Computer. Tablet. ScanNCutCanvas

Using the Printable Sticker Function. Using the Edit Screen. Computer. Tablet. ScanNCutCanvas SnNCutCnvs Using th Printl Stikr Funtion On-o--kin stikrs n sily rt y using your inkjt printr n th Dirt Cut untion o th SnNCut mhin. For inormtion on si oprtions o th SnNCutCnvs, rr to th Hlp. To viw th

More information

FSA. CmSc 365 Theory of Computation. Finite State Automata and Regular Expressions (Chapter 2, Section 2.3) ALPHABET operations: U, concatenation, *

FSA. CmSc 365 Theory of Computation. Finite State Automata and Regular Expressions (Chapter 2, Section 2.3) ALPHABET operations: U, concatenation, * CmSc 365 Thory of Computtion Finit Stt Automt nd Rgulr Exprssions (Chptr 2, Sction 2.3) ALPHABET oprtions: U, conctntion, * otin otin Strings Form Rgulr xprssions dscri Closd undr U, conctntion nd * (if

More information

Module 2 Motion Instructions

Module 2 Motion Instructions Moul 2 Motion Instrutions CAUTION: Bor you strt this xprimnt, unrstn tht you r xpt to ollow irtions EXPLICITLY! Tk your tim n r th irtions or h stp n or h prt o th xprimnt. You will rquir to ntr t in prtiulr

More information

AS the FPGA capacity grows with each chip generation,

AS the FPGA capacity grows with each chip generation, JOURNAL OF L A TEX CLASS FILES, VOL. X, NO. XX, XXX 200X 1 Sll Synthsis n Clustrin Thniqus usin Dision Dirms Anrw C. Lin, Mmr, IEEE, Jinwn Zhu, Mmr, IEEE, n Stphn D. Brown, Mmr, IEEE Astrt BDDs hv provn

More information

Round 7: Graphs (part I)

Round 7: Graphs (part I) Roun 7: Grphs (prt I) Tommi Junttil Alto Univrsity Shool o Sin Dprtmnt o Computr Sin CS-A40 Dt Struturs n Alorithms Autumn 207 Tommi Junttil (Alto Univrsity) Roun 7 CS-A40 / Autumn 207 / 55 Topis: Grphs

More information

VLSI Testing Assignment 2

VLSI Testing Assignment 2 1. 5-vlu D-clculus trut tbl or t XOR unction: XOR 0 1 X D ~D 0 0 1 X D ~D 1 1 0 X ~D D X X X X X X D D ~D X 0 1 ~D ~D D X 1 0 Tbl 1: 5-vlu D-clculus Trut Tbl or t XOR Function Sinc 2-input XOR t wors s

More information

Integration Continued. Integration by Parts Solving Definite Integrals: Area Under a Curve Improper Integrals

Integration Continued. Integration by Parts Solving Definite Integrals: Area Under a Curve Improper Integrals Intgrtion Continud Intgrtion y Prts Solving Dinit Intgrls: Ar Undr Curv Impropr Intgrls Intgrtion y Prts Prticulrly usul whn you r trying to tk th intgrl o som unction tht is th product o n lgric prssion

More information

N=4 L=4. Our first non-linear data structure! A graph G consists of two sets G = {V, E} A set of V vertices, or nodes f

N=4 L=4. Our first non-linear data structure! A graph G consists of two sets G = {V, E} A set of V vertices, or nodes f lulu jwtt pnlton sin towr ounrs hpl lpp lu Our irst non-linr t strutur! rph G onsists o two sts G = {V, E} st o V vrtis, or nos st o E s, rltionships twn nos surph G onsists o sust o th vrtis n s o G jnt

More information

More Foundations. Undirected Graphs. Degree. A Theorem. Graphs, Products, & Relations

More Foundations. Undirected Graphs. Degree. A Theorem. Graphs, Products, & Relations Mr Funtins Grphs, Pruts, & Rltins Unirt Grphs An unirt grph is pir f 1. A st f ns 2. A st f gs (whr n g is st f tw ns*) Friy, Sptmr 2, 2011 Ring: Sipsr 0.2 ginning f 0.4; Stughtn 1.1.5 ({,,,,}, {{,}, {,},

More information

Walk Like a Mathematician Learning Task:

Walk Like a Mathematician Learning Task: Gori Dprtmnt of Euction Wlk Lik Mthmticin Lrnin Tsk: Mtrics llow us to prform mny usful mthmticl tsks which orinrily rquir lr numbr of computtions. Som typs of problms which cn b on fficintly with mtrics

More information

MULTIPLE-LEVEL LOGIC OPTIMIZATION II

MULTIPLE-LEVEL LOGIC OPTIMIZATION II MUTIPE-EVE OGIC OPTIMIZATION II Booln mthos Eploit Booln proprtis Giovnni D Mihli Don t r onitions Stnfor Univrsit Minimition of th lol funtions Slowr lgorithms, ttr qulit rsults Etrnl on t r onitions

More information

Clustering Techniques for Coarse-grained, Antifuse-based FPGAs

Clustering Techniques for Coarse-grained, Antifuse-based FPGAs Clustring Thniqus or Cors-grin, Antius-s FPGAs Chng-woo Kng n Mssou Prm Astrt In this ppr, w prsnt r n prormn-rivn lustring thniqus or ors-grin, ntius-s FPGAs. A mro logi ll in this lss o FPGAs hs multipl

More information

10/30/12. Today. CS/ENGRD 2110 Object- Oriented Programming and Data Structures Fall 2012 Doug James. DFS algorithm. Reachability Algorithms

10/30/12. Today. CS/ENGRD 2110 Object- Oriented Programming and Data Structures Fall 2012 Doug James. DFS algorithm. Reachability Algorithms 0/0/ CS/ENGRD 0 Ojt- Orint Prormmin n Dt Strutur Fll 0 Dou Jm Ltur 9: DFS, BFS & Shortt Pth Toy Rhility Dpth-Firt Srh Brth-Firt Srh Shortt Pth Unwiht rph Wiht rph Dijktr lorithm Rhility Alorithm Dpth Firt

More information

arxiv: v1 [cs.ds] 20 Feb 2008

arxiv: v1 [cs.ds] 20 Feb 2008 Symposium on Thortil Aspts of Computr Sin 2008 (Borux), pp. 361-372 www.sts-onf.org rxiv:0802.2867v1 [s.ds] 20 F 2008 FIXED PARAMETER POLYNOMIAL TIME ALGORITHMS FOR MAXIMUM AGREEMENT AND COMPATIBLE SUPERTREES

More information

Trees as operads. Lecture A formalism of trees

Trees as operads. Lecture A formalism of trees Ltur 2 rs s oprs In this ltur, w introu onvnint tgoris o trs tht will us or th inition o nroil sts. hs tgoris r gnrliztions o th simpliil tgory us to in simpliil sts. First w onsir th s o plnr trs n thn

More information

Yehuda Lindell Bar-Ilan University

Yehuda Lindell Bar-Ilan University Wintr Shool on Sur Computtion n iiny Br-Iln Unirsity, Isrl 3//2-/2/2 Br Iln Unirsity Dpt. o Computr Sin Yhu Linll Br-Iln Unirsity Br Iln Unirsity Dpt. o Computr Sin Protool or nrl sur to-prty omputtion

More information

CS200: Graphs. Graphs. Directed Graphs. Graphs/Networks Around Us. What can this represent? Sometimes we want to represent directionality:

CS200: Graphs. Graphs. Directed Graphs. Graphs/Networks Around Us. What can this represent? Sometimes we want to represent directionality: CS2: Grphs Prihr Ch. 4 Rosn Ch. Grphs A olltion of nos n gs Wht n this rprsnt? n A omputr ntwork n Astrtion of mp n Soil ntwork CS2 - Hsh Tls 2 Dirt Grphs Grphs/Ntworks Aroun Us A olltion of nos n irt

More information

1. Determine whether or not the following binary relations are equivalence relations. Be sure to justify your answers.

1. Determine whether or not the following binary relations are equivalence relations. Be sure to justify your answers. Mth 0 Exm - Prti Prolm Solutions. Dtrmin whthr or not th ollowing inry rltions r quivln rltions. B sur to justiy your nswrs. () {(0,0),(0,),(0,),(,),(,),(,),(,),(,0),(,),(,),(,0),(,),(.)} on th st A =

More information

A Simple Code Generator. Code generation Algorithm. Register and Address Descriptors. Example 3/31/2008. Code Generation

A Simple Code Generator. Code generation Algorithm. Register and Address Descriptors. Example 3/31/2008. Code Generation A Simpl Co Gnrtor Co Gnrtion Chptr 8 II Gnrt o for singl si lok How to us rgistrs? In most mhin rhitturs, som or ll of th oprnsmust in rgistrs Rgistrs mk goo tmporris Hol vlus tht r omput in on si lok

More information

Complete Solutions for MATH 3012 Quiz 2, October 25, 2011, WTT

Complete Solutions for MATH 3012 Quiz 2, October 25, 2011, WTT Complt Solutions or MATH 012 Quiz 2, Otor 25, 2011, WTT Not. T nswrs ivn r r mor omplt tn is xpt on n tul xm. It is intn tt t mor omprnsiv solutions prsnt r will vlul to stunts in stuyin or t inl xm. In

More information

Announcements. Not graphs. These are Graphs. Applications of Graphs. Graph Definitions. Graphs & Graph Algorithms. A6 released today: Risk

Announcements. Not graphs. These are Graphs. Applications of Graphs. Graph Definitions. Graphs & Graph Algorithms. A6 released today: Risk Grphs & Grph Algorithms Ltur CS Spring 6 Announmnts A6 rls toy: Risk Strt signing with your prtnr sp Prlim usy Not grphs hs r Grphs K 5 K, =...not th kin w mn, nywy Applitions o Grphs Communition ntworks

More information

COMP108 Algorithmic Foundations

COMP108 Algorithmic Foundations Grdy mthods Prudn Wong http://www.s.liv..uk/~pwong/thing/omp108/01617 Coin Chng Prolm Suppos w hv 3 typs of oins 10p 0p 50p Minimum numr of oins to mk 0.8, 1.0, 1.? Grdy mthod Lrning outoms Undrstnd wht

More information

5/1/2018. Huffman Coding Trees. Huffman Coding Trees. Huffman Coding Trees. Huffman Coding Trees. Huffman Coding Trees. Huffman Coding Trees

5/1/2018. Huffman Coding Trees. Huffman Coding Trees. Huffman Coding Trees. Huffman Coding Trees. Huffman Coding Trees. Huffman Coding Trees /1/018 W usully no strns y ssnn -lnt os to ll rtrs n t lpt (or mpl, 8-t on n ASCII). Howvr, rnt rtrs our wt rnt rquns, w n sv mmory n ru trnsmttl tm y usn vrl-lnt non. T s to ssn sortr os to rtrs tt our

More information

Cooperative Triangulation in MSBNs. without Revealing Subnet Structures. Y. Xiang. Department of Computer Science, University of Regina

Cooperative Triangulation in MSBNs. without Revealing Subnet Structures. Y. Xiang. Department of Computer Science, University of Regina Cooprtiv Tringultion in MSBNs without Rvling Sunt Struturs Y. Xing Dprtmnt o Computr Sin, Univrsity o Rgin Rgin, Ssthwn, Cn S4S 0A, yxing@s.urgin. To ppr in Ntwors Astrt Multiply stion Bysin ntwors (MSBNs)

More information

XML and Databases. Outline. Recall: Top-Down Evaluation of Simple Paths. Recall: Top-Down Evaluation of Simple Paths. Sebastian Maneth NICTA and UNSW

XML and Databases. Outline. Recall: Top-Down Evaluation of Simple Paths. Recall: Top-Down Evaluation of Simple Paths. Sebastian Maneth NICTA and UNSW Smll Pth Quiz ML n Dtss Cn you giv n xprssion tht rturns th lst / irst ourrn o h istint pri lmnt? Ltur 8 Strming Evlution: how muh mmory o you n? Sstin Mnth NICTA n UNSW

More information

Graph Contraction and Connectivity

Graph Contraction and Connectivity Chptr 17 Grph Contrtion n Conntivity So r w hv mostly ovr thniqus or solving prolms on grphs tht wr vlop in th ontxt o squntil lgorithms. Som o thm r sy to prllliz whil othrs r not. For xmpl, w sw tht

More information

Solutions for HW11. Exercise 34. (a) Use the recurrence relation t(g) = t(g e) + t(g/e) to count the number of spanning trees of v 1

Solutions for HW11. Exercise 34. (a) Use the recurrence relation t(g) = t(g e) + t(g/e) to count the number of spanning trees of v 1 Solutions for HW Exris. () Us th rurrn rltion t(g) = t(g ) + t(g/) to ount th numr of spnning trs of v v v u u u Rmmr to kp multipl gs!! First rrw G so tht non of th gs ross: v u v Rursing on = (v, u ):

More information

A comparison of routing sets for robust network design

A comparison of routing sets for robust network design A omprison of routing sts for roust ntwork sign Mihl Poss Astrt Dsigning ntwork l to rout st of non-simultnous mn vtors is n importnt prolm rising in tlommunitions. Th prolm n sn two-stg roust progrm whr

More information