Bi-decomposition of large Boolean functions using blocking edge graphs

Size: px
Start display at page:

Download "Bi-decomposition of large Boolean functions using blocking edge graphs"

Transcription

1 Bi-eomposition of lrge Boolen funtions using loking ege grphs Mihir Chouhury n Krtik Mohnrm Deprtment of Eletril n Computer Engineering, Rie University, Houston {mihir,kmrm}@rie.eu Astrt Bi-eomposition tehniques hve een known to signifintly reue re, ely, n power uring logi synthesis sine they n explore multi-level n, or,n xor eompositions in slle tehnology-inepenent mnner. The omplexity of i-eomposition tehniques is in hieving goo vrile prtition for the given logi funtion. Stte-of-the-rt tehniques use heuristis n/or rute-fore enumertion for vrile prtitioning, whih results in su-optiml results n/or poor slility with funtion omplexity. This pper esries fst, slle lgorithm for otining provly optimum vrile prtitions for i-eomposition of Boolen funtions y onstruting n unirete grph lle the loking ege grph (BEG). To the est of our knowlege, this is the first lgorithm tht emonstrtes systemti pproh to erive isjoint n overlpping vrile prtitions for i-eomposition. Sine BEG hs only one vertex per input, our tehnique sles to Boolen funtions with hunres of inputs. Results inite tht on verge, BEG-se i-eomposition reues the numer of logi levels (mppe ely) of 16 enhmrk iruits y 60%, 34%, 45%, n 30% (20%, 19%, 16% n 20%) over the est results of stte-ofthe-rt tools FBDD, SIS, ABC, n n inustry-stnr synthesizer, respetively. 1. Introution Deomposition of Boolen funtions is well-reserhe re with work tht n e tre k to the 1950s. Deomposition is n importnt step uring logi synthesis euse it n signifintly reue the re, ely, n power of the finl esign [1, 2]. As esigns inrese in size n omplexity, logi synthesis lgorithms fvore eomposition tehniques se on lol trnsformtions to ensure slility to lrge iruits. Although tehniques se on lol trnsformtions re fst, they explore only smll spe of lterntives n re lso onstrine y the struture of the initil netlist. In ontrst, funtionl eomposition tehniques re lss of eomposition tehniques tht reursively eompose nonil representtion of the given funtion into smller su-funtions. Sine they mnipulte iruits t the funtionl level n o not epen on the strting netlist, they n explore lrger spe of options n hve een shown to signifintly reue the re, ely, n power of logi iruits. Bi-eomposition, form of funtionl eomposition wherein funtion is reursively eompose into two smller funtions, is n effetive eomposition tehnique sine it n e use to explore multi-level n, or, n xor eompositions. Bi-eomposition tehniques rely on the ility to split the given logi funtion into two funtions tht epen on fewer input vriles. Sine the vrile prtition n signifintly impt the qulity of the eomposition, etermining goo vrile prtition is not only the most This reserh ws supporte in prt y NSF grnt CCF n in prt y gift from Fujitsu Lortories of Ameri. importnt, ut lso the most omputtionlly intensive step uring i-eomposition. Although tehniques for otining vrile prtition using the struturl properties of inry eision igrm (BDD) whih is nonil representtion for the given logi funtion hve een propose [3, 4], they re memory intensive n very sensitive to the vrile orer of the BDD use to extrt the vrile prtition. Other i-eomposition lgorithms suh s [5] otin vrile prtition using heuristis n/or rutefore enumertion of vrile prtitions, whih ompromises solution qulity n/or offers poor slility. Although the use of SAT solver ouple with interpoltion tehniques [6] hs een propose to reue the runtimes for vrile prtitioning, there is no ontrol over the qulity of the vrile prtition otine using suh pprohes. This pper esries fst, slle lgorithm for otining provly optimum vrile prtitions for i-eomposition of Boolen funtions y onstruting n unirete grph lle the loking ege grph (BEG). To the est of our knowlege, this is the first lgorithm tht emonstrtes systemti pproh to erive isjoint n overlpping vrile prtitions for the i-eomposition of logi funtion. Given logi funtion f with n inputs, we show tht simple pirwise vrile o-ftoring informtion n e use to erive neessry n suffiient onition for pir of vriles to our in the sme prtition of i-eomposition. Bse on this onition, BEG is onstrute to evlute potentil n, or,nxor i-eompositions of the logi funtion. We show tht funtion is i-eomposle iff the BEG for either n n, or, orxor i-eomposition is not omplete grph. For i-eomposle funtions, we show tht isjoint n overlpping vrile prtitions n e extrte y nlyzing the vertex uts of the BEG. We extrt vrile prtitions from BEGs to minimize two ommonly use metris tht hve een known to proue iruits with smll re, ely, n power footprint: (i) the totl numer of vriles in the prtitions n (ii) the size of the lrgest prtition. The vrile prtitions n e prove to e optiml with respet to oth these metris when they re otine from the minimum vertex uts of the BEG. Sine BEG hs only one vertex per input of the funtion, our vrile prtitioning tehnique is slle to funtions with severl hunre inputs. Further, the BEGs n lso e use to ientify funtions tht re not i-eomposle. In suh ses, we esrie eomposition tehnique se on relxing the originl funtion to mke it i-eomposle. Results inite tht on verge, BEG-se i-eomposition reues the numer of logi levels (mppe ely) of 16 enhmrk iruits y 60%, 34%, 45%, n 30% (20%, 19%, 16% n 20%) over the est results of stte-of-the-rt tools FBDD, SIS, ABC, n n inustrystnr synthesizer, respetively. This pper is orgnize s follows. Setion 2 esries vrile prtitioning se on BEGs. Setion 3 esries funtion ieomposition se on the vrile prtition ientifie using BEGs. Setion 4 presents results n Setion 5 is onlusion /10/$ IEEE 586

