Semi-Custom VLSI Design and Implementation of a New Efficient RNS Division Algorithm

Size: px
Start display at page:

Download "Semi-Custom VLSI Design and Implementation of a New Efficient RNS Division Algorithm"

Transcription

1 Semi-Custom VLSI Design and Implementation of a New Efficient RNS Division Algoithm AHMAD A. HIASAT AND HODA ABDEL-AT-ZOHD 2 Elect. Eng. Dept., Pincess Sumaya Univesity, PO Box 438, Amman 94, Jodan 2 Elect. & Sys. Eng. Dept., Oakland Univesity, Rocheste, MI 48309, USA aahiasat@ss.gov.jo In this pape we intoduce a new algoithm fo division in esidue numbe system, which can be applied to any moduli set. Simulation esults indicated that the algoithm is faste than the most competitive published wok. To futhe impove this speed, we customize this algoithm to seve two specific moduli sets: (2 k, 2 k, 2 k ) and (2 k +, 2 k, 2 k ). The customization esults in eliminating memoy devices (ROMs), thus inceasing the speed of opeation. A semi-custom VLSI design fo this algoithm fo the moduli (2 k +, 2 k, 2 k ) has been implemented, fabicated and tested. Received August 3, 998; evised Apil 26, 999. INTRODUCTION The esidue numbe system (RNS) has the advantage of cay-fee aithmetic opeations. Thus, using esidue aithmetic would in pinciple incease the compute pocessing speed. In paticula, addition, subtaction and multiplication can be pefomed on each esidue digit concuently and independently. Howeve, thee ae dawbacks associated with RNS. These dawbacks include the difficulty of esidue opeations like division, sign and oveflow detection. Geneally speaking, all epoted algoithms on division in RNS [3, 4, 5, 6, 7, 8, 9, 0, ] have the disadvantage of lengthy aithmetic opeations, lage execution time and complex hadwae equiements. The complexity of these algoithms is due to mixed-adix convesion (MRC) and pefoming difficult esidue opeations. The moduli sets (2 k, 2 k, 2 k ) and (2 k +, 2 k, 2 k ) ae paticulaly impotant in applications which equie a high degee of pecision [2, 3, 4]. Some of the ecusive digital filtes equie a high degee of pecision in thei computations in ode to accuately contol the fequency chaacteistics and to eliminate the occuence of instabilities. Moduli sets like (2 k, 2 k, 2 k ) and (2 k +, 2 k, 2 k ) ae among the vey few systems that can deal with such citical situations [4]. The popeties of these sets become moe appaent in hadwae consideations because most moduli ae diminished o augumented powes of two. Residue addition fo diminished powes of two is the cayadd type and multiplication by a powe of two is equivalent to left otation. Similaly, esidue addition fo augumented Pat of this pape is based on []. Anothe pat of this pape is based on [2]. powes of two is the cay-subtact type. Theefoe, they can play an inceased ole in implementing an RNS aithmetic unit fo computes. The advances in VLSI technology have suggested novel appoaches to the implementation of aithmetic units ove finite ings. RNS suppots the main VLSI design popeties and featues like simple connections, concuency and modulaity. Independence of esidue digits eliminates complex inteconnection pattens among diffeent logic components. This independence leads to concuency whee an aithmetic opeation can be caied on all esidue digits concuently. The similaity in pocessing achitectue fo each modulus offes functional and layout modulaity. In this pape, we pesent a new division algoithm. The main idea is based on selecting an appoximate quotient that is guaanteed to poduce a non-negative emainde, unless the division pocedue is completed. The main featues of thisalgoithm,ascompaedwithothes[3,4,5,6,7,8,9,0, ], ae: no sign detemination, oveflow detection, scaling o MRC is needed. Moeove, no need fo base extension, auxiliay o edundant moduli. The algoithm speed is not dependent on the numbe of moduli, but on dynamic ange. Nevethless, this new algoithm is still based upon conveting the esidue epesentation of the dividend and the diviso to a weighted code in ode to deive some infomation egading the position of the most-significant non-zeo bit contained in a esidue numbe. The algoithm is then customized to seve the above mentioned moduli sets. This customization educes hadwae and time equiements associated with conveting the esidue epesentation to a weighted code. The customized stuctue has been designed and implemented using VLSI design tools. The layout has,

2 IMPLEMENTATION OF A NEW EFFICIENT RNS DIVISION ALGORITHM 233 then, been fabicated and tested to veify the integity and functionality of the design. In ode to evaluate the pefomance of this new design, it has to be compaed with othe RNS division algoithms. Chen s algoithm [5] has a slightly bette pefomance compaed to anothe algoithm [4] in tems of the mean of esidue opeations needed fo each division poblem. Nevetheless, it equies MRC and esidue scaling. If lookup tables ae used, then MRC and scaling would equie (N ) and (2N ) memoy cycles espectively [2]. Chen s algoithm also equies a edundant modulus which epesents anothe dawback. Gambege [6] pesented an algoithm which does not use MRC. The numbe of iteations fo each division poblem is popotional to the magnitude of the diviso. The mean of the numbe of iteations is, thus, vey high. Moeove, the hadwae implementation suggested by Gambege is vey complicated and expensive due to the utilization of auxiliay RNS. Hung and Pahami [] intoduced two RNS division algoithms based on the appoximate-sign detection technique. The faste among the two [] equies much moe hadwae than the othe slowe one. Hung and Pahami [] indicated that intemediate to these algoithms ae a numbe of choices that offe speed/cost tadeoffs. Although both the faste algoithm of Hung and Pahami [] and the algoithm of Lu and Chiang [3] have the same time complexity, the latte one has a bette hadwae complexity. The most competitive wok, intoduced by Lu and Chiang [3], does not use MRC, howeve, it utilizes the idea of the factional epesentation of /M to detect the paity of a esidue numbe and hence to check if an oveflow has taken place. Lu and Chiang s algoithm equies 2 log 2 Q steps, whee Q is the quotient. Each step consists of seveal esidue additions and subtactions, one esidue multiplication, two memoy access cycles and one multi-opeand addition (in fact, in pats II and IV of Lu and Chiang s algoithm, moe than one multi-opeand addition might be needed). Realization II of the new algoithm equies log 2 Q steps whee each step consists of one esidue multiplication (Q i ), one esidue subtaction ( Q i ) that is pefomed in paallel with one esidue addition (Q = Q + Q i ), one multi-opeand addition and two memoy access cycles: one to get the factional epesentations of esidue digits, while the othe is to obtain Q i. NOTE. Following the liteatue, the pevalent method of measuing execution time fo esidue aithmetic algoithms [4, 5, 2, 3], the mean of the basic esidue aithmetic opeations needed by each algoithm, is computed. The basic esidue opeations ae: addition, subtaction and multiplication. The following notational convention has been adopted fo this pape: {m, m 2,...,m N }, moduli set of N paiwise elatively pime positive integes. M = N i= m i, dynamic ange. Fo any intege [0, M), esidue epesentation of is: RNS (x, x 2,...,x N ). x i = mi,i.e.x i = (mod m i ). mˆ i = M/m i. / mˆ i mi, multiplicative invese of mˆ i (i.e. / mˆ i mi mˆ i mi = ).., the ceiling value of (.); that is the next intege geate than o equal to (.).., the floo value of (.); that is the peceding intege less o equal to (.). Define a function h(i) such that: + log 2 I, if I is an intege > 0 h(i) = 0, if I = 0 log 2 I, if 0 < I <. 2. DIVISION ALGORITHM Assume that, and Q ae non-negative integes such that Q = /, 0, then the following steps intoduce the basic idea fo division in RNS:. Set quotient Q to zeo; Q =0. 2. Find the position of the most-significant non-zeo bit in the diviso,sayk, thatisk = h( ). 3. Find the position of the most-significant non-zeo bit in the dividend, say j,thatis j = h(). 4. If j > k, then: Q = Q + 2 j k, = 2 j k, Q = Q, =. GotoStep3. 5. If j = k, then: =, j = h( M ), so if j < j then Q = Q +. Othewise, Q is unchanged. In eithe case, end pocedue. 6. If j < k,thenq is unchanged. End pocedue. This basic algoithm can be used effectively with RNS division aithmetic. An impotant featue of this algoithm is the selection of the quotient to be 2 j k, hence the quantity (2 j k ) is guaanteed to be non-negative as long as >. It should be emphasized that and in the above algoithm ae binay epesentations of nonnegative integes and that the algoithm is still coect when the factional epesentation is adopted. The poofs of both cases, intege and factional epesentations, ae intoduced in the next two subsections 2.. Poof of coectness of the algoithm: intege epesentation Befoe poving the algoithm, the following lemma has to be intoduced. LEMMA. Fo any esidue integes, [0, M), fo which j = h(), k = h( ) and j = k 0 then j > j if and j j if <,whee j = h( M ). Poof. Since j = k,then and can be expessed as: = 2 j + a, and = 2 j + b, whee: 0 a, b 2 j.

