X X. f 00. f 0. f 11. f 10. f 1. (b) pd. (a) S. (c) nd. f 110. f 101. f 010. f 011. f 01. f 100. f 000. f 111. f 001

Size: px
Start display at page:

Download "X X. f 00. f 0. f 11. f 10. f 1. (b) pd. (a) S. (c) nd. f 110. f 101. f 010. f 011. f 01. f 100. f 000. f 111. f 001"

Transcription

1 A Desgn Method for Look-up Table Type FPGA by Pseudo-Kronecker Expanson Tsutomu asao Kyushu Insttute of Technology Izuka 80, Japan Jon T. Butler Naval Postgraduate chool Monterey, CA 99, U..A. Aprl 15, Introducton. Feld programmable gate arrays (FPGA's) are very useful n rapd prototypng as well as small volume producton []. A look-up table (LUT) type FPGA shown n Fg. 1.1 conssts of LUT's and programmable nterconnecton. Both LUT's and programmable nterconnectons are controlled by statc RAMs. We assume that each FPGA has q LUT's, and each LUT can realze an arbtrary logc functon of k bnary varables. We also assume that nterconnecton resources are sucent,.e., any logcal network wth q LUT's can be realzed. Note that wrng s mplemented by pass transstors, and the delay tme for nterconnecton wll often be larger than for the LUT's. Consder the realzaton of a moderately complex functon. If k s small, e.g., k = or, the LUT's are ecently used, but the nterconnectons wll be complex. Ths wll be especally necent snce nterconnectons are often more expensve than logc. If k s large, e.g., k = 7 or 8, the nterconnectons wll be smpler, but the LUT's are not ecently used. Thus, there exsts an optmum value for k between and 7. One study [0] shows that when k = or, FPGA's requre the smallest chp area. However, these results have not been used by manufacturers. For example, for the XILINX 000 eres FPGA's, k =5,andfor the AT&T ORCA FPGA's, k = [1]. Varous desgn methods for LUT-based FPGA's are known: 1) Technology mappng from AND-OR mult-level logc crcuts []. ) Technology mappng from bnary decson dagrams (BDD's) []. ) Functonal decomposton [7, 1, ]. Commercally avalable FPGA's contan many LUT's, but the nterconnectons are much slower than other standard mask type gate-arrays. Thus, t s often more mportant to reduce the propagaton delay than to reduce the number of LUT's [5, 1]. To reduce the propagaton delay, wehave to reduce the number of the levels n the networks. Also, f the nterconnectons and layout are regular, then the propagaton delay wll be smaller. In ths paper, we propose a desgn method for LUTbased FPGA's that produces LUT networks havng the Fgure 1.1: LUT type FPGA X r- valued valued X X Fgure 1.: LUT network X 1 structure shown n Fg. 1.. We assume that each LUT has bnary nputs. By parng varables of twovalued nput functons, we can obtan four-valued nput functons. By usng four-valued logc, we can reduce the number of varables to consder, and can desgn a network havng a regular structure. We use the pseudo- Kronecker expanson for four-valued nput two-valued output functons to desgn compact and regular LUT networks. The proposed method s also promsng for the four-valued LUT based FPGA's [, 1, 1]. Realzaton of Two-Valued Input Functons Wth -nput LUT's Before studyng the realzaton of logc functons wth -nput LUT's, t s convenent to revew the f

2 f 0 X X X f 0 X1 f 0 f f X f 00 f 01 0 X 1 (a) (b) (c) nd X X X X Fgure.1: Logc crcuts correspondng to three types of expansons f 000 f 001 f 010 f realzaton for two-valued nput functons by -nput LUT's. Consder three expansons: f =x1f0 8 x1f1; (.1) f = f0 8 x1f; and (.) f = f1 8 x1f; where f = f0 8 f1: (.) (.1), (.), and (.) are called the hannon expanson, the postve Davo expanson, and the negatve Davo expanson, respectvely. Fg..1 shows the logc crcuts realzng these three expansons; they are denoted by,, and nd, respectvely. Note that a -nput LUT drectly realzes these crcuts. When the hannon expansons are used to expand f0 and f1, wehave f0 =xf00 8 xf01; and f1 =xf10 8 xf11; respectvely: In the smlar way, we can expand the new subfunctons as follows: f00 =xf000 8 xf001; f01 =xf010 8 xf011; f10 =xf100 8 xf101; and f11 =xf110 8 xf111: Fg.. s the bnary decson tree correspondng to the above expanson. If we replace each nodebya two-nput multplexer (Fg..1(a)), we have the network shown n Fg... To reduce the number of the multplexers, we use the followng rules: 1) If a sub-functon s a constant 0 or 1, termnate that branch. ) If two sub-functons are the same,.e., f f0 = f1, then extend the branchdown to the next level (.e., do not use a multplexer). ) If the current sub-functon (f ) s the same as one already generated (f j ), move the current branch (for f )over to the other branch (f j ). For example, f f01 s the same as f10, move the f10 branch over, thus mergng the two nodes. A decson dagram smpled by the above rule s called a (reduced ordered) bnary decson dagram (BDD). For a gven functon and a gven order of the nput varables, the BDD s unque. Fgure.: Representaton of logc functons usng the hannon expanson X X f 001 f 000 X1 f 011 f Fgure.: Realzaton of a logc functon usng multplexers If we use the postve Davo expanson nstead of the hannon expanson, then we have (.). When we use the same expanson for f0 and f, wehave f0 = f00 8 xf0; and f = f0 8 xf: Fg.. s the tree correspondng to ths expanson. Also, n ths case, we can reduce the dagram. uch a dagram s called the functonal decson dagram (FDD) [11]. For a gven functon and a gven order of the nput varables, the FDD s unque. In a smlar way, we can consder the expanson usng only the negatve Davo expanson. Also, we can consder an expanson usng ether the postve or negatve Davo expansons for each varable [1]. Next, consder the expanson where any one of the three expansons s permtted for each varable. For example, n Fg..5, the hannon expanson s used for x1, the postve Davo expanson s used for x, and the negatve Davo expanson s used for x. uch an expanson s called a Kronecker expanson [, 8]. The reduced dagram s the Kronecker decson dagram (KDD) [18]. For a gven functon and a gven order of the nput varables, there are at most n dfferent KDD's. A mnmum KDD s one wth the fewest nodes.

3 f 0 X1 f f 0 X1 f 00 X f 0 f 0 X f f 00 X f 0 1 X nd X X X X X X X nd X f f f f f f f f f 000 f 010 f f f f Fgure.: Representaton of a logc functon usng the postve Davo expanson Fgure.: Representaton of a logc functon usng the Pseudo-Kronecker expanson f 0 X1 BDD PKDD KDD FDD f 00 X f 0 0 X X nd X nd X nd X nd Fgure.7: Relaton among BDD's, FDD's, KDD's and PKDD's f f f f f f f f Fgure.5: Representaton of a logc functon usng the Kronecker expanson Furthermore, we can consder the followng expanson: Any one of the three expansons s permtted for any node. For example, n Fg.., the hannon expanson s used for x1, the postve and negatve Davo expansons are used for x, and all the three expansons are used for x. uch an expanson s called a pseudo-kronecker expanson [, 8], and the reduced dagram s called a pseudo-kronecker decson dagram (PKDD). For a gven functon f and the gven order of the nput varables, the PKDD wth the mnmum number of nodes (LUT's) s the mnmum PKDD for f. There are at most 01) (n derent PKDD's. The relaton among BDD, FDD, KDD and PKDD s shown n Fg..7. Ths shows that KDD's are a specal case of PKDD's, and that BDD's and FDD's are each a specal case of KDD's. It follows that when we realze a gven functon by -nput LUT's, a method based on a PKDD requres the fewest LUT's. Fg..8 s a realzaton of the functon n Table.1 by -nput LUT's. In ths case, we used only the hannon expanson for each LUT. However, n general, we can use any one of the three expansons to reduce the number of LUT's. Dentons and Basc Propertes We assume that functons to be realzed have n =r nputs. Let X =(x1;x; 111;x n ) be the nput varables, where x ( =1; ;::;n)takes on two values. Denton.1 Let Q = f0; 1; ; g and B = f0; 1g. f: Q r! B s a four-valued nput two-valued output functon. An arbtrary logc functon of n varables f(x) can be converted nto a four-valued nput two-valued output functon as follows: f(x1;x; 111;X r ) = f(x), where X = (x01;x) takes ether 0,1,, or (x01;x) = (0,0), (0,1), (1,0), or (1,1), respectvely. Example.1 The logc functon shown n Table.1 can be converted nto the four-valued nput two-valued output functon n Table., where X1 =(x1;x) and X =(x;x). From now on, a four-valued nput two-valued output functon wll be smply called a functon, and an ordnary two-valued nput functon wll be called a twovalued nput functon. Denton. Let Q. X s a lteral of X, where X = 0 f X= 1 f X : When contans only one element, X fg s denoted by X. A product of lterals X 1 1 X 111Xn n s a product term that s the AND of the lterals X1 1 ;X ; 111; and X n n.asumofproducts _ ( 1; ;111; n) X1 1 X 111Xn n

4 x f = x 1. f 0 x 1. x 1 f 0 Lemma. f s unquely represented as f = _ (a 1 ;a ;111;a n ) f(a 1;a; 111;a n )X a 1 1 Xa 111Xa n n ; where _(a 1 ;a ;111;a n ) s the nclusve-or for all the combnatons such that a Q, and f(a1;a; 111;a n )=0 or =1. f can be also unquely represented by an expresson: x x f 00 f f 000 f Fgure.8: Realzaton of the functon n Table.1 Table.1: x1 x x x f Table.: X1 X f s a sum-of-products expresson (OP), where _( 1 ; ;111; n ) denotes the nclusve-or of product terms. If the nclusve-or s replaced by exclusve-or, the result s an exclusve-or of products X 8 X 1 1 X 111X n n ; ( 1; ;111; n) whch s called an exclusve-or sum-of-products expresson (EOP). Lemma.1 An arbtrary r-varable functon can be expanded as f(x1;x; 111;X r )=X 0 1 f(0;x; 111;X r ) _X 1 1 f(1;x; 111;X r ) _ X 1 f(;x; 111;X r ) _X 1 f(;x ; 111X r ): (.1) Ths s the hannon expanson wth respect to X1. X f = 8 f(a1;a; 111;a n )X1 a1 Xa 111Xan n ; (a 1 ;a ;111;a n ) P where 8 (a1 ;a ;111;a n ) represents the exclusve-or for all the combnatons of a Q. Desgn of FPGA's Usng the hannon Expanson Frst, we wllshow a nave method to desgn LUT networks, where each LUT has sx nputs. We can realze a functon f by usng the hannon expanson, f(x1;x;x;x) =X 0 1 f 0_X 1 1 _X 1 f _X 1 f : (:1) Fg..1 shows a realzaton of the expanson n (.1). It conssts of one LUT that drves the output (called the output LUT) and four other LUT's, each realzng f. It s convenent tovewthetwo bnary control nputs as a sngle four-valued nput. In ths example, the control nput of the output LUT s drven by X1, whle X drves the control nputs of the other four LUT's. Fg..1 shows that some combnaton of X and X drves the prmary nputs of these four LUT's. The followng observatons wll reduce the number of LUT's: 1. If f ( =0; 1; ; or ) s a constant functon, then the correspondng LUT's are not needed. That s, no specal hardware s necessary for the constants.. If f = f j ( = j), then one LUT can be used for both f and f j. The dagram correspondng to the LUT network s called a QDD (Quarternary Decson Dagram). We can desgn an LUT network usng an algorthm that s smlar to that used for Bnary Decson Dagrams (BDD's): If two sub-functons are the same, realze only one sub-functon. If a sub-functon nvolves or fewer varables, stop (t s realzed by a sngle LUT). Example.1 Let f be the followng functon: f(x1;x;x;x) =X 0 1(X 8 X ) _ X 1 1(X 8 X ) _X 1(X 8 X ) _ X 1 X ; where 8 s the modulo sum: If f s represented n the form (.1), we have f0 = X 8X ; = X 8X ;f = X 8X ;f = X : In ths case, all the sub-functons are non-constant and dstnct. Fg..1 shows a realzaton for f.

5 X X X X X X f 0 f f X 1 Fgure.1: Realzaton of a logc functon by the hannon expanson 1 1 x x 5 1 x x 5 1 x x 1 1 f x x 1 Fgure.: Network structure for k = 5 Enumeraton of LUT's to Realze Gven Functons. Here, we consder the queston of how manylut's are requred n the realzaton of a gven functon. Theorem 5.1 Let f be an arbtrary r-varable fourvalued nput two-valued output functon. When r, f can be realzed by a sngle LUT wth sx two-valued nputs. When r, f can be realzed wth at most r0 01 LUT's. (Proof) Because an LUT realzes any functon wth nputs, a sngle LUT s sucent. Any r-varable functon, where r can be realzed by an LUT tree structure of the type shown n Fg.., where one four-valued varable s appled at each level, except the f leftmost level, where three varables are appled. The number of LUT's requred s at most r0 = r0 0 1 : Q.E.D. The above theorem gves an upper bound. However, n many cases, gven functons can be realzed wth fewer LUT's. Theorem 5. Gven a functon f(x1;x; 111;X r ), let be the number of dstnct functons of the form f(a1;a; 111;a r0;x r0;x r01;x r ), where a Q, = 1; ; 111;r0. Then,f can be realzed wth at most r0 0 1 (Proof) f can be expanded as f(x1;x; 111;X r )= + LUT's: _ X1 a1 Xa 111Xa r0 r0 f(a 1;a; 111;a r0;x r0;x r01;x r ); where a Q; =1; ; 111;r0 : We can realze a selector crcut that selects one out of r0 nputs by usng r0 01 LUT's. Because there are dstnct functons of the form f(a1;a; 111;a r0;x r0;x r01;x r ), we need to realze only such functons. Q.E.D. A Desgn Method Usng the Pseudo- Kronecker Expanson. The desgn method usng the hannon expanson s smple, but requres many LUT's. Ths s because each LUT s only used as a multplexer, whle t can realze any of derent functons. To reduce the number of LUT's, we can use the theory of pseudo-kronecker expansons, whch was developed for the optmzaton of EOPs wth four-valued nputs [, ]. Denton.1 Let be a set of logc values, where Q. The characterstc vector of s a = (0;1;;), where j s a logc value such that = 0 f = 1 f : Denton. A matrx M M = a 0 a 1 a a of characterstc vectors a s non-sngular f there exsts a unque matrx M 01 such that MM 01 = = I; 0001 where multplcaton s AND and addton s exclusve- OR.

6 If one expands a gven functon f: Q r! B about varable X usng the hannon decomposton, f = X 0 f0 8 X 1 f1 8 X f 8 X f; then f0, f1, f, and f are unque. The next theorem [] shows that for certan other forms of X, the subfunctons are also unque. The same theorem can be also found n [19] and []. Theorem.1 (Expanson Theorem) An arbtrary functon f : Q r! B can be expanded wthrespect to a varable X as f = X 0 h0 8 X 1 h1 8 X h 8 X h; (:1) where h0, h1, h, andh are unque f and only f M s non-sngular, where M = a 0 a 1 a a 7 5,and a ( =0; 1; ; ) are the characterstc vectors of : (Proof) By (.1), we have f = X 0 h0 8 X 1 h1 8 X h 8 X h: (:) On the other hand, by the hannon expanson of f, we have f = X 0 f0 8 X 1 f1 8 X f 8 X f: Let I be the unt matrx. nce the two expansons above represent the same functon, [h0;h1;h;h]m =[f0;f1;f;f]i: (f) When M s non-sngular, the nverse matrx M 01 exsts, and the functon can be unquely represented wth [h0;h1;h;h] =[f0;f1;f;f]m 01 : (only f) When M s sngular, [h0;h1;h;h] cannot be unquely represented. Q.E.D. Corollary.1 Let A, B, C, D, A 0, B 0, C 0 and D 0 be subsets of Q = f0; 1; ; g, and let a, b, c, d, a 0, b 0, c 0 and d 0,respectvely, be the characterstc vectors for them. Let M = R = [a 0t ; b 0 t ; c 0t ; d 0t ], and MR = I (unt matrx). Then, an arbtrary four-valued nput two-valued output functon f can be unquely represented n the forms f = X f0g f f0g 8 X f1g f f1g 8 X fg f fg 8 X fg f fg or a b c d 7 5 ; = X A f A 0 8 X B f B 0 8 X C f C 0 8 X D f D 0; where f A 0 = X A 0 8f fg ;f B 0 = X B 0 8f fg ;f C 0 = X C 0 8f fg ;f D 0 = X D 0 8f fg : Example.1 Consder the four-valued nput twovalued output functon f n Table.. By the hannon expanson, t can be represented as f = X f0g f f0g 8 X f1g f f1g 8 X fg f fg 8 X fg f fg: Let us consder the expanson of the form f = X A f A 0 8 X B f B 0 8 X C f C 0 8 X D f D 0. In ths case, the subfunctons obtaned by EXORng sub-functons are as follows: f f0g = X f0;g ;f f1g = X f0;g ; f fg = X f1;g ;f fg = X f0;1g ; f f0;1g = X f;g ;f f0;g = X f0;1g ;f f0;g = X f1;g ; f f1;g = X f0;1;;g ;f f1;g = X f1;g ;f f;g = X f0;g ; f f1;;g = X f;g ;f f0;;g =0; f f0;1;g = X f0;1;;g ;f f0;1;g = X f1;g ; f f0;1;;g = X f0;g : The number of products needed torepresent the above sub-functons are 0 for f f0g, and 1 for the others. The characterstc vectors for the four sub-functons f f0g, f f1g, f fg and f fg are (1011), (0100), (0010), and (0001), respectvely. Note that these vectors are lnearly ndependent of each other. Hence, f can be unquely represented by these four sub-functons. Because R = f can be represented as and M = R 01 = 1001 f = X A 1 f A 0 8 XB 1 f B 0 8 XC 1 f C 0 8 X D 1 f D 0; ; 1001 = X f0g 1 f f0;;g 8 X f1g 1 f f1g 8 X f0;g 1 f fg 8 X f0;g 1 f fg; = X f1g 1 X f0;g 8 X f0;g 1 X f1;g 8 X f0;g 1 X f0;1g : Note that ths expanson has only three product terms. (End of Example) A computer enumeraton shows that, out of the ( ) = 1 possble matrces, 010 are nonsngular []. If we gnore the labelng of logc values for one of the varables, there are essentally 010! = 80 derent expansons, of whch the hannon expanson s one. Ths leads to the queston of whch expanson reduces the complexty ofthenetwork. We can select an expanson that reduces the complexty ofthenet- work. Denton. Pseudo-Kronecker decson dagrams (PKDD's) of n-varable four-valued nput twovalued output functons are dened recursvely as follows:

7 1) A PKDD s a termnal node v labeled by value(v), where value(v) f0; 1g. ) A PKDD s a non-termnal node v that has four chldren, h0(v), h1(v), h(v), and h(v), that are also PKDD's, where v s labeled by (a) ndex(v), where ndex(v) f1; ; 111;rg, and by (b) a regular matrx M, where M s dened n (.). The correspondence between a PKDD and a Boolean functon s dened as follows: APKDDG havng a root node v denotes a functon f v dened recursvely as: ) If v s a termnal node: (a) If value(v) =1,thenf v =1. (b) If value(v) =0,thenf v =0. ) If v s a nontermnal node wth ndex(v) =, then f v s a functon X 0 such that f h0 (v) 8 X 1 M = a 0 a 1 a a f h1 (v) 8 X 7 5 s non-sngular, f h (v) 8 X f h (v), where a s a characterstc vector for ( =0; 1; ; ). X s called thedecson varable for node v. Denton. A reduced ordered PKDD s a PKDD such that: 1) In Denton., for any non-termnal node v, f h (v) s also nontermnal, then ndex(v) <ndex(h (v)). ) No two subgraphs n the PKDD are dentcal. The PKDD for f s sad to be mnmum f t contans the least number of nodes. It s very dcult to obtan an exact mnmum PKDD, so we wll consder a heurstc method whch obtans a good soluton quckly. In ths case, we have to consder the followng 15 sub-functons: f f0g; f f1g; f fg; f fg; f f01g = f f0g 8 f f1g; f f0g = f f0g 8 f fg; f f0g = f f0g 8 f fg; f f1g = f f1g 8 f fg; f f1g = f f1g 8 f fg ;f fg = f fg 8 f fg; f f01g = f f0g 8 f f1g 8 f fg; f f01g = f f0g 8 f f1g 8 f fg; f f0g = f f0g 8 f fg 8 f fg; f f1g = f f1g 8 f fg 8 f fg; f f01g = f f0g 8 f f1g 8 f fg 8 f fg: Algorthm.1 (Generaton of a PKDD : mple method) 0) For =1to r 0 do the followng: 1) Let f be the functon. Expand t n the form f = X 0 h0 8 X 1 h1 8 X h 8 X h that mnmzes the cost of the expanson, where X COT(f) = COT(h j ); and j=0 8 >< 0 f h j s constant 0 f h COT(h j )= j s already realzed k f h >: j s not realzed prevously : and depends on k varables ) Create the nodes for new functons f they do not exst. Record that they are realzed. ) Expand the remanng nodes n the same way. Example. Consder the -valued nput functon f n Example.1. f(x1;x;x;x) =X f0g 1 (X 8 X ) _ X f1g 1 (X 8 X ) _X1 fg (X 8 X ) _ X1 fg X : Ths expanson has four non-zero sub-functons. However, we can reduce the number of non-zero subfunctons by consderng an expanson wth the form f = X A 1 f A 0 8 X B 1 f B 0 8 X C 1 f C 0 8 X D 1 f D 0: To nd a good expanson, we calculate the costs for all the 15 sub-functons. f f0g = f f1;g = X 8 X ; cost =: f f1g = f f0;g = X 8 X ; cost =: f fg = f f0;1g = X 8 X ; cost =: f fg = f f0;1;;g = X ; cost =1: f f0;g = f f1;;g = X 8 X 8 X ; cost =: f f1;g = f f0;;g = X ; cost =1: f f;g = f f0;1;g = X ; cost =1: f f0;1;g =0 ;cost=0: Note that f A 0, f B 0, f C 0,andf D 0 have smaller costs, where A 0 = f; g, B 0 = f1; g, C 0 = fg, andd 0 = f0; 1; g. The characterstc vectors for A 0, B 0, C 0, and D 0 are: (0,0,1,1), (0,1,0,1), (0,0,0,1), and (1,1,1,0), and they are lnearly ndependent. Thus, we have R and M as follows: R = and M = R 01 = : 1000 Because A = f0; g, B = f0; 1g, C = f1; ; g, and D = f0g, f can be represented as f = X A 1 f A 0 8 XB 1 f B 0 8 XC 1 f C 0 8 X D 1 f D 0; = X f0;g 1 f f;g 8 X f0;1g 1 f f1;g 8 X f1;;g 1 f fg 8X f0g 1 f f0;1;g; = X f0;g 1 X fg 8 X f0;1g 1 X fg 8 X f1;;g 1 X fg :

8 Note that the last expanson contans only three nonzero subfunctons. (End of Example) 7 Expermental Results [9] 7.1 For -nput LUT's (-valued case) Table 7.1 compares the number of non-termnal nodes for BDD's, FDD's, KDD's, and PKDD's. For FDD's, the column headed wth "" denotes the case where only postve Davo expansons are used, and "both" denotes the case where both postve and negatve Davo expansons are used. For each dagram, we obtaned an orderng of nput varables that reduce the number of nodes. The orderngs of the nput varables are obtaned by a smulated annealng method smlar to [8]. Note that the orderngs that mnmze the sze of BDD's do not always mnmze the sze of FDD's, KDD's or PKDD's. Let sze(bdd), sze(fdd), sze(kdd) and sze(pkdd) be the numbers of non-termnal nodes for optmzed BDD, FDD, KDD and PKDD for a functon, respectvely. The expermental results show that sze(pkdd)sze(kdd)sze(bdd), sze(kdd)sze(fdd:both)sze(fdd:), sze(fdd:both)sze(fdd:nd). These results are consstent wth the relaton of decson dagrams n Fg..7. The bottom row of the Table 7.1 shows the relatve szes of the dagrams. On the average, PKDD's requre 9% fewer nodes than BDD's. However, the nodes for BDD's and FDD's are comparable. 7. For -nput LUT's (-valued case). The bt parng algorthm [] for PLA's wth decoders was used to produce four-valued nput twovalued output functons. Table 7.1 also compares the number of non-termnal nodes for QDDs (Quarternary Decson Dagrams) and -valued PKDD's. QDDs were obtaned by the -valued extenson of hannon Expanson n (.1). Detals of the optmzaton algorthm s shown n Appendx. On the average, QDDs requre 7% fewer nodes than BDD's, and -valued PKDD's requre 51% fewer nodes than BDD's. Also, -valued PKDD's requre % fewer nodes than QDDs. 8 Conclusons and Comments In FPGA desgn, nterconnectons are often more expensve than logc. FPGA's usng -nput LUT's requre many logcal levels and complex nterconnectons. On the other hand, FPGA's usng -nput LUT's requre fewer nterconnectons and fewer logcal levels. In ths paper, we showed a method to represent logc functons by usng pseudo-kronecker dagrams (PKDD's). Expermental results show that -valued PKDD's requre 9% fewer nodes than BDD's, and - valued PKDD's requre % fewer than QDDs, the - valued extenson of BDD's. Thus, ths method s useful for the desgn of FPGA's wth -nput LUT's. However, when LUT's have less than nputs, ths method s not applcable. In the practcal desgn of FPGA's, we can further reduce the number of LUT's as follows: 1) Use complement edges [15, 7]. Consder the decson dagrams where each edge can complement the sub-functon. Ths corresponds the fact that LUT's can complement the nputs wth no extra cost. In the case of -valued BDD's, complement edges can reduce the number of nodes by 0 to 50% [15]. ) Remove redundant LUT's. For a -nput LUT, f both of two sub-functons are constants, then t realzes a varable or ts complement. Thus, ths LUT can be removed, and the varable s used as the output. If an LUT depends on at most three varables, then t can be realzed wth one LUT. For a -nput LUT, f t depends on at most sx varables, then t can be realzed wth one LUT. ) Merge several LUT's nto one. For -nput LUT's, f any of the sub-functons s a constant, then the functon s realze by an LUT wth 5 or fewer nputs. In AT&T ORCA seres FPGA's, an LUT can be congured to realze ether a -nput functon, or a par of 5-nput functons, or four -nput functons. Thus, LUT's wth fewer nputs can be merged. Except for the -nput case, some of the nputs must be shared among the functons. We assumed that the FPGA's are all bnary, but the control nputs for LUT's can be four-valued nputs nstead of pars of bnary varables. Ths wll sgnfcantly reduce the connectons. Thus, ths method s also useful for a desgn of multple-valued LUT type FPGA's. [9] shows a method to realze a logc functon by usng multple-valued multplexers, where only crcuts wth tree type structure are generated. Also, nterconnectons are more complex, snce each level may have derent control varables. Acknowledgments Ths work was supported n part by a Grant n Ad for centc Research of the Mnstry of Educaton, cence and Culture of Japan, and the Naval Research Laboratory, Washngton, DC through drect funds at the Naval Postgraduate chool, Monterey, CA U..A. M. Matsuura, K. Hara, and Y. Yamashta developed software and dd experment. Appendx Algorthm 8.1 (-valued PKDD mplcaton) 1. mplfy QDDs by permutng the nput varables (Algorthm 8.).. mplfy -valued KDD's by changng the method of expanson for each varable (Algorthm 8.).. mplfy -valued PKDD's by changng the method of expanson for each node (Algorthm 8.). Algorthm 8. (Optmzaton of nput orderng for QDDs).