2 2. Bi-eomposition using loking ege grphs A funtion f of n vriles is lle i-eomposle if it n e eompose into two logi funtions, eh of whih epens on less thn n vriles. The two smller eompose funtions re omine using two-input logi funtion. All two-input funtions n e reue to n, or, n xor opertions upto omplementtion of inputs/output. Sine ny iruit with two-input gtes n e reue to iruit with n, or, nxor gtes y uling inverters own to the primry inputs, i-eomposition tehniques onsier only n, or, n xor i-eompositions of logi funtion. Sine n n or re ul opertions, we otin n n i-eomposition for f from n or i-eomposition of f y swpping the off-set n the on-set of f in this pper. Bi-eomposition tehniques otin smller eompose funtions y first otining vrile prtition of the vrile set, V, of the given funtion f. A vrile prtition onsists of two vrile sets V 1 n V 2, suh tht V 1 < V n V 2 < V. A vrile prtition is isjoint if V 1 V 2 = φ, otherwise the vrile prtition is overlpping. Vrile prtitions epen on the type of i-eomposition n, or,orxor tht we seek for the given logi funtion f. Hene, the most importnt n omputtionlly intensive step uring i-eomposition involves etermining the kin of eomposition n the vrile prtition for the given logi funtion. Our tehnique uses unirete grphs lle loking ege grphs (BEGs) to extrt vrile prtitions for n, or, nxor ieompositions of logi funtion. In this setion, we first esrie neessry n suffiient onition, referre to s the loking onition, for pir of vriles to e in the sme vrile prtition of n n, or, orxor i-eomposition of f. We then esrie the steps for onstruting seprte BEGs for n, or, nxor i-eompositions of logi funtion se on the loking onition. Finlly, we show how vrile prtitions for n, or, n xor i-eompositions n e extrte from the BEGs. 2.1 Bloking onition For pir of input vriles, {i, j}, given 0/1 ssignment of the vriles in V \{i, j}, the K-mp of f n e restrite to 2 2 overing the four ells i j, ij, ij, n ij. There re 2 n s ssoite with the vrile pir {i, j}, one for eh 0/1 ssignment of vriles in V \{i, j}. We lssify the 2 2 s into 6 types se on the vlue of f in the four ells (see Fig. 1): (i) zero with ll four ells ssigne 0, (ii) n with three ells ssigne 0, (iii) literl with two jent ells ssigne to 0, (iv) xor with ny two non-jent ells ssigne to 0, (v) or with three ells ssigne to 1, n (vi) one with ll four ells ssigne to 1. Note tht lthough Fig. 1 shows only one 2 2 for eh type, there re 4 ifferent n s, 4 ifferent or s, 4 ifferent literl s, n 2 ifferent xor s for totl of s. Given logi funtion, f, of n vriles n input vrile set, V ( V = n), vrile prtition, V 1 n V 2,off seprtes pir of vriles {i, j} if i V 1\V 2 n j V 2\V 1. Bse on the types of 2 2 s in f ssoite with pir of vriles {i, j}, we now esrie the loking onition for {i, j} in n n, or, n xor i-eomposition of f. For n n i-eomposition of f, no vrile prtition n seprte the vrile pir {i, j} iff there is t lest one or/xor 2 2 in f ssoite with {i, j}, i.e., or/xor 2 2 s lok the seprtion of i n j for n n i-eomposition of f. Similrly, n/xor 2 2 s lok the seprtion of i n j in n or i-eomposition n n/or 2 2 s lok the seprtion of i n j in n xor i-eomposition of f. The zero, one, n literl s re non-loking for n, or,nxor eompositions. The loking onition for n, or, nxor i-eompositions re summrize in Figure 1. The proof for the loking onition is omitte for revity. Bse on the loking onition, we will now esrie tehnique for extrting vrile prtitions y onstruting BEG for n, or, n xor i-eompositions. j 0 1 i 0 1 AND Non-loking for AND Non-loking for XOR Zero 0 1 Literl XOR One OR 1 1 Non-loking for OR Figure 1: Non-loking s for n, or, nxor ieompositions 2.2 Construting BEGs A BEG hs one vertex for eh input vrile of f. Hene, we will use V to enote oth the input vrile set of f n the vertex set of its BEG. In the BEG of n n eomposition, n ege is inserte etween verties i n j if the loking onition for n n eomposition hols for the vrile pir {i, j}. Similrly, n ege is inserte in the BEG of n or (xor) eomposition if the loking onition for n or (xor) eomposition is stisfie for the vrile pir {i, j}. Thus, n ege {i, j} in BEG mens tht no vrile prtition n seprte vrile i n vrile j. For logi funtion f with n vriles, there re `n 2 2n s, i.e., 2 n s for eh of the `n 2 vrile pirs. We hve evelope n effiient lgorithm for nlyzing the types of these `n 2 2n s to enle fst onstrution of the BEGs for n, or, nxor i-eompositions. Denote the off-set n on-set of logi funtion f y f 0 n f 1, respetively. Let the funtion x {i,j} of n 2 vriles in V \{i, j} represent ll 2 2 xor s ssoite with {i, j}, i.e., eh minterm in x {i,j} is 2 2 xor ssoite with {i, j}. Similrly, let {i,j} n o {i,j} represent the n n or s ssoite with {i, j}, respetively. The funtion x {i,j} n e ompute s follows: x {i,j} = i j `y1 z 1 (1) where y 1 = f 0 i f i 1 + fi 0 f 1 i n z1 = f 0 j f j 1 + fj 0 f 1 j If x {i,j} is not zero, then there re xor s ssoite with {i, j} n hene, ege {i, j} is e in the BEG for the n n or i-eompositions. Next, the funtions {i,j} n o {i,j} n e ompute using funtions y 1 n z 1 from Eqn. 1 s follows: {i,j} =( i j(f 1 y 1 z 1 )) (u v) o {i,j} =( i j(f 0 y 1 z 1 )) (u v) where y 0 = f 0 i f i 0 + fi 1 f 1 i, z0 = f 0 j f j 0 + fj 1 f 1 j, u = yj 0 y 1 j + y1 j y 0 j,nv = z0 i z 1 i + z1 i z 0 i If {i,j} is not zero, then there re n s ssoite with {i, j} n hene, ege {i, j} is e in the BEG for the or n xor i-eompositions. Similrly, if o {i,j} is not zero, then there (2) 587