3 234 AHMAD A. HIASAT AND HODA ABDEL-AT-ZOHD Fo the case (i.e. a b): M = 0, then = a b, but since 0 a b 2 j, then j = h( ) = h(a b) < j. Fo the case < (i.e. a < b): M = M +, j = h(m + ) = h(m + a b). The minimum value of j happens when a = 0, b = (2 j ) and M = +. Upon substituting these values: j h(2 j + ) = j, o equivalently: j j. Based on the above lemma, the poof of the algoithm is as follows: Fo the case j > k, and since < 2 k+ and 2 j then / > 2 j k = Q i (i.e. Q i is the ith patial quotient). Hence the estimate of the quotient in each iteation is guaanteed to poduce a positive emainde. Assume thee ae v iteations which satisfy the condition j > k, then the total patial quotients esulting fom this case ae Q, whee:q = v i= Q i. Fo the case j = k (i.e. (v + )th iteation), two possibilities ae expected:. <. This case is detected accoding to Lemma by evaluating j = h( ). Hence, if j j then Q v+ = 0. The pocedue is then stopped. 2.. This case is detected accoding to Lemma by evaluating j = h( ). Hence, if j < j then Q v+ =. The pocedue is then stopped. Fo the case j < k, it is obvious that <, hence the pocedue has to be stopped. Theefoe, the quotient would be: Q = / = vi= Q i + Q v+,whee: Q v+ = {, if j v+ > j 0, othewise j v+ = h(), inthe(v + )th iteation (i.e. when j = k) Poof of coectness of the algoithm: factional epesentation LEMMA 2. In RNS, fo any factional epesentations /M, /M whee, [0, M), j = h(/m), k = h(/m) and j = k then j if, and j = if <,whee j = h(( )/M). Poof. Since /M and /M ae of the same ode (i.e. j = k)thatis: 2 j /M < 2 j+ and similaly 2 j /M < 2 j+. Fo the case : M = 0, then: 0 ( )/M < 2 j. Hence, j = h(( )/M) < j,o equivalently; j < j. Since the highest value of j is, then: j 2. Note that fo the special case, ( )/M = 0, then by definition h(0) = 0. Consequently, if then j. Fo the case < : M = M ( ), then j = h((m + )/M), o j = h( ( )/M) but since <, then: 0 <( )/M < 2 j,o j h( 2 j ). Since, M, then the maximum value of j is. Theefoe, 0 > j h( 2 ).O: j =. The poof of the algoithm fo the case when the dividend and diviso ae factional quantities uses Lemma 2 and follows the same appoach given in the poof of Realization I. The poof leads to the esult that the quotient Q can be expessed as: Q = Q v+ = = v Q i + Q v+ i= {, if j 0, othewise. 3. REALIZATION OF THE ALGORITHM IN RNS 3.. Realization I This ealization is based on the intege epesentation outlined in the pevious section. It is quite useful fo small and medium dynamic anges whee all the bits of esidue digits can be applied to a single RAM in ode to evaluate h(i). The poposed stuctue fo Realization I, shown in Figue, can be descibed as follows: by applying to aram,k = h( ) is evaluated, whee k is expessed in bits, = log 2 (log 2 M). Similaly, by applying to RAM j = h() is also evaluated, whee j is also expessed in bits. The patial quotient Q i is computed by applying j and k to RAM 2. A esidue multiplie then multiplies the patial quotient with. The output of the multiplie, i.e. Q i, is subtacted fom to poduce a new emainde. The pocedue is epeated and the esidue adde accumulates patial quotients, until j < k. RAM accepts N n i bits, whee n i = log 2 m i addess lines (i.e. bits of esidue epesentation of o ), thus it has a size of (2 N n i ) bits, = log 2 (log 2 M). Howeve, RAM 2 accepts the bits of j and k (a total of 2 bits), thus its size would be (2 2 N n i ). In the case that j k is fist evaluated befoe being applied to RAM 2, then RAM 2 would have the size (2 + N n i ). This ealization equies log 2 Q iteations. Each iteation consists of two consecutive memoy cycles followed by two consecutive esidue opeations. The ealization is vey attactive fo many digital-signal pocessing applications which utilize small and medium dynamic anges Realization II This ealization is based on the factional epesentation outlined in the pevious section. It is quite useful fo lage dynamic anges whee bits of esidue digits cannot be applied to a single RAM in ode to evaluate h(i). Van Vu [5] developed a convesion technique based on the CRT. This technique uses factional epesentation of

4 IMPLEMENTATION OF A NEW EFFICIENT RNS DIVISION ALGORITHM 235 RAM j k RAM 2 Residue Residue Multip. Subtac. Residue Adde Q FIGURE. Poposed implementation of the algoithm (Realization I). 2 3 N RAM RAM 2 E RAM 3 n Adde M c j o RAM d e k. RAM N Residue Residue Multip. Subtac. Residue Adde Q FIGURE 2. Poposed implementation of the algoithm (Realization II). weighted numbes. This technique is given by N M = m i= i x i ˆm p () i mi whee p is a non-negative intege. Hence, the value of /M can be obtained by evaluating the ight-hand side of (). This is basically done by letting each x i addess a table which stoes x i m i ˆm. i mi The output of these N tables can be added using a multiopeand adde. Any intege oveflow esulting fom this adde is disegaded since it epesents the intege pat of the summation esult. The factional value stoed in tables should be expessed using t bits whee t log 2 MN if M is odd and t log 2 MN othewise [5]. The poposed stuctue fo Realization I, shown in Figue, can be descibed as follows: apply the esidue digits of the diviso to the factionalepesentationcicuit to obtain /M. This equies a memoy cycle followed by a multi-opeand addition. /M is applied to a pioity encode to evaluate k = h(/m). Next, and using the same appoach, j = h(/m) is evaluated. The bits of j and k (a total of 2 bits), o thei diffeence, ae applied to a RAM to poduce the patial emainde Q i.thisq i is applied to a esidue multiplie to compute Q i. The output of the multiplie (Q i ) is subtacted fom using a esidue subtacto. The output of the esidue subtacto is applied again to the factional epesentation cicuit as long as j k. 4. EVALUATION The complexity of the poposed esidue-based divide is highly dependent on the complexity of individual components being used in the design (e.g. esidue multiplie, adde, etc.). Many esidue-based multiplies can be found in the liteatue [6, 7, 8, 9]. These ae diffeent in thei stuctues, aea and time complexities (i.e. gate numbe, silicon aea, time delay, etc.). The same statement can be made about othe components in this poposed divide [2].

5 236 AHMAD A. HIASAT AND HODA ABDEL-AT-ZOHD TABLE. Simulation esults. MORO MOMA Moduli Lu and Lu and Set Ous Chiang s Ous Chiang s M M M Fo example, the aea and time complexities of the pioity encode pesented in [20] ae given by O(n) and O(log n), espectively. The poposed design in Figue 2 consists of diffeent devices; namely RAMs, a multi-opeand binay adde, a pioity encode followed by a RAM, a esidue-based adde, subtacto and multiplie. Fo the fist N RAMs, the size of the ith RAM is (2 n i n), whee n i = log 2 m i. The multi-opeand adde accepts N opeands of n bits each. The least significant (LS) n output bits of this adde constitute /M. The encode accepts these LS n bits of the adde and poduces h(i), expessed in bits. The RAM following the encode outputs the esidue epesentation of the estimated quotient. This estimated quotient is, then, applied to diffeent esidue-based aithmetic components. Each of these components accepts N esidue digits fom each opeand, whee each esidue digit is expessed in n i bits. To compae the pefomances of this algoithm and Lu and Chiang s algoithm, compute pogams simulating both algoithms have been developed to calculate the mean of esidue opeations (MORO). The mean of multi-opeand additions (MOMA) has been calculated and compaed, whee it applies. Fo simulation puposes, thee moduli sets wee selected to seve diffeent dynamic anges. These sets ae: M = (7,, 3, 5), M2 = (, 3, 5, 9, 23, 29, 3) and M3 = (29, 3, 43, 47, 53, 55, 59, 6, 63). Simulation esults ae listed in Table. Fo moduli set M, the esults ae exact. All possible combinations of dividends and divisos wee simulated. Howeve, fo M2 and M3, a sample of 200 million andomly geneated numbes within the dynamic ange defined by each moduli set was simulated. The simulation of the new algoithm is based on Figue fo M, and on Figue 2 fo M2 and M3. Simulation of Lu and Chiang s algoithm is based on the flowchat given in [3]. Fo the moduli set M, Table indicates that the new algoithm is fou times faste than Lu and Chiang s algoithm. This conclusion applies to evey moduli set whee all the bits of esidue digits can be applied simultaneously to a single RAM. Fo othe moduli sets like M2 and M3 which have vey lage dynamic anges, the new algoithm is still fou times faste egading the numbe of basic esidue opeations. Moeove, the aveage numbe of multi-opeand additions needed is almost half that needed by the othe algoithm. 5. CUSTOMIZED DIVISION ALGORITHM In Realization II, detemining the position of the highest powe of two contained in any esidue numbe I, which we efeed to as h(i), is an impotant time-delay element in the opeation of the poposed esidue divide. In this section, we customize the same algoithm to seve two specific moduli sets: (2 k, 2 k, 2 k ) and (2 k +, 2 k, 2 k ). This customization esults in eliminating the need of ROMs and thus educing the delay contibuted by evaluating h(i). 5.. Evaluating h(i) fo the moduli set (2 k, 2 k, 2 k ) Define m = 2 k, m 2 = 2 k, m 3 = 2 k. Then, ˆm = (2 k )(2 k ), ˆm 2 = 2 k (2 k ), ˆm 3 = 2 k (2 k ). The esidue epesentation of is (, 2, 3 ). The multiplicative inveses fo ˆm, ˆm 2 and ˆm 3 ae [2]: 2 k +, 2 k 3and 2 k 2, espectively. Substituting the coesponding values of ˆm i and thei multiplicative inveses in (): M = 2 k (2k + ) 2 k + 2 k (2k 3) 2 2 k + 2 k 2k k p. (2) Since < M, then/m <. Hence ( M = FRAC 2 k (2k + ) 2 k + 2 k (2k 3) 2 2 k ) + 2 k 2k k (3) whee FRAC(...) denotesthe factionalpat of the opeand. The cicula shift popety [3] states that modulo (2 p ) multiplication of an intege by 2 n, whee p and n ae positive integes, is equivalent to n-bits cicula left-shift 3-bits (e.g. 2 3 binay (27) 3 0= 0 decimal 30). Theefoe, to simplify the tems on the ight-hand side (RHS) of (3), we poceed as follows: Evaluate (/2 k ) (2 k + ) 2 k. Assuming that the binay fom of is given by: b (k ) b (k 2)...b b 0, then, (2 k + ) 2 k = 2 k binay + 2 k (k )zeos b (k ) b (k )...b b b (k ) b (k 2)...b 2 b b 0 2 k. Recalling that fo mod2 k, only the LS k bits ae significant, then (2 k + ) 2 k = b x b (k 2)...b b 0, whee b x = (b 0 OR b (k ) ). Now, let R epesent the binay fom of (/2 k ) (2 k + ) 2 k,thenr is obtained by multiplying the binay fom of /2 k by that of (2 k + ) 2 k.thatis, R = 0.b x b (k 2)...b b 0. (4)

6 IMPLEMENTATION OF A NEW EFFICIENT RNS DIVISION ALGORITHM 237 Evaluate [/(2 k )] (2 k 3) 2 2 k. Assuming that the binay fom of 2 is given by: b 2(k ) b 2(k 2)...b 2 b 20, then (2 k 3) 2 2 k = 2 k k. But since 2k 2 2 k = 2 2 k,then (2 k 3) 2 2 k = (2 2) 2 k. Based on the cicula left-shift popety: binay (2 2 ) 2 k (b 2(k 2) b 2(k 3)...b 2 b 20 b 2(k ) ) 2 k. O equivalently, (b 2(k 2) b 2(k 3)...b 2 b 20 b 2(k ) ) 2 k = k-ones(=2 k ) (...) (b 2(k 2) b 2(k 3)...b 2 b 20 b 2(k ) ) 2 k. Assuming 2 0, then (2 k 3) 2 2 k binay b 2(k 2) b 2(k 3)...b 2 b 20 b 2(k ) whee b denotes the complement of the bit b. Howeve, if 2 = 0, then (2 k 3) 2 2 k = 0. On the othe hand, the tem /(2 k ) can be witten as 2 k /( 2 k ). Recall that any faction in the fom q/( q), whee q <, can be expanded in a powe seies fom as: q/( q) = i= i= qi. Theefoe: 2 k /( 2 k ) = 2 k + 2 2k + 2 3k + 2 4k +... Based on eo analysis intoduced in [5], then the MS (3k + ) bits ae the only significant bits in ou computations. Let R 2 epesent the binay fom of [/(2 k )] (2 k 3) 2 2 k,thenr 2 is obtained by consideing the MS (3k +) bits of multiplying /(2 k ) by (2 k 3) 2 2 k.thatis kbits R 2 = 0. b 2(k 2) b 2(k 3)...b 2 b 20 b 2(k ) kbits 0 b 2(k 2) b 2(k 3)...b 2 b 20 b 2(k ) kbits b 2(k 2) b 2(k 3)...b 2 b 20 b 2(k ) b 2(k 2) (5) whee implies that tems ae concatenated. Evaluate [/(2 k )] 2 k k. Assuming that the binay fom of 3 is given in (k ) bits by: b 3(k 2) b 3(k 3)...b 3 b 30, then based on binay the cicula left-shift popety: 2 k k b 30 b 3(k 2) b 3(k 3)...b 3. On the othe hand, the tem /(2 k ) can be witten as 2 (k ) /( 2 (k ) ). Thus, it can be expanded in a powe seies fom as: 2 (k ) /( 2 (k ) ) = 2 (k ) +2 2(k ) +2 3(k ) +2 4(k ) +...Now,let R 3 be the binay fom of [/(2 k )] 2 k k, then R 3 is obtained by consideing the MS (3k +) bits of multiplying /2 k by 2 k k.thatis (k )bits (k )bits R 3 = 0. b 30 b 3(k 2)...b 32 b 3 b 30 b 3(k 2)...b 32 b 3 (k )bits 4bits b 30 b 3(k 2)...b 32 b 3 b 30 b 3(k 2) b 3(k 3) b 3(k 4). (6) Theefoe, (3) can be ewitten as M = FRAC(R + R 2 + R 3 ). (7) Thus h(/m) is nothing but the position of the MS non-zeo bit of /M. EAMPLE. Conside the moduli set {6, 5, 7}. To find h(/m) whee = (8, 2, 4) (i.e. = 32 and M = 680), then: = 8 binay 000, so R = = 2 binay 00, so R 2 = = 4 binay 00, so R 3 = Theefoe, /M = FRAC(R + R 2 + R 3 ) = Since the undelined MS non-zeo bit is in the thid location, then h(/m) = 3. In ode to implement (7), one thee-opeand binay adde is needed. A cay-save adde (CSA) followed by a caypopagate adde (CPA) can ealize the addition of the thee opeands Evaluating h(i) fo the moduli set (2 k +, 2 k, 2 k ) The esidue decode intoduced by Sweidan and Hiasat [22] has the advantages of educed hadwae equiements and extemely wide fixed-point dynamic anges since its uppe bound is not limited by a memoy size. Moeove, it equies only a total of fou 2k-bit binay addes, which makes it vey attactive compaed to othe published decodes [23, 24]. In this pape, we popose a hadwae layout that can decode esidue digits of the moduli set (2 k +, 2 k, 2 k ) into binay equivalent. The new layout is an impovement of that pesented in [2]. In this new contibution, we ae educing the numbe of addes needed fo the decoding opeation fom fou 2k-bit binay addes into one 2k-bit thee-opeand binay adde. It has been poved in [2] that whee: /2 k = A + B + C 2 2k (8) A = (2 2k + 2 k ) 3 2 2k B = (2 2k 2 k ) 2 2 2k C = (2 2k + 2 k ) 2 2k. Assuming that, 2 and 3 have the following binay fomat: = b k b (k )...b b 0 2 = b 2(k ) b 2(k 2)...b 2 b 20 3 = b 3(k ) b 3(k 2)...b 3 b 30, then using cicula left-shift popety, A, B and C can be

7 238 AHMAD A. HIASAT AND HODA ABDEL-AT-ZOHD R R 2 R 3 E n M c j Adde o RAM d e k Residue Residue Multip. Subtac. Residue Adde Q FIGURE 3. Poposed implementation of the division algoithm customized fo moduli sets: (2 k, 2 k, 2 k ) and (2 k +, 2 k, 2 k ). expessed as [2]: A = b 30 b 3(k )...b 32 b 3 b 30 b 3(k )...b 32 b 3 B = b 2(k ) b 2(k 2)...b 2 b }{{} k ones C = b x b (k )...b 2 b b x b (k )...b 2 b whee: b x = b 0 OR b k. By edefining R = A, R 2 = B, and R 3 = C, then (8) can be ewitten as /2 k = R + R 2 + R 3 2 2k. (9) Case I: Since R = A, then the binay epesentation is the same: R = b 30 b 3(k ) b 3(k 2)...b 32 b 3 b 30 b 3(k ) b 3(k 2)...b 32 b 3. (0) Case II: Since R 2 = B, then fo the case < 2 k, and using the 2 s complement notation, R 2 = B + ( s complement of ) +. Noting that the LS k bits of B ae all ones, then the LS k bits of the esult of the subtaction ae simply the s complement of andanoveflowofatthe(k + )th bit. Based on 2 s complement, this oveflow indicates that the esult of subtaction is positive, hence it can be disegaded. Howeve, when 2 k = 2 = 0, then R 2 = 2 2k 2 2k = 0. Theefoe, R 2 can be expessed in binay fomat as 0, if 2 k = 2 = 0 R 2 = b 2(k ) b 2(k 2)...b 2 b 20 b (k ) b (k 2)...b b 0, othewise. () Case III: = 2 k. In this case, the (k + )th bit of is, thus the values R 2 and B ae the same because in the computation of R 2 we used the LS (k ) bits of, which ae all zeos in this case. Theefoe, the fomat of R 2 is not changed. Howeve, to take cae of this non-zeo (k + )th bit of, it has to be subtacted fom R 3. Theefoe b x b (k )...b 2 b b x b (k )...b 2 b, R if 2 k 3 = b x b (k )...b 2 b b x b (k )...b 2 b, if = 2 k. (2) Equation (9) is simply accomplished by adding R, R 2 and R 3. The output should then be incemented by any output-cay. Nevetheless, a cay esulting fom this adde can be neglected as long as the output does not have the value (2 n ), whee 0 n 2k. This can be justified by the fact that h(i) = h(i + ) if I (2 n ). Howeve, if I = 2 n, then the output cay would be significant and the pioity encode poposed in implementing the esidue divide can take cae of this special case. A single cay-save adde can add these thee opeands. Few logic gates ae also needed to detect the (k + )th bit of and to select the pope fomat of R 3. Using the fomula = /2 k 2 k + 2, then the value of can be obtained by concatenation of the k bits of 2 to the 2k output bits of the thee-opeand adde. These 3k bits and the cay ae applied to the pioity encode. EAMPLE. Conside the moduli set {7, 6, 5}. Tofind h() whee = (,, 2) (i.e. = 827), then: = binay 00, so R 3 = = binay 0, so R 2 = = 2 binay 000, so R = Theefoe, adde output = (R + R 2 + R 3) = , whee the oveflow has been neglected. Since = /2 k 2 k + 2, then concatenation of bits of 2 to that of the adde yields: h() = h( ) = 0 (i.e. 0th position). Figue 3 shows the new poposed hadwae ealization of an RNS divide fo the moduli sets (2 k, 2 k, 2 k )

8 IMPLEMENTATION OF A NEW EFFICIENT RNS DIVISION ALGORITHM 239 (x, x 2, x 3 ) / 3 bit mux/ adde eset clk e g / 3 (y, y 2, y 3 ) / 3 bit e adde g / 3 PE PE / 4 / 4 multiplie m m e 2 / g 3 m ROM 3. m / e 3 m 2 / g 3 m 3 adde subtacto m m e 2 g m 3 Q m Q m2 Q m3 DIVC DBZ FIGURE 4. Block diagam of the implemented divide. and (2 k +, 2 k, 2 k ). The opeation of this divide is selfexplanatoy. The popagation delay in Figue 3, as compaed with that in Figue 2, has been educed by a memoy access cycle pe iteation. Recalling that the memoy access cycle is vey significant compaed with the delay of othe components and that division is an iteative pocedue, then this eduction will, eventually, be inceasingly significant as the numbe of iteations pe division poblem is inceased. This implies that the new poposed ealization is much faste fo these paticula moduli sets. Moeove, the eduction in hadwae equiements is anothe substantial impovement. 6. VLSI IMPLEMENTATION OF A RESIDUE-BASED ARITHMETIC DIVIDER A pipelined design fo a esidue-based aithmetic divide fo the moduli set (2 k +, 2 k, 2 k ) has been implemented, fabicated and tested. The detailed design of the implemented cicuit is shown in Figue 4. Data path sizes ae also shown. The implementation was accomplished using Octtools-5.2 with a standad cell MSU2.3 libay. Fo pototype puposes, k was selected to be fou. Thus, the total numbe of input pins is 3 fo each opeand. The clock, an / selecto and eset ae anothe thee inputs. Similaly, the output quotient is expessed in 3 bits. Division-completed (DIVC) is a onebit output that goes high to validate the output quotient and sets the flag that the division pocess is completed. Divisionby-zeo (DBZ) is anothe output bit which sets a flag if the diviso is zeo. The design has an integated cicuit aea of ( ) mm 2. The tiny padfame (40PC22 22) was used to accommodate this design. Test esults showed that the design can un at a clock speed of 5 MHz. The numbe of clock cycles equied fo each division poblem depends on both the dividend and the diviso. Howeve, the aveage numbe ove diffeent division poblems is eight clock cycles. 7. CONCLUSIONS This pape has pesented a new geneal division algoithm fo RNS, which is faste than othe peviously poposed algoithms. The algoithms wee then customized to seve two specific moduli sets: (2 k, 2 k, 2 k ) and (2 k +, 2 k, 2 k ). An RNS divide would then equie a binay adde, a pioity encode, a ROM, a esidue adde, a esidue subtacto and a esidue multiplie only. These educed hadwae equiements and pocessing time qualify the new ealization to be vey pactical fo many computing applications and theefoe enable RNS to play an inceased ole in designing aithmetic logic units fo geneal pupose computes. The poposed customized hadwae has been implemented on silicon and test esults have been pesented. REFERENCES [] Hiasat, A. and Abdel-Aty-Zohdy, H. (997) Design and implementation of an RNS division algoithm. Poc. 3th Symp. Compute Aithmetic (Asiloma, CA), pp [2] Hiasat, A. and Abdel-Aty-Zohdy, H. (995) High-speed division algoithm fo esidue numbe system. Poc. 995 IEEE Intenational Symposium on Cicuits and Systems (ISCAS), vol. 3, pp [3] Lu, M. and Chiang, J. (992) A novel division algoithm fo esidue numbe system. IEEE Tans. Comput., 4,

9 240 AHMAD A. HIASAT AND HODA ABDEL-AT-ZOHD [4] Baneji, D., Cheung, T. and Ganesan, V. (98) A high-speed division method in esidue aithmetic. Poc. 5th IEEE Symp. Comput. Aithmetic, pp [5] Chen J., W. (990) A new esidue numbe division algoithm. Compute Math. Appl., 9, [6] Gambege, D. (99) New appoach to intege division in esidue numbe system. Poc. 0th Symp. Comput. Aith., pp [7] Kie,., Cheney, P. and Tannenbaum, M. (962) Division and oveflow detection in esidue numbe systems. IRE Tans. Electon. Comput.,, [8] Lin, L., Leiss, E. and Mcinnis, B. (984) Division and sign detection algoithm fo esidue numbe systems. Comput. Math. Appl., 0, [9] Kinoshita, E., Kosako, H. and Kojima,. (973) Geneal division in the symmetic esidue numbe system. IEEE Tans. Computes, 22, [0] Hitz, M. and Kaltofen, E. (995) Intege division in esidue numbe system. IEEE Tans. Computes, 44, [] Hung, C. and Pahami, B. (994) An appoximate sign detection method fo esidue numbes and its applications to RNS division. Compute Math. Appl., 27, [2] Sodestand, M., Jenkins, W., Jullien, G., Taylo, F. (eds) (986) Residue Numbe System Aithmetic: Moden Applications in Digital Signal Pocessing. IEEE Pess, New ok. [3] Szabo, N. and Tanaka, R. (967) Residue Aithmetic and Its Applications to Compute Technology. McGaw Hill, New ok. [4] Jenkins, W. (979) Recent advances in esidue numbe techniques fo ecusive digital filteing. IEEE Tans. Acoust. Speech and Signal Pocessing, 27, 9 3. [5] Van Vu, T. (985) Efficient implementations of chinese emainde theoem fo sign detection and esidue decoding. IEEE Tans Comput., 34, [6] Hiasat, A. (996) Semi-custom VLSI design fo RNS multiplies using combinational logic appoach. ICECS 96, 2, [7] Radhakishnan, D. and uan,. (92) Novel appoaches to the design of VLSI RNS multiplies. IEEE Tans. Cic. Sys- II: Analog and Digital Signal Pocessing, 39, [8] Alia, G. and Matinelli, E. (99) A VLSI modulo m multiplie. IEEE Tans. Comp., 40, [9] Elleithy, K. and Bayoumi, M. (995) A systolic achitectue fo modulo multiplication. IEEE Tans. Cic. Sys-II: Analog and Digital Signal Pocessing, 42, [20] Wada, K., Hagihaa, K. and Tokua, N. (984) Aea-time optimal fast implementations of seveal functions in a VLSI model. IEEE Tans. Computes, 33, [2] Hiasat, A. and Zohdy, H. (998) Residue to binay convete fo the moduli (2 k, 2 k, 2 k ). IEEE Tans. Cicuits and Systems Pat II, 45, [22] Sweidan, A. and Hiasat, A. (988) New efficient memoyless, esidue to binay convete. IEEE Tans. Cicuits and Systems, 35, [23] Benadson, B. (985) Fast memoyless, ove 64 bits, esidue to decimal convete. IEEE Tans. Cicuits and Systems, 32, [24] Ibahim, K. and Saloum, S. (988) An efficient esidue to binay convete design. IEEE Tans. Cicuits and Systems, 35,

A Deep Convolutional Neural Network Based on Nested Residue Number System

A Deep Convolutional Neural Network Based on Nested Residue Number System A Deep Convolutional Neual Netwok Based on Nested Residue Numbe System Hioki Nakahaa Ehime Univesity, Japan Tsutomu Sasao Meiji Univesity, Japan Abstact A pe-tained deep convolutional neual netwok (DCNN)

More information

Truncated Squarers with Constant and Variable Correction

Truncated Squarers with Constant and Variable Correction Please veify that ) all pages ae pesent, 2) all figues ae acceptable, 3) all fonts and special chaactes ae coect, and ) all text and figues fit within the Tuncated Squaes with Constant and Vaiable Coection