9 Table 7.1: Number of nodes n Decson Dagrams functon n out BDD FDD KDD PKDD -valued both QDD PKDD 9sym add adr alu apla bw clp co con dc dst dk dk duke f51m nc msex msj 5 1 mlp radd rd rd rd rsc rot sao sex sqr t tal ts xor z5xp total rato Let X1, X, 111, X r be the orgnal orderng for the QDD.. For =1to r 0 1 ffor j =to r exchange X wth X j, and count the number of nodes n QDD. Adopt the ones that mnmze the number of nodes g. Repeat. whle the number of nodes s reduced. Algorthm 8. (mplcaton of -valued KDD's). 1. Let X1, X, 111, X r be the orderng obtaned by Algorthm 8... Construct a PDD (Pentadecmal Decson Dagram) that has 15 chldren for each non-termnal node, where each chld corresponds to one o5 sub-functons.. Let QDD be the ntal -valued KDD.. For =1to r 0 1 Expand the sub-functons wth respect X n 80 derent ways, and nd one that mnmzes the number of nodes. 5. Repeat. whle the number of nodes s reduced. Algorthm 8. (mplcaton of -valued PKDD's). 1. Let X1, X, 111, X r be the orderng. Let the - valued KDD obtaned by Algorthm 8. be the ntal -valued PKDD.. For =1to r 0 1 For each node for X, expand the sub-functons n 80 derent ways, and nd ones that mnmzes the number of nodes.. Repeat. whle the number of nodes s reduced.