3 re or s ssoite with {i, j} n hene, ege {i, j} is e in the BEG for the n n xor i-eompositions. The BEG for n, or, n xor i-eompositions is onstrute y omputing x {i,j}, {i,j},no {i,j} using Equtions 1 n 2 for every pir of vriles {i, j}. The lrgest funtion we hve onsiere hs 149 vriles n the CPU time require for onstruting thebegfor the n, or,n xor i-eompositions of this funtion is 218 ses. 2.3 Vrile prtition In this setion, we will show tht the vrile prtitions of logi funtion for the n, or, n xor i-eompositions n e otine y nlyzing the onnetivity of the BEGs. First, we provie neessry n suffiient onition for the i-eomposility of funtion. Theorem 1: A logi funtion f is not i-eomposle iff the BEG for the n, or,nxor i-eompositions re omplete grphs. Proof: The proof is omitte here for revity. Theorem 1 sttes tht the i-eomposility of funtion f n e esily etermine using BEGs. In the rest of this setion, we esrie how vrile prtitions n e otine for i-eomposle funtions. We will esrie our solution for eomposing funtions tht re not i-eomposle in Setion 3.2. However, we first esrie two ommonly use metris use to mesure the qulity of vrile prtition, V 1 n V 2, of logi funtion f with vrile set V, V = n. Totl vrile ount (Σ): The totl vrile ount, V 1 + V 2, n rnge from n (for isjoint eomposition) to 2n 2 (for n overlpping eomposition with n 2 ommon vriles n one unique vrile per prtition). Vrile prtitions with lower Σ re preferre sine they typilly result in eompositions with smll re n power footprint. Mximum prtition size (Δ): The mximum prtition size, mx( V 1, V 2 ), n rnge from n/2 (for lne isjoint eomposition) to n 1 (sine i-eomposition must proue funtions tht epen on less thn n vriles). Vrile prtitions with lower Δ re preferre sine they typilly result in eompositions with low ely. We will use μ =[Σ, Δ] to mesure the qulity of vrile prtition. Mesure μ 1 is less thn mesure μ 2 if either μ 1(Σ) <μ 2(Σ) n μ 1(Δ) μ 2(Δ) or μ 2(Σ) <μ 1(Σ) n μ 2(Δ) μ 1(Δ). Thus, [2n 2, n 1] is the lrgest mesure for vrile prtition. Theorem 2: A i-eomposle funtion f with vrile set V hs n n i-eomposition with the overlpping vrile prtition V 1 = V \{i} n V 2 = V \{j} iff the ege {i, j} is not present in the BEG for the n i-eomposition. Proof: The proof is omitte here for revity. Theorem 2 lso hols for the or n xor i-eompositions of f. Theorem 2 gurntees the existene of n overlpping vrile prtition for i-eomposle funtion n lso shows how the overlpping vrile prtition n e otine from the BEG of f. However, this vrile prtition my not e the est vrile prtition for f sine it hs the lrgest possile mesure ([2n 2, n 1]). Before we esrie tehnique for extrting etter vrile prtitions from the BEGs of f, we review the efinition of vertex ut in grphs. A vertex ut of onnete grph is set of verties whose removl reners the grph isonnete. If C is vertex ut of grph with n verties, then ny super-set of C is lso vertex ut. The mximum size of vertex ut is n 2. Note tht omplete grph with n verties hs no vertex uts. A minimum vertex ut of grph is the vertex ut with the smllest size. Note tht grph n hve more thn one minimum vertex ut. In this pper, the vertex ut for isonnete grph is ssume to e the empty set (φ). Theorem 3: If i-eomposle funtion f hs n n i-eomposition with the vrile prtition V 1 n V 2,thenV 1 V 2 is vertex ut tht isonnets the verties in V 1\V 2 from the verties in V 2\V 1 of the BEG for the n i-eomposition. Proof: The proof is omitte here for revity. Theorem 3 lso hols for the or n xor i-eompositions of f. Using Theorem 3, the vertex uts of the BEG n e use to otin vrile prtitions for the n, or, n xor i-eompositions of f. The minimum vertex uts of the BEG n e use to otin vrile prtitions with the smllest Σ. However, the vrile prtition otine from minimum vertex uts my hve lrge Δ sine the minimum vertex ut my isonnet the grph into omponents with unlne vertex set sizes. To reue the vlue of Δ, lrger vertex uts n e hosen (higher Σ) tht isonnet the grph into omponents with more lne vertex set sizes. Our solution to extrt vrile prtitions for funtion f strts with list of minimum vertex uts of the BEG for n, or, n xor i-eompositions. The minimum vertex ut isonnets the BEG into smller onnete omponents. Lrger vertex uts re otine y reursively ugmenting the vertex uts with the minimum vertex ut of the lrgest onnete omponent. The vertex ut with the minimum vlue of λσ +Δ,whereλ is prmeter use tht etermines the reltive importne of Σ n Δ, is then hosen s the vrile prtition for f. The omputtionl etils of extrting the minimum vertex ut from n unirete grph re esrie in Setion Funtion eomposition In the previous setion, we hve esrie tehnique se on BEGs for extrting vrile prtitions for n, or, nxor ieompositions of i-eomposle logi funtion f. Thefirst prt of this setion esries the eomposition of i-eomposle funtion using etermine vrile prtition, V 1 n V 2. The seon prt of this setion esries the eomposition of funtions tht re not i-eomposle. 3.1 Bi-eomposle funtions Denote the off-set n on-set of f y f 0 n f 1, respetively, n the off-set n on-set of the eompose funtions for the vrile prtition V 1(V 2)yf (f2 0 )nf1 1 (f2 1 ), respetively. Given f 0, f 1, n the vrile prtition, V 1 n V 2,wewillnowesriehow f, f1 1, f2 0,nf2 1 n e etermine for n, or, nxor ieompositions. n/or i-eompositions: For n or i-eomposition, the onsets of the eompose funtions, f1 1 n f2 1, re suset of the on-set, f 1,off. Hene, f n f2 0 n e otine y expning the off-set, f 0,off using the existentil opertor over the vriles in V \V 1 n V \V 2 s follows: f = V \V1 f 0 (3) f2 0 = V \V2 f 0 Note tht the off-sets of the eompose funtions my overlp with the on-set, f 1,off. The on-set, f n f2 0, for the eompose funtions re otine y expning the portion of f 1 tht 588

4 oes not overlp with the off-set f 0 1 or f 0 2 of the eompose funtions, using the existentil opertor over the vriles in V \V 1 n V \V 2. f 1 1 = V \V1 (f 1 f 0 ) f 1 2 = V \V2 (f 1 f 0 ) An n i-eomposition n e otine in similr mnner y interhnging the off-set n the on-set of f. xor i-eomposition: An xor i-eomposition requires more effort thn n n/or i-eomposition. To otin n xor ieomposition of f for vrile prtitions V 1 n V 2,weusen pproh previously propose in [7] to progressively grow the onset n off-set of the eompose funtions y ing minterms to over isjoint portions of the on-set of f. The pseuooe for the xor i-eomposition is esrie in Algorithm 1. Algorithm 1: xor i-eomposition input : f 0 (f 1 ) is the off-set (on-set) of f input : V, V 1,V 2 re the vrile set n the two vrile prtitions of f output : f 0 1 (f 1 1 ) is the off-set (on-set) for V1 output : f 0 2 (f 1 2 ) is the off-set (on-set) for V2 f 0 1 =0, f 1 1 =0, f 0 2 =0, f 1 2 =0 g 0 1 =0, g1 1 =0, g0 2 =0, g1 2 =0 while (f = 0)o g 1 1 = PikOneCue(f 1 ) while (g g1 1 0)o g 0 2 = V \V 2 (f 1 g f 0 g 0 1 ) g 1 2 = V \V 2 (f 1 g f 0 g 1 1 ) if (g 0 2 g1 2 0)then return f 0 1,f1 1,f0 2,f1 2 =0 /* Vrile prtition infesile */ f 0 = f 0 (g g1 1 ); f 1 = f 1 (g g1 1 ) f 0 1 = f g0 1 ; f 1 1 = f g1 1 g 0 1 = V \V 1 (f 1 g f 0 g 0 2 ) g 1 1 = V \V 1 (f 1 g f 0 g 1 2 ) if (g 0 1 g1 1 0)then return f 0 1,f1 1,f0 2,f1 2 =0 /* Vrile prtition infesile */ f 0 = f 0 (g g1 2 ); f 1 = f 1 (g g1 2 ) f 0 2 = f g0 2 ; f 1 2 = f g1 2 if (f 0 0)then f 0 1 = f V \V 1 f 0 f 0 2 = f V \V 2 f 0 Infesile vrile prtitions: There re some funtions for whih the vrile prtitions otine from the vertex uts of the BEG re infesile. A vrile prtition, V 1 n V 2, for funtion f is infesile if f nnot e eompose into smller funtions with vrile sets V 1 n V 2. The infesiility of vrile prtition of f n e etete uring the eomposition of f into smller sufuntions. For n or/n i-eomposition, if the on-set (off-set) of t lest one vrile prtition is empty n the eompose funtions o not over the entire on-set (off-set) of f, then the vrile prtition is infesile. For n xor i-eomposition, if the on-set n off-set of the eompose funtions overlp t ny point uring the eomposition, then the vrile prtition is infesile (see Algorithm 1). Vrile prtitions otine using vertex uts from BEG my e infesile euse Theorem 3 only mntes tht vertex ut of the BEG is neessry, ut not suffiient onition for vrile prtition of f. For instne, in Figure 2(), lthough the BEG for n or i-eomposition for f inites tht isjoint i-eomposition exists, f only hs n overlpping or i-eomposition. (4) There re two hrteristis of f tht together use the BEG for f to yiel n infesile vrile prtition: First, sine f is symmetri funtion, ({, }, {, }), ({, }, {, }), n({, }, {, }) re fesile overlpping vrile prtitions for n or ieomposition of f. Sine there is vrile prtition tht seprtes every vrile pir, the loking onition is not stisfie for ny vrile pir. Hene, there re no eges in the BEG for n or ieomposition of f. Seon, sine f is sprse funtion (zeros in f re seprte y Hmming istne of 3) n the eges in the BEG re erive y nlyzing 2 2 s (Hmming istne of 2), the symmetry of f oes not mnifest itself in the BEG, n thus, the vrile prtition of f erive using BEGs is infesile. In prtie, for vrious enhmrk iruits, we hve oserve tht infesile vrile prtitions re rre (< 5% ses). Our tehnique hnles n infesile vrile prtition for funtion y reting n overlpping vrile prtition, V \{i} n V \{j}, suh tht {i, j} is not n ege in the BEG. Note tht suh {i, j} lwys exists sine the BEG for f is not omplete grph n Theorem 2 gurntees the vliity of the overlpping prtition f = + BEG for OR BEG for AND/XOR (i) BEG for OR/AND/XOR f = + + (ii) Figure 2: () Inorret isjoint eomposition inite y BEG n () funtion with omplete BEG. 3.2 Non i-eomposle funtions Rell tht funtion is not i-eomposle if it nnot e eompose into two funtions tht eh epen on less thn n vriles. The BEG for the n, or, n xor i-eompositions of these funtions re omplete grphs, n hene there re no vertex uts for the BEGs. Figure 2() illustrtes n exmple of 3-input funtion tht is not i-eomposle. Our tehnique eomposes these funtions using n or eomposition. The first funtion of the or eomposition is otine y relxing f y introuing on t res. Don t res re introue using universl quntifition of f with vrile i suh tht if overs the minimum numer of minterms in the on-set. Thus, if is the on t re spe for the relxtion of f. After eomposing the relxtion of f, the seon funtion of the eomposition is setup to over the portion of the on-set tht ws not overe y the first funtion. 4. Results We will strt y illustrting our BEG-se i-eomposition tehnique on the 4-input logi funtion shown in Figure 3(i). First, we onstrut the BEGs of f for n, or, n xor i-eompositions. Sine the BEG for n n or i-eompositions re omplete grphs, there re no n or or i-eompositions for f. The BEG for the xor i-eomposition of f is not omplete grph n hs the set s vertex ut of the BEG. Hene, there is n overlpping vrile prtition ({, }, {,, }) for n xor i-eomposition of f, i.e., f = g(, ) h(,, ). Using lgorithm 1, it is etermine tht the vrile prtition is fesile n the eompose funtions g n h re lso otine. Sine g is the simple two input funtion, Figure 3 oes not show the steps for the otining the eomposition of g. 589