More information

Stanford University CS259Q: Quantum Computing Handout 8 Luca Trevisan October 18, 2012

Stanford University CS259Q: Quantum Computing Handout 8 Luca Trevisan October 18, 2012 Stanfod Univesity CS59Q: Quantum Computing Handout 8 Luca Tevisan Octobe 8, 0 Lectue 8 In which we use the quantum Fouie tansfom to solve the peiod-finding poblem. The Peiod Finding Poblem Let f : {0,...,

More information

Chapter 3: Theory of Modular Arithmetic 38

Chapter 3: Theory of Modular Arithmetic 38 Chapte 3: Theoy of Modula Aithmetic 38 Section D Chinese Remainde Theoem By the end of this section you will be able to pove the Chinese Remainde Theoem apply this theoem to solve simultaneous linea conguences

More information

HOW TO TEACH THE FUNDAMENTALS OF INFORMATION SCIENCE, CODING, DECODING AND NUMBER SYSTEMS?

HOW TO TEACH THE FUNDAMENTALS OF INFORMATION SCIENCE, CODING, DECODING AND NUMBER SYSTEMS? 6th INTERNATIONAL MULTIDISCIPLINARY CONFERENCE HOW TO TEACH THE FUNDAMENTALS OF INFORMATION SCIENCE, CODING, DECODING AND NUMBER SYSTEMS? Cecília Sitkuné Göömbei College of Nyíegyháza Hungay Abstact: The

More information

ANA BERRIZBEITIA, LUIS A. MEDINA, ALEXANDER C. MOLL, VICTOR H. MOLL, AND LAINE NOBLE

ANA BERRIZBEITIA, LUIS A. MEDINA, ALEXANDER C. MOLL, VICTOR H. MOLL, AND LAINE NOBLE THE p-adic VALUATION OF STIRLING NUMBERS ANA BERRIZBEITIA, LUIS A. MEDINA, ALEXANDER C. MOLL, VICTOR H. MOLL, AND LAINE NOBLE Abstact. Let p > 2 be a pime. The p-adic valuation of Stiling numbes of the

More information

3.1 Random variables

3.1 Random variables 3 Chapte III Random Vaiables 3 Random vaiables A sample space S may be difficult to descibe if the elements of S ae not numbes discuss how we can use a ule by which an element s of S may be associated

More information

ASTR415: Problem Set #6

ASTR415: Problem Set #6 ASTR45: Poblem Set #6 Cuan D. Muhlbege Univesity of Mayland (Dated: May 7, 27) Using existing implementations of the leapfog and Runge-Kutta methods fo solving coupled odinay diffeential equations, seveal

More information

Method for Approximating Irrational Numbers

Method for Approximating Irrational Numbers Method fo Appoximating Iational Numbes Eic Reichwein Depatment of Physics Univesity of Califonia, Santa Cuz June 6, 0 Abstact I will put foth an algoithm fo poducing inceasingly accuate ational appoximations

More information

A STUDY OF HAMMING CODES AS ERROR CORRECTING CODES

A STUDY OF HAMMING CODES AS ERROR CORRECTING CODES AGU Intenational Jounal of Science and Technology A STUDY OF HAMMING CODES AS ERROR CORRECTING CODES Ritu Ahuja Depatment of Mathematics Khalsa College fo Women, Civil Lines, Ludhiana-141001, Punjab, (India)

More information

Relating Branching Program Size and. Formula Size over the Full Binary Basis. FB Informatik, LS II, Univ. Dortmund, Dortmund, Germany

Relating Branching Program Size and. Formula Size over the Full Binary Basis. FB Informatik, LS II, Univ. Dortmund, Dortmund, Germany Relating Banching Pogam Size and omula Size ove the ull Binay Basis Matin Saueho y Ingo Wegene y Ralph Wechne z y B Infomatik, LS II, Univ. Dotmund, 44 Dotmund, Gemany z ankfut, Gemany sauehof/wegene@ls.cs.uni-dotmund.de

More information

A Bijective Approach to the Permutational Power of a Priority Queue

A Bijective Approach to the Permutational Power of a Priority Queue A Bijective Appoach to the Pemutational Powe of a Pioity Queue Ia M. Gessel Kuang-Yeh Wang Depatment of Mathematics Bandeis Univesity Waltham, MA 02254-9110 Abstact A pioity queue tansfoms an input pemutation

More information

C/CS/Phys C191 Shor s order (period) finding algorithm and factoring 11/12/14 Fall 2014 Lecture 22

C/CS/Phys C191 Shor s order (period) finding algorithm and factoring 11/12/14 Fall 2014 Lecture 22 C/CS/Phys C9 Sho s ode (peiod) finding algoithm and factoing /2/4 Fall 204 Lectue 22 With a fast algoithm fo the uantum Fouie Tansfom in hand, it is clea that many useful applications should be possible.

More information

On the integration of the equations of hydrodynamics

On the integration of the equations of hydrodynamics Uebe die Integation de hydodynamischen Gleichungen J f eine u angew Math 56 (859) -0 On the integation of the equations of hydodynamics (By A Clebsch at Calsuhe) Tanslated by D H Delphenich In a pevious

More information

AQI: Advanced Quantum Information Lecture 2 (Module 4): Order finding and factoring algorithms February 20, 2013

AQI: Advanced Quantum Information Lecture 2 (Module 4): Order finding and factoring algorithms February 20, 2013 AQI: Advanced Quantum Infomation Lectue 2 (Module 4): Ode finding and factoing algoithms Febuay 20, 203 Lectue: D. Mak Tame (email: m.tame@impeial.ac.uk) Intoduction In the last lectue we looked at the

More information

Functions Defined on Fuzzy Real Numbers According to Zadeh s Extension

Functions Defined on Fuzzy Real Numbers According to Zadeh s Extension Intenational Mathematical Foum, 3, 2008, no. 16, 763-776 Functions Defined on Fuzzy Real Numbes Accoding to Zadeh s Extension Oma A. AbuAaqob, Nabil T. Shawagfeh and Oma A. AbuGhneim 1 Mathematics Depatment,

More information

Quantum Fourier Transform

Quantum Fourier Transform Chapte 5 Quantum Fouie Tansfom Many poblems in physics and mathematics ae solved by tansfoming a poblem into some othe poblem with a known solution. Some notable examples ae Laplace tansfom, Legende tansfom,

More information

Solution to HW 3, Ma 1a Fall 2016

Solution to HW 3, Ma 1a Fall 2016 Solution to HW 3, Ma a Fall 206 Section 2. Execise 2: Let C be a subset of the eal numbes consisting of those eal numbes x having the popety that evey digit in the decimal expansion of x is, 3, 5, o 7.

More information

Probablistically Checkable Proofs

Probablistically Checkable Proofs Lectue 12 Pobablistically Checkable Poofs May 13, 2004 Lectue: Paul Beame Notes: Chis Re 12.1 Pobablisitically Checkable Poofs Oveview We know that IP = PSPACE. This means thee is an inteactive potocol

More information

1. INTRODUCTION FAST ELLIPTIC CURVE CRYPTOGRAPHY USING OPTIMAL DOUBLE-BASE CHAINS

1. INTRODUCTION FAST ELLIPTIC CURVE CRYPTOGRAPHY USING OPTIMAL DOUBLE-BASE CHAINS FAST ELLIPTIC CURVE CRYPTOGRAPHY USING OPTIMAL DOUBLE-BASE CHAINS Voapong Suppakitpaisan, Hioshi Imai Gaduate School of Infomation Science and Technology, The Univesity of Tokyo Tokyo, Japan 11-00 m t

More information

7.2. Coulomb s Law. The Electric Force

7.2. Coulomb s Law. The Electric Force Coulomb s aw Recall that chaged objects attact some objects and epel othes at a distance, without making any contact with those objects Electic foce,, o the foce acting between two chaged objects, is somewhat

More information

The Substring Search Problem

The Substring Search Problem The Substing Seach Poblem One algoithm which is used in a vaiety of applications is the family of substing seach algoithms. These algoithms allow a use to detemine if, given two chaacte stings, one is

More information

arxiv: v1 [math.nt] 12 May 2017

arxiv: v1 [math.nt] 12 May 2017 SEQUENCES OF CONSECUTIVE HAPPY NUMBERS IN NEGATIVE BASES HELEN G. GRUNDMAN AND PAMELA E. HARRIS axiv:1705.04648v1 [math.nt] 12 May 2017 ABSTRACT. Fo b 2 and e 2, let S e,b : Z Z 0 be the function taking

More information

The Chromatic Villainy of Complete Multipartite Graphs

The Chromatic Villainy of Complete Multipartite Graphs Rocheste Institute of Technology RIT Schola Wos Theses Thesis/Dissetation Collections 8--08 The Chomatic Villainy of Complete Multipatite Gaphs Anna Raleigh an9@it.edu Follow this and additional wos at:

More information

Determining solar characteristics using planetary data

Determining solar characteristics using planetary data Detemining sola chaacteistics using planetay data Intoduction The Sun is a G-type main sequence sta at the cente of the Sola System aound which the planets, including ou Eath, obit. In this investigation

More information

QIP Course 10: Quantum Factorization Algorithm (Part 3)

QIP Course 10: Quantum Factorization Algorithm (Part 3) QIP Couse 10: Quantum Factoization Algoithm (Pat 3 Ryutaoh Matsumoto Nagoya Univesity, Japan Send you comments to yutaoh.matsumoto@nagoya-u.jp Septembe 2018 @ Tokyo Tech. Matsumoto (Nagoya U. QIP Couse

More information

4/18/2005. Statistical Learning Theory

4/18/2005. Statistical Learning Theory Statistical Leaning Theoy Statistical Leaning Theoy A model of supevised leaning consists of: a Envionment - Supplying a vecto x with a fixed but unknown pdf F x (x b Teache. It povides a desied esponse

More information

Duality between Statical and Kinematical Engineering Systems

Duality between Statical and Kinematical Engineering Systems Pape 00, Civil-Comp Ltd., Stiling, Scotland Poceedings of the Sixth Intenational Confeence on Computational Stuctues Technology, B.H.V. Topping and Z. Bittna (Editos), Civil-Comp Pess, Stiling, Scotland.

More information

A Power Method for Computing Square Roots of Complex Matrices

A Power Method for Computing Square Roots of Complex Matrices JOURNAL OF MATHEMATICAL ANALYSIS AND APPLICATIONS 13, 39345 1997 ARTICLE NO. AY975517 A Powe Method fo Computing Squae Roots of Complex Matices Mohammed A. Hasan Depatment of Electical Engineeing, Coloado

More information

Light Time Delay and Apparent Position

Light Time Delay and Apparent Position Light Time Delay and ppaent Position nalytical Gaphics, Inc. www.agi.com info@agi.com 610.981.8000 800.220.4785 Contents Intoduction... 3 Computing Light Time Delay... 3 Tansmission fom to... 4 Reception

More information

Chapter 3 Optical Systems with Annular Pupils

Chapter 3 Optical Systems with Annular Pupils Chapte 3 Optical Systems with Annula Pupils 3 INTRODUCTION In this chapte, we discuss the imaging popeties of a system with an annula pupil in a manne simila to those fo a system with a cicula pupil The

More information

9.1 The multiplicative group of a finite field. Theorem 9.1. The multiplicative group F of a finite field is cyclic.

9.1 The multiplicative group of a finite field. Theorem 9.1. The multiplicative group F of a finite field is cyclic. Chapte 9 Pimitive Roots 9.1 The multiplicative goup of a finite fld Theoem 9.1. The multiplicative goup F of a finite fld is cyclic. Remak: In paticula, if p is a pime then (Z/p) is cyclic. In fact, this

More information

VLSI IMPLEMENTATION OF PARALLEL- SERIAL LMS ADAPTIVE FILTERS

VLSI IMPLEMENTATION OF PARALLEL- SERIAL LMS ADAPTIVE FILTERS VLSI IMPLEMENTATION OF PARALLEL- SERIAL LMS ADAPTIVE FILTERS Run-Bo Fu, Paul Fotie Dept. of Electical and Copute Engineeing, Laval Univesity Québec, Québec, Canada GK 7P4 eail: fotie@gel.ulaval.ca Abstact

More information

Berkeley Math Circle AIME Preparation March 5, 2013

Berkeley Math Circle AIME Preparation March 5, 2013 Algeba Toolkit Rules of Thumb. Make sue that you can pove all fomulas you use. This is even bette than memoizing the fomulas. Although it is best to memoize, as well. Stive fo elegant, economical methods.

More information

ITI Introduction to Computing II

ITI Introduction to Computing II ITI 1121. Intoduction to Computing II Macel Tucotte School of Electical Engineeing and Compute Science Abstact data type: Stack Stack-based algoithms Vesion of Febuay 2, 2013 Abstact These lectue notes

More information

When two numbers are written as the product of their prime factors, they are in factored form.

When two numbers are written as the product of their prime factors, they are in factored form. 10 1 Study Guide Pages 420 425 Factos Because 3 4 12, we say that 3 and 4 ae factos of 12. In othe wods, factos ae the numbes you multiply to get a poduct. Since 2 6 12, 2 and 6 ae also factos of 12. The

More information

Physics 2A Chapter 10 - Moment of Inertia Fall 2018

Physics 2A Chapter 10 - Moment of Inertia Fall 2018 Physics Chapte 0 - oment of netia Fall 08 The moment of inetia of a otating object is a measue of its otational inetia in the same way that the mass of an object is a measue of its inetia fo linea motion.

More information

A scaling-up methodology for co-rotating twin-screw extruders

A scaling-up methodology for co-rotating twin-screw extruders A scaling-up methodology fo co-otating twin-scew extudes A. Gaspa-Cunha, J. A. Covas Institute fo Polymes and Composites/I3N, Univesity of Minho, Guimaães 4800-058, Potugal Abstact. Scaling-up of co-otating

More information

New problems in universal algebraic geometry illustrated by boolean equations

New problems in universal algebraic geometry illustrated by boolean equations New poblems in univesal algebaic geomety illustated by boolean equations axiv:1611.00152v2 [math.ra] 25 Nov 2016 Atem N. Shevlyakov Novembe 28, 2016 Abstact We discuss new poblems in univesal algebaic

More information

Physics 2B Chapter 22 Notes - Magnetic Field Spring 2018

Physics 2B Chapter 22 Notes - Magnetic Field Spring 2018 Physics B Chapte Notes - Magnetic Field Sping 018 Magnetic Field fom a Long Staight Cuent-Caying Wie In Chapte 11 we looked at Isaac Newton s Law of Gavitation, which established that a gavitational field

More information

Math 301: The Erdős-Stone-Simonovitz Theorem and Extremal Numbers for Bipartite Graphs

Math 301: The Erdős-Stone-Simonovitz Theorem and Extremal Numbers for Bipartite Graphs Math 30: The Edős-Stone-Simonovitz Theoem and Extemal Numbes fo Bipatite Gaphs May Radcliffe The Edős-Stone-Simonovitz Theoem Recall, in class we poved Tuán s Gaph Theoem, namely Theoem Tuán s Theoem Let

More information

Multiple Criteria Secretary Problem: A New Approach

Multiple Criteria Secretary Problem: A New Approach J. Stat. Appl. Po. 3, o., 9-38 (04 9 Jounal of Statistics Applications & Pobability An Intenational Jounal http://dx.doi.og/0.785/jsap/0303 Multiple Citeia Secetay Poblem: A ew Appoach Alaka Padhye, and

More information

ON INDEPENDENT SETS IN PURELY ATOMIC PROBABILITY SPACES WITH GEOMETRIC DISTRIBUTION. 1. Introduction. 1 r r. r k for every set E A, E \ {0},

ON INDEPENDENT SETS IN PURELY ATOMIC PROBABILITY SPACES WITH GEOMETRIC DISTRIBUTION. 1. Introduction. 1 r r. r k for every set E A, E \ {0}, ON INDEPENDENT SETS IN PURELY ATOMIC PROBABILITY SPACES WITH GEOMETRIC DISTRIBUTION E. J. IONASCU and A. A. STANCU Abstact. We ae inteested in constucting concete independent events in puely atomic pobability

More information

Temporal-Difference Learning

Temporal-Difference Learning .997 Decision-Making in Lage-Scale Systems Mach 17 MIT, Sping 004 Handout #17 Lectue Note 13 1 Tempoal-Diffeence Leaning We now conside the poblem of computing an appopiate paamete, so that, given an appoximation

More information

Markscheme May 2017 Calculus Higher level Paper 3

Markscheme May 2017 Calculus Higher level Paper 3 M7/5/MATHL/HP3/ENG/TZ0/SE/M Makscheme May 07 Calculus Highe level Pape 3 pages M7/5/MATHL/HP3/ENG/TZ0/SE/M This makscheme is the popety of the Intenational Baccalaueate and must not be epoduced o distibuted

More information

A NEW VARIABLE STIFFNESS SPRING USING A PRESTRESSED MECHANISM

A NEW VARIABLE STIFFNESS SPRING USING A PRESTRESSED MECHANISM Poceedings of the ASME 2010 Intenational Design Engineeing Technical Confeences & Computes and Infomation in Engineeing Confeence IDETC/CIE 2010 August 15-18, 2010, Monteal, Quebec, Canada DETC2010-28496

More information

On a quantity that is analogous to potential and a theorem that relates to it

On a quantity that is analogous to potential and a theorem that relates to it Su une quantité analogue au potential et su un théoème y elatif C R Acad Sci 7 (87) 34-39 On a quantity that is analogous to potential and a theoem that elates to it By R CLAUSIUS Tanslated by D H Delphenich

More information

Compactly Supported Radial Basis Functions

Compactly Supported Radial Basis Functions Chapte 4 Compactly Suppoted Radial Basis Functions As we saw ealie, compactly suppoted functions Φ that ae tuly stictly conditionally positive definite of ode m > do not exist The compact suppot automatically

More information

FUSE Fusion Utility Sequence Estimator

FUSE Fusion Utility Sequence Estimator FUSE Fusion Utility Sequence Estimato Belu V. Dasaathy Dynetics, Inc. P. O. Box 5500 Huntsville, AL 3584-5500 belu.d@dynetics.com Sean D. Townsend Dynetics, Inc. P. O. Box 5500 Huntsville, AL 3584-5500

More information

ON THE TWO-BODY PROBLEM IN QUANTUM MECHANICS

ON THE TWO-BODY PROBLEM IN QUANTUM MECHANICS ON THE TWO-BODY PROBLEM IN QUANTUM MECHANICS L. MICU Hoia Hulubei National Institute fo Physics and Nuclea Engineeing, P.O. Box MG-6, RO-0775 Buchaest-Maguele, Romania, E-mail: lmicu@theoy.nipne.o (Received

More information

APPLICATION OF MAC IN THE FREQUENCY DOMAIN

APPLICATION OF MAC IN THE FREQUENCY DOMAIN PPLICION OF MC IN HE FREQUENCY DOMIN D. Fotsch and D. J. Ewins Dynamics Section, Mechanical Engineeing Depatment Impeial College of Science, echnology and Medicine London SW7 2B, United Kingdom BSRC he

More information

ON THE INVERSE SIGNED TOTAL DOMINATION NUMBER IN GRAPHS. D.A. Mojdeh and B. Samadi

ON THE INVERSE SIGNED TOTAL DOMINATION NUMBER IN GRAPHS. D.A. Mojdeh and B. Samadi Opuscula Math. 37, no. 3 (017), 447 456 http://dx.doi.og/10.7494/opmath.017.37.3.447 Opuscula Mathematica ON THE INVERSE SIGNED TOTAL DOMINATION NUMBER IN GRAPHS D.A. Mojdeh and B. Samadi Communicated

More information

Auchmuty High School Mathematics Department Advanced Higher Notes Teacher Version

Auchmuty High School Mathematics Department Advanced Higher Notes Teacher Version The Binomial Theoem Factoials Auchmuty High School Mathematics Depatment The calculations,, 6 etc. often appea in mathematics. They ae called factoials and have been given the notation n!. e.g. 6! 6!!!!!

More information

On decompositions of complete multipartite graphs into the union of two even cycles

On decompositions of complete multipartite graphs into the union of two even cycles On decompositions of complete multipatite gaphs into the union of two even cycles A. Su, J. Buchanan, R. C. Bunge, S. I. El-Zanati, E. Pelttai, G. Rasmuson, E. Spaks, S. Tagais Depatment of Mathematics

More information

SMT 2013 Team Test Solutions February 2, 2013

SMT 2013 Team Test Solutions February 2, 2013 1 Let f 1 (n) be the numbe of divisos that n has, and define f k (n) = f 1 (f k 1 (n)) Compute the smallest intege k such that f k (013 013 ) = Answe: 4 Solution: We know that 013 013 = 3 013 11 013 61

More information

PROBLEM SET #1 SOLUTIONS by Robert A. DiStasio Jr.

PROBLEM SET #1 SOLUTIONS by Robert A. DiStasio Jr. POBLM S # SOLUIONS by obet A. DiStasio J. Q. he Bon-Oppenheime appoximation is the standad way of appoximating the gound state of a molecula system. Wite down the conditions that detemine the tonic and

More information

Chapter 5 Force and Motion

Chapter 5 Force and Motion Chapte 5 Foce and Motion In Chaptes 2 and 4 we have studied kinematics, i.e., we descibed the motion of objects using paametes such as the position vecto, velocity, and acceleation without any insights

More information

Fresnel Diffraction. monchromatic light source

Fresnel Diffraction. monchromatic light source Fesnel Diffaction Equipment Helium-Neon lase (632.8 nm) on 2 axis tanslation stage, Concave lens (focal length 3.80 cm) mounted on slide holde, iis mounted on slide holde, m optical bench, micoscope slide

More information

PDF Created with deskpdf PDF Writer - Trial ::

PDF Created with deskpdf PDF Writer - Trial :: A APPENDIX D TRIGONOMETRY Licensed to: jsamuels@bmcc.cun.edu PDF Ceated with deskpdf PDF Wite - Tial :: http://www.docudesk.com D T i g o n o m e t FIGURE a A n g l e s Angles can be measued in degees

More information

A Markov Decision Approach for the Computation of Testability of RTL Constructs

A Markov Decision Approach for the Computation of Testability of RTL Constructs A Makov Decision Appoach fo the Computation of Testability of RTL Constucts José Miguel Fenandes Abstact In the analysis of digital cicuits, to study testability estimation measues, dissipated powe and

More information

Chem 453/544 Fall /08/03. Exam #1 Solutions

Chem 453/544 Fall /08/03. Exam #1 Solutions Chem 453/544 Fall 3 /8/3 Exam # Solutions. ( points) Use the genealized compessibility diagam povided on the last page to estimate ove what ange of pessues A at oom tempeatue confoms to the ideal gas law

More information

Swissmetro: design methods for ironless linear transformer

Swissmetro: design methods for ironless linear transformer Swissmeto: design methods fo ionless linea tansfome Nicolas Macabey GESTE Engineeing SA Scientific Pak PSE-C, CH-05 Lausanne, Switzeland Tel (+4) 2 693 83 60, Fax. (+4) 2 693 83 6, nicolas.macabey@geste.ch

More information

NOTE. Some New Bounds for Cover-Free Families

NOTE. Some New Bounds for Cover-Free Families Jounal of Combinatoial Theoy, Seies A 90, 224234 (2000) doi:10.1006jcta.1999.3036, available online at http:.idealibay.com on NOTE Some Ne Bounds fo Cove-Fee Families D. R. Stinson 1 and R. Wei Depatment

More information

Hydroelastic Analysis of a 1900 TEU Container Ship Using Finite Element and Boundary Element Methods

Hydroelastic Analysis of a 1900 TEU Container Ship Using Finite Element and Boundary Element Methods TEAM 2007, Sept. 10-13, 2007,Yokohama, Japan Hydoelastic Analysis of a 1900 TEU Containe Ship Using Finite Element and Bounday Element Methods Ahmet Egin 1)*, Levent Kaydıhan 2) and Bahadı Uğulu 3) 1)

More information

Basic Bridge Circuits

Basic Bridge Circuits AN7 Datafoth Copoation Page of 6 DID YOU KNOW? Samuel Hunte Chistie (784-865) was bon in London the son of James Chistie, who founded Chistie's Fine At Auctionees. Samuel studied mathematics at Tinity

More information

arxiv: v1 [math.co] 4 May 2017

arxiv: v1 [math.co] 4 May 2017 On The Numbe Of Unlabeled Bipatite Gaphs Abdullah Atmaca and A Yavuz Ouç axiv:7050800v [mathco] 4 May 207 Abstact This pape solves a poblem that was stated by M A Haison in 973 [] This poblem, that has

More information

Encapsulation theory: the transformation equations of absolute information hiding.

Encapsulation theory: the transformation equations of absolute information hiding. 1 Encapsulation theoy: the tansfomation equations of absolute infomation hiding. Edmund Kiwan * www.edmundkiwan.com Abstact This pape descibes how the potential coupling of a set vaies as the set is tansfomed,

More information

Mathematisch-Naturwissenschaftliche Fakultät I Humboldt-Universität zu Berlin Institut für Physik Physikalisches Grundpraktikum.

Mathematisch-Naturwissenschaftliche Fakultät I Humboldt-Universität zu Berlin Institut für Physik Physikalisches Grundpraktikum. Mathematisch-Natuwissenschaftliche Fakultät I Humboldt-Univesität zu Belin Institut fü Physik Physikalisches Gundpaktikum Vesuchspotokoll Polaisation duch Reflexion (O11) duchgefüht am 10.11.2009 mit Vesuchspatne

More information

arxiv: v2 [physics.data-an] 15 Jul 2015

arxiv: v2 [physics.data-an] 15 Jul 2015 Limitation of the Least Squae Method in the Evaluation of Dimension of Factal Bownian Motions BINGQIANG QIAO,, SIMING LIU, OUDUN ZENG, XIANG LI, and BENZONG DAI Depatment of Physics, Yunnan Univesity,

More information

School of Electrical and Computer Engineering, Cornell University. ECE 303: Electromagnetic Fields and Waves. Fall 2007

School of Electrical and Computer Engineering, Cornell University. ECE 303: Electromagnetic Fields and Waves. Fall 2007 School of Electical and Compute Engineeing, Conell Univesity ECE 303: Electomagnetic Fields and Waves Fall 007 Homewok 8 Due on Oct. 19, 007 by 5:00 PM Reading Assignments: i) Review the lectue notes.

More information

Psychometric Methods: Theory into Practice Larry R. Price

Psychometric Methods: Theory into Practice Larry R. Price ERRATA Psychometic Methods: Theoy into Pactice Lay R. Pice Eos wee made in Equations 3.5a and 3.5b, Figue 3., equations and text on pages 76 80, and Table 9.1. Vesions of the elevant pages that include

More information

Section 8.2 Polar Coordinates

Section 8.2 Polar Coordinates Section 8. Pola Coodinates 467 Section 8. Pola Coodinates The coodinate system we ae most familia with is called the Catesian coodinate system, a ectangula plane divided into fou quadants by the hoizontal

More information

Centripetal Force OBJECTIVE INTRODUCTION APPARATUS THEORY

Centripetal Force OBJECTIVE INTRODUCTION APPARATUS THEORY Centipetal Foce OBJECTIVE To veify that a mass moving in cicula motion expeiences a foce diected towad the cente of its cicula path. To detemine how the mass, velocity, and adius affect a paticle's centipetal

More information

The Millikan Experiment: Determining the Elementary Charge

The Millikan Experiment: Determining the Elementary Charge LAB EXERCISE 7.5.1 7.5 The Elementay Chage (p. 374) Can you think of a method that could be used to suggest that an elementay chage exists? Figue 1 Robet Millikan (1868 1953) m + q V b The Millikan Expeiment:

More information

0606 ADDITIONAL MATHEMATICS 0606/01 Paper 1, maximum raw mark 80

0606 ADDITIONAL MATHEMATICS 0606/01 Paper 1, maximum raw mark 80 UNIVERSITY OF CAMBRIDGE INTERNATIONAL EXAMINATIONS Intenational Geneal Cetificate of Seconday Education MARK SCHEME fo the Octobe/Novembe 009 question pape fo the guidance of teaches 0606 ADDITIONAL MATHEMATICS

More information

Analysis of high speed machining center spindle dynamic unit structure performance Yuan guowei

Analysis of high speed machining center spindle dynamic unit structure performance Yuan guowei Intenational Confeence on Intelligent Systems Reseach and Mechatonics Engineeing (ISRME 0) Analysis of high speed machining cente spindle dynamic unit stuctue pefomance Yuan guowei Liaoning jidian polytechnic,dan

More information

Pulse Neutron Neutron (PNN) tool logging for porosity Some theoretical aspects

Pulse Neutron Neutron (PNN) tool logging for porosity Some theoretical aspects Pulse Neuton Neuton (PNN) tool logging fo poosity Some theoetical aspects Intoduction Pehaps the most citicism of Pulse Neuton Neuon (PNN) logging methods has been chage that PNN is to sensitive to the

More information

Appendix B The Relativistic Transformation of Forces

Appendix B The Relativistic Transformation of Forces Appendix B The Relativistic Tansfomation of oces B. The ou-foce We intoduced the idea of foces in Chapte 3 whee we saw that the change in the fou-momentum pe unit time is given by the expession d d w x

More information

Revision of Lecture Eight

Revision of Lecture Eight Revision of Lectue Eight Baseband equivalent system and equiements of optimal tansmit and eceive filteing: (1) achieve zeo ISI, and () maximise the eceive SNR Thee detection schemes: Theshold detection

More information

Chapter 5 Force and Motion

Chapter 5 Force and Motion Chapte 5 Foce and Motion In chaptes 2 and 4 we have studied kinematics i.e. descibed the motion of objects using paametes such as the position vecto, velocity and acceleation without any insights as to

More information

F-IF Logistic Growth Model, Abstract Version

F-IF Logistic Growth Model, Abstract Version F-IF Logistic Gowth Model, Abstact Vesion Alignments to Content Standads: F-IFB4 Task An impotant example of a model often used in biology o ecology to model population gowth is called the logistic gowth

More information

Using Laplace Transform to Evaluate Improper Integrals Chii-Huei Yu

Using Laplace Transform to Evaluate Improper Integrals Chii-Huei Yu Available at https://edupediapublicationsog/jounals Volume 3 Issue 4 Febuay 216 Using Laplace Tansfom to Evaluate Impope Integals Chii-Huei Yu Depatment of Infomation Technology, Nan Jeon Univesity of

More information

2 Governing Equations

2 Governing Equations 2 Govening Equations This chapte develops the govening equations of motion fo a homogeneous isotopic elastic solid, using the linea thee-dimensional theoy of elasticity in cylindical coodinates. At fist,

More information

Pearson s Chi-Square Test Modifications for Comparison of Unweighted and Weighted Histograms and Two Weighted Histograms

Pearson s Chi-Square Test Modifications for Comparison of Unweighted and Weighted Histograms and Two Weighted Histograms Peason s Chi-Squae Test Modifications fo Compaison of Unweighted and Weighted Histogams and Two Weighted Histogams Univesity of Akueyi, Bogi, v/noduslód, IS-6 Akueyi, Iceland E-mail: nikolai@unak.is Two

More information

On the Quasi-inverse of a Non-square Matrix: An Infinite Solution

On the Quasi-inverse of a Non-square Matrix: An Infinite Solution Applied Mathematical Sciences, Vol 11, 2017, no 27, 1337-1351 HIKARI Ltd, wwwm-hikaicom https://doiog/1012988/ams20177273 On the Quasi-invese of a Non-squae Matix: An Infinite Solution Ruben D Codeo J

More information

EQUI-PARTITIONING OF HIGHER-DIMENSIONAL HYPER-RECTANGULAR GRID GRAPHS

EQUI-PARTITIONING OF HIGHER-DIMENSIONAL HYPER-RECTANGULAR GRID GRAPHS EQUI-PARTITIONING OF HIGHER-DIMENSIONAL HYPER-RECTANGULAR GRID GRAPHS ATHULA GUNAWARDENA AND ROBERT R MEYER Abstact A d-dimensional gid gaph G is the gaph on a finite subset in the intege lattice Z d in

More information

Introduction Common Divisors. Discrete Mathematics Andrei Bulatov

Introduction Common Divisors. Discrete Mathematics Andrei Bulatov Intoduction Common Divisos Discete Mathematics Andei Bulatov Discete Mathematics Common Divisos 3- Pevious Lectue Integes Division, popeties of divisibility The division algoithm Repesentation of numbes

More information

Divisibility. c = bf = (ae)f = a(ef) EXAMPLE: Since 7 56 and , the Theorem above tells us that

Divisibility. c = bf = (ae)f = a(ef) EXAMPLE: Since 7 56 and , the Theorem above tells us that Divisibility DEFINITION: If a and b ae integes with a 0, we say that a divides b if thee is an intege c such that b = ac. If a divides b, we also say that a is a diviso o facto of b. NOTATION: d n means

More information

Secret Exponent Attacks on RSA-type Schemes with Moduli N = p r q

Secret Exponent Attacks on RSA-type Schemes with Moduli N = p r q Secet Exponent Attacks on RSA-type Schemes with Moduli N = p q Alexande May Faculty of Compute Science, Electical Engineeing and Mathematics Univesity of Padebon 33102 Padebon, Gemany alexx@uni-padebon.de

More information

Three-dimensional Quantum Cellular Neural Network and Its Application to Image Processing *

Three-dimensional Quantum Cellular Neural Network and Its Application to Image Processing * Thee-dimensional Quantum Cellula Neual Netwok and Its Application to Image Pocessing * Sen Wang, Li Cai, Huanqing Cui, Chaowen Feng, Xiaokuo Yang Science College, Ai Foce Engineeing Univesity Xi an 701,

More information

Appraisal of Logistics Enterprise Competitiveness on the Basis of Fuzzy Analysis Algorithm

Appraisal of Logistics Enterprise Competitiveness on the Basis of Fuzzy Analysis Algorithm Appaisal of Logistics Entepise Competitiveness on the Basis of Fuzzy Analysis Algoithm Yan Zhao, Fengge Yao, Minming She Habin Univesity of Commece, Habin, Heilongjiang 150028, China, zhaoyan2000@yahoo.com.cn

More information

Surveillance Points in High Dimensional Spaces

Surveillance Points in High Dimensional Spaces Société de Calcul Mathématique SA Tools fo decision help since 995 Suveillance Points in High Dimensional Spaces by Benad Beauzamy Januay 06 Abstact Let us conside any compute softwae, elying upon a lage

More information

Conjugate Gradient Methods. Michael Bader. Summer term 2012

Conjugate Gradient Methods. Michael Bader. Summer term 2012 Gadient Methods Outlines Pat I: Quadatic Foms and Steepest Descent Pat II: Gadients Pat III: Summe tem 2012 Pat I: Quadatic Foms and Steepest Descent Outlines Pat I: Quadatic Foms and Steepest Descent

More information

Module 9: Electromagnetic Waves-I Lecture 9: Electromagnetic Waves-I

Module 9: Electromagnetic Waves-I Lecture 9: Electromagnetic Waves-I Module 9: Electomagnetic Waves-I Lectue 9: Electomagnetic Waves-I What is light, paticle o wave? Much of ou daily expeience with light, paticulaly the fact that light ays move in staight lines tells us

More information

0606 ADDITIONAL MATHEMATICS

0606 ADDITIONAL MATHEMATICS UNIVERSITY OF CAMBRIDGE INTERNATIONAL EXAMINATIONS Intenational Geneal Cetificate of Seconday Education MARK SCHEME fo the Octobe/Novembe 011 question pape fo the guidance of teaches 0606 ADDITIONAL MATHEMATICS

More information

Inverse Square Law and Polarization

Inverse Square Law and Polarization Invese Squae Law and Polaization Objectives: To show that light intensity is invesely popotional to the squae of the distance fom a point light souce and to show that the intensity of the light tansmitted

More information

Information Retrieval (Relevance Feedback & Query Expansion)

Information Retrieval (Relevance Feedback & Query Expansion) Infomation Retieval (Relevance Feedback & Quey Epansion) Fabio Aiolli http://www.math.unipd.it/~aiolli Dipatimento di Matematica Univesità di Padova Anno Accademico 1 Relevance feedback and quey epansion

More information

Physics 521. Math Review SCIENTIFIC NOTATION SIGNIFICANT FIGURES. Rules for Significant Figures

Physics 521. Math Review SCIENTIFIC NOTATION SIGNIFICANT FIGURES. Rules for Significant Figures Physics 51 Math Review SCIENIFIC NOAION Scientific Notation is based on exponential notation (whee decimal places ae expessed as a powe of 10). he numeical pat of the measuement is expessed as a numbe

More information

STABILITY AND PARAMETER SENSITIVITY ANALYSES OF AN INDUCTION MOTOR

STABILITY AND PARAMETER SENSITIVITY ANALYSES OF AN INDUCTION MOTOR HUNGARIAN JOURNAL OF INDUSTRY AND CHEMISTRY VESZPRÉM Vol. 42(2) pp. 109 113 (2014) STABILITY AND PARAMETER SENSITIVITY ANALYSES OF AN INDUCTION MOTOR ATTILA FODOR 1, ROLAND BÁLINT 1, ATTILA MAGYAR 1, AND

More information

A New Design of Binary MDS Array Codes with Asymptotically Weak-Optimal Repair

A New Design of Binary MDS Array Codes with Asymptotically Weak-Optimal Repair IEEE TRANSACTIONS ON INFORMATION THEORY 1 A New Design of Binay MDS Aay Codes with Asymptotically Weak-Optimal Repai Hanxu Hou, Membe, IEEE, Yunghsiang S. Han, Fellow, IEEE, Patick P. C. Lee, Senio Membe,

More information