10 References [1] AT&T, AT&T ORCA (Optmzed Recongurable Cell Array) eres FPGA, Product Bref, Aprl [] H. Bouzouzou, G. aucer, F. Prot, and R. Roane, \Use of bnary decson dagrams for logc desgn", Internatonal Workshop on Logc ynthess, May 199. []. D. Brown, R. J. Francs, J. Rose, and Z. G. Vranesc, Feld Programmable Gate Arrays, Kluwer Academc Publshers, Boston 199. [] R. E. Bryant, \Graph-based algorthms for Boolean functon manpulaton," IEEE Trans. Comput. Vol. C-5, No. 8, Aug. 198, pp [5] J. Cong and Y. Dng, \An optmal technology mappng algorthm for delay optmzaton n lookup table based FPGA desgns", Proc. ICCAD,pp. 8-5, 199. [] M. Davo, J-P. Deschamps, and A. Thayse, Dscrete and wtchng Functons, McGraw-Hll Internatonal, [7] R. Drechsler, A. arab, M. Theobald, B. Becker and M.A. Perkowsk, \Ecent representaton and manpulaton of swtchng functons based on ordered Kronecker Functonal Decson Dagrams", Fachberech Informatk, Unverstat Frankfurt, Interner Bercht 1/9. [8] N. Ishura, H. awada, and. Yajma, \Mnmzaton of bnary decson dagrams based on exchange of varables", ICCAD-91, pp. 7-75, Nov [9] M. Kameyama and T. Hguch, \ynthess of multple-valued logc networks based on tree-type unversal logc module", IEEE Trans. Comput. Vol. C-. No. 1, Dec [10] K. Karplus, \Xmap: a technology mapper for table-lookup eld-programmable gate arrays", DAC-91, pp. 0-, June [11] U. Kebschull, E. chubert and W. Rosenstel, \Multlevel logc synthess based on functonal decson dagrams", EDAC 9, 199, pp. -7. [1] Y-T. La, M. Pedram and. B. K. Vrudhula, \BDD based decomposton of logc functons wth applcaton to FPGA synthess", 0th ACM/IEEE Desgn Automaton Conference, June199. [1] L. McKenze, L. Xu and A. Alman, \Graphcal representaton of generalzed Reed-Muller Expansons", IFIP 10.5 Workshop on Applcatons of the Reed-Muller Expanson n Crcut Desgn, Hamburg, ept. 1-17, 199. [1] D. M. Mller,\Multple-valued logc desgn tools", IMVL-9, May 199, pp [15]. Mnato, N. Ishura, and. Yajma, \hared bnary decson dagram wth attrbuted edges for ecent Boolean functon manpulaton", 7th Desgn Automaton Conference, pp. 5-57, June, [1] R. Murga, N. henoy, R. K. Brayton, and A. angovann-vncentell, \Performance drected synthess for table look up programmable gate arrays", ICCAD-91, pp. 5-57, Nov [17] M.A. Perkowsk, \The generalzed orthnormal expanson of functons wth multple-valued nputs and some of ts applcatons", IMVL-9, enda pp. -50, May 199. [18] M. A. Perkowsk, A. arab, and F. R. Beyl, \XOR canoncal forms of swtchng functons", IFIP 10.5 Workshop on Applcatons of the Reed-Muller Expanson n Crcut Desgn, Hamburg, ept. 1-17, 199. [19] M. A. Perkowsk, \A fundamental theorem for EXOR crcuts", IFIP WG 10.5 Workshop on Applcatons of the Reed-Muller Expanson n Crcut Desgn, eptember 1-17, 199. [0] J. Rose, R. J. Francs, D. Lews, and P. Chow, \Archtecture of eld-programmable gate arrays: the eect of logc block functonalty on area ecency", IEEE Journal of old-tate Crcuts, vol. 5, No.5. pp , [1] A. arab, P. F. Ho, K. Iravann, W. R. Daasch, and M. A. Perkowsk, \Mnmal mult-level realzaton of swtchng functons based on Kronecker functonal decson dagrams", Internatonal Workshop on Logc ynthess, Lake Tahoe, May 199. [] T. asao, \Input varable assgnment and output phase optmzaton of PLA's", IEEE Trans. on Comput. vol. C-, No. 10, pp , Oct [] T. asao, \A transformaton of multple-valued nput two-valued output functons and ts applcaton to smplcaton of exclusve-or sum-ofproducts expressons", IMVL-91, May 1991, pp [] T. asao, \Optmzaton of multple-valued AND- EXOR expressons usng multple-place decson dagrams", IMVL-9, May 199, pp [5] T. asao and J. T. Butler, \On the Analyss of an FPGA Archtecture", Internatonal ymposum on Logc ynthess and Mcroprocessor Archtecture, July 199, pp [] T. asao, \Logc desgn of ULI systems", Post Bnary Logc Workshop, enda, Japan, May199. [7] T. asao, \FPGA desgn by generalzed functonal decomposton", n (asao e.d.) Logc ynthess and Optmzaton, Kluwer Academc Publshers, pp. -58, 199. [8] T. asao, \AND-EXOR expressons and ther optmzaton", n (asao e.d.) Logc ynthess and Optmzaton, Kluwer Academc Publshers, pp. 87-1, 199. [9] T. asao and M. Matsuura, (to be publshed) [0] C. E. hannon, \The synthess of two-termnal swtchng crcuts", Bell yst. Tech. J. 8, 1, pp.59-98, 199. [1] K. C. mth and P. G. Gulak, \Prospects for multple-valued ntegrated crcuts", IEICE Trans. Electron., Vol. E.7-C, No., March 199, pp.7-8. [] We Wan and M. Perkowsk, \A new approach to the decomposton of ncompletely speced multoutput functons based on graph colorng and local transformatons and ts applcaton to FPGA mappng", Euro DAC'9.