5 BEG for AND BEG for OR BEG for XOR 0 1 BEG for AND BEG for OR BEG for XOR No vertex ut No vertex ut Vertex ut {} K-mp K-mp for No vertex ut No vertex ut No vertex ut Overlpping No AND No OR f (,,,) i-eomposition h(,,) No AND No OR No XOR i-eomposition i-eomposition i-eomposition. i-eomposition i-eomposition (i) {,}, {,,} (ii) (iv) f = g(,) h(,,) XOR Not i-eomposle g(,) h(,,) AND OR Relxtion of h h (,,) AND XOR 0 1 BEG for AND BEG for OR BEG for XOR 00 X X K-mp for No vertex ut No vertex ut Vertex ut {} h (,,) No AND No OR Disjoint eomposition (iii) i-eomposition i-eomposition {}, {}, {} Figure 3: Bi-eomposition using BEGs of (i) f(,,, ), (ii) h(,, ), n (iii) h (,, ). (iv) summrizes the i-eomposition. The i-eomposition of h is the next reursive step n is shown in Figure 3(ii). Sine the BEG for the n, or, nxor ieompositions of h re omplete, h is not i-eomposle. Thus, h is relxe to h y minimlly introuing on t res in the onset of h using universl quntifition of h, xh, with respet to one vrile x. Sine h, h, n h, over the sme numer of minterms in the on-set of h, we hoose h = s the on t re set of h. The i-eomposition for the relxe funtion, h, hs isjoint xor i-eomposition (see Figure 3(iii)). Thus, f = ( +( )) (see Figure 3(iv)). 4.1 Bi-eomposition Our i-eomposition tehnique is implemente within ABC [9]. Given iruit, eh output is represente y BDDs using the CU- DD pkge [10]. Then, eh output is reursively eompose into smller su-funtions using BEGs. BEGs re store n mnipulte using the igrph lirry [11]. The vrile prtition for the i-eomposition of logi funtion is otine from the minimum vertex uts of the BEG. Our implementtion otins the minimum vertex ut of the BEG of n unirete grph with n verties y onverting the unirete grph into irete flow grph with 2n verties. The minimum ege ut of the irete flow grph, otine using the lgorithm esrie in [12], is then use to otin the minimum vertex ut of the unirete grph. The lrgest funtion we hve onsiere hs 149 vriles n the time require to otin the minimum vertex ut for its BEG is 67 ses. Reunny removl: Our implementtion lso performs re reovery using funtion-se reunny removl tehnique. Sine i-eomposition is performe in epth-first reursive mnner, i-eompose funtions re he in hsh tle. If the funtion is enountere gin in the sme iruit, then the he i-eomposition is reuse. We ompre our BEG-se i-eomposition tehnique to stteof-the-rt emi tools FBDD [4], SIS [8], n ABC [9] n n inustry stnr synthesizer. Sixteen iruits from the MCNC, ISCAS, n IWLS enhmrk suites n the OpenSPARC T1 proessor re optimize using these synthesis tools on 64- it 2.4 GHz Opteron-se system. Eh enhmrk iruit is optimize with eh tool to minimize the ely of the eompose iruit. The eompose iruit is mppe to the lsi_10k gte lirry tht onsists of 89 gtes with the inustry-stnr tool. The first olumn in tle 1 is the nme of the iruit. Susequent olumns report the numer of levels of logi in the n-invert grph (AIG [9]), the mppe ely, n the ynmi power onsumption t 1GHz for the results otine with eh optimiztion tool. For eh enhmrk iruit, the est results with the lowest mppe ely re reporte in the tle. For the BDD-se eomposition tool (FBDD), efult synthesis options were use. Within SIS, the sripts ely, rugge, lgeri, nspee_up were use. Within ABC, sript resyn2rs ws use. Within the inustry-stnr synthesizer, eh esign ws ompile with the options -mp-effort high n -re-effort high n the esign onstrint mx_ely ws set to 0. The lst row in the tle ompres the verge results ross the tools, normlize to the results of the inustry-stnr tool. On verge, our tehnique shows 60%, 34%, 45% n30% reution in the numer of logi levels in the optimize iruit over FBDD, SIS, ABC, n the inustry-stnr synthesizer, respetively. When mppe elys re evlute, our tehnique hieves n verge reution of 20%, 19%, 16%n20% over the est results of FBDD, SIS, ABC, n the inustry-stnr synthesizer, respetively. For our tehnique, the tre-off for 20% improvement in mppe ely over the inustry-stnr synthesizer is 28% inrese in the ynmi power onsumption. Tle 2 presents results to ompre the numer of gtes in the AIG n the mppe re of our tehnique with stte-of-the-rt logi optimiztion tools. The first two olumns in tle 2 give the iruit informtion. Susequent olumns report the numer of gtes n the mppe re of the logi iruit for eh tool. Are-ely tre-off: As isusse in Setion 2.3, vrile prtitions with smller Σ typilly yiel i-eompositions with lower re n power, wheres vrile prtitions with smller Δ typilly yiel iruits with lower ely. We hve oserve tht for most iruits the est ely, re, n power is hieve y seleting the vrile prtition with the smllest Σ. However, some iruits, e.g., lu, ss,nlu2, exhiit n re versus ely tre-off where reutions in the ely of the eompose iruit n e hieve when vrile prtitions with lower Δ re hosen. 590

