temporally share the same FPGA Large circuit PI s micro-cycle one user cycle PO s
|
|
- Coleen Webster
- 5 years ago
- Views:
Transcription
1 Ciruit Prtitioning for Dynmilly Rongurl FPGAs Huiqun Liu n D. F. Wong Dprtmnt of Computr Sins Unirsity of Txs t Austin Austin, T 787 Emil: fhqliu, wongg@s.utxs.u Astrt Dynmilly rongurl FPGAs h th potntil to rmtilly impro logi nsity y tim-shring physil FPGA i. This ppr prsnts ntwor-ow s prtitioning lgorithm for ynmilly rongurl FP- GAs s on th rhittur in []. Exprimnts show tht our pproh outprforms th nhn for-irt shuling mtho in [] in trms of ommunition ost. i (Figur ). Eh stg is ll miro-yl n th miro-yls form on usr yl. Btwn th miroyls, th logi los n intronnt in th FPGA r rongur y irnt ontxt. On usr yl shoul prou th sm rsults on th outputs s woul sn y non-tim-multiplx i. tmporlly shr th sm FPGA Introution On of th mjor nts proi y FPGAs is th ility of run-tim rongurtion. Currntly thr is growing intrst in ynmilly rongurl FPGAs (DRFPGA), whih h th potntil to rmtilly impro logi nsity y tim-shring logi. Srl irnt rhitturs h n propos for ynmilly rongurl FPGAs, suh s ilinx timmultiplx FPGA ongurtion mol [], ynmilly rongurl FPGA [], Dhrm [6], th Dynmilly Progrmml Gt Arry [7,8] n th Virtul Elmnt Gt Arry [9]. Ths ynmilly rongurl FPGAs llow th ynmilly rus of th logi los n wir sgmnts y hing mor thn on on-hip SRAM its ontrolling thm. Eh on-hip ongurtion is ll ontxt, n i with mor thn on ontxt is multi-ontxt i. A lrg logi sign is prtition into multipl stgs to shr th sm physil i in tim-multiplx fshion. This is nlogous to th irtul mmory systm whr progrm n lrgr thn th tul siz of th physil mmory, ynmilly rongurl FPGA llows irtully lrg logi sign to implmnt on smllr physil i. For ynmilly rongurl FPGA, iruit is prtition into stgs (or prtitions), suh tht th logi in irnt stgs tmporlly shr th sm physil FPGA This wor ws prtilly support y th Txs An Rsrh Progrm unr Grnt No Lrg iruit PI s miro-yl 3 4 on usr yl PO s Figur : Tmporl prtitioning of iruit for ynmilly rongurl FPGA Th nos (i. LUTs) in physil FPGA r ll th rl nos, whil th nos in ny stg (miro-yl) of th prtitioning solution r ll th irtul nos. To t into physil i, th numr of irtul nos in ny stg shoul lss thn or qul to th numr of rl nos. Bus th logi los n intronnt n for iruit is tim-multiplx on DRFPGA, it is nssry to h goo prtitioning strtgy to nsur th orrtnss of th xution, s wll s stisfy oth th r n pin onstrints for physil FPGA i. It is lso ruil to minimiz th numr of intronntions in orr to ru th orh for th plmnt n routing pross. Th prtitioning prolm for ynmilly rongurl FPGAs ws stui in [,, 3, 6]. Th tritionl irtyli-grph (DAG) shuling mthos r ppli, suh s list shuling [] n for-irt shuling [, 3]. Rntly [6] propos ntwor-ow s pproh for multi-wy prn onstrin prtitioning s on th ilinx tim-multiplx FPGA rhittur [], n [6] hi ttr rsult thn th list shuling huristi in [] in trms of minimizing th ommunition ost. Howr, th ntwor-ow s pproh in [6] n not us to sol th prtitioning prolm for [], sin th rhittur in [] is irnt from tht of [] n imposs irnt onstrints on th prtitioning prolm. In this ppr, w fous on prtitioning lrg logi sign into ynmilly rongurl FPGAs s on th rhi-
2 ttur propos in []. W prsnt ntwor-ow s pproh for multi-wy prtitioning. W show how to orrtly mol th nts in oth omintionl n squntil iruits, so tht y th mx-ow omputtion, th min-ut orrspons to th numr of ommunition rquir. An -oun iprtitioning lgorithm is prsnt n thn it is itrtily ppli to prtition ntlist into multipl stgs, so tht h stg n tmporlly shr th sm FPGA i. Exprimntl rsults show tht our pproh outprforms th nhn for-irt shuling in [] in trms of ommunition ost. Th orgniztion of th ppr is s follows. In stion, w gi rif summry of th tim-multiplx ommuniting logi mol propos in []. In stion 3, w introu th prolm formultion of th prtitioning for ynmilly rongurl FPGAs. In stion 4 w rst prsnt th nt moling mtho for oth omintionl n squntil iruits, thn prsnt ntwor-ow s pproh for iprtitioning. Stion 5 xplins th multiwy prtitioning lgorithm for ynmilly rongurl FPGAs. Exprimntl rsults r isuss in Stion 6. Mol of Dynmilly Rongurl FPGA For ynmilly rongurl FPGAs, th ommunition ost, whih is th storg n for uring signl from th tim it is rt to th tim it is no longr n, rts onsirl orh. Dirnt rhitturs h n propos for storing th ommunition lus mong th miro-yls [, ], n thy impos irnt onstrints on th prtitioning prolm. For ilinx's rhittur [], th signl from ut nt is stor in on-hip miro-rgistrs, n [] rquirs tht th prn onstrints stis in orr to gurnt th orrtnss. In this ppr, w spilly xmin th prtitioning prolm for th ynmilly rongurl FPGA rhittur propos in []. C C C3 PIs POs PIs POs PIs POs prtition into (fc ; :::; C g, fm ; :::; M mg), with th xution squn ing C,..., C. Eh C i is suiruit to xut t irnt miro-yl on th DRFPGA. Eh C i plus th s n for C i will ll ontxt i sin it orrspons to th i-th ontxt on DRFPGA. Th s n for C i r thos tht r psuo primry inputs or psuo primry outputs of C i. On lo yl of ontxt i pros s follows. First, r th n psuo primry input signls from th mmory for C i, n r th primry input signls from input ps. Son, propgt signl lus through C i. Thir, lth primry output signl into output ps, n stor th psuo primry output signls for C i into mmory. In this mol, iruit is rprsnt y G = (V; N ; N f ). EhnoV is gt. Th nts r lssi- into two typs, N n N f. A nt n = f ; :::; pgn if is th input to th othr nos in this nt. A nt n = f ; :::; pgn f if thr is ip-op (FF) twn n th rst of th nos in nt n, i.. is th input to n FF n th FF is th input to th othr nos ; :::; p. Figur 3 shows prt of squntil iruit n its onrsion to nt f ; ; 3g in N f. If thr r jnt FFs in th iruit, thn ummy gts n twn jnt FFs. FF prt of squntil iruit 3 nt in N f Figur 3: Exmpl of nt in N f. W n s() to th stg to whih no is ssign in th prtitioning solution. In omintionl iruit or th omintionl prt of squntil iruit, th nos in nt in N must follow th prn onstrints, suh tht if no is th input of u, thn must shul in stg no ltr thn u, i.. s() s(u). If nt n =( ; :::; p) N is ut, suh tht 9 j n, s( ) <s( j), thn (mmory lmnt) is us to stor th lu twn n j (Figur 4). Th output of will stor in th n r y j in ltr miroyl within th urrnt usr lo yl. Thus this is us for ommunition within usr yl. FF 3 C s( ) s( j) PIs POs PIs POs C Mmory Elmnts 3 j Figur : Mol of tim-multiplx ommuniting logi. [] prsnt gt-ll mol for DRFPGA omputtion ll th tim-multiplx ommuniting logi (TMCL) mol (Figur ). This mol onsists of two prts. First, thr is nit st of omintionl logi units (CLUs) fc ;C ; :::; C g, whr h C i ontins st of logi los (.g. LUTs). Sonly, thr is nit st of mmory lmnts (s) fm ;M ; :::; M mg, whih n us to stor lus for ommunition twn th CLUs. A iruit is nt in N Mmory Figur 4: For nt in N, if s( ) < s( j), on mmory lmnt is us to stor th ommunition lu for omintionl nt. For squntil iruit, mmory lmnts r us for
3 pssing lus to irnt miro-yls of th sm usr yl or to th nxt usr yl. Th nos in nt in N f n in ny orr, ut th irnt orring will rsult in iffrnt numr of mmory lmnts rquir. Thr r th following two ss: First, for nt n = ( ; :::; p) N f, if s( ) s( j) ( ; j n), thn is insrt twn n j (Figur 5). Th signl from is stor in th n will not us until th nxt usr yl. Thus this is us for ommunition twn usr lo yls. C Cs( ) s( j ) PIs POs PIs POs j Mmory Figur 5: If s( ) s( j), thn on mmory lmnt is us to stor th ommunition lu. PIs C C j C POs s( ) s( ) m j Mmory Figur 6: If s( ) <s( j), thn two mmory lmnts r us to stor th ommunition lu. Sonly, for nt n N f,ifs( )<s( j)( ; j n), two s must insrt twn n j (Figur 6). This is ll sitution. Two s r n us th rst ts s storg for ommunition within th urrnt usr lo yl. A son (ll s in Figur 6) is n to stor th lu twn usr lo yls. Th n in ny stg ltr thn s( j). Hr w furthr impro th mol in []. Whil [] ssum h nt is two-trminl nt, w onsir th mor gnrl s whr nt n oth two-trminl n multi-trminl nt. This TMCL mol is irnt from th ilinx mol []. In [], no mmory lmnts r n to stor th ommunition lus, n miro-rgistrs r us to s lus to pss to ltr miro-yl or th nxt usr-yl. Eh ut nt, inluing omintionl n squntil nt, must uni-irtionl to stisfy th prn onstrints in orr to gurnt th orrt xution. Howr, in th mol of [], th squntil nts o not n to uni-irtionl, ut th irnt orring of th nos will us irnt ommunition ost. Thrfor, th irnt rhitturs impos irnt onstrints on th prtitioning pross. 3 Prolm Sttmnt A iruit n rprsnt y hyprgrph G =(V; N), whr V is st of nos, N is st of nts whr h nt is sust of nos whih r intronnt, n N = N [ N f. Eh noin V hs n r w(), n th r of sust of V, not y w(), is th totl r of ll th nos in. For nt n = f ; :::; pg with p nos, lt th input to j ( j p), n j ( j p) th output of. If nt only onnts two nos (i.. p = ), thn it is two-trminl nt, if it onnts mor thn two nos (i.. p>), thn it is multi-trminl nt. Bs on th TMCL mol, th prtitioning prolm for ynmilly rongurl FPGAs is to prtition iruit G =(V; N)into non-orlpping susts V ;V ; :::; V, sujt to:. V = [ i=v i;. Prn onstrints, i.. for nt n = f ; :::; pg N,s( )s( j) for j p; 3. Timing onstrint: th numr of lls of nos in ny stg is lss thn D. Th ojti is to:. minimizing th mximum ommunition ost for ny stg;. minimizing th mximum r of ny stg, i.. minimizing mxfw(v i)j i g; Th prn onstrints gurnt th orrtnss of th xution, n th timing onstrint llows th sign to run s fst s possil. Th ommunition ost for stg is th totl numr of mmory lmnts to us y this stg. Th ommunition ost n of nt n is msur s follows. For nt n = f ; :::; pgn,ifitisutsuh tht 9 j, s( ) <s( j), thn th ommunition ost is ; othrwis, if ll th nos in nt n r in th sm stg, thn th ommunition ost is 0. Noti tht th prn onstrints rquir tht s( ) s( j), ; j n. n ; if 9j suh tht s( n = ) <s( j) 0; if ll th nos r in th sm stg For nt n N f, th irnt orring of th nos will rsult in irnt ommunition ost, s isuss in Stion. n ; if s() s( n = j) ; if s( ) <s( j) For -wy prtitioning, it is sirl to ln th totl r mong th stgs so tht th sign n t into smllr i, i.. to h th r of h stg to los to th rg w(v ). W n -oun iprtitioning to prtitioning st of nos V into two susts (; ) so tht w() is s los to s possil, i.. (, ) w() ( + ). is th rition ftor with 0 <,.g. = 0:05. Th -wy prtitioning prolm n ru to ning, -oun iprtitioning. 4 Ntwor-Flow Bs Biprtitioning Ntwor-ow thniqu is wll nown for ning min-ut u to th mx-ow min-ut thorm [5]. FBB [4] ppli
4 rpt mx-ow min-ut omputtion to n min-nt-ut for ln iruit i-prtitioning. But [4] i not onsir th orring of th nos. In our prtitioning prolm, th nos in th sm nt r not symmtri. For omintionl nt in N, th nos must stisfy th prn onstrints. For squntil nt in N f, th orring of nos inuns th numr of mmory lmnts us for ommunition. [6] ppli ntwor-ow thniqu to multi-wy prtitioning for tim-multiplx FPGAs s on th ilinx rhittur []. A nt moling mtho is gin in [6] to uil ntwor G 0 from th ntlist G, so tht min-ut in G 0 orrspons to uni-irtionl nt ut in G stisfying th prn onstrints. Howr, sin th TMCL mol [] us irnt rhittur thn [] for storing th ommunition, th nt moling for squntil iruit in [6] n not ppli hr. In th following stions, w prsnt nt moling for two-trminl n multi-trminl nts in omintionl n squntil iruits s on th TMCL mol. Thn w prsnt ntwor ow s pproh for ning - oun iprtitioning. 4. Nt Moling for Comintionl Ciruit A propr nt moling for omintionl iruits must mt two rquirmnts: () orrtly mols nt ut, so tht nt is ount xtly on if it is ut; () orrtly mols th prn onstrints mong th nos, i.. nt-ut must uni-irtionl. A uni-irtionl ut is two-wy prtitioning (; ) suh tht for ny nt n = f ; :::; pg N, ithr ll th nos in n r in th sm sust, or is in. If w lt n rlir stg thn, thn it is sy to pro tht uni-irtionl ut stiss th prn onstrints. W onstrut ntwor G 0 =(V 0 ;N 0 ) from G y th following nt moling of nt in N (Figur 7). x in G 0 with w(x) =0. A riging g from to x with pity, n g from x to h no j ( j p) with pity. A n g from no j ( j p) to with pity (Figur 7()). Hr w istinguish th nt moling of two-trminl nt n multi-trminl nt, us for two-trminl nts, w fwr numr of gs n nos, whih will ru th siz of th ntwor n sp up th mx-ow omputtion. For h nt, xtly on riging g! x with pity is, n ll th othr gs h pity. Noti tht nos in th sm nt r symmtri, th riging g strts from n thr is n g with pity from j ( j p) to. Aftr th mx-ow omputtion on th onstrut ntwor G 0, for min-ut (; ), ll th forwr gs from to must sturt (i.. ow quls to th pity) n ll th wr gs from to h zro mount ofow. If nt is ut, thn only th riging g! x will th forwr ut g from to, n thrfor must in, whih prsrs th prn onstrints. Sin th pity on th riging g! x is on, th ut nt ontriuts xtly to th totl ut siz. Figur 8 shows n xmpl of how to gt th orrsponing nt ut in G from ut in G 0. Lmm shows th orrtnss of th o nt moling for omintionl iruits. Lmm : Th min-ut siz in G 0 quls to th minimum numr of uni-irtionl ut-nts in G. G G () Figur 8: A ut in G 0 n th orrsponing nt-ut in G () two-trminl nt multi-trminl nt nt moling x nt moling Figur 7: Nt moling for two-trminl nt n multitrminl nt in N.. All th nos in V r in V 0, i.. V V 0, n h no in V 0 hs th sm r s in V.. For two-trminl nt! in N, riging g! in G 0 with pity, n g! in G 0 with pity (Figur 7()). 3. For multi-trminl nt n = f ; :::; pg with p>, lt th input to ll othr nos in n. A no 4. Nt Moling for Squntil Ciruits In squntil iruits, for nts in N, w us th sm nt moling s introu in stion 4.. For nts in N f, th orring of th nos inuns th numr of mmory lmnts, thrfor th ommunition ost. If s( ) s( j) for ; j n, thn on mmory lmnt () will n. If s( ) <s( j), thn two mmory lmnts (s) will us. W wnt to n min-ut whih minimizs th numr of mmory lmnts n. W introu th following nt moling for nts in N f (Figur 9).. For two-trminl nt ( ; ), n g from to with pity, n n g from to with pity (Figur 9()).. For multi-trminl nt n =( ; :::; p), two nos w n w with w(w )=0,w(w )=0. A n g from to w with pity, n n g from w to with pity. A n g from w to h of th no j ( j p) with pity. A n g from h no j ( j p) to w with pity (Figur 9()).
5 () Two-trminl nt Nt moling () G w w G ut-siz= () w w () G w w G ut-siz= Multi-trminl nt Nt moling Figur 9: Nt moling for two-trminl nt n multitrminl nt in N f. For th o nt moling, th irnt orring of th nos will us irnt nt-ut siz, n th ut siz r- ts th ommunition ost. Lmm shows th orrtnss of th o nt moling for nt in N f. Lmm : For nt n = f ; :::; pgn f,if n j, thn th ut-siz is ; if n j, thn th ut siz is. Proof: For two-trminl nt, if n, thn g! will th forwr ut g from to with ut siz, whih is qul to th pity on this g. If n, thn! will th forwr ut g with ut siz. Formulti-trminl nt n N f, if n j, thn sin only! w n w! h pity lss thn in th nt moling, w! will th forwr ut g with w. So th ut siz is. On th othr hn, if n j, thn! w will th forwr ut g from to. Sin th pity on g! w is n th g is sturt ftr th mx-ow omputtion, so th ut siz is in this s. ] Figur 0 shows ut in th onstrut ntwor G 0 n th orrsponing nt ut G. In th xmpl of Figur 0(), if nt n is ut n, thn th riging g! w is ut n th ut siz is whih quls to th pity on!w. Figur 0() shows if, thn th riging g w! will ut n ontriuts to th ut siz. Figur shows ntlist G n th orrsponing ntwor G 0 ftr nt moling of oth nts in N n N f. Noti th nt f; ; g is multi-trminl nt longing to N f oun Biprtitioning By th nt moling, w n uil ntwor G 0 from th ntlist G, thn pply th rpt mx-ow min-ut strtgy similr to th lgorithm in [6] to n n -oun iprtitioning tht minimizs th numr of rossing nts. First, ntwor G 0 is onstrut from G y th nt moling isuss in stions 4. n 4.. Nxt, sour s n sin t is slt. Thn y th mx-ow omputtion, th mximum mount of ow is push from th sour to th sin, n min-ut (; ) is foun in G 0. If (, ) w() ( + ), thn rturn (; ) s th rsult. If w() < (, ), thn nos in r ollps to s n no from is ollps to s, so tht in th nxt itrtion mor ows n push through th ntwor n xplor Figur 0: Th orrsponing ut in th ntwor G 0 n th ntlist G. G G ntlist G FF ntwor G ftr nt moling Figur : Exmpl of nt-moling. irnt nt ut with lrgr r in. If w() > (+), thn ll nos in r ollps to t, n no from is ollps to t. Thn th mx-ow min-ut omputtion rpts until th r w() for sust is within rng. Inrmntl ow thniqu is mploy for int implmnttion. It is not nssry to lult th mx- ow from srth in h itrtion. Only itionl ow is through th ntwor from th sour to th sin to sturt th riging gs uring th mx-ow omputtion. Th tim omplxity for th rpt mx-ow min-ut is symptotilly th sm s on mx-ow omputtion, whih iso(jvjjej). Figur shows n xmpl of ning n -oun iprtitioning with =6. Th gs with no mrings h pity. In th rst itrtion, min-ut is ftr th mx-ow omputtion, n w()=. Thn no is ollps to s (i.. w(s)= now) so tht mor ow n push through th ntwor in th nxt itrtion. In th son itrtion, ftr pushing th mx-ow, th min-ut siz is still n w() = 3. Anothr no from is ollps to n w() = 4. In th thir itrtion, minut is n is ollps to t with w() =3. In th nxt itrtion, ftr pushing mor ow through th ntwor, minut is n rhs th r limit with w() =5. So (; ) forms n -oun min-ut with ut siz. W n thn n th orrsponing nt ut in th originl ntlist G. 5 Multi-wy Prtitioning To prtition ntlist into ( > ) stgs for ynmilly rongurl FPGA, w rptly pply th ntwor-ow s iprtitioning lgorithm, tims to prtition th ntlist into stgs. Sin th lngth of th ritil pth is usully longr thn th numr of stgs, thr will mor thn on lls of
6 s s 4 Itrtion t t s s 4 Itrtion 3 Itrtion 4 3 t Itrtion min-ut siz = Figur : Exmpl of -oun iprtitioning. nos in on stg. Lt pth th numr of lls of nos on th ritil pth in th ntlist. Whn prtitioning into stgs, th numr of lls in on stg n D = pth in orr to m th sign s fst s possil. If th timing onstrint for h stg is nown priori, thn th mximum numr of lls in on stg n lult oringly. Bsis minimizing th ommunition ost, our ojti lso inlus minimizing th mximum numr of nos in ny stg in orr to llow th sign to t into smllr physil FPGA. It is sirl to m h stg h r s los to th rg, w(v ), s possil (i.. = w(v ) ). Our strtgy is to rst pply th As-Soon-As-Possil (ASAP) n As-Lt-As-Possil (ALAP) shuling to ssign h no rng of fsil stgs. Thn th nos on th ritil pths r x to rtin stgs, n thos nos on th shortr pths h th xiility to put in mor thn on stg. Ntwor ow s -oun iprtitioning is itrtily ppli to prtition ths xil nos twn stg i n i + (i<), with th ojti of minimizing th ommunition ost n lning th numr of nos in h stg s wll. Du to th prn onstrints, th x nos will sr s sour n sin whn prtitioning th xil nos. Th prtitioning pross of Algorithm hs four mjor stps. Stp : prform As-Soon-As-Possil (ASAP) n As- Lt-As-Possil (ALAP) shuling. In th ASAP shuling, h no is ssign to th rlist possil stg y rth srh. In th ALAP shuling, h noiss- sign to th ltst possil stg. Lt AS(), AL() th rlist n ltst stg for no. If AS() = AL() = j, thn must shul in stg j. W ll s x no. If AS() < AL(), thn n ssign to ny stg from AS() toal(). W ll s xil no. t Stp : lt P i th sust of nos x to stg i ( i ), i.. P i = fjas() =AL() =ig. Assign ll th nos in P i to stg i. Th othr unssign nos r th xil nos whih n put in mor thn on stg. In our prtitioning pross, th gol is to ssign stg for h of th xil no whil lning th numr of nos in h stg n minimizing th nt-ut siz twn th stgs. Stp 3: itrtily ll th ntwor-ow s iprtitioning lgorithm to prtition th xil nos twn stgs i n i + ( i<). For th i-th itrtion, th tils of th prtitioning pross r s follows. Algorithm Ntwor-ow s multi-wy prtitioning for DRFPGAs gin. prform ASAP n ALAP shuling; for h no, lt AS() th rlist stg y th ASAP shuling; lt AL() th ltst stg y th ALAP shuling;. for i =too P i = fjas() =AL() =ig; for i =too ssign ll nos in P i to stg i; 3. for i =to,o gin 3.. F = fjas() i; n is unssigng; 3.. sour s =([ i, j= Vj) [ Pi, n w(s) =w(pi); sin no t = fjas() >ig, n w(t) =w(p i+); 3.3. onstrut ntwor F 0 from F [ s [ t y nt moling; 3.4. n n -oun iprtitioning (; ) inf 0 ; 3.5. ssign nos in to stg i, lt V i = P i [ (, s); 3.6. for F with AL() =i+, ssign to stg i +; n 4. Optimlly trmin th lotions of th 's. n In stp 3., ll th xil nos tht n put in stg i form sust F = fjas() i; n is unssigng. Noti tht nos in F n ithr put in stg i or i +. This stp gurnts tht no no is ssign to stg rlir thn AS(). In stp 3., th sour s n sin t of th ntwor r i. Th sour is sust of nos with s =([ i, j=vj) [ Pi n w(s) =w(pi). Th sour s ontins ll th nos ssign to stgs prior to i n th x nos in P i. Th sin t = fjas() >ign w(t) =w(p i+). t ontins nos whih n only put in stg ltr thn i. In stp 3.3, ntwor F 0 is onstrut from F [ s [ t y th nt moling. In stp 3.4, th -oun iprtitioning lgorithm is ppli on F 0 to n min-ut (; ). Thn in stp 3.5, th nos in r ssign to stg i, suh tht V i = P i [ (, s). Nxt in stp 3.6. ll th unssign nos with AL() =i+ r ssign to stg i +, i.. P i+ = P i+ [fjal() =i+g. This stp is to gurnt tht ny noshoul ssign to stg no ltr thn AL(). Thn i is inrmnt y n ontrol gos to stp 3. to strt th nxt itrtion. Sin th nos on th ritil pth r x to stg for th prtitioning pross, thrfor P i 6=, n th sour s n sin t r nown in h itrtion. With x sour n sin, th ntwor-ow s pproh is pl of ning goo min ut. Stp 4: ftr th -wy prtitioning is on, th lotions of th 's ( sitution) r trmin. Th 's r ssign to stg whih will minimlly inrs th numr of s n. This n optimlly sol y th mx-ow s lgorithm [].
7 By Lmm, it is sy to pro tht th prtitioning solution of Algorithm stiss th prn onstrints mong ll th nos. Th following Lmm 3 shows tht Algorithm lso stiss th timing onstrint. Gin th mximum numr of lls in h stg, AS() n AL() r th rlist n ltst stg tht no n ssign in y th ASAP n ALAP shuling. To stisfy th timing onstrint, must in stg within th rng of [AS();AL()]. Lmm 3: Th prtitioning solution of Algorithm stiss th timing onstrint, suh tht for ny no, AS() s() AL(). Proof: In AS() =AL() =j, thn P j, is x to stg j n AS() =s()=al(). If AS() <AL(), is xil no, y th onstrution of F in stp 3.3, is in F only in th i-th itrtion whn AS() i, n n only ssign to stg ithr in stp 3.5 or 3.6. If, thn is ssign to stg i in stp 3.5, ls is ssign to stg AL() y stp 3.6. In oth ss, AS() s(). Stp 3.6 gurnts tht is ssign to stg no ltr thn AL(), so s() AL(). Thrfor, AS() s() AL(). ] Th ASAP n ALAP shuling in stp ts O(jV j) tim. Eh itrtion in stp 3 ts O(jV jjej) tim, so th tim omplxity for th, itrtions is O(jV jjej). Th tim omplxity for Algorithm is O(jV jjej). Tl : Chrtristis of th ntlists in our xprimnt Ciruit # LUT # DFF # Nts Dpth s s s s s s s Exprimntl Rsults W implmnt lgorithm in C++ on Intl Pntium- Pro of 00Mz with 3MB mmory, n xprimnt on th sm ntlists s in []. Ths ntlists r ri y thnology-mpping th ISCAS'89 squntil nhmr iruits into 4-LUTs. Tl shows th hrtristi of ths ntlists. Columns to 4 show th numr of LUTs, FFs n nts in h ntlist. In olumn 5, pth rfrs to th numr of lls of nos on th ritil pth. In th xprimnt, w prform multi-wy prtitioning into, 4 n 8 stgs. W x th numr of lls in h stg to pth with ing th numr of stgs. In Tl, w ompr th ommunition ost with tritionl for-irt shuling (FDS) n nhn for-irt shuling (FDS) [] whn prtitioning into 8 stgs. T CM is th mximum numr of s rquir for ny stg. Noti tht in our lgorithm, th LUTs r ln mong th stgs. Tl lso shows th CPU tim of Algorithm. From th xprimnt, our ntwor-ow s mtho outprforms oth th FDS n nhn FDS mthos, with n rg impromnt of 4.5% n 5% rsptily. Tl 3 omprs th ommunition ost of Algorithm with th nhn FDS mtho [] whil prtitioning into, 4 n 8 stgs. Our mtho onsistntly prforms ttr, with n rg impromnt of4.0%, 0.5% n 5.4% rsptily. Sin our nt moling os not for th sitution, our xprimnts lso show tht th numr of 's is rltily low n usully os not to th orll ommunition ost. Th xprimntl rsults show tht with propr nt moling, ntwor-ow s prtitioning pproh n hnl th shuling tss. Th nt moling orrtly mols th prn onstrints in omintionl iruits, n th ut-siz rts th ommunition ost in oth omintionl n squntil iruits. Th itrti mx-ow min-ut omputtion lns th numr of nos in h stg. 7 Conlusion Dynmilly rongurl FPGAs (DRFPGA) h th potntil to rmtilly impro logi nsity y timshring logi, n h om n ti rsrh for ron- gurl omputing. Th irnt DRFPGA rhitturs impos irnt rquirmnt on th prtitioning prolm. W prsnt ntwor-ow s mtho for multi-wy prtitioning for ynmilly rongurl FPGAs s on th TMCL mol in []. W rst gi nt moling for oth omintionl n squntil iruits so tht y th mx-ow omputtion on th onstrut ntwor, th minut siz rts th numr of ommunition rquir. W thn prsnt rpt mx-ow min-ut s pproh to n n -oun iprtitioning. Algorithm itrtily pplis th iprtitioning lgorithm to n multi-wy prtitioning. Th xprimnts show tht th ntwor-ow s lgorithm outprforms th nhn for-irt shuling mtho []. 8 Anowlgmnt W thn Dr. Dougls Chng for inly proiing us with th t for th xprimnt. Rfrns [] St Trimrgr, \Shuling Dsigns into Tim- Multiplx FPGA", Intrntionl Symposium on Fil Progrmml Gt Arrys, F, 998. [] Dougls Chng n Mlgorzt Mr-Sows, \Prtitioning Squntil Ciruits on ynmilly Rongurl FPGAs", Intrntionl Symposium on Fil Progrmml Gt Arrys, F, 998. [3] Dougls Chng n Mlgorzt Mr-Sows, \Bur Minimiztion n Tim-multiplx I/O on Dynmilly Rongurl FPGAs", Intrntionl Symposium on Fil Progrmml Gt Arrys, F., 997. [4] Ssn Imn, Mssou Prm, Chrls Fin n Json Cong, \Fining Uni-Dirtionl Cuts Bs on Physil Prtitioning n Logi Rstruturing", 4th Intrntionl worshop on physil sign, 993.
8 Tl : Compring prtitioning rsults with FDS n nhn FDS (FDS) FDS FDS[] ours Imp. or Imp. or Ciruit T CM T CM T CM FDS FDS CPU(s.) s %.4% 0.7 s % 0.0% 0.09 s % 7.9% 0.5 s % 6.7% 0.8 s %.% 5.56 s % 5.% 9.63 s % 4.6%.3 Arg 4.5% 5.4% Tl 3: Compring th ommunition ost with nhn FDS (FDS) T CM (n =) T CM (n =4) T CM (n =8) Ciruit FDS[] ours Imp. FDS[] ours Imp. FDS[] ours Imp. s % % % s % % % s % % % s % % % s % % % s % % % s % % % Arg 4.0% 0.5% 5.4% [5] J.R. For n D.R. Fulrson, \Flows in Ntwors", Printon Unirsity Prss, 96. [6] N.B. Bht, K. Chuhry n E.S. Kuh, \Prformnorint fully routl ynmi rhittur for l progrmml logi i", Mmornum No. UCB/ERL M93/4, unirsity of Cliforni, Brly, 993. [7] Jrmy Brown, Drri Chn, t l. \DELTA: Prototyp for rst- gnrtion ynmilly progrmml gt rry", Trnsit Not, MIT, 995. [8] Anr DHon, \DPGA-oupl miroprossors: Commoity ICs for th rly st ntury", In IEEE Worshop on FPGAs for Custom Computing Mhins, 994. [9] D. Jons n D.M. Lwis, \A tim-multiplx FPGA rhittur for logi multion", In IEEE Custom Intgrt Ciruits Confrn, 995. [0] R. S. Tsy, E. S. Kuh n C. P. Hsu, \Prou: A sof-gts plmnt lgorithm.", in Proings of th IEEE Intrntionl Confrn on Computr Ai Dsign, pp38-33, No [] M. R. Gry n D. S. Johnson, Computrs n Intrtility: A Gui to th Thory of NP- Compltnss, W. H. Frmn n Compny, 979. [] C. M. Fiui n R. M. Mtthyss, \A linr-tim huristi for improing ntwor prtitions", In Proings of th 9th Dsign Automtion Confrns, pp 75-8, Jun 98. [3] B. W. Krnighn n S. Lin, \An int huristi prour for prtitioning grphs", IEEE Trnstion on Computrs, pp , No [4] Honghu Yng n D. F. Wong, \Eint Ntwor Flow Bs Min-Cut Bln Prtitioning", Pro. IC- CAD, 994. [5] ilinx, Th Progrmml Logi Dt Boo, 996. [6] Huiqun Liu n D. F. Wong, \Ntwor ow s iruit prtitioning for tim-multiplx FPGAs", Intrntionl Confrn on Computr Ai Dsign, Sn Jos, CA, No. 998.
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 informationAlgorithmic 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 informationAn 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(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 informationCSE 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 informationWhy 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 informationV={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, 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 informationV={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 informationPlanar 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 information12. 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 informationPaths. 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 informationOutline. 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 information12/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 information5/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 informationMath 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 informationExam 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 informationCSE 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 informationA 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 informationCSE 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 informationRegister Allocation. Register Allocation. Principle Phases. Principle Phases. Example: Build. Spills 11/14/2012
Rgistr Allotion W now r l to o rgistr llotion on our intrfrn grph. W wnt to l with two typs of onstrints: 1. Two vlus r liv t ovrlpping points (intrfrn grph) 2. A vlu must or must not in prtiulr rhitturl
More informationCOMPLEXITY 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 informationGraph 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 informationModule 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 informationOutline. 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 informationSection 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 informationSimilarity 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 informationCOMP108 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 informationb. 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 informationOutline. 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 informationGraphs. 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 informationConstructive 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 informationGraphs. 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 informationa b v a v b v c v = a d + bd +c d +ae r = p + a 0 s = r + b 0 4 ac + ad + bc + bd + e 5 = a + b = q 0 c + qc 0 + qc (a) s v (b)
Outlin MULTIPLE-LEVEL LOGIC OPTIMIZATION Gionni D Mihli Stnfor Unirsit Rprsnttions. Tonom of optimition mthos: { Gols: r/l. { Algorithms: lgri/booln. { Rul-s mthos. Empls of trnsformtions. Booln n lgri
More informationCycles 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 informationGarnir 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 informationCS 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 informationECE 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 informationCS200: 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 informationComputational Biology, Phylogenetic Trees. Consensus methods
Computtionl Biology, Phylognti Trs Consnsus mthos Asgr Bruun & Bo Simonsn Th 16th of Jnury 2008 Dprtmnt of Computr Sin Th univrsity of Copnhgn 0 Motivtion Givn olltion of Trs Τ = { T 0,..., T n } W wnt
More information0.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 informationCS 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 information1 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 informationAnnouncements. 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 informationSolutions 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 informationA 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 informationPresent 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 informationProblem 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 informationUsing 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 informationClustering for Processing Rate Optimization
Clustring for Prossing Rt Optimiztion Chun Lin, Ji Wng, n Hi Zhou Eltril n Computr Enginring Northwstrn Univrsity Evnston, IL 60208 Astrt Clustring (or prtitioning) is ruil stp twn logi synthsis n physil
More informationMulti-Way VLSI Circuit Partitioning Based on Dual Net Representation
Multi-Wy VLSI Ciruit Prtitioning Bs on Dul Nt Rprsnttion Json Cong Dprtmnt of Computr Sin Univrsity of Cliforni, Los Angls, CA 90024 Wilurt Lio n Nrynn Shivkumr Dprtmnt of Computr Sin Stnfor Univrsity,
More informationCS 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 informationECE 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 information5/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(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 informationCS61B 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 informationAquauno Video 6 Plus Page 1
Connt th timr to th tp. Aquuno Vio 6 Plus Pg 1 Usr mnul 3 lik! For Aquuno Vio 6 (p/n): 8456 For Aquuno Vio 6 Plus (p/n): 8413 Opn th timr unit y prssing th two uttons on th sis, n fit 9V lklin ttry. Whn
More informationWeighted graphs -- reminder. Data Structures LECTURE 15. Shortest paths algorithms. Example: weighted graph. Two basic properties of shortest paths
Dt Strutur LECTURE Shortt pth lgorithm Proprti of hortt pth Bllmn-For lgorithm Dijktr lgorithm Chptr in th txtook (pp ). Wight grph -- rminr A wight grph i grph in whih g hv wight (ot) w(v i, v j ) >.
More informationPartitioning Algorithms. UCLA Department of Computer Science, Los Angeles, CA y Cadence Design Systems, Inc., San Jose, CA 95134
On Implmnttion Chois for Itrtiv Improvmnt Prtitioning Algorithms Lrs W. Hgn y, Dnnis J.-H. Hung n Anrw B. Khng UCLA Dprtmnt of Computr Sin, Los Angls, CA 90024-1596 y Cn Dsign Systms, In., Sn Jos, CA 95134
More information12 - M G P L Z - M9BW. Port type. Bore size ø12, ø16 20/25/32/40/50/ MPa 10 C to 60 C (With no condensation) 50 to 400 mm/s +1.
ris - MP - Compt gui ylinr ø, ø, ø, ø, ø, ø, ø, ø ow to Orr Cln sris lif typ (with spilly trt sliing prts) Vuum sution typ (with spilly trt sliing prts) ir ylinr otry tutor - M P - - MW ll ushing ring
More informationDesigning A Concrete Arch Bridge
This is th mous Shwnh ri in Switzrln, sin y Rort Millrt in 1933. It spns 37.4 mtrs (122 t) n ws sin usin th sm rphil mths tht will monstrt in this lsson. To pro with this lsson, lik on th Nxt utton hr
More informationThe 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 informationDesign 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 informationClustering 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 informationAnalysis for Balloon Modeling Structure based on Graph Theory
Anlysis for lloon Moling Strutur bs on Grph Thory Abstrt Mshiro Ur* Msshi Ym** Mmoru no** Shiny Miyzki** Tkmi Ysu* *Grut Shool of Informtion Sin, Ngoy Univrsity **Shool of Informtion Sin n Thnology, hukyo
More informationNumbering 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 informationCS553 Lecture Register Allocation I 3
Low-Lvl Issus Last ltur Intrproural analysis Toay Start low-lvl issus Rgistr alloation Latr Mor rgistr alloation Instrution shuling CS553 Ltur Rgistr Alloation I 2 Rgistr Alloation Prolm Assign an unoun
More informationarxiv: 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 informationMore 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 informationAnnouncements. These are Graphs. This is not a Graph. Graph Definitions. Applications of Graphs. Graphs & Graph Algorithms
Grphs & Grph Algorithms Ltur CS Fll 5 Announmnts Upoming tlk h Mny Crrs o Computr Sintist Or how Computr Sin gr mpowrs you to o muh mor thn o Dn Huttnlohr, Prossor in th Dprtmnt o Computr Sin n Johnson
More informationEE1000 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 informationRegister 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 informationlearning 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 informationQUESTIONS 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 informationXML 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 informationWeighted Graphs. Weighted graphs may be either directed or undirected.
1 In mny ppltons, o rp s n ssot numrl vlu, ll wt. Usully, t wts r nonntv ntrs. Wt rps my tr rt or unrt. T wt o n s otn rrr to s t "ost" o t. In ppltons, t wt my msur o t lnt o rout, t pty o ln, t nry rqur
More informationOutline. 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 informationSeven-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 informationNew 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 informationRAM Model. I/O Model. Real Machine Example: Nehalem : Algorithms in the Real World 4/9/13
4//3 RAM Mol 5-853: Algorithms in th Rl Worl Lolity I: Ch-wr lgorithms Introution Sorting List rnking B-trs Bur trs Stnr thortil mol or nlyzing lgorithms: Ininit mmory siz Uniorm ss ost Evlut n lgorithm
More informationDUET WITH DIAMONDS COLOR SHIFTING BRACELET By Leslie Rogalski
Dut with Dimons Brlt DUET WITH DIAMONDS COLOR SHIFTING BRACELET By Lsli Roglski Photo y Anrw Wirth Supruo DUETS TM from BSmith rt olor shifting fft tht mks your work tk on lif of its own s you mov! This
More informationPage 1. Question 19.1b Electric Charge II Question 19.2a Conductors I. ConcepTest Clicker Questions Chapter 19. Physics, 4 th Edition James S.
ConTst Clikr ustions Chtr 19 Physis, 4 th Eition Jms S. Wlkr ustion 19.1 Two hrg blls r rlling h othr s thy hng from th iling. Wht n you sy bout thir hrgs? Eltri Chrg I on is ositiv, th othr is ngtiv both
More information16.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 informationQUESTIONS 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 informationA 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 informationCS553 Lecture Register Allocation 1
Low-Lvl Issus Lst ltur Livnss nlysis Rgistr llotion Toy Mor rgistr llotion Wnsy Common suxprssion limintion or PA2 Logistis PA1 is u PA2 hs n post Mony th 15 th, no lss u to LCPC in Orgon CS553 Ltur Rgistr
More informationMULTIPLE-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 informationMultipoint 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 informationGraph 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# 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 informationS i m p l i f y i n g A l g e b r a SIMPLIFYING ALGEBRA.
S i m p l i y i n g A l g r SIMPLIFYING ALGEBRA www.mthltis.o.nz Simpliying SIMPLIFYING Algr ALGEBRA Algr is mthmtis with mor thn just numrs. Numrs hv ix vlu, ut lgr introus vrils whos vlus n hng. Ths
More informationEfficient Broadcast in MANETs Using Network Coding and Directional Antennas
Effiint Brost in MANETs Using Ntwork Coing n Dirtionl Antnns Shuhui Yng Dprtmnt of Computr Sin Rnsslr Polythni Institut Troy, NY 28 Ji Wu n Mihl Cri Dprtmnt of Computr Sin n Enginring Flori Atlnti Univrsity
More informationMAT3707. 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 information5/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 informationDecimals 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 informationImproving Union. Implementation. Union-by-size Code. Union-by-Size Find Analysis. Path Compression! Improving Find find(e)
POW CSE 36: Dt Struturs Top #10 T Dynm (Equvln) Duo: Unon-y-Sz & Pt Comprsson Wk!! Luk MDowll Summr Qurtr 003 M! ZING Wt s Goo Mz? Mz Construton lortm Gvn: ollton o rooms V Conntons twn t rooms (ntlly
More informationChapter 9. Graphs. 9.1 Graphs
Chptr 9 Grphs Grphs r vry gnrl lss of ojt, us to formliz wi vrity of prtil prolms in omputr sin. In this hptr, w ll s th sis of (finit) unirt grphs, inluing grph isomorphism, onntivity, n grph oloring.
More informationSection 3: Antiderivatives of Formulas
Chptr Th Intgrl Appli Clculus 96 Sction : Antirivtivs of Formuls Now w cn put th is of rs n ntirivtivs togthr to gt wy of vluting finit intgrls tht is ct n oftn sy. To vlut finit intgrl f(t) t, w cn fin
More informationLecture 20: Minimum Spanning Trees (CLRS 23)
Ltur 0: Mnmum Spnnn Trs (CLRS 3) Jun, 00 Grps Lst tm w n (wt) rps (unrt/rt) n ntrou s rp voulry (vrtx,, r, pt, onnt omponnts,... ) W lso suss jny lst n jny mtrx rprsntton W wll us jny lst rprsntton unlss
More informationMath 166 Week in Review 2 Sections 1.1b, 1.2, 1.3, & 1.4
Mt 166 WIR, Sprin 2012, Bnjmin urisp Mt 166 Wk in Rviw 2 Stions 1.1, 1.2, 1.3, & 1.4 1. S t pproprit rions in Vnn irm tt orrspon to o t ollowin sts. () (B ) B () ( ) B B () (B ) B 1 Mt 166 WIR, Sprin 2012,
More information