Representations of Elementary Functions Using Binary Moment Diagrams

Representations of Elementary Functions Using Binary Moment Diagrams Representatons of Elementary Functons Usng Bnary Moment Dagrams Tsutomu Sasao Department of Computer Scence and Electroncs, Kyushu Insttute of Technology Izua 82-852, Japan Shnobu Nagayama Department of

More information

Exact Minimization of Fixed Polarity. Specied Functions. Debatosh Debnath and Tsutomu Sasao. Kyushu Institute of Technology

Exact Minimization of Fixed Polarity. Specied Functions. Debatosh Debnath and Tsutomu Sasao. Kyushu Institute of Technology Exact Mnmzaton of Fxed Polarty Reed-Muller Expressons for Incompletely Speced Functons Debatosh Debnath and Tsutomu Sasao Department of Computer Scence and Electroncs Kyushu Insttute of Technology Izuka

More information

Decision Diagrams Derivatives

Decision Diagrams Derivatives Decson Dagrams Dervatves Logc Crcuts Desgn Semnars WS2010/2011, Lecture 3 Ing. Petr Fšer, Ph.D. Department of Dgtal Desgn Faculty of Informaton Technology Czech Techncal Unversty n Prague Evropský socální

More information

LINEAR TRANSFORMATION OF BINARY DECISION DIAGRAMS TROUGH SPECTRAL DOMAIN