6 Tle 1: Comprison of the propose tehnique with the est lgorithms in FBDD, SIS, ABC, n the inustril tool Nme FBDD [4] SIS [8] ABC [9] Inustry tool BEG Levels Dely Power Levels Dely Power Levels Dely Power Levels Dely Power Levels Dely Power ori lu t C lu lu pex term frg i i too lrge lsu st rwtl spr tlu inttl ss spi Reltive verge FBDD: efult; SIS: ely, rugge, lgeri, nspee_up; ABC: resyn2rs; Inustry-stnr synthesizer: -mp-effort high -re-effort high n set_mx_ely 0 Tle 2: Comprison of the propose tehnique with the est lgorithms in FBDD, SIS, ABC, n the inustril tool Nme PI/POs FBDD [4] SIS [8] ABC [9] Inustry tool BEG Gtes Are Gtes Are Gtes Are Gtes Are Gtes Are ori 23/ lu 75/ t481 16/ C432 36/ lu2 10/ lu4 9/ pex4 9/ term1 34/ frg1 28/ i7 199/ i8 133/ too lrge 38/ lsu st rwtl 250/ spr tlu inttl 82/ ss 250/ spi 505/ Reltive verge The numer of gtes is reporte fter eomposition s the numer of noes in the AIG. Are is reporte fter the eompose AIG is mppe using the inustril tool in ll ses. 5. Conlusions This pper esrie new pproh for otining vrile prtitions for the i-eomposition of logi funtions. Disjoint n overlpping vrile prtitions for n, or, n xor i-eompositions of logi funtion were otine from the vertex uts of n unirete grph lle the loking ege grph. Using this tehnique, n verge reution in ely of 20% ws hieve for n verge power overhe of 28% over the est results of n inustry-stnr synthesis tool ross 16 enhmrk iruits. Referenes [1] G. e Miheli, Synthesis n Optimiztion of Digitl Ciruits. MGrw-Hill, [2] G. Hhtel n F. Somenzi, Logi synthesis n verifition. Kluwer Aemi Pulishers, [3] C. Yng et l., BDS: A BDD-se logi optimiztion system, IEEE Trns. Computer-ie Design, vol. 21, pp , [4] D. Wu et l., FBDD: A fole logi synthesis system, in Intl. Conferene on ASIC, pp , [5] A. Mishhenko, B. Steinh, n M. Perkowski, An lgorithm for ieomposition of logi funtions, in Pro. Design Automtion Conferene, pp , [6] H.-P. Lin, J.-H. R. Jing, n R.-R. Lee, To SAT or not to SAT: Ashenhurst eomposition in lrge sle, in Pro. Intl. Conferene Computer-ie Design, pp , [7] B. Steinh, Synthesis of multi-level iruits using exor-gtes, in Pro. Workshop on Applitions of the Ree-Muller Expnsion in Ciruit Design, pp , [8] E. Sentovih et l., SIS: A system for sequentil iruit synthesis, Teh. Rep. UCB/ERL M92/41, EECS Deprtment, University of Cliforni, Berkeley, [9] ABC Logi synthesis tool. Plese visit the URL erkeley.eu/ lnmi// for further etils. [10] CUDD: Coloro University Deision Digrm Pkge. Plese visit the URL fio/cudd/ for further etils. [11] The igrph lirry for omplex network reserh. Plese visit the URL http: //igrph.soureforge.net/ for further etils. [12] Y. Boykov et l., An experimentl omprison of min-ut/mx-flow lgorithms for energy minimiztion in vision, IEEE Trns. Pttern Anlysis n Mhine Intelligene, vol. 26, pp ,

Lecture 11 Binary Decision Diagrams (BDDs)

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

More information

Engr354: Digital Logic Circuits

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

More information

CS 491G Combinatorial Optimization Lecture Notes

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

More information

Technology Mapping Method for Low Power Consumption and High Performance in General-Synchronous Framework

Technology Mapping Method for Low Power Consumption and High Performance in General-Synchronous Framework R-17 SASIMI 015 Proeeings Tehnology Mpping Metho for Low Power Consumption n High Performne in Generl-Synhronous Frmework Junki Kwguhi Yukihie Kohir Shool of Computer Siene, the University of Aizu Aizu-Wkmtsu

More information

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

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

More information

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

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

More information

Computing all-terminal reliability of stochastic networks with Binary Decision Diagrams

Computing all-terminal reliability of stochastic networks with Binary Decision Diagrams Computing ll-terminl reliility of stohsti networks with Binry Deision Digrms Gry Hry 1, Corinne Luet 1, n Nikolos Limnios 2 1 LRIA, FRE 2733, 5 rue u Moulin Neuf 80000 AMIENS emil:(orinne.luet, gry.hry)@u-pirie.fr

More information

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

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

More information

Unit 4. Combinational Circuits

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

More information

CIT 596 Theory of Computation 1. Graphs and Digraphs

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

More information

Mid-Term Examination - Spring 2014 Mathematical Programming with Applications to Economics Total Score: 45; Time: 3 hours

Mid-Term Examination - Spring 2014 Mathematical Programming with Applications to Economics Total Score: 45; Time: 3 hours Mi-Term Exmintion - Spring 0 Mthemtil Progrmming with Applitions to Eonomis Totl Sore: 5; Time: hours. Let G = (N, E) e irete grph. Define the inegree of vertex i N s the numer of eges tht re oming into

More information

Metodologie di progetto HW Technology Mapping. Last update: 19/03/09

Metodologie di progetto HW Technology Mapping. Last update: 19/03/09 Metodologie di progetto HW Tehnology Mpping Lst updte: 19/03/09 Tehnology Mpping 2 Tehnology Mpping Exmple: t 1 = + b; t 2 = d + e; t 3 = b + d; t 4 = t 1 t 2 + fg; t 5 = t 4 h + t 2 t 3 ; F = t 5 ; t

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

Logic Synthesis and Verification

Logic Synthesis and Verification Logi Synthesis nd Verifition SOPs nd Inompletely Speified Funtions Jie-Hong Rolnd Jing 江介宏 Deprtment of Eletril Engineering Ntionl Tiwn University Fll 2010 Reding: Logi Synthesis in Nutshell Setion 2 most

More information

Logic, Set Theory and Computability [M. Coppenbarger]

Logic, Set Theory and Computability [M. Coppenbarger] 14 Orer (Hnout) Definition 7-11: A reltion is qusi-orering (or preorer) if it is reflexive n trnsitive. A quisi-orering tht is symmetri is n equivlene reltion. A qusi-orering tht is nti-symmetri is n orer

More information

Lecture 6: Coding theory

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

More information

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

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

More information

CS 2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2014

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

More information

Logic Synthesis and Verification

Logic Synthesis and Verification Logi Synthesis nd Verifition SOPs nd Inompletely Speified Funtions Jie-Hong Rolnd Jing 江介宏 Deprtment of Eletril Engineering Ntionl Tiwn University Fll 22 Reding: Logi Synthesis in Nutshell Setion 2 most

More information

I 3 2 = I I 4 = 2A

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

More information

Section 2.3. Matrix Inverses

Section 2.3. Matrix Inverses Mtri lger Mtri nverses Setion.. Mtri nverses hree si opertions on mtries, ition, multiplition, n sutrtion, re nlogues for mtries of the sme opertions for numers. n this setion we introue the mtri nlogue

More information

Lecture Notes No. 10

Lecture Notes No. 10 2.6 System Identifition, Estimtion, nd Lerning Leture otes o. Mrh 3, 26 6 Model Struture of Liner ime Invrint Systems 6. Model Struture In representing dynmil system, the first step is to find n pproprite

More information

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

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

More information

The DOACROSS statement

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

More information

Laboratory for Foundations of Computer Science. An Unfolding Approach. University of Edinburgh. Model Checking. Javier Esparza

Laboratory for Foundations of Computer Science. An Unfolding Approach. University of Edinburgh. Model Checking. Javier Esparza An Unfoling Approh to Moel Cheking Jvier Esprz Lbortory for Fountions of Computer Siene University of Einburgh Conurrent progrms Progrm: tuple P T 1 T n of finite lbelle trnsition systems T i A i S i i

More information

Discrete Structures Lecture 11

Discrete Structures Lecture 11 Introdution Good morning. In this setion we study funtions. A funtion is mpping from one set to nother set or, perhps, from one set to itself. We study the properties of funtions. A mpping my not e funtion.

More information

On a Class of Planar Graphs with Straight-Line Grid Drawings on Linear Area

On a Class of Planar Graphs with Straight-Line Grid Drawings on Linear Area Journl of Grph Algorithms n Applitions http://jg.info/ vol. 13, no. 2, pp. 153 177 (2009) On Clss of Plnr Grphs with Stright-Line Gri Drwings on Liner Are M. Rezul Krim 1,2 M. Siur Rhmn 1 1 Deprtment of

More information

Algebra 2 Semester 1 Practice Final

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

More information

2.4 Theoretical Foundations

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

More information

arxiv: v2 [math.co] 31 Oct 2016

arxiv: v2 [math.co] 31 Oct 2016 On exlue minors of onnetivity 2 for the lss of frme mtrois rxiv:1502.06896v2 [mth.co] 31 Ot 2016 Mtt DeVos Dryl Funk Irene Pivotto Astrt We investigte the set of exlue minors of onnetivity 2 for the lss

More information

where the box contains a finite number of gates from the given collection. Examples of gates that are commonly used are the following: a b

where the box contains a finite number of gates from the given collection. Examples of gates that are commonly used are the following: a b CS 294-2 9/11/04 Quntum Ciruit Model, Solovy-Kitev Theorem, BQP Fll 2004 Leture 4 1 Quntum Ciruit Model 1.1 Clssil Ciruits - Universl Gte Sets A lssil iruit implements multi-output oolen funtion f : {0,1}

More information

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

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

More information

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

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

More information

Propositional models. Historical models of computation. Application: binary addition. Boolean functions. Implementation using switches.

Propositional models. Historical models of computation. Application: binary addition. Boolean functions. Implementation using switches. Propositionl models Historil models of omputtion Steven Lindell Hverford College USA 1/22/2010 ISLA 2010 1 Strt with fixed numer of oolen vriles lled the voulry: e.g.,,. Eh oolen vrile represents proposition,

More information

On the Spectra of Bipartite Directed Subgraphs of K 4

On the Spectra of Bipartite Directed Subgraphs of K 4 On the Spetr of Biprtite Direte Sugrphs of K 4 R. C. Bunge, 1 S. I. El-Znti, 1, H. J. Fry, 1 K. S. Kruss, 2 D. P. Roerts, 3 C. A. Sullivn, 4 A. A. Unsiker, 5 N. E. Witt 6 1 Illinois Stte University, Norml,

More information

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

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

More information

CSC2542 State-Space Planning

CSC2542 State-Space Planning CSC2542 Stte-Spe Plnning Sheil MIlrith Deprtment of Computer Siene University of Toronto Fll 2010 1 Aknowlegements Some the slies use in this ourse re moifitions of Dn Nu s leture slies for the textook

More information

Minimal DFA. minimal DFA for L starting from any other

Minimal DFA. minimal DFA for L starting from any other Miniml DFA Among the mny DFAs ccepting the sme regulr lnguge L, there is exctly one (up to renming of sttes) which hs the smllest possile numer of sttes. Moreover, it is possile to otin tht miniml DFA

More information

Data Structures LECTURE 10. Huffman coding. Example. Coding: problem definition

Data Structures LECTURE 10. Huffman coding. Example. Coding: problem definition Dt Strutures, Spring 24 L. Joskowiz Dt Strutures LEURE Humn oing Motivtion Uniquel eipherle oes Prei oes Humn oe onstrution Etensions n pplitions hpter 6.3 pp 385 392 in tetook Motivtion Suppose we wnt

More information

Chapter 4 State-Space Planning

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

More information

Subsequence Automata with Default Transitions

Subsequence Automata with Default Transitions Susequene Automt with Defult Trnsitions Philip Bille, Inge Li Gørtz, n Freerik Rye Skjoljensen Tehnil University of Denmrk {phi,inge,fskj}@tu.k Astrt. Let S e string of length n with hrters from n lphet

More information

Common intervals of genomes. Mathieu Raffinot CNRS LIAFA

Common intervals of genomes. Mathieu Raffinot CNRS LIAFA Common intervls of genomes Mthieu Rffinot CNRS LIF Context: omprtive genomis. set of genomes prtilly/totlly nnotte Informtive group of genes or omins? Ex: COG tse Mny iffiulties! iology Wht re two similr

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design nd Anlysis LECTURE 5 Supplement Greedy Algorithms Cont d Minimizing lteness Ching (NOT overed in leture) Adm Smith 9/8/10 A. Smith; sed on slides y E. Demine, C. Leiserson, S. Rskhodnikov,

More information

CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6

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

More information

Factorising FACTORISING.

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

More information

Solutions to Problem Set #1

Solutions to Problem Set #1 CSE 233 Spring, 2016 Solutions to Prolem Set #1 1. The movie tse onsists of the following two reltions movie: title, iretor, tor sheule: theter, title The first reltion provies titles, iretors, n tors

More information

COMPUTING THE QUARTET DISTANCE BETWEEN EVOLUTIONARY TREES OF BOUNDED DEGREE

COMPUTING THE QUARTET DISTANCE BETWEEN EVOLUTIONARY TREES OF BOUNDED DEGREE COMPUTING THE QUARTET DISTANCE BETWEEN EVOLUTIONARY TREES OF BOUNDED DEGREE M. STISSING, C. N. S. PEDERSEN, T. MAILUND AND G. S. BRODAL Bioinformtis Reserh Center, n Dept. of Computer Siene, University

More information

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

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

More information

A Lower Bound for the Length of a Partial Transversal in a Latin Square, Revised Version

A Lower Bound for the Length of a Partial Transversal in a Latin Square, Revised Version A Lower Bound for the Length of Prtil Trnsversl in Ltin Squre, Revised Version Pooy Htmi nd Peter W. Shor Deprtment of Mthemtil Sienes, Shrif University of Tehnology, P.O.Bo 11365-9415, Tehrn, Irn Deprtment

More information

Compression of Palindromes and Regularity.

Compression of Palindromes and Regularity. Compression of Plinromes n Regulrity. Kyoko Shikishim-Tsuji Center for Lierl Arts Eution n Reserh Tenri University 1 Introution In [1], property of likstrem t t view of tse is isusse n it is shown tht

More information

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

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

More information

Project 6: Minigoals Towards Simplifying and Rewriting Expressions

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

More information

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

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

More information

A Primer on Continuous-time Economic Dynamics

A Primer on Continuous-time Economic Dynamics Eonomis 205A Fll 2008 K Kletzer A Primer on Continuous-time Eonomi Dnmis A Liner Differentil Eqution Sstems (i) Simplest se We egin with the simple liner first-orer ifferentil eqution The generl solution

More information