LINEAR TRANSFORMATION OF BINARY DECISION DIAGRAMS TROUGH SPECTRAL DOMAIN LINEAR TRANSFORMATION OF BINARY DECISION DIAGRAMS TROUGH SPECTRAL DOMAIN Mlena Stankovc, Suzana Stokovc 2 Faculty of Electronc Engneerng, Unversty of Ns, A Medvedeva 4, 8 Ns, SERBIA, mstankovc@elfaknacyu,

More information

NP-Completeness : Proofs

NP-Completeness : Proofs NP-Completeness : Proofs Proof Methods A method to show a decson problem Π NP-complete s as follows. (1) Show Π NP. (2) Choose an NP-complete problem Π. (3) Show Π Π. A method to show an optmzaton problem

More information

Inner Product. Euclidean Space. Orthonormal Basis. Orthogonal

Inner Product. Euclidean Space. Orthonormal Basis. Orthogonal Inner Product Defnton 1 () A Eucldean space s a fnte-dmensonal vector space over the reals R, wth an nner product,. Defnton 2 (Inner Product) An nner product, on a real vector space X s a symmetrc, blnear,

More information

Problem Set 9 Solutions

Problem Set 9 Solutions Desgn and Analyss of Algorthms May 4, 2015 Massachusetts Insttute of Technology 6.046J/18.410J Profs. Erk Demane, Srn Devadas, and Nancy Lynch Problem Set 9 Solutons Problem Set 9 Solutons Ths problem

More information

TOPICS MULTIPLIERLESS FILTER DESIGN ELEMENTARY SCHOOL ALGORITHM MULTIPLICATION

TOPICS MULTIPLIERLESS FILTER DESIGN ELEMENTARY SCHOOL ALGORITHM MULTIPLICATION 1 2 MULTIPLIERLESS FILTER DESIGN Realzaton of flters wthout full-fledged multplers Some sldes based on support materal by W. Wolf for hs book Modern VLSI Desgn, 3 rd edton. Partly based on followng papers:

More information

EEE 241: Linear Systems

EEE 241: Linear Systems EEE : Lnear Systems Summary #: Backpropagaton BACKPROPAGATION The perceptron rule as well as the Wdrow Hoff learnng were desgned to tran sngle layer networks. They suffer from the same dsadvantage: they

More information

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur Module 3 LOSSY IMAGE COMPRESSION SYSTEMS Verson ECE IIT, Kharagpur Lesson 6 Theory of Quantzaton Verson ECE IIT, Kharagpur Instructonal Objectves At the end of ths lesson, the students should be able to:

More information

MEM 255 Introduction to Control Systems Review: Basics of Linear Algebra

MEM 255 Introduction to Control Systems Review: Basics of Linear Algebra MEM 255 Introducton to Control Systems Revew: Bascs of Lnear Algebra Harry G. Kwatny Department of Mechancal Engneerng & Mechancs Drexel Unversty Outlne Vectors Matrces MATLAB Advanced Topcs Vectors A

More information

THE CHINESE REMAINDER THEOREM. We should thank the Chinese for their wonderful remainder theorem. Glenn Stevens

THE CHINESE REMAINDER THEOREM. We should thank the Chinese for their wonderful remainder theorem. Glenn Stevens THE CHINESE REMAINDER THEOREM KEITH CONRAD We should thank the Chnese for ther wonderful remander theorem. Glenn Stevens 1. Introducton The Chnese remander theorem says we can unquely solve any par of

More information

= z 20 z n. (k 20) + 4 z k = 4

= z 20 z n. (k 20) + 4 z k = 4 Problem Set #7 solutons 7.2.. (a Fnd the coeffcent of z k n (z + z 5 + z 6 + z 7 + 5, k 20. We use the known seres expanson ( n+l ( z l l z n below: (z + z 5 + z 6 + z 7 + 5 (z 5 ( + z + z 2 + z + 5 5

More information

DATA STRUCTURES FOR LOGIC OPTIMIZATION

DATA STRUCTURES FOR LOGIC OPTIMIZATION DATA STRUCTURES FOR LOGIC OPTIMIZATION Outlne Revew of Boolean algera. c Govann De Mchel Stanford Unversty Representatons of logc functons. Matrx representatons of covers. Operatons on logc covers. Background

More information

APPENDIX A Some Linear Algebra

APPENDIX A Some Linear Algebra APPENDIX A Some Lnear Algebra The collecton of m, n matrces A.1 Matrces a 1,1,..., a 1,n A = a m,1,..., a m,n wth real elements a,j s denoted by R m,n. If n = 1 then A s called a column vector. Smlarly,

More information

Multi-Valued Sub-function Encoding in Functional Decomposition Based on Information Relationships Measures

Multi-Valued Sub-function Encoding in Functional Decomposition Based on Information Relationships Measures Mult-Valued Sub-functon Encodng n Functonal Decomposton Based on Informaton Relatonshps Measures $UWXU&KRMQD NLDQG/H K-y(ZLDN Endhoven Unversty of Technology, Faculty of Electrcal Engneerng P.O. Box 513,

More information

A new construction of 3-separable matrices via an improved decoding of Macula s construction

A new construction of 3-separable matrices via an improved decoding of Macula s construction Dscrete Optmzaton 5 008 700 704 Contents lsts avalable at ScenceDrect Dscrete Optmzaton journal homepage: wwwelsevercom/locate/dsopt A new constructon of 3-separable matrces va an mproved decodng of Macula

More information

Computing Correlated Equilibria in Multi-Player Games

Computing Correlated Equilibria in Multi-Player Games Computng Correlated Equlbra n Mult-Player Games Chrstos H. Papadmtrou Presented by Zhanxang Huang December 7th, 2005 1 The Author Dr. Chrstos H. Papadmtrou CS professor at UC Berkley (taught at Harvard,

More information

The Order Relation and Trace Inequalities for. Hermitian Operators

The Order Relation and Trace Inequalities for. Hermitian Operators Internatonal Mathematcal Forum, Vol 3, 08, no, 507-57 HIKARI Ltd, wwwm-hkarcom https://doorg/0988/mf088055 The Order Relaton and Trace Inequaltes for Hermtan Operators Y Huang School of Informaton Scence

More information

More metrics on cartesian products

More metrics on cartesian products More metrcs on cartesan products If (X, d ) are metrc spaces for 1 n, then n Secton II4 of the lecture notes we defned three metrcs on X whose underlyng topologes are the product topology The purpose of

More information

5 The Rational Canonical Form

5 The Rational Canonical Form 5 The Ratonal Canoncal Form Here p s a monc rreducble factor of the mnmum polynomal m T and s not necessarly of degree one Let F p denote the feld constructed earler n the course, consstng of all matrces

More information

Affine transformations and convexity

Affine transformations and convexity Affne transformatons and convexty The purpose of ths document s to prove some basc propertes of affne transformatons nvolvng convex sets. Here are a few onlne references for background nformaton: http://math.ucr.edu/

More information

Singular Value Decomposition: Theory and Applications

Singular Value Decomposition: Theory and Applications Sngular Value Decomposton: Theory and Applcatons Danel Khashab Sprng 2015 Last Update: March 2, 2015 1 Introducton A = UDV where columns of U and V are orthonormal and matrx D s dagonal wth postve real

More information

Using the Minimum Set of Input Combinations to Minimize the Area of Local Routing Networks in Logic Clusters. FPGAs. Andy Ye Ryerson University

Using the Minimum Set of Input Combinations to Minimize the Area of Local Routing Networks in Logic Clusters. FPGAs. Andy Ye Ryerson University Usng the Mnmum Set of Input Combnatons to Mnmze the Area of Local Routng Networks n Logc Clusters Contanng Logcally Equvalent I/Os n FPGAs Andy Ye Ryerson Unversty Mnmum-area IIBs how to mnmze the area

More information

Module 9. Lecture 6. Duality in Assignment Problems

Module 9. Lecture 6. Duality in Assignment Problems Module 9 1 Lecture 6 Dualty n Assgnment Problems In ths lecture we attempt to answer few other mportant questons posed n earler lecture for (AP) and see how some of them can be explaned through the concept

More information

Clock-Gating and Its Application to Low Power Design of Sequential Circuits

Clock-Gating and Its Application to Low Power Design of Sequential Circuits Clock-Gatng and Its Applcaton to Low Power Desgn of Sequental Crcuts ng WU Department of Electrcal Engneerng-Systems, Unversty of Southern Calforna Los Angeles, CA 989, USA, Phone: (23)74-448 Massoud PEDRAM

More information

Example: (13320, 22140) =? Solution #1: The divisors of are 1, 2, 3, 4, 5, 6, 9, 10, 12, 15, 18, 20, 27, 30, 36, 41,

Example: (13320, 22140) =? Solution #1: The divisors of are 1, 2, 3, 4, 5, 6, 9, 10, 12, 15, 18, 20, 27, 30, 36, 41, The greatest common dvsor of two ntegers a and b (not both zero) s the largest nteger whch s a common factor of both a and b. We denote ths number by gcd(a, b), or smply (a, b) when there s no confuson

More information

Structure and Drive Paul A. Jensen Copyright July 20, 2003

Structure and Drive Paul A. Jensen Copyright July 20, 2003 Structure and Drve Paul A. Jensen Copyrght July 20, 2003 A system s made up of several operatons wth flow passng between them. The structure of the system descrbes the flow paths from nputs to outputs.

More information

x = , so that calculated

x = , so that calculated Stat 4, secton Sngle Factor ANOVA notes by Tm Plachowsk n chapter 8 we conducted hypothess tests n whch we compared a sngle sample s mean or proporton to some hypotheszed value Chapter 9 expanded ths to

More information

n α j x j = 0 j=1 has a nontrivial solution. Here A is the n k matrix whose jth column is the vector for all t j=0

n α j x j = 0 j=1 has a nontrivial solution. Here A is the n k matrix whose jth column is the vector for all t j=0 MODULE 2 Topcs: Lnear ndependence, bass and dmenson We have seen that f n a set of vectors one vector s a lnear combnaton of the remanng vectors n the set then the span of the set s unchanged f that vector

More information

Chapter 8 Indicator Variables

Chapter 8 Indicator Variables Chapter 8 Indcator Varables In general, e explanatory varables n any regresson analyss are assumed to be quanttatve n nature. For example, e varables lke temperature, dstance, age etc. are quanttatve n

More information

The L(2, 1)-Labeling on -Product of Graphs

The L(2, 1)-Labeling on -Product of Graphs Annals of Pure and Appled Mathematcs Vol 0, No, 05, 9-39 ISSN: 79-087X (P, 79-0888(onlne Publshed on 7 Aprl 05 wwwresearchmathscorg Annals of The L(, -Labelng on -Product of Graphs P Pradhan and Kamesh

More information

Outline and Reading. Dynamic Programming. Dynamic Programming revealed. Computing Fibonacci. The General Dynamic Programming Technique

Outline and Reading. Dynamic Programming. Dynamic Programming revealed. Computing Fibonacci. The General Dynamic Programming Technique Outlne and Readng Dynamc Programmng The General Technque ( 5.3.2) -1 Knapsac Problem ( 5.3.3) Matrx Chan-Product ( 5.3.1) Dynamc Programmng verson 1.4 1 Dynamc Programmng verson 1.4 2 Dynamc Programmng

More information

LINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity

LINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity LINEAR REGRESSION ANALYSIS MODULE IX Lecture - 30 Multcollnearty Dr. Shalabh Department of Mathematcs and Statstcs Indan Insttute of Technology Kanpur 2 Remedes for multcollnearty Varous technques have

More information

Department of Electrical & Electronic Engineeing Imperial College London. E4.20 Digital IC Design. Median Filter Project Specification

Department of Electrical & Electronic Engineeing Imperial College London. E4.20 Digital IC Design. Median Filter Project Specification Desgn Project Specfcaton Medan Flter Department of Electrcal & Electronc Engneeng Imperal College London E4.20 Dgtal IC Desgn Medan Flter Project Specfcaton A medan flter s used to remove nose from a sampled

More information

Speeding up Computation of Scalar Multiplication in Elliptic Curve Cryptosystem

Speeding up Computation of Scalar Multiplication in Elliptic Curve Cryptosystem H.K. Pathak et. al. / (IJCSE) Internatonal Journal on Computer Scence and Engneerng Speedng up Computaton of Scalar Multplcaton n Ellptc Curve Cryptosystem H. K. Pathak Manju Sangh S.o.S n Computer scence

More information

A Novel, Low-Power Array Multiplier Architecture

A Novel, Low-Power Array Multiplier Architecture A Noel, Low-Power Array Multpler Archtecture by Ronak Bajaj, Saransh Chhabra, Sreehar Veeramachanen, MB Srnas n 9th Internatonal Symposum on Communcaton and Informaton Technology 29 (ISCIT 29) Songdo -

More information

LECTURE 9 CANONICAL CORRELATION ANALYSIS

LECTURE 9 CANONICAL CORRELATION ANALYSIS LECURE 9 CANONICAL CORRELAION ANALYSIS Introducton he concept of canoncal correlaton arses when we want to quantfy the assocatons between two sets of varables. For example, suppose that the frst set of

More information

find (x): given element x, return the canonical element of the set containing x;

find (x): given element x, return the canonical element of the set containing x; COS 43 Sprng, 009 Dsjont Set Unon Problem: Mantan a collecton of dsjont sets. Two operatons: fnd the set contanng a gven element; unte two sets nto one (destructvely). Approach: Canoncal element method:

More information

An efficient algorithm for multivariate Maclaurin Newton transformation

An efficient algorithm for multivariate Maclaurin Newton transformation Annales UMCS Informatca AI VIII, 2 2008) 5 14 DOI: 10.2478/v10065-008-0020-6 An effcent algorthm for multvarate Maclaurn Newton transformaton Joanna Kapusta Insttute of Mathematcs and Computer Scence,

More information

On a direct solver for linear least squares problems

On a direct solver for linear least squares problems ISSN 2066-6594 Ann. Acad. Rom. Sc. Ser. Math. Appl. Vol. 8, No. 2/2016 On a drect solver for lnear least squares problems Constantn Popa Abstract The Null Space (NS) algorthm s a drect solver for lnear

More information

For now, let us focus on a specific model of neurons. These are simplified from reality but can achieve remarkable results.

For now, let us focus on a specific model of neurons. These are simplified from reality but can achieve remarkable results. Neural Networks : Dervaton compled by Alvn Wan from Professor Jtendra Malk s lecture Ths type of computaton s called deep learnng and s the most popular method for many problems, such as computer vson

More information

Energy Storage Elements: Capacitors and Inductors

Energy Storage Elements: Capacitors and Inductors CHAPTER 6 Energy Storage Elements: Capactors and Inductors To ths pont n our study of electronc crcuts, tme has not been mportant. The analyss and desgns we hae performed so far hae been statc, and all

More information

Quantum Mechanics I - Session 4

Quantum Mechanics I - Session 4 Quantum Mechancs I - Sesson 4 Aprl 3, 05 Contents Operators Change of Bass 4 3 Egenvectors and Egenvalues 5 3. Denton....................................... 5 3. Rotaton n D....................................

More information

Digital Signal Processing

Digital Signal Processing Dgtal Sgnal Processng Dscrete-tme System Analyss Manar Mohasen Offce: F8 Emal: manar.subh@ut.ac.r School of IT Engneerng Revew of Precedent Class Contnuous Sgnal The value of the sgnal s avalable over

More information

Lecture Notes on Linear Regression

Lecture Notes on Linear Regression Lecture Notes on Lnear Regresson Feng L fl@sdueducn Shandong Unversty, Chna Lnear Regresson Problem In regresson problem, we am at predct a contnuous target value gven an nput feature vector We assume

More information

Continued..& Multiplier

Continued..& Multiplier CS222: Computer Arthmetc : Adder Contnued..& Multpler Dr. A. Sahu Dept of Comp. Sc. & Engg. Indan Insttute of Technology Guwahat 1 Outlne Adder Unversal Use (N bt addton) RppleCarry Adder, Full Adder,

More information

Discussion 11 Summary 11/20/2018

Discussion 11 Summary 11/20/2018 Dscusson 11 Summary 11/20/2018 1 Quz 8 1. Prove for any sets A, B that A = A B ff B A. Soluton: There are two drectons we need to prove: (a) A = A B B A, (b) B A A = A B. (a) Frst, we prove A = A B B A.

More information

Dynamic Programming. Preview. Dynamic Programming. Dynamic Programming. Dynamic Programming (Example: Fibonacci Sequence)

Dynamic Programming. Preview. Dynamic Programming. Dynamic Programming. Dynamic Programming (Example: Fibonacci Sequence) /24/27 Prevew Fbonacc Sequence Longest Common Subsequence Dynamc programmng s a method for solvng complex problems by breakng them down nto smpler sub-problems. It s applcable to problems exhbtng the propertes

More information

Convexity preserving interpolation by splines of arbitrary degree

Convexity preserving interpolation by splines of arbitrary degree Computer Scence Journal of Moldova, vol.18, no.1(52), 2010 Convexty preservng nterpolaton by splnes of arbtrary degree Igor Verlan Abstract In the present paper an algorthm of C 2 nterpolaton of dscrete

More information

SL n (F ) Equals its Own Derived Group

SL n (F ) Equals its Own Derived Group Internatonal Journal of Algebra, Vol. 2, 2008, no. 12, 585-594 SL n (F ) Equals ts Own Derved Group Jorge Macel BMCC-The Cty Unversty of New York, CUNY 199 Chambers street, New York, NY 10007, USA macel@cms.nyu.edu

More information

The Minimum Universal Cost Flow in an Infeasible Flow Network

The Minimum Universal Cost Flow in an Infeasible Flow Network Journal of Scences, Islamc Republc of Iran 17(2): 175-180 (2006) Unversty of Tehran, ISSN 1016-1104 http://jscencesutacr The Mnmum Unversal Cost Flow n an Infeasble Flow Network H Saleh Fathabad * M Bagheran

More information

Edge Isoperimetric Inequalities

Edge Isoperimetric Inequalities November 7, 2005 Ross M. Rchardson Edge Isopermetrc Inequaltes 1 Four Questons Recall that n the last lecture we looked at the problem of sopermetrc nequaltes n the hypercube, Q n. Our noton of boundary

More information

On the Multicriteria Integer Network Flow Problem

On the Multicriteria Integer Network Flow Problem BULGARIAN ACADEMY OF SCIENCES CYBERNETICS AND INFORMATION TECHNOLOGIES Volume 5, No 2 Sofa 2005 On the Multcrtera Integer Network Flow Problem Vassl Vasslev, Marana Nkolova, Maryana Vassleva Insttute of

More information

CHAPTER III Neural Networks as Associative Memory

CHAPTER III Neural Networks as Associative Memory CHAPTER III Neural Networs as Assocatve Memory Introducton One of the prmary functons of the bran s assocatve memory. We assocate the faces wth names, letters wth sounds, or we can recognze the people

More information

Yong Joon Ryang. 1. Introduction Consider the multicommodity transportation problem with convex quadratic cost function. 1 2 (x x0 ) T Q(x x 0 )

Yong Joon Ryang. 1. Introduction Consider the multicommodity transportation problem with convex quadratic cost function. 1 2 (x x0 ) T Q(x x 0 ) Kangweon-Kyungk Math. Jour. 4 1996), No. 1, pp. 7 16 AN ITERATIVE ROW-ACTION METHOD FOR MULTICOMMODITY TRANSPORTATION PROBLEMS Yong Joon Ryang Abstract. The optmzaton problems wth quadratc constrants often

More information

Chapter Newton s Method

Chapter Newton s Method Chapter 9. Newton s Method After readng ths chapter, you should be able to:. Understand how Newton s method s dfferent from the Golden Secton Search method. Understand how Newton s method works 3. Solve

More information

Finding Dense Subgraphs in G(n, 1/2)

Finding Dense Subgraphs in G(n, 1/2) Fndng Dense Subgraphs n Gn, 1/ Atsh Das Sarma 1, Amt Deshpande, and Rav Kannan 1 Georga Insttute of Technology,atsh@cc.gatech.edu Mcrosoft Research-Bangalore,amtdesh,annan@mcrosoft.com Abstract. Fndng

More information

% & 5.3 PRACTICAL APPLICATIONS. Given system, (49) , determine the Boolean Function, , in such a way that we always have expression: " Y1 = Y2

% & 5.3 PRACTICAL APPLICATIONS. Given system, (49) , determine the Boolean Function, , in such a way that we always have expression:  Y1 = Y2 5.3 PRACTICAL APPLICATIONS st EXAMPLE: Gven system, (49) & K K Y XvX 3 ( 2 & X ), determne the Boolean Functon, Y2 X2 & X 3 v X " X3 (X2,X)", n such a way that we always have expresson: " Y Y2 " (50).

More information

The Synchronous 8th-Order Differential Attack on 12 Rounds of the Block Cipher HyRAL

The Synchronous 8th-Order Differential Attack on 12 Rounds of the Block Cipher HyRAL The Synchronous 8th-Order Dfferental Attack on 12 Rounds of the Block Cpher HyRAL Yasutaka Igarash, Sej Fukushma, and Tomohro Hachno Kagoshma Unversty, Kagoshma, Japan Emal: {garash, fukushma, hachno}@eee.kagoshma-u.ac.jp

More information

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.265/15.070J Fall 2013 Lecture 12 10/21/2013. Martingale Concentration Inequalities and Applications

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.265/15.070J Fall 2013 Lecture 12 10/21/2013. Martingale Concentration Inequalities and Applications MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.65/15.070J Fall 013 Lecture 1 10/1/013 Martngale Concentraton Inequaltes and Applcatons Content. 1. Exponental concentraton for martngales wth bounded ncrements.

More information

Solutions of Boolean equations by orthonormal expansion

Solutions of Boolean equations by orthonormal expansion Solutons of Boolean equatons by orthonormal expanson Vrendra Sule Department of Electrcal Engneerng Indan Insttute of Technology Bombay, Powa Mumba 400076, Inda (vrs@ee.tb.ac.n) December 29, 2012 1 Introducton

More information

Errors for Linear Systems

Errors for Linear Systems Errors for Lnear Systems When we solve a lnear system Ax b we often do not know A and b exactly, but have only approxmatons  and ˆb avalable. Then the best thng we can do s to solve ˆx ˆb exactly whch

More information

Min Cut, Fast Cut, Polynomial Identities

Min Cut, Fast Cut, Polynomial Identities Randomzed Algorthms, Summer 016 Mn Cut, Fast Cut, Polynomal Identtes Instructor: Thomas Kesselhem and Kurt Mehlhorn 1 Mn Cuts n Graphs Lecture (5 pages) Throughout ths secton, G = (V, E) s a mult-graph.

More information

8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS

8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS SECTION 8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS 493 8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS All the vector spaces you have studed thus far n the text are real vector spaces because the scalars

More information

Grover s Algorithm + Quantum Zeno Effect + Vaidman

Grover s Algorithm + Quantum Zeno Effect + Vaidman Grover s Algorthm + Quantum Zeno Effect + Vadman CS 294-2 Bomb 10/12/04 Fall 2004 Lecture 11 Grover s algorthm Recall that Grover s algorthm for searchng over a space of sze wors as follows: consder the

More information

2.3 Nilpotent endomorphisms

2.3 Nilpotent endomorphisms s a block dagonal matrx, wth A Mat dm U (C) In fact, we can assume that B = B 1 B k, wth B an ordered bass of U, and that A = [f U ] B, where f U : U U s the restrcton of f to U 40 23 Nlpotent endomorphsms

More information

Introduction to Vapor/Liquid Equilibrium, part 2. Raoult s Law:

Introduction to Vapor/Liquid Equilibrium, part 2. Raoult s Law: CE304, Sprng 2004 Lecture 4 Introducton to Vapor/Lqud Equlbrum, part 2 Raoult s Law: The smplest model that allows us do VLE calculatons s obtaned when we assume that the vapor phase s an deal gas, and

More information

A Simple Research of Divisor Graphs

A Simple Research of Divisor Graphs The 29th Workshop on Combnatoral Mathematcs and Computaton Theory A Smple Research o Dvsor Graphs Yu-png Tsao General Educaton Center Chna Unversty o Technology Tape Tawan yp-tsao@cuteedutw Tape Tawan

More information

Transfer Functions. Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: ( ) system

Transfer Functions. Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: ( ) system Transfer Functons Convenent representaton of a lnear, dynamc model. A transfer functon (TF) relates one nput and one output: x t X s y t system Y s The followng termnology s used: x y nput output forcng

More information

Which Separator? Spring 1

Which Separator? Spring 1 Whch Separator? 6.034 - Sprng 1 Whch Separator? Mamze the margn to closest ponts 6.034 - Sprng Whch Separator? Mamze the margn to closest ponts 6.034 - Sprng 3 Margn of a pont " # y (w $ + b) proportonal

More information

Message modification, neutral bits and boomerangs

Message modification, neutral bits and boomerangs Message modfcaton, neutral bts and boomerangs From whch round should we start countng n SHA? Antone Joux DGA and Unversty of Versalles St-Quentn-en-Yvelnes France Jont work wth Thomas Peyrn 1 Dfferental

More information

College of Computer & Information Science Fall 2009 Northeastern University 20 October 2009

College of Computer & Information Science Fall 2009 Northeastern University 20 October 2009 College of Computer & Informaton Scence Fall 2009 Northeastern Unversty 20 October 2009 CS7880: Algorthmc Power Tools Scrbe: Jan Wen and Laura Poplawsk Lecture Outlne: Prmal-dual schema Network Desgn:

More information

Mathematical Preparations

Mathematical Preparations 1 Introducton Mathematcal Preparatons The theory of relatvty was developed to explan experments whch studed the propagaton of electromagnetc radaton n movng coordnate systems. Wthn expermental error the

More information

Fundamental loop-current method using virtual voltage sources technique for special cases

Fundamental loop-current method using virtual voltage sources technique for special cases Fundamental loop-current method usng vrtual voltage sources technque for specal cases George E. Chatzaraks, 1 Marna D. Tortorel 1 and Anastasos D. Tzolas 1 Electrcal and Electroncs Engneerng Departments,

More information

Simultaneous Optimization of Berth Allocation, Quay Crane Assignment and Quay Crane Scheduling Problems in Container Terminals

Simultaneous Optimization of Berth Allocation, Quay Crane Assignment and Quay Crane Scheduling Problems in Container Terminals Smultaneous Optmzaton of Berth Allocaton, Quay Crane Assgnment and Quay Crane Schedulng Problems n Contaner Termnals Necat Aras, Yavuz Türkoğulları, Z. Caner Taşkın, Kuban Altınel Abstract In ths work,

More information

A Bayes Algorithm for the Multitask Pattern Recognition Problem Direct Approach

A Bayes Algorithm for the Multitask Pattern Recognition Problem Direct Approach A Bayes Algorthm for the Multtask Pattern Recognton Problem Drect Approach Edward Puchala Wroclaw Unversty of Technology, Char of Systems and Computer etworks, Wybrzeze Wyspanskego 7, 50-370 Wroclaw, Poland

More information

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X Statstcs 1: Probablty Theory II 37 3 EPECTATION OF SEVERAL RANDOM VARIABLES As n Probablty Theory I, the nterest n most stuatons les not on the actual dstrbuton of a random vector, but rather on a number

More information

Notes on Frequency Estimation in Data Streams

Notes on Frequency Estimation in Data Streams Notes on Frequency Estmaton n Data Streams In (one of) the data streamng model(s), the data s a sequence of arrvals a 1, a 2,..., a m of the form a j = (, v) where s the dentty of the tem and belongs to

More information

The Geometry of Logit and Probit

The Geometry of Logit and Probit The Geometry of Logt and Probt Ths short note s meant as a supplement to Chapters and 3 of Spatal Models of Parlamentary Votng and the notaton and reference to fgures n the text below s to those two chapters.

More information

NUMERICAL DIFFERENTIATION

NUMERICAL DIFFERENTIATION NUMERICAL DIFFERENTIATION 1 Introducton Dfferentaton s a method to compute the rate at whch a dependent output y changes wth respect to the change n the ndependent nput x. Ths rate of change s called the

More information

CHAPTER-5 INFORMATION MEASURE OF FUZZY MATRIX AND FUZZY BINARY RELATION

CHAPTER-5 INFORMATION MEASURE OF FUZZY MATRIX AND FUZZY BINARY RELATION CAPTER- INFORMATION MEASURE OF FUZZY MATRI AN FUZZY BINARY RELATION Introducton The basc concept of the fuzz matr theor s ver smple and can be appled to socal and natural stuatons A branch of fuzz matr

More information

Lecture 5 Decoding Binary BCH Codes

Lecture 5 Decoding Binary BCH Codes Lecture 5 Decodng Bnary BCH Codes In ths class, we wll ntroduce dfferent methods for decodng BCH codes 51 Decodng the [15, 7, 5] 2 -BCH Code Consder the [15, 7, 5] 2 -code C we ntroduced n the last lecture

More information

COMPARISON OF SOME RELIABILITY CHARACTERISTICS BETWEEN REDUNDANT SYSTEMS REQUIRING SUPPORTING UNITS FOR THEIR OPERATIONS

COMPARISON OF SOME RELIABILITY CHARACTERISTICS BETWEEN REDUNDANT SYSTEMS REQUIRING SUPPORTING UNITS FOR THEIR OPERATIONS Avalable onlne at http://sck.org J. Math. Comput. Sc. 3 (3), No., 6-3 ISSN: 97-537 COMPARISON OF SOME RELIABILITY CHARACTERISTICS BETWEEN REDUNDANT SYSTEMS REQUIRING SUPPORTING UNITS FOR THEIR OPERATIONS

More information

THE SUMMATION NOTATION Ʃ

THE SUMMATION NOTATION Ʃ Sngle Subscrpt otaton THE SUMMATIO OTATIO Ʃ Most of the calculatons we perform n statstcs are repettve operatons on lsts of numbers. For example, we compute the sum of a set of numbers, or the sum of the

More information

Introduction to information theory and data compression

Introduction to information theory and data compression Introducton to nformaton theory and data compresson Adel Magra, Emma Gouné, Irène Woo March 8, 207 Ths s the augmented transcrpt of a lecture gven by Luc Devroye on March 9th 207 for a Data Structures

More information

DISCRIMINANTS AND RAMIFIED PRIMES. 1. Introduction A prime number p is said to be ramified in a number field K if the prime ideal factorization

DISCRIMINANTS AND RAMIFIED PRIMES. 1. Introduction A prime number p is said to be ramified in a number field K if the prime ideal factorization DISCRIMINANTS AND RAMIFIED PRIMES KEITH CONRAD 1. Introducton A prme number p s sad to be ramfed n a number feld K f the prme deal factorzaton (1.1) (p) = po K = p e 1 1 peg g has some e greater than 1.

More information

Solutions to exam in SF1811 Optimization, Jan 14, 2015

Solutions to exam in SF1811 Optimization, Jan 14, 2015 Solutons to exam n SF8 Optmzaton, Jan 4, 25 3 3 O------O -4 \ / \ / The network: \/ where all lnks go from left to rght. /\ / \ / \ 6 O------O -5 2 4.(a) Let x = ( x 3, x 4, x 23, x 24 ) T, where the varable

More information

Modulo Magic Labeling in Digraphs

Modulo Magic Labeling in Digraphs Gen. Math. Notes, Vol. 7, No., August, 03, pp. 5- ISSN 9-784; Copyrght ICSRS Publcaton, 03 www.-csrs.org Avalable free onlne at http://www.geman.n Modulo Magc Labelng n Dgraphs L. Shobana and J. Baskar

More information

Uncertainty in measurements of power and energy on power networks

Uncertainty in measurements of power and energy on power networks Uncertanty n measurements of power and energy on power networks E. Manov, N. Kolev Department of Measurement and Instrumentaton, Techncal Unversty Sofa, bul. Klment Ohrdsk No8, bl., 000 Sofa, Bulgara Tel./fax:

More information

Lecture 4: November 17, Part 1 Single Buffer Management

Lecture 4: November 17, Part 1 Single Buffer Management Lecturer: Ad Rosén Algorthms for the anagement of Networs Fall 2003-2004 Lecture 4: November 7, 2003 Scrbe: Guy Grebla Part Sngle Buffer anagement In the prevous lecture we taled about the Combned Input

More information

ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM

ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM An elastc wave s a deformaton of the body that travels throughout the body n all drectons. We can examne the deformaton over a perod of tme by fxng our look

More information

Analysis of the Magnetomotive Force of a Three-Phase Winding with Concentrated Coils and Different Symmetry Features

Analysis of the Magnetomotive Force of a Three-Phase Winding with Concentrated Coils and Different Symmetry Features Analyss of the Magnetomotve Force of a Three-Phase Wndng wth Concentrated Cols and Dfferent Symmetry Features Deter Gerlng Unversty of Federal Defense Munch, Neubberg, 85579, Germany Emal: Deter.Gerlng@unbw.de

More information

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur Analyss of Varance and Desgn of Experment-I MODULE VII LECTURE - 3 ANALYSIS OF COVARIANCE Dr Shalabh Department of Mathematcs and Statstcs Indan Insttute of Technology Kanpur Any scentfc experment s performed

More information

Calculation of time complexity (3%)

Calculation of time complexity (3%) Problem 1. (30%) Calculaton of tme complexty (3%) Gven n ctes, usng exhaust search to see every result takes O(n!). Calculaton of tme needed to solve the problem (2%) 40 ctes:40! dfferent tours 40 add

More information

Graph Reconstruction by Permutations

Graph Reconstruction by Permutations Graph Reconstructon by Permutatons Perre Ille and Wllam Kocay* Insttut de Mathémathques de Lumny CNRS UMR 6206 163 avenue de Lumny, Case 907 13288 Marselle Cedex 9, France e-mal: lle@ml.unv-mrs.fr Computer

More information

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix Lectures - Week 4 Matrx norms, Condtonng, Vector Spaces, Lnear Independence, Spannng sets and Bass, Null space and Range of a Matrx Matrx Norms Now we turn to assocatng a number to each matrx. We could

More information

OPTIMISATION. Introduction Single Variable Unconstrained Optimisation Multivariable Unconstrained Optimisation Linear Programming

OPTIMISATION. Introduction Single Variable Unconstrained Optimisation Multivariable Unconstrained Optimisation Linear Programming OPTIMIATION Introducton ngle Varable Unconstraned Optmsaton Multvarable Unconstraned Optmsaton Lnear Programmng Chapter Optmsaton /. Introducton In an engneerng analss, sometmes etremtes, ether mnmum or

More information

Week3, Chapter 4. Position and Displacement. Motion in Two Dimensions. Instantaneous Velocity. Average Velocity

Week3, Chapter 4. Position and Displacement. Motion in Two Dimensions. Instantaneous Velocity. Average Velocity Week3, Chapter 4 Moton n Two Dmensons Lecture Quz A partcle confned to moton along the x axs moves wth constant acceleraton from x =.0 m to x = 8.0 m durng a 1-s tme nterval. The velocty of the partcle

More information

A property of the elementary symmetric functions

A property of the elementary symmetric functions Calcolo manuscrpt No. (wll be nserted by the edtor) A property of the elementary symmetrc functons A. Esnberg, G. Fedele Dp. Elettronca Informatca e Sstemstca, Unverstà degl Stud della Calabra, 87036,

More information