Solving the Class Diagram Restructuring Transformation Case with FunnyQT

Solving the Class Diagram Restructuring Transformation Case with FunnyQT olving the lss Digrm Restruturing Trnsformtion se with FunnyQT Tssilo Horn horn@uni-kolenz.e Institute for oftwre Tehnology, University Kolenz-Lnu, Germny FunnyQT is moel querying n moel trnsformtion lirry

More information

Technische Universität München Winter term 2009/10 I7 Prof. J. Esparza / J. Křetínský / M. Luttenberger 11. Februar Solution

Technische Universität München Winter term 2009/10 I7 Prof. J. Esparza / J. Křetínský / M. Luttenberger 11. Februar Solution Tehnishe Universität Münhen Winter term 29/ I7 Prof. J. Esprz / J. Křetínský / M. Luttenerger. Ferur 2 Solution Automt nd Forml Lnguges Homework 2 Due 5..29. Exerise 2. Let A e the following finite utomton:

More information

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

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

More information

CS 573 Automata Theory and Formal Languages

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

More information

Graph Algorithms. Vertex set = { a,b,c,d } Edge set = { {a,c}, {b,c}, {c,d}, {b,d}} Figure 1: An example for a simple graph

Graph Algorithms. Vertex set = { a,b,c,d } Edge set = { {a,c}, {b,c}, {c,d}, {b,d}} Figure 1: An example for a simple graph Inin Institute of Informtion Tehnology Design n Mnufturing, Knheepurm, Chenni 00, Ini An Autonomous Institute uner MHRD, Govt of Ini http://www.iiitm..in COM 0T Design n Anlysis of Algorithms -Leture Notes

More information

COMPUTING THE QUARTET DISTANCE BETWEEN EVOLUTIONARY TREES OF BOUNDED DEGREE

COMPUTING THE QUARTET DISTANCE BETWEEN EVOLUTIONARY TREES OF BOUNDED DEGREE COMPUTING THE QUARTET DISTANCE BETWEEN EVOLUTIONARY TREES OF BOUNDED DEGREE M. STISSING, C. N. S. PEDERSEN, T. MAILUND AND G. S. BRODAL Bioinformtis Reserh Center, n Dept. of Computer Siene, University

More information

y1 y2 DEMUX a b x1 x2 x3 x4 NETWORK s1 s2 z1 z2

y1 y2 DEMUX a b x1 x2 x3 x4 NETWORK s1 s2 z1 z2 BOOLEAN METHODS Giovnni De Miheli Stnford University Boolen methods Exploit Boolen properties. { Don't re onditions. Minimiztion of the lol funtions. Slower lgorithms, etter qulity results. Externl don't

More information

1. Logic verification

1. Logic verification . Logi verifition Bsi priniples of OBDD s Vrile ordering Network of gtes => OBDD s FDD s nd OKFDD s Resoning out iruits Struturl methods Stisfiility heker Logi verifition The si prolem: prove tht two iruits

More information

Section 1.3 Triangles

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

More information

Robust Timing-Aware Test Generation Using Pseudo-Boolean Optimization

Robust Timing-Aware Test Generation Using Pseudo-Boolean Optimization Roust Timing-Awre Test Genertion Using Pseudo-Boolen Optimiztion Stephn Eggersglüß University of Bremen, Germny Germn Reserh Center for Artifiil Intelligene (DFKI), Bremen - Cyer-Physil Systems {Stephn.Eggersgluess@dfki.de}

More information

Monochromatic Plane Matchings in Bicolored Point Set

Monochromatic Plane Matchings in Bicolored Point Set CCCG 2017, Ottw, Ontrio, July 26 28, 2017 Monohromti Plne Mthings in Biolore Point Set A. Krim Au-Affsh Sujoy Bhore Pz Crmi Astrt Motivte y networks interply, we stuy the prolem of omputing monohromti

More information

Identifying and Classifying 2-D Shapes

Identifying and Classifying 2-D Shapes Ientifying n Clssifying -D Shpes Wht is your sign? The shpe n olour of trffi signs let motorists know importnt informtion suh s: when to stop onstrution res. Some si shpes use in trffi signs re illustrte

More information

CS 360 Exam 2 Fall 2014 Name

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

More information

Maximum size of a minimum watching system and the graphs achieving the bound

Maximum size of a minimum watching system and the graphs achieving the bound Mximum size of minimum wthing system n the grphs hieving the oun Tille mximum un système e ontrôle minimum et les grphes tteignnt l orne Dvi Auger Irène Chron Olivier Hury Antoine Lostein 00D0 Mrs 00 Déprtement

More information

Hardware Verification 2IMF20

Hardware Verification 2IMF20 Hrdwre Verifition 2IMF20 Julien Shmltz Leture 02: Boolen Funtions, ST, CEC Course ontent - Forml tools Temporl Logis (LTL, CTL) Domin Properties System Verilog ssertions demi & Industrils Proessors Networks

More information

Instructions. An 8.5 x 11 Cheat Sheet may also be used as an aid for this test. MUST be original handwriting.

Instructions. An 8.5 x 11 Cheat Sheet may also be used as an aid for this test. MUST be original handwriting. ID: B CSE 2021 Computer Orgniztion Midterm Test (Fll 2009) Instrutions This is losed ook, 80 minutes exm. The MIPS referene sheet my e used s n id for this test. An 8.5 x 11 Chet Sheet my lso e used s

More information

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

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

More information

A Disambiguation Algorithm for Finite Automata and Functional Transducers

A Disambiguation Algorithm for Finite Automata and Functional Transducers A Dismigution Algorithm for Finite Automt n Funtionl Trnsuers Mehryr Mohri Cournt Institute of Mthemtil Sienes n Google Reserh 51 Merer Street, New York, NY 1001, USA Astrt. We present new ismigution lgorithm

More information

m2 m3 m1 (a) (b) (c) n2 n3

m2 m3 m1 (a) (b) (c) n2 n3 Outline LOGIC SYNTHESIS AND TWO-LEVEL LOGIC OPTIMIZATION Giovnni De Miheli Stnford University Overview of logi synthesis. Comintionl-logi design: { Bkground. { Two-level forms. Ext minimiztion. Covering

More information

Statistics in medicine

Statistics in medicine Sttistis in meiine Workshop 1: Sreening n ignosti test evlution Septemer 22, 2016 10:00 AM to 11:50 AM Hope 110 Ftm Shel, MD, MS, MPH, PhD Assistnt Professor Chroni Epiemiology Deprtment Yle Shool of Puli

More information

Metaheuristics for the Asymmetric Hamiltonian Path Problem

Metaheuristics for the Asymmetric Hamiltonian Path Problem Metheuristis for the Asymmetri Hmiltonin Pth Prolem João Pero PEDROSO INESC - Porto n DCC - Fule e Ciênis, Universie o Porto, Portugl jpp@f.up.pt Astrt. One of the most importnt pplitions of the Asymmetri

More information

Slope Lengths for 2-Bridge Parent Manifolds. Martin D. Bobb

Slope Lengths for 2-Bridge Parent Manifolds. Martin D. Bobb Cliorni Stte University, Sn Bernrino Reserh Experiene or Unergrutes Knot Theory Otoer 28, 2013 Hyperoli Knot Complements Hyperoli Knots Deinition A knot or link K is hyperoli i hyperoli metri n e ple on

More information

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

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

More information

, g. Exercise 1. Generator polynomials of a convolutional code, given in binary form, are g. Solution 1.

, g. Exercise 1. Generator polynomials of a convolutional code, given in binary form, are g. Solution 1. Exerise Genertor polynomils of onvolutionl ode, given in binry form, re g, g j g. ) Sketh the enoding iruit. b) Sketh the stte digrm. ) Find the trnsfer funtion T. d) Wht is the minimum free distne of

More information

Eigenvectors and Eigenvalues

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

More information

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

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

More information

Coding Techniques. Manjunatha. P. Professor Dept. of ECE. June 28, J.N.N. College of Engineering, Shimoga.

Coding Techniques. Manjunatha. P. Professor Dept. of ECE. June 28, J.N.N. College of Engineering, Shimoga. Coing Tehniques Mnjunth. P mnjup.jnne@gmil.om Professor Dept. of ECE J.N.N. College of Engineering, Shimog June 8, 3 Overview Convolutionl Enoing Mnjunth. P (JNNCE) Coing Tehniques June 8, 3 / 8 Overview

More information

The Stirling Engine: The Heat Engine

The Stirling Engine: The Heat Engine Memoril University of Newfounln Deprtment of Physis n Physil Oenogrphy Physis 2053 Lortory he Stirling Engine: he Het Engine Do not ttempt to operte the engine without supervision. Introution Het engines

More information

Comparing the Pre-image and Image of a Dilation

Comparing the Pre-image and Image of a Dilation hpter Summry Key Terms Postultes nd Theorems similr tringles (.1) inluded ngle (.2) inluded side (.2) geometri men (.) indiret mesurement (.6) ngle-ngle Similrity Theorem (.2) Side-Side-Side Similrity

More information

Section 2.1 Special Right Triangles

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

More information

Convert the NFA into DFA

Convert the NFA into DFA Convert the NF into F For ech NF we cn find F ccepting the sme lnguge. The numer of sttes of the F could e exponentil in the numer of sttes of the NF, ut in prctice this worst cse occurs rrely. lgorithm:

More information

Momentum and Energy Review

Momentum and Energy Review Momentum n Energy Review Nme: Dte: 1. A 0.0600-kilogrm ll trveling t 60.0 meters per seon hits onrete wll. Wht spee must 0.0100-kilogrm ullet hve in orer to hit the wll with the sme mgnitue of momentum

More information

A Study on the Properties of Rational Triangles

A Study on the Properties of Rational Triangles Interntionl Journl of Mthemtis Reserh. ISSN 0976-5840 Volume 6, Numer (04), pp. 8-9 Interntionl Reserh Pulition House http://www.irphouse.om Study on the Properties of Rtionl Tringles M. Q. lm, M.R. Hssn

More information

Electronic Circuits I Revision after midterm

Electronic Circuits I Revision after midterm Eletroni Ciruits I Revision fter miterm Dr. Ahme ElShfee, ACU : Fll 2018, Eletroni Ciruits I -1 / 14 - MCQ1 # Question If the frequeny of the input voltge in Figure 2 36 is inrese, the output voltge will

More information

Welcome. Balanced search trees. Balanced Search Trees. Inge Li Gørtz

Welcome. Balanced search trees. Balanced Search Trees. Inge Li Gørtz Welome nge Li Gørt. everse tehing n isussion of exerises: 02110 nge Li Gørt 3 tehing ssistnts 8.00-9.15 Group work 9.15-9.45 isussions of your solutions in lss 10.00-11.15 Leture 11.15-11.45 Work on exerises

More information

ANALYSIS AND MODELLING OF RAINFALL EVENTS

ANALYSIS AND MODELLING OF RAINFALL EVENTS Proeedings of the 14 th Interntionl Conferene on Environmentl Siene nd Tehnology Athens, Greee, 3-5 Septemer 215 ANALYSIS AND MODELLING OF RAINFALL EVENTS IOANNIDIS K., KARAGRIGORIOU A. nd LEKKAS D.F.

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design nd Anlysis LECTURE 8 Mx. lteness ont d Optiml Ching Adm Smith 9/12/2008 A. Smith; sed on slides y E. Demine, C. Leiserson, S. Rskhodnikov, K. Wyne Sheduling to Minimizing Lteness Minimizing

More information

Lecture 6. CMOS Static & Dynamic Logic Gates. Static CMOS Circuit. PMOS Transistors in Series/Parallel Connection

Lecture 6. CMOS Static & Dynamic Logic Gates. Static CMOS Circuit. PMOS Transistors in Series/Parallel Connection NMOS Trnsistors in Series/Prllel onnetion Leture 6 MOS Stti & ynmi Logi Gtes Trnsistors n e thought s swith ontrolled y its gte signl NMOS swith loses when swith ontrol input is high Peter heung eprtment

More information

6. Suppose lim = constant> 0. Which of the following does not hold?

6. Suppose lim = constant> 0. Which of the following does not hold? CSE 0-00 Nme Test 00 points UTA Stuent ID # Multiple Choie Write your nswer to the LEFT of eh prolem 5 points eh The k lrgest numers in file of n numers n e foun using Θ(k) memory in Θ(n lg k) time using

More information

Generalized Kronecker Product and Its Application

Generalized Kronecker Product and Its Application Vol. 1, No. 1 ISSN: 1916-9795 Generlize Kroneker Prout n Its Applition Xingxing Liu Shool of mthemtis n omputer Siene Ynn University Shnxi 716000, Chin E-mil: lxx6407@163.om Astrt In this pper, we promote

More information

SOME INTEGRAL INEQUALITIES FOR HARMONICALLY CONVEX STOCHASTIC PROCESSES ON THE CO-ORDINATES

SOME INTEGRAL INEQUALITIES FOR HARMONICALLY CONVEX STOCHASTIC PROCESSES ON THE CO-ORDINATES Avne Mth Moels & Applitions Vol3 No 8 pp63-75 SOME INTEGRAL INEQUALITIES FOR HARMONICALLY CONVE STOCHASTIC PROCESSES ON THE CO-ORDINATES Nurgül Okur * Imt Işn Yusuf Ust 3 3 Giresun University Deprtment

More information

6.5 Improper integrals

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

More information

Iowa Training Systems Trial Snus Hill Winery Madrid, IA

Iowa Training Systems Trial Snus Hill Winery Madrid, IA Iow Trining Systems Tril Snus Hill Winery Mdrid, IA Din R. Cohrn nd Gil R. Nonneke Deprtment of Hortiulture, Iow Stte University Bkground nd Rtionle: Over the lst severl yers, five sttes hve een evluting

More information

Efficient Parameterized Algorithms for Data Packing

Efficient Parameterized Algorithms for Data Packing Effiient Prmeterized Algorithms for Dt Pking Krishnendu Chtterjee, Amir Kfshdr Gohrshdy, Nstrn Okti, Andres Pvloginnis To ite this version: Krishnendu Chtterjee, Amir Kfshdr Gohrshdy, Nstrn Okti, Andres

More information

Exercise 3 Logic Control

Exercise 3 Logic Control Exerise 3 Logi Control OBJECTIVE The ojetive of this exerise is giving n introdution to pplition of Logi Control System (LCS). Tody, LCS is implemented through Progrmmle Logi Controller (PLC) whih is lled

More information

Anti-Monotonic Overlap-Graph Support Measures

Anti-Monotonic Overlap-Graph Support Measures Anti-Monotoni Overlp-Grph Support Mesures Toon Clers (t.lers@tue.nl) Einhoven University of Tehnology Jn Rmon (jn.rmon@s.kuleuven.e) Ktholieke Universiteit Leuven Dries Vn Dyk (ries.vnyk@uhsselt.e) Hsselt

More information