A One-Step Modulo 2 n +1 Adder Based on Double-lsb Representation of Residues

Size: px
Start display at page:

Download "A One-Step Modulo 2 n +1 Adder Based on Double-lsb Representation of Residues"

Transcription

1 The CSI Joural o Computer Sciece ad Egieerig Vol. 4, No. &4, 6 Pages 1-16 Regular Paper A Oe-Step Modulo +1 Adder Based o Double-lsb Represetatio of Residues Ghassem Jaberipur Departmet of Electrical ad Computer Egieerig, Shahid Beheshti Uiversity, Tehra, Ira Abstract Efficiet modulo ±1 adders are desirable for computer arithmetic uits based o residue umber systems (RNS) with the popular moduli set { 1,, +1}. Regular -bit ripple-carry adders or their fast equivalets are suitable for modulo additio. But for the other two moduli a correctig icremet/decremet step besides the primary -bit additio is ormally required. Several desig efforts have tried to reduce the latecy of the correctig step to a small delay ot depedig o the word legth, leadig to oe-step modular additio schemes. These iclude the use of alterative ecodig of residues (e.g., dimiished-1 represetatio of modulo +1 umbers), customized (vs. geeric) adders (e.g., specialized parallel prefix adders), or compoud adders. I this paper we ivestigate alterative modulo +1 additio schemes, focus o geeric oe-step adder desigs, ad use the double-lsb represetatio of modulo +1 umbers. I a geeric modular adder, the cetral abstract -bit adder may be replaced by ay cocrete adder architecture meetig the desiger s prescribed measures i time, area ad power cosumptio. Keywords: Residue umber system, Modulo +1 additio, Double-lsb represetatio, Dimiished-1 umber represetatio, Parallel prefix adders, Geeric adders. 1. Itroductio Residue umber systems (RNS) ad the related arithmetic uits are popular i may digital sigal processig applicatios where most computatios are restricted to multiplicatio, additio ad subtractio [1]. Applicatio areas, besides geeral RNS arithmetic, as oted i [] iclude: Fast umber theoretic trasforms Discrete Fourier trasform Digital filters A residue umber system Ψ is characterized by k iteger moduli m k 1 m 1, m. A iteger value x (α x β) is uiquely represeted by (x k 1 x 1, x ), where x i = x mod m i ( i k 1), ad [α, β] is the dyamic rage of Ψ, whose cardiality is M Ψ = β α. To maximize M Ψ, the moduli are chose to be pair-wise prime, such that M Ψ = m k 1 m 1 m. To compute x y, where is a arithmetic operator (e.g., + or ), oe simply performs modular o each of the k residues of x ad y i parallel as i Equatio (1), where subscript m i ( i k 1) stads for modulo m i operatio, x = (x k 1, x 1, x ), ad y = (y k 1, y 1, y ). x y = (( x y ),...( x y ),( x y ) ) (1) k 1 k 1 mk m1 m RNS additio, as also the basis for subtractio ad multiplicatio, is composed of addig the two residues per each of the moduli followed by a mod operatio. Therefore the latecy of RNS additio would at best be i the order of log (max (m k 1 m 1, m )), which is cosiderably less tha that of same operatio o full-words x ad y, provided that the differece betwee miimum ad maximum moduli is miimal. For higher speed, however, the moduli with simpler mod operatio are preferred.

2 Gh. Jaberipur: A Oe-step Modulo +1 Adder Based o Double-lsb Represetatio of Residues (Regular Paper) 11 The first choice is leadig to fastest mod operatio, which is actually performed by igorig the carry-out sigal of the residue adder ad keepig the sum. Next popular choices have primarily bee ±1 [3, 4, 5, ad 6]. The three moduli are pair-wise prime ad the required dyamic rage ca be met by choosig the proper value for. Ulike the case, the mod operatio for moduli ±1 may ivolve substative overhead i terms of hardware ad latecy, but yet much less tha similar operatio for other moduli. Previous research o modulo ±1 adders has show that modulo +1 adder is more complex tha that of the cojugate modulo [7]. Therefore, ay performace gai i modulo +1 adder will ehace the efficiecy of the popular {, ±1} RNS. I this paper we focus o modulo +1 additio. Besides the geeral RNS applicatios, listed above, Efstathiou et. al. [8] categorize alterative applicatios of modulo +1 additio as: Cryptography Pseudoradom umber geeratio Covolutio computatio Zimmerma [3] offers a thorough aalysis of differet possible modulo ±1 arithmetic implemetatios that had bee appeared i the literature, where modulo +1 additio is either performed i two additio cycles or with two parallel adders. Two parallel-prefix modulo +1 additio schemes have bee proposed i [6 ad 7]. The adder architecture i both cotributios is based o ed-aroud carry icremet after the mai additio cycle. However the ed-aroud carry icremet operatio is fused i the fial carry computatio logic. The latter desig, although successful i usig a sigle -bit adder, is ot a geeric desig i a sese to allow for replacig its specialized parallel prefix adder, with aother adder architecture meetig particular desig measures i time, area, or power cosumptio. Neither have we ecoutered, i the ope literature, ay modulo +1 geeric additio scheme with a sigle abstract -bit adder, replaceable by ay desired fuctioally equivalet cocrete -bit adder. The rest of this paper is orgaized as follows. We review the covetioal umber represetatios for modulo +1 umbers ad the related adder desigs i Sectio. I Sectio 3, we propose a oe-step geeric modulo +1 additio scheme based o double-lsb [9] represetatio of modulo +1 residues [1]. Coversio to/from biary is discussed i Sectio 4, ad fially we draw our coclusios i Sectio 5.. Geeral Module +1 Additio A geeral block diagram, for modulo +1 adders, is depicted i Figure 1. The mai fuctio is doe by the middle block, amely a abstract -bit-log adder, where a -bit-log operatio is formally defied, for the purpose of referece i this paper, as: Defiitio 1 (-bit-log operatio): A -bit uary or biary operatio, performig o oe or two -bit operads ad producig the result with a icostat latecy with respect to, but at most liearly depedig o, is called a -bitlog operatio. Also we defie a oe-step modulo +1 adder as: Defiitio (Oe-step modulo +1 adder): Ay modulo +1 adder, whose critical delay path passes through oly oe -bit-log biary operatio (see Def. 1) is called a oestep modulo +1 adder. If the top ad bottom blocks of Figure 1 perform i costat time the adder is, by Def., a oe-step adder. Figure 1. Geeral block-diagram of modulo +1 adder Examples of -bit-log operatios iclude: -bit ripple-carry adders -bit carry-accelerate adders (e.g., carry look-ahead [] icludig parallel prefix [7], carry-select [8], or carry-skip [11] adders) -bit icremet/decremet adders -bit zero detectors The preprocessig ad postprocessig blocks of Figure 1, depedig o the uderlied algorithm used for implemetig modulo +1 adders, may vary i performace ad complexity. For example, a straight forward algorithm may be described as follows: Algorithm 1 (Modulo Additio): Iputs: A = a a 1 a 1 a, B = b b 1 b 1 b ( A, B ). Output: S = ( A + B ) ( S ). I. Compute W = A + B (W = w +1 w W', W' = w 1 w 1 w, w +1 = a b ). II. If w +1 = 1 the S = 1 else if w = the S = W' else if W' = the S = else S = W' 1. Step II of Algorithm 1 is justified as: w +1 = 1 (i.e., A = B = a = b = 1): S = ( A + B) = A + B () = 1 w +1 = w = (i.e., A+B < ): S = ( A + B) = W w +1 = ad w = 1 (i.e., A+B < +1 ): W' = A + B =, otherwise S = ( A + B) = A + B 1 = W 1

3 The CSI Joural o Computer Sciece ad Egieerig, Vol. 4, No. &4, 6 1 I the above algorithm, Step I ivolves a -bit-log additio ad Step II, i the worst case, goes through a -bitlog decremet operatio (i.e., to compute W' 1). Moreover checkig for W' =, is geerally a -bit-log operatio. It is aturally desirable to fid algorithms that compute the required modulo additio by oly oe -bit-log operatio. Parallel computatio of W ad W 1 is a alterative solutio, but with high pealty i area ad power cosumptio due to a extra active -bit-log adder. As aother solutio use of dimiished-1 represetatio has bee proposed i [1] with further elaboratio i [3]. Yet it requires either two -bit-log additio operatios i sequece or two -bit-log adders that operate i parallel. For ease of referece, we provide Algorithms for the latter method. Algorithm (Modulo +1 Dimiished-1 Additio): Iputs: Dimiished-1 represetatios of A ad B (i.e., (z a, A') ad (z b, B') with A' = A 1, B' = B 1, z a = z b = 1 for A, B >, ad z a = z b =, for A = B =, where A' = a 1 a 1 a, ad B' = b 1 b 1 b ). Output: Dimiished-1 represetatio of S = ( A + B ) (i.e., (z s, S'), with S = ( A + B ) 1 ad z s = 1 for S >, ad z s = for S = ). I. Derive z s = z a OR z b. II. If z s = 1 the compute W = A + B (W = w w 1 w 1 w ) else exit (S = ). III. If w = 1 the S' = w 1 w 1 w else S' = W. IV. If S' = the z s =. Step II of Algorithm is justified as: z s = 1: S' = S 1 = A + B 1= A' + B' 1 = A' + B' z s = : z a = z b = A = B = S = Step III is justified as: z s =w =1:W S = ( A + B ) = ( A + B ) = ( W ) = w 1 w 1 w +1 z s = 1, w = : W S = ( A + B ) = A + B =W=w 1 w There is a -bit-log additio operatio, a -bit-log icremet, ad a -bit-log zero detectio i Algorithm (see Step II, III, ad IV, respectively). The icremet operatio has bee successfully fused i Step II through a special parallel prefix additio scheme [6]. As a further iterestig iovatio [7] provides a ovel modulo +1 additio scheme (described, i our otatio, by Algorithm 3, below), based o Equatio (), where W = A + B + 1 ad o special provisio for detectio of zero results is eeded. + 1 ( W) + 1 if W S = ( A+ B) = + () 1 + (( W) 1 + ) + 1 otherwise Algorithm 3 (Modulo Parallel-Prefix Additio): Iputs: A = a a 1 a 1 a, B = b b 1 b 1 b ( A, B ). Output: S = ( A + B ) ( S ). I. Compute W = A+B+ 1 (W = w +1 w w 1 w 1 w ) by: a. Simplified carry-save additio of A, B, ad 1. b. Parallel prefix additio of carry ad sum vectors resulted from a. II. S = s s 1 s 1 s = w +1 + w w 1 w 1 w + w +1. The fuctio of Algorithm 3 is illustrated i Figure, ad Step II is justified as: w +1 = 1: +1 W w =, ad A + B S = ( A + B) = A + B 1= W +1 = w 1 w 1 w + w +1 =, w = 1: W < +1 1 A + B < S = ( A + B) = A+B = W = w 1 w 1 w w +1 =, w = : W = 1 A = B = S = = 1 w 1 w 1 w The cases of A + B =, ad A = B =, lead to W = +1 ad W + = 1 + = +1, respectively. Both cases result i S =. The -bit-log additio of Step I.b ca be implemeted by a variety of carry acceleratio methods [11]. I particular carry look-ahead adders [] ad parallel prefix adders [7] ca be used to fuse the fial icremet ito positioal carry computatio of the mai additio for derivatio of W. The trick, as show i a a 1... a 1 a b b 1... b 1 b a b 1 b 1 a a1 b a 1 b a b a 1 + b 1 a + b a 1 + b 1 a + b w +1 w w 1 w w 1 w Figure. Derivatio of W i Algorithm 3

4 Gh. Jaberipur: A Oe-step Modulo +1 Adder Based o Double-lsb Represetatio of Residues (Regular Paper) 13 Equatio-set (3), is to postpoe the computatio ivolvig c i (i.e., carry ito the lsb positio) to the last stage of positioal carry derivatios, thus avoidig a ew carry look-ahead computatio for eforcig the ed-aroud carry. c i = G i 1 + P i 1 c i = G i 1, c +1 = G, c i = G i 1 + P i 1 G + a b = G i 1 + ( a b P i 1) c i is the carry ito positio i (c = c i = ), G ad P variables represet c i -idepedet geerate ad propagate expressios based o positioal geerate ad propagate sigals (i.e., g i ad p i ), ad c i is the fial carry ito positio i used for derivatio of s i = pi c. Expressios for G i i ad P i variables (icludig G ) deped o all the g j ad p j-1 sigals ( j i). These are computable i parallel by fudametal carry look-ahead operator cells [13] or parallel prefix trees through the recurrece equatio-set (4). G (3) Double fudametal carry look-ahead operator cells i some tree odes Differet fudametal carry look-ahead operator cells i the last row (pale circles) Aother disadvatage is the o-geeric behavior of the desig i Figure 3, where it is ot possible to replace the mai -bit-log adder by other adder architectures (e.g., whe due to ecoomizig area ad power cosumptio, desigers prefer to do Step I.b by a ripple-carry adder). G i = g i 1 + p i 1 G i, P i = p i 1 P i 1, g i = ai bi (a i 1 + b i 1 ), p i = ai bi + (a i 1 + b i 1 ) (4) Direct computatios of s i = pi c ad s i = p c obviates the eed for computatios of w i = p i c i ad s = w +1 + w. The fused ed-aroud carry is w = G + a b +1, where G ad a b caot both be equal to 1. Therefore the overall delay for sum bits s i, based o the same aalysis as i [7], cosists of the followig delay compoets, leadig to (7 + log ) uit gate delays: a. The XOR operatio i the origial carry-save additio: uit gates b. g i ad p i computatios: 1 uit gate c. G ad P derivatios: log uit gates (Parallel prefix logic assumed) d. c computatio: uit gates i e. The XOR operatio for the fial sum geeratio: uit gates The overall latecy of the similar implemetatio i [7] is estimated to be (9 + log ) uit gate delays. Our better estimate is due to usig a modified equatio for c i computatio (see equatio (3) above), which ufortuately has the disadvatage of large fa-out o a b. The best previous result for fastest modulo additio, as oted i Sectio above, has bee reported i [7] with the latecy of (6 + log ) uit gates, where the proposed architecture (see Figure 3, copied from [7], below) is based o a complex parallel prefix tree with the followig VLSI-ufriedly properties: A sigle global feed-forward lie global ad half-way backward lies Differet p ad g cells (idicated by bright, light gray, gray, ad dark squares) Figure 3. Modulo parallel prefix adder with backward lies, from [7] All the previously published algorithms for modulo additio, icludig the oes described i our otatio by Algorithms ad 3 above, essetially require a -bitlog additio operatio followed by a -bit-log icremet operatio, uless special carry acceleratio techique offered i [7] or parallel adders to compute sum ad icremeted sum are used. I the ext sectio, however, we preset our ovel modulo +1 represetatio, which is suitable for oestep ripple-carry (or ay carry-accelerate) implemetatio of modulo adders. 3. Double-lsb Modulo Additio The followig ew oe-step modulo +1 additio algorithm is based o double-lsb [9 ad 14] represetatio of modulo umbers [1]. A -biary-positio double-lsb represetatio is basically the same as a -bit usiged biary represetatio, except for a extra bit i positio zero. The extra lsb ehaces the rage of represeted umbers to exactly [, ] ad leads to the possibility of storig the edaroud carry istead of a post-icremet operatio. The two equally weighted lsbs are distiguished by primed ad oprimed versios of the same variable.

5 The CSI Joural o Computer Sciece ad Egieerig, Vol. 4, No. &4, 6 14 Algorithm 4 (Additio of Double-lsb Modulo umbers): Iputs: A = a 1 a 1 a a', B = b 1 b 1 b b' ( A, B ). Output: S = ( A + B ) = s 1 s 1 s s' ( S ). I. Compute W = A + B 1. II. If W the S = W (s' = ) else S = W (s' = 1). The above algorithm, i a abstract sese, is the same as Algorithm 3 of the previous sectio. But the double-lsb represetatio of the operads ad the followig implemetatio of A + B 1 exhibit a cosiderably differet implemetatio approach. The basic idea, as depicted i Figure 4 is to compute W as follows: If z = a + a + b + b = 1 the W = A + B z. If a + a' + b + b' = 1 (i.e., z = ad at least oe of the lsbs is 1) the we igore a 1-valued lsb, to accout for 1 i Step I above, ad represet the sum of other three bits as t 1 u i Figure 4. Therefore W = A + B z 1. The latter observatio suggests the computig of A + B z, i both cases of z = 1 or z =, with the uderstadig that i the secod case (i.e., z = ), the decremet operatio is take care of by leavig out a 1-valued lsb. I Figure 4, z is represeted as +1 z+( +1 1)z. Table 1 shows how a 1-valued bit is left out, where sum of the three remaied bits are derived as t 1 + u (Equatioset (5), below) ad due to a = a' = b = b' =, for z = 1, three etries are missig. t 1 = a b a' + a b b' + a' b' a b + a' b' a b, u = a b a b (5) a 1... a 1 a b 1... b 1 b b' z z z z z z c +1 z z 1 1 a' a b z a 1 b 1 z u t t 1 t t 1 w w 1 w w 1 w s 1 s s 1 s Figure 4. Double-lsb modulo +1 additio s' Table 1. Derivatio of three remaied bits i positio z a b Leftout 1? Other possibly sigificat bits t 1 u Yes a' or b' a 1 Yes a' ad b' a' b' a 1 Yes a' ad b' a' b' a 1 1 Yes b = 1, a' ad a' b' +b' a 1 No Noe Table. Derivatio of fial sum S z c +1 w s +1 s s 1 s s w 1...w 1 1 w 1...w w 1...w w 1...w There is actually o eed to compute c +1 z, i positio +1 of Figure 4, for c +1 ad z may directly cotribute to the derivatio of the fial sum S as is outlied i Table ad Equatio-set (6), where the absece of three other potetial etries are due to the costrait A+B 1< +1. s i = w i (c +1 + z ), for i <, s = w (6) A parallel prefix implemetatio of Algorithm 4 is depicted i Figure 4, where the delay compoets as listed below sum up to the same latecy as the totally parallel prefix (TPP) implemetatio of Algorithm 3 i [7] (i.e., 6 + log, assumig equal latecy for full adders i Figure 5 ad modified half-adders of Figure 3): a. Computatio of t 1 (Equatio (5)), ad delay of the CSA adder: uit gates. b. g i ad p i computatios: 1 uit gate c. G ad P derivatios: log uit gates (Parallel prefix logic assumed) d. The XOR operatio for the iterim sum geeratio: uit gates e. The AND delay for fial sum geeratio: 1 uit gate However our parallel prefix tree is without global backward lies, ad ehaced VLSI regularity is clearly a additioal advatage i our desig. 4. Coversio to/from Biary Coversio of a biary iteger I to double-lsb modulo +1 represetatio, follows the covetioal process of biary to modulo +1 residue coversio up to reducig I to a +1- bit biary iteger [11]. The the process is cotiued, by subtractig the msb (which weighs ) from the rest of represetatio (i.e., the rightmost bits), ad savig the outgoig borrow as the secod lsb. The latter is 1 if ad oly if

6 Gh. Jaberipur: A Oe-step Modulo +1 Adder Based o Double-lsb Represetatio of Residues (Regular Paper) 15 the origial +1-bit umber had bee equal to. The secod part of the coversio process is less complex tha covetioal biary to modulo +1 coversio which, besides subtractio of msb, ivolves a -bit zero detectio compressor may be used for reductio of each colum istead of a full adder. The additioal delay is equal to that of oe XOR gate. This is practically egligible i compariso with the log -bit additio required after reductio. Figure 5. Regular VLSI-friedly parallel prefix modulo +1 adder for the case of as the residue. For the reverse coversio, the secod lsb does ot itroduce cosiderable iefficiecy. Residue to biary coverters, ormally implemet the Chiese remaider theorem [1] usig carry save adders (CSA) for the required multi-operad biary additio. With a careful desig of the CSA tree, cotributio of the secod lsb to the overall coversio delay may oly add oe level of CSA. For example, for the popular moduli set { ±1, }, Equatio-set (11) adapted from [15] coverts (X, Y, Z) to I, where X = (I), Y = (I), ad Z = (I) : 1 1 I I X I - ( X Z Y Z ) = +, = -( + ) + ()( + ) (11) - 1 The equatio for I', after some maipulatio, turs to Equatio (1), where X (Z ) is oe s complemet of X (Z). I = X + Z + Y + Z + Y + Z (1) 1 1 ( ) ( )) 1 Assumig X = x 1...x, Y = y 1...y, ad Z = z 1...z, implemetatio of (1) may be illustrated as i Figure 6. It is easily see that the secod lsb (i.e., z ) deepes the multioperad additio tree by oly oe level. Therefore, a (4; ) Weights: 1 1 { x - 1 x - x z - 1 z CStree 1 y y 1 y 1 y y z z 1 z 1 z z 1 5. Coclusio Figure 6. Multi operad additio tree We used double-lsb represetatio for modulo +1 umbers, ad preseted a modulo +1 additio scheme, where the ed-aroud carry may be stored as the secod lsb istead of a udesired -bit-log icremet operatio. With the double-lsb represetatio, our algorithm is the first, i the ope literature, that allows for a oe-step -bit carry-ripple implemetatio of modulo +1 additio. However, there is a preprocessig phase cosistig of a costat-time carry-save additio. This desig is a geeric oe i a sese that the mai -bitlog adder may be replaced by ay adder architecture that fits the desiger s goals for area, time, ad power requiremets. The carry-save ad carry-ripple adder

7 The CSI Joural o Computer Sciece ad Egieerig, Vol. 4, No. &4, 6 16 combiatio, leads to less area cosumptio tha that of the parallel additio paradigm with -bit selector logic. Moreover, less power dissipatio is expected due to less switchig activity of carry-save adder. Furthermore we showed that a covetioal parallel prefix implemetatio of the double-lsb additio algorithm leads to the same latecy as the best reported delay-optimized modulo +1 adder [7]. Nevertheless, our desig is more VLSI-friedly with respect to regularity ad lack of backward itercoectio lies, except for oe due to storig the ed-aroud carry. Fially we showed that doubl-lsb represetatio does ot itroduce ay iefficiecy for biary to residue coversio ad causes egligible additioal delay i the reverse coversio for the moduli set { 1,, +1}. Give that efficiet modulo multipliers have bee desiged (e.g., [16]), further research is ogoig for modulo +1 multiplier desig based o double-lsb represetatio, ad similar ucovetioal represetatios for other moduli are beig explored. Ackowledgemet This research was fuded by Shahid Beheshti Uiversity uder cotract # 6/17/111. Refereces [1] Soderstrad, M. A., W. K. Jekis, G. A. Jullie, ad F. J. Taylor, Residue Number System Arithmetic: Moder Applicatios i Digital Sigal Processig, IEEE Press, New York, [] Hiasat, A. A., High-Speed ad Reduced Area Modular Adder Structures for RNS, IEEE Tras. Computers, pp ,. [3] Zimmerma, R., Efficiet VLSI Implemetatio of Modulo 1 Additio ad Multiplicatio, Proc. 14 th IEEE Symp. Computer Arithmetic, pp , Apr [4] Kalamboukas, L., D. Nikolos, C. Efstathiou, H. T. Vergos, ad J. Kalamatiaos, High-Speed Parallel-Prefix Modulo 1 Adders, IEEE Tras. Computers, Vol. 49, No. 7, pp , July. [5] Efstathiou, C., H. T. Vergos, ad D. Nikolos, O the Desig of Modulo ±1 Adders, Proc. 8 th IEEE It l Cof. Electroics, Circuits & Systems, pp , 1. [6] Vergos, H. T., C. Efstathiou, ad D. Nikolos, Dimiished-Oe Modulo +1 Adder Desig, IEEE Tras. Computers, Vol. 51, pp ,. [9] Parhami, B., ad S. Johasso, A Number Represetatio Scheme with Carry-Free Roudig for Floatig-Poit Sigal Processig Applicatios, Proc. of the Iteratioal Cof. o Sigal & Image Processig (SIP 98), Las Vegas, NV, pp. 9-9, October 8-31, [1] Timarchi, S., ad K. Navi, A Novel Modulo +1 Adder Scheme, 1 th iteratioal CSI Computer Coferece, Shahid Beheshti Uiversity, Tehra, Ira, pp , Feb. 7. [11] Parhami, B., Computer Arithmetic: Algorithms ad Hardware Desigs, New York: Oxford Ui. Press,. [1] Agrawal, D. P. ad T. R. N. Rao, Modulo ( +1) arithmetic logic. IEEE J. o Electroic Circuits ad Syst., Vol., pp , Nov [13] Kogge, P. M., ad H. S. Stoe, A Parallel Algorithm for the Efficiet Solutio of a Geeral Class of Recurrece Equatios, IEEE Tras.Computers, Vol., No. 8, pp , Aug [14] B. Parhami, Double-Least-Sigificat-Bits 's- Complemet Number Represetatio Scheme with Bitwise Complemetatio ad Symmetric Rage, IET Circuits, Devices & Systems, to appear i 8. [15] Wag, Z., G. A. Jullie, ad W. C. Miller, A Improved Residue-to-Biary Coverter, IEEE Tras. Circuits Syst. I: Fudametal theory ad applicatios, Vol. 47, No. 9, pp , September. [16] Efstathiou, C. et. al., Efficiet Dimiished-1 Modulo Multipliers, IEEE Tras. o Computers, Vol. 54, No. pp , 5. Ghassem Jaberipur received his B.S i Electrical Egieerig ad PhD i Computer Egieerig from Sharif Uiversity of Techology i 1974 ad 4, respectively, his M.S i Egieerig (majorig i computer hardware) from UCLA i 1976, ad his M.S i Computer Sciece from Uiversity of Wiscosi i Madiso i Sice 1979, he has bee with the departmet of Electrical ad Computer Egieerig of Shahid Beheshti Uiversity (Tehra, Ira). His mai activities iclude teachig udergraduate courses i theory ad implemetatio of programmig laguages, ad graduate courses i compiler costructio ad computer arithmetic. His mai research iterest is i computer arithmetic. Dr. Jaberipur is also affiliated with the School of Computer Sciece, IPM (Tehra, Ira). Jaberipur@SBU.ic.ir [7] Efstathiou, C., H. T. Vergos, ad D. Nikolos, Fast Parallel-Prefix +1 Adder, IEEE Tras. o Computers, Vol. 53, No. 9, pp , September 4. [8] Efstathiou, C., H. T. Vergos, ad D. Nikolos, Modulo 1 adder desig usig select-prefix blocks, IEEE Tras. Computer, Vol. 5, pp , 3.

Efficient Reverse Converter Design for Five Moduli

Efficient Reverse Converter Design for Five Moduli Joural of Computatios & Modellig, vol., o., 0, 93-08 ISSN: 79-765 (prit), 79-8850 (olie) Iteratioal Scietific ress, 0 Efficiet Reverse Coverter Desig for Five Moduli Set,,,, MohammadReza Taheri, Elham

More information

EE260: Digital Design, Spring n Binary Addition. n Complement forms. n Subtraction. n Multiplication. n Inputs: A 0, B 0. n Boolean equations:

EE260: Digital Design, Spring n Binary Addition. n Complement forms. n Subtraction. n Multiplication. n Inputs: A 0, B 0. n Boolean equations: EE260: Digital Desig, Sprig 2018 EE 260: Itroductio to Digital Desig Arithmetic Biary Additio Complemet forms Subtractio Multiplicatio Overview Yao Zheg Departmet of Electrical Egieerig Uiversity of Hawaiʻi

More information

DESIGN AND IMPLEMENTATION OF IMPROVED AREA EFFICIENT WEIGHTED MODULO 2N+1 ADDER DESIGN

DESIGN AND IMPLEMENTATION OF IMPROVED AREA EFFICIENT WEIGHTED MODULO 2N+1 ADDER DESIGN ARPN Joural of Egieerig ad Applied Scieces 2006-204 Asia Research Publishig Network (ARPN). All rights reserved. www.arpjourals.com DESIGN AND IMPLEMENTATION OF IMPROVED AREA EFFICIENT WEIGHTED MODULO

More information

ISSN: ISO 9001:2008 Certified International Journal of Engineering and Innovative Technology (IJEIT) Volume 2, Issue 5, November 2012

ISSN: ISO 9001:2008 Certified International Journal of Engineering and Innovative Technology (IJEIT) Volume 2, Issue 5, November 2012 Iteratioal Joural of Egieerig ad Iovative Techology (IJEIT) Pre Improved Weighted Modulo 2 +1 Desig Based O Parallel Prefix Adder Dr.V.Vidya Devi, T.Veishkumar, T.Thomas Leoid PG Head/Professor, Graduate

More information

Internal Information Representation and Processing

Internal Information Representation and Processing Iteral Iformatio Represetatio ad Processig CSCE 16 - Fudametals of Computer Sciece Dr. Awad Khalil Computer Sciece & Egieerig Departmet The America Uiversity i Cairo Decimal Number System We are used to

More information

RESIDUE number system (RNS) is a nonweighted

RESIDUE number system (RNS) is a nonweighted 96 IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS II: EPRESS BRIEFS, VOL. 64, NO. 8, AUGUST 07 A Efficiet Reverse Coverter for the Three-Moduli Set,, ) Ahmad Hiasat Abstract The well-kow three-moduli set,,

More information

Chapter 2 Modulo Addition and Subtraction

Chapter 2 Modulo Addition and Subtraction Chapter 2 Modulo Additio ad Subtractio I this Chapter, the basic operatios of modulo additio ad subtractio are cosidered. Both the cases of geeral moduli ad specific moduli of the form 2 1ad2 + 1 are cosidered

More information

COMPARISON OF FPGA IMPLEMENTATION OF THE MOD M REDUCTION

COMPARISON OF FPGA IMPLEMENTATION OF THE MOD M REDUCTION Lati America Applied Research 37:93-97 (2007) COMPARISON OF FPGA IMPLEMENTATION OF THE MOD M REDUCTION J-P. DESCHAMPS ad G. SUTTER Escola Tècica Superior d Egiyeria, Uiversitat Rovira i Virgili, Tarragoa,

More information

7. Modern Techniques. Data Encryption Standard (DES)

7. Modern Techniques. Data Encryption Standard (DES) 7. Moder Techiques. Data Ecryptio Stadard (DES) The objective of this chapter is to illustrate the priciples of moder covetioal ecryptio. For this purpose, we focus o the most widely used covetioal ecryptio

More information

Number Representation

Number Representation Number Represetatio 1 Number System :: The Basics We are accustomed to usig the so-called decimal umber system Te digits :: 0,1,2,3,4,5,6,7,8,9 Every digit positio has a weight which is a power of 10 Base

More information

Some Explicit Formulae of NAF and its Left-to-Right. Analogue Based on Booth Encoding

Some Explicit Formulae of NAF and its Left-to-Right. Analogue Based on Booth Encoding Vol.7, No.6 (01, pp.69-74 http://dx.doi.org/10.1457/ijsia.01.7.6.7 Some Explicit Formulae of NAF ad its Left-to-Right Aalogue Based o Booth Ecodig Dog-Guk Ha, Okyeo Yi, ad Tsuyoshi Takagi Kookmi Uiversity,

More information

Arithmetic Circuits. (Part I) Randy H. Katz University of California, Berkeley. Spring 2007

Arithmetic Circuits. (Part I) Randy H. Katz University of California, Berkeley. Spring 2007 rithmetic Circuits (Part I) Rady H. Katz Uiversity of Califoria, erkeley prig 27 Lecture #23: rithmetic Circuits- Motivatio rithmetic circuits are excellet examples of comb. logic desig Time vs. pace Trade-offs

More information

Chapter 9 Computer Design Basics

Chapter 9 Computer Design Basics Logic ad Computer Desig Fudametals Chapter 9 Computer Desig Basics Part 1 Datapaths Overview Part 1 Datapaths Itroductio Datapath Example Arithmetic Logic Uit (ALU) Shifter Datapath Represetatio Cotrol

More information

Overview EECS Components and Design Techniques for Digital Systems. Lec 15 Addition, Subtraction, and Negative Numbers. Positional Notation

Overview EECS Components and Design Techniques for Digital Systems. Lec 15 Addition, Subtraction, and Negative Numbers. Positional Notation Overview EEC 5 Compoets ad Desig Techiques for Digital ystems Lec 5 dditio, ubtractio, ad Negative Numbers David Culler Electrical Egieerig ad Computer cieces Uiversity of Califoria, erkeley Recall basic

More information

Summary: Congruences. j=1. 1 Here we use the Mathematica syntax for the function. In Maple worksheets, the function

Summary: Congruences. j=1. 1 Here we use the Mathematica syntax for the function. In Maple worksheets, the function Summary: Cogrueces j whe divided by, ad determiig the additive order of a iteger mod. As described i the Prelab sectio, cogrueces ca be thought of i terms of coutig with rows, ad for some questios this

More information

Recurrence Relations

Recurrence Relations Recurrece Relatios Aalysis of recursive algorithms, such as: it factorial (it ) { if (==0) retur ; else retur ( * factorial(-)); } Let t be the umber of multiplicatios eeded to calculate factorial(). The

More information

CHAPTER I: Vector Spaces

CHAPTER I: Vector Spaces CHAPTER I: Vector Spaces Sectio 1: Itroductio ad Examples This first chapter is largely a review of topics you probably saw i your liear algebra course. So why cover it? (1) Not everyoe remembers everythig

More information

A Block Cipher Using Linear Congruences

A Block Cipher Using Linear Congruences Joural of Computer Sciece 3 (7): 556-560, 2007 ISSN 1549-3636 2007 Sciece Publicatios A Block Cipher Usig Liear Cogrueces 1 V.U.K. Sastry ad 2 V. Jaaki 1 Academic Affairs, Sreeidhi Istitute of Sciece &

More information

Discrete-Time Systems, LTI Systems, and Discrete-Time Convolution

Discrete-Time Systems, LTI Systems, and Discrete-Time Convolution EEL5: Discrete-Time Sigals ad Systems. Itroductio I this set of otes, we begi our mathematical treatmet of discrete-time s. As show i Figure, a discrete-time operates or trasforms some iput sequece x [

More information

Arithmetic Circuits. (Part I) Randy H. Katz University of California, Berkeley. Spring Time vs. Space Trade-offs. Arithmetic Logic Units

Arithmetic Circuits. (Part I) Randy H. Katz University of California, Berkeley. Spring Time vs. Space Trade-offs. Arithmetic Logic Units rithmetic rcuits (art I) Rady H. Katz Uiversity of Califoria, erkeley otivatio rithmetic circuits are excellet examples of comb. logic desig Time vs. pace Trade-offs Doig thigs fast requires more logic

More information

SCALING OF NUMBERS IN RESIDUE ARITHMETIC WITH THE FLEXIBLE SELECTION OF SCALING FACTOR

SCALING OF NUMBERS IN RESIDUE ARITHMETIC WITH THE FLEXIBLE SELECTION OF SCALING FACTOR POZNAN UNIVE RSITY OF TE CHNOLOGY ACADE MIC JOURNALS No 76 Electrical Egieerig 203 Zeo ULMAN* Macie CZYŻAK* Robert SMYK* SCALING OF NUMBERS IN RESIDUE ARITHMETIC WITH THE FLEXIBLE SELECTION OF SCALING

More information

Recursive Algorithms. Recurrences. Recursive Algorithms Analysis

Recursive Algorithms. Recurrences. Recursive Algorithms Analysis Recursive Algorithms Recurreces Computer Sciece & Egieerig 35: Discrete Mathematics Christopher M Bourke cbourke@cseuledu A recursive algorithm is oe i which objects are defied i terms of other objects

More information

6.003 Homework #3 Solutions

6.003 Homework #3 Solutions 6.00 Homework # Solutios Problems. Complex umbers a. Evaluate the real ad imagiary parts of j j. π/ Real part = Imagiary part = 0 e Euler s formula says that j = e jπ/, so jπ/ j π/ j j = e = e. Thus the

More information

Sequences of Definite Integrals, Factorials and Double Factorials

Sequences of Definite Integrals, Factorials and Double Factorials 47 6 Joural of Iteger Sequeces, Vol. 8 (5), Article 5.4.6 Sequeces of Defiite Itegrals, Factorials ad Double Factorials Thierry Daa-Picard Departmet of Applied Mathematics Jerusalem College of Techology

More information

OPTIMAL ALGORITHMS -- SUPPLEMENTAL NOTES

OPTIMAL ALGORITHMS -- SUPPLEMENTAL NOTES OPTIMAL ALGORITHMS -- SUPPLEMENTAL NOTES Peter M. Maurer Why Hashig is θ(). As i biary search, hashig assumes that keys are stored i a array which is idexed by a iteger. However, hashig attempts to bypass

More information

Optimum LMSE Discrete Transform

Optimum LMSE Discrete Transform Image Trasformatio Two-dimesioal image trasforms are extremely importat areas of study i image processig. The image output i the trasformed space may be aalyzed, iterpreted, ad further processed for implemetig

More information

De Bruijn Sequences for the Binary Strings with Maximum Density

De Bruijn Sequences for the Binary Strings with Maximum Density De Bruij Sequeces for the Biary Strigs with Maximum Desity Joe Sawada 1, Brett Steves 2, ad Aaro Williams 2 1 jsawada@uoguelph.ca School of Computer Sciece, Uiversity of Guelph, CANADA 2 brett@math.carleto.ca

More information

Chapter Vectors

Chapter Vectors Chapter 4. Vectors fter readig this chapter you should be able to:. defie a vector. add ad subtract vectors. fid liear combiatios of vectors ad their relatioship to a set of equatios 4. explai what it

More information

Recursive Algorithm for Generating Partitions of an Integer. 1 Preliminary

Recursive Algorithm for Generating Partitions of an Integer. 1 Preliminary Recursive Algorithm for Geeratig Partitios of a Iteger Sug-Hyuk Cha Computer Sciece Departmet, Pace Uiversity 1 Pace Plaza, New York, NY 10038 USA scha@pace.edu Abstract. This article first reviews the

More information

The Discrete Fourier Transform

The Discrete Fourier Transform The iscrete Fourier Trasform The discrete-time Fourier trasform (TFT) of a sequece is a cotiuous fuctio of!, ad repeats with period. I practice we usually wat to obtai the Fourier compoets usig digital

More information

ANALYSIS OF EXPERIMENTAL ERRORS

ANALYSIS OF EXPERIMENTAL ERRORS ANALYSIS OF EXPERIMENTAL ERRORS All physical measuremets ecoutered i the verificatio of physics theories ad cocepts are subject to ucertaities that deped o the measurig istrumets used ad the coditios uder

More information

VYSOKÉ UČENÍ TECHNICKÉ V BRNĚ

VYSOKÉ UČENÍ TECHNICKÉ V BRNĚ VYSOKÉ UČENÍ TECHNICKÉ V BRNĚ FAKULTA ELEKTROTECHNIKY A KOMUNIKAČNÍCH TECHNOLOGIÍ ÚSTAV MIKROELEKTRONIKY Ig. DINA YOUNES RESIDUE NUMBER SYSTEM BASED BUILDING BLOCKS FOR APPLICATIONS IN DIGITAL SIGNAL PROCESSING

More information

Finite-length Discrete Transforms. Chapter 5, Sections

Finite-length Discrete Transforms. Chapter 5, Sections Fiite-legth Discrete Trasforms Chapter 5, Sectios 5.2-50 5.0 Dr. Iyad djafar Outlie The Discrete Fourier Trasform (DFT) Matrix Represetatio of DFT Fiite-legth Sequeces Circular Covolutio DFT Symmetry Properties

More information

Parallel Vector Algorithms David A. Padua

Parallel Vector Algorithms David A. Padua Parallel Vector Algorithms 1 of 32 Itroductio Next, we study several algorithms where parallelism ca be easily expressed i terms of array operatios. We will use Fortra 90 to represet these algorithms.

More information

CSE 1400 Applied Discrete Mathematics Number Theory and Proofs

CSE 1400 Applied Discrete Mathematics Number Theory and Proofs CSE 1400 Applied Discrete Mathematics Number Theory ad Proofs Departmet of Computer Scieces College of Egieerig Florida Tech Sprig 01 Problems for Number Theory Backgroud Number theory is the brach of

More information

TEACHER CERTIFICATION STUDY GUIDE

TEACHER CERTIFICATION STUDY GUIDE COMPETENCY 1. ALGEBRA SKILL 1.1 1.1a. ALGEBRAIC STRUCTURES Kow why the real ad complex umbers are each a field, ad that particular rigs are ot fields (e.g., itegers, polyomial rigs, matrix rigs) Algebra

More information

SNAP Centre Workshop. Basic Algebraic Manipulation

SNAP Centre Workshop. Basic Algebraic Manipulation SNAP Cetre Workshop Basic Algebraic Maipulatio 8 Simplifyig Algebraic Expressios Whe a expressio is writte i the most compact maer possible, it is cosidered to be simplified. Not Simplified: x(x + 4x)

More information

Analysis of Algorithms. Introduction. Contents

Analysis of Algorithms. Introduction. Contents Itroductio The focus of this module is mathematical aspects of algorithms. Our mai focus is aalysis of algorithms, which meas evaluatig efficiecy of algorithms by aalytical ad mathematical methods. We

More information

Research Article A Unified Weight Formula for Calculating the Sample Variance from Weighted Successive Differences

Research Article A Unified Weight Formula for Calculating the Sample Variance from Weighted Successive Differences Discrete Dyamics i Nature ad Society Article ID 210761 4 pages http://dxdoiorg/101155/2014/210761 Research Article A Uified Weight Formula for Calculatig the Sample Variace from Weighted Successive Differeces

More information

Discrete Orthogonal Moment Features Using Chebyshev Polynomials

Discrete Orthogonal Moment Features Using Chebyshev Polynomials Discrete Orthogoal Momet Features Usig Chebyshev Polyomials R. Mukuda, 1 S.H.Og ad P.A. Lee 3 1 Faculty of Iformatio Sciece ad Techology, Multimedia Uiversity 75450 Malacca, Malaysia. Istitute of Mathematical

More information

Exponents. Learning Objectives. Pre-Activity

Exponents. Learning Objectives. Pre-Activity Sectio. Pre-Activity Preparatio Epoets A Chai Letter Chai letters are geerated every day. If you sed a chai letter to three frieds ad they each sed it o to three frieds, who each sed it o to three frieds,

More information

4.3 Growth Rates of Solutions to Recurrences

4.3 Growth Rates of Solutions to Recurrences 4.3. GROWTH RATES OF SOLUTIONS TO RECURRENCES 81 4.3 Growth Rates of Solutios to Recurreces 4.3.1 Divide ad Coquer Algorithms Oe of the most basic ad powerful algorithmic techiques is divide ad coquer.

More information

De Bruijn Sequences for the Binary Strings with Maximum Specified Density

De Bruijn Sequences for the Binary Strings with Maximum Specified Density De Bruij Sequeces for the Biary Strigs with Maximum Specified Desity Joe Sawada 1, Brett Steves 2, ad Aaro Williams 2 1 jsawada@uoguelph.ca School of Computer Sciece, Uiversity of Guelph, CANADA 2 brett@math.carleto.ca

More information

Chapter 9 Computer Design Basics

Chapter 9 Computer Design Basics Logic ad Computer Desig Fudametals Chapter 9 Computer Desig asics Part Datapaths Charles Kime & Thomas Kamiski 008 Pearso Educatio, Ic. (Hyperliks are active i View Show mode) Overview Part Datapaths Itroductio

More information

Discrete-Time Signals and Systems. Discrete-Time Signals and Systems. Signal Symmetry. Elementary Discrete-Time Signals.

Discrete-Time Signals and Systems. Discrete-Time Signals and Systems. Signal Symmetry. Elementary Discrete-Time Signals. Discrete-ime Sigals ad Systems Discrete-ime Sigals ad Systems Dr. Deepa Kudur Uiversity of oroto Referece: Sectios. -.5 of Joh G. Proakis ad Dimitris G. Maolakis, Digital Sigal Processig: Priciples, Algorithms,

More information

Oblivious Transfer using Elliptic Curves

Oblivious Transfer using Elliptic Curves Oblivious Trasfer usig Elliptic Curves bhishek Parakh Louisiaa State Uiversity, ato Rouge, L May 4, 006 bstract: This paper proposes a algorithm for oblivious trasfer usig elliptic curves lso, we preset

More information

Chapter 9 - CD companion 1. A Generic Implementation; The Common-Merge Amplifier. 1 τ is. ω ch. τ io

Chapter 9 - CD companion 1. A Generic Implementation; The Common-Merge Amplifier. 1 τ is. ω ch. τ io Chapter 9 - CD compaio CHAPTER NINE CD-9.2 CD-9.2. Stages With Voltage ad Curret Gai A Geeric Implemetatio; The Commo-Merge Amplifier The advaced method preseted i the text for approximatig cutoff frequecies

More information

FIR Filters. Lecture #7 Chapter 5. BME 310 Biomedical Computing - J.Schesser

FIR Filters. Lecture #7 Chapter 5. BME 310 Biomedical Computing - J.Schesser FIR Filters Lecture #7 Chapter 5 8 What Is this Course All About? To Gai a Appreciatio of the Various Types of Sigals ad Systems To Aalyze The Various Types of Systems To Lear the Skills ad Tools eeded

More information

Lecture 3: Divide and Conquer: Fast Fourier Transform

Lecture 3: Divide and Conquer: Fast Fourier Transform Lecture 3: Divide ad Coquer: Fast Fourier Trasform Polyomial Operatios vs. Represetatios Divide ad Coquer Algorithm Collapsig Samples / Roots of Uity FFT, IFFT, ad Polyomial Multiplicatio Polyomial operatios

More information

Warped, Chirp Z-Transform: Radar Signal Processing

Warped, Chirp Z-Transform: Radar Signal Processing arped, Chirp Z-Trasform: Radar Sigal Processig by Garimella Ramamurthy Report o: IIIT/TR// Cetre for Commuicatios Iteratioal Istitute of Iformatio Techology Hyderabad - 5 3, IDIA Jauary ARPED, CHIRP Z

More information

Chapter 7: The z-transform. Chih-Wei Liu

Chapter 7: The z-transform. Chih-Wei Liu Chapter 7: The -Trasform Chih-Wei Liu Outlie Itroductio The -Trasform Properties of the Regio of Covergece Properties of the -Trasform Iversio of the -Trasform The Trasfer Fuctio Causality ad Stability

More information

Counting Well-Formed Parenthesizations Easily

Counting Well-Formed Parenthesizations Easily Coutig Well-Formed Parethesizatios Easily Pekka Kilpeläie Uiversity of Easter Filad School of Computig, Kuopio August 20, 2014 Abstract It is well kow that there is a oe-to-oe correspodece betwee ordered

More information

Complex Number Theory without Imaginary Number (i)

Complex Number Theory without Imaginary Number (i) Ope Access Library Joural Complex Number Theory without Imagiary Number (i Deepak Bhalchadra Gode Directorate of Cesus Operatios, Mumbai, Idia Email: deepakm_4@rediffmail.com Received 6 July 04; revised

More information

Teaching Mathematics Concepts via Computer Algebra Systems

Teaching Mathematics Concepts via Computer Algebra Systems Iteratioal Joural of Mathematics ad Statistics Ivetio (IJMSI) E-ISSN: 4767 P-ISSN: - 4759 Volume 4 Issue 7 September. 6 PP-- Teachig Mathematics Cocepts via Computer Algebra Systems Osama Ajami Rashaw,

More information

MAXIMALLY FLAT FIR FILTERS

MAXIMALLY FLAT FIR FILTERS MAXIMALLY FLAT FIR FILTERS This sectio describes a family of maximally flat symmetric FIR filters first itroduced by Herrma [2]. The desig of these filters is particularly simple due to the availability

More information

EE260: Digital Design, Spring n MUX Gate n Rudimentary functions n Binary Decoders. n Binary Encoders n Priority Encoders

EE260: Digital Design, Spring n MUX Gate n Rudimentary functions n Binary Decoders. n Binary Encoders n Priority Encoders EE260: Digital Desig, Sprig 2018 EE 260: Itroductio to Digital Desig MUXs, Ecoders, Decoders Yao Zheg Departmet of Electrical Egieerig Uiversity of Hawaiʻi at Māoa Overview of Ecoder ad Decoder MUX Gate

More information

EE / EEE SAMPLE STUDY MATERIAL. GATE, IES & PSUs Signal System. Electrical Engineering. Postal Correspondence Course

EE / EEE SAMPLE STUDY MATERIAL. GATE, IES & PSUs Signal System. Electrical Engineering. Postal Correspondence Course Sigal-EE Postal Correspodece Course 1 SAMPLE STUDY MATERIAL Electrical Egieerig EE / EEE Postal Correspodece Course GATE, IES & PSUs Sigal System Sigal-EE Postal Correspodece Course CONTENTS 1. SIGNAL

More information

CS284A: Representations and Algorithms in Molecular Biology

CS284A: Representations and Algorithms in Molecular Biology CS284A: Represetatios ad Algorithms i Molecular Biology Scribe Notes o Lectures 3 & 4: Motif Discovery via Eumeratio & Motif Represetatio Usig Positio Weight Matrix Joshua Gervi Based o presetatios by

More information

Orthogonal Gaussian Filters for Signal Processing

Orthogonal Gaussian Filters for Signal Processing Orthogoal Gaussia Filters for Sigal Processig Mark Mackezie ad Kiet Tieu Mechaical Egieerig Uiversity of Wollogog.S.W. Australia Abstract A Gaussia filter usig the Hermite orthoormal series of fuctios

More information

C. Complex Numbers. x 6x + 2 = 0. This equation was known to have three real roots, given by simple combinations of the expressions

C. Complex Numbers. x 6x + 2 = 0. This equation was known to have three real roots, given by simple combinations of the expressions C. Complex Numbers. Complex arithmetic. Most people thik that complex umbers arose from attempts to solve quadratic equatios, but actually it was i coectio with cubic equatios they first appeared. Everyoe

More information

DISTRIBUTED ARITHMETIC BASED BUTTERFLY ELEMENT FOR FFT PROCESSOR IN 45NM TECHNOLOGY

DISTRIBUTED ARITHMETIC BASED BUTTERFLY ELEMENT FOR FFT PROCESSOR IN 45NM TECHNOLOGY VOL. 8, O., JAUARY 3 ISS 89-668 ARP Joural of Egieerig ad Applied Scieces 6-3 Asia Research Publishig etwor (ARP). All rights reserved. DISTRIBUTED ARITHMETIC BASED BUTTERFLY ELEMET FOR FFT PROCESSOR I

More information

Web Appendix O - Derivations of the Properties of the z Transform

Web Appendix O - Derivations of the Properties of the z Transform M. J. Roberts - 2/18/07 Web Appedix O - Derivatios of the Properties of the z Trasform O.1 Liearity Let z = x + y where ad are costats. The ( z)= ( x + y )z = x z + y z ad the liearity property is O.2

More information

Quantum Computing Lecture 7. Quantum Factoring

Quantum Computing Lecture 7. Quantum Factoring Quatum Computig Lecture 7 Quatum Factorig Maris Ozols Quatum factorig A polyomial time quatum algorithm for factorig umbers was published by Peter Shor i 1994. Polyomial time meas that the umber of gates

More information

Analysis of Experimental Measurements

Analysis of Experimental Measurements Aalysis of Experimetal Measuremets Thik carefully about the process of makig a measuremet. A measuremet is a compariso betwee some ukow physical quatity ad a stadard of that physical quatity. As a example,

More information

IP Reference guide for integer programming formulations.

IP Reference guide for integer programming formulations. IP Referece guide for iteger programmig formulatios. by James B. Orli for 15.053 ad 15.058 This documet is iteded as a compact (or relatively compact) guide to the formulatio of iteger programs. For more

More information

Sequences, Mathematical Induction, and Recursion. CSE 2353 Discrete Computational Structures Spring 2018

Sequences, Mathematical Induction, and Recursion. CSE 2353 Discrete Computational Structures Spring 2018 CSE 353 Discrete Computatioal Structures Sprig 08 Sequeces, Mathematical Iductio, ad Recursio (Chapter 5, Epp) Note: some course slides adopted from publisher-provided material Overview May mathematical

More information

Introduction to Distributed Arithmetic. K. Sridharan, IIT Madras

Introduction to Distributed Arithmetic. K. Sridharan, IIT Madras Itroductio to Distriuted rithmetic. Sridhara, IIT Madras Distriuted rithmetic (D) efficiet techique for calculatio of ier product or multipl ad accumulate (MC) The MC operatio is commo i Digital Sigal

More information

FFTs in Graphics and Vision. The Fast Fourier Transform

FFTs in Graphics and Vision. The Fast Fourier Transform FFTs i Graphics ad Visio The Fast Fourier Trasform 1 Outlie The FFT Algorithm Applicatios i 1D Multi-Dimesioal FFTs More Applicatios Real FFTs 2 Computatioal Complexity To compute the movig dot-product

More information

EE260: Digital Design, Spring n Binary logic and Gates n Boolean Algebra. n Basic Properties n Algebraic Manipulation

EE260: Digital Design, Spring n Binary logic and Gates n Boolean Algebra. n Basic Properties n Algebraic Manipulation EE26: Digital Desig, Sprig 28 2-Ja-8 EE 26: Itroductio to Digital Desig Boolea lgebra: Logic Represetatios ad alysis Yao Zheg Departmet of Electrical Egieerig Uiversity of Hawaiʻi at Māoa Overview Biary

More information

Practical Spectral Anaysis (continue) (from Boaz Porat s book) Frequency Measurement

Practical Spectral Anaysis (continue) (from Boaz Porat s book) Frequency Measurement Practical Spectral Aaysis (cotiue) (from Boaz Porat s book) Frequecy Measuremet Oe of the most importat applicatios of the DFT is the measuremet of frequecies of periodic sigals (eg., siusoidal sigals),

More information

SECTION 1.5 : SUMMATION NOTATION + WORK WITH SEQUENCES

SECTION 1.5 : SUMMATION NOTATION + WORK WITH SEQUENCES SECTION 1.5 : SUMMATION NOTATION + WORK WITH SEQUENCES Read Sectio 1.5 (pages 5 9) Overview I Sectio 1.5 we lear to work with summatio otatio ad formulas. We will also itroduce a brief overview of sequeces,

More information

Chandrasekhar Type Algorithms. for the Riccati Equation of Lainiotis Filter

Chandrasekhar Type Algorithms. for the Riccati Equation of Lainiotis Filter Cotemporary Egieerig Scieces, Vol. 3, 00, o. 4, 9-00 Chadrasekhar ype Algorithms for the Riccati Equatio of Laiiotis Filter Nicholas Assimakis Departmet of Electroics echological Educatioal Istitute of

More information

Lesson 10: Limits and Continuity

Lesson 10: Limits and Continuity www.scimsacademy.com Lesso 10: Limits ad Cotiuity SCIMS Academy 1 Limit of a fuctio The cocept of limit of a fuctio is cetral to all other cocepts i calculus (like cotiuity, derivative, defiite itegrals

More information

6 Integers Modulo n. integer k can be written as k = qn + r, with q,r, 0 r b. So any integer.

6 Integers Modulo n. integer k can be written as k = qn + r, with q,r, 0 r b. So any integer. 6 Itegers Modulo I Example 2.3(e), we have defied the cogruece of two itegers a,b with respect to a modulus. Let us recall that a b (mod ) meas a b. We have proved that cogruece is a equivalece relatio

More information

CS161: Algorithm Design and Analysis Handout #10 Stanford University Wednesday, 10 February 2016

CS161: Algorithm Design and Analysis Handout #10 Stanford University Wednesday, 10 February 2016 CS161: Algorithm Desig ad Aalysis Hadout #10 Staford Uiversity Wedesday, 10 February 2016 Lecture #11: Wedesday, 10 February 2016 Topics: Example midterm problems ad solutios from a log time ago Sprig

More information

The z-transform. 7.1 Introduction. 7.2 The z-transform Derivation of the z-transform: x[n] = z n LTI system, h[n] z = re j

The z-transform. 7.1 Introduction. 7.2 The z-transform Derivation of the z-transform: x[n] = z n LTI system, h[n] z = re j The -Trasform 7. Itroductio Geeralie the complex siusoidal represetatio offered by DTFT to a represetatio of complex expoetial sigals. Obtai more geeral characteristics for discrete-time LTI systems. 7.

More information

CS 332: Algorithms. Linear-Time Sorting. Order statistics. Slide credit: David Luebke (Virginia)

CS 332: Algorithms. Linear-Time Sorting. Order statistics. Slide credit: David Luebke (Virginia) 1 CS 332: Algorithms Liear-Time Sortig. Order statistics. Slide credit: David Luebke (Virgiia) Quicksort: Partitio I Words Partitio(A, p, r): Select a elemet to act as the pivot (which?) Grow two regios,

More information

3. Z Transform. Recall that the Fourier transform (FT) of a DT signal xn [ ] is ( ) [ ] = In order for the FT to exist in the finite magnitude sense,

3. Z Transform. Recall that the Fourier transform (FT) of a DT signal xn [ ] is ( ) [ ] = In order for the FT to exist in the finite magnitude sense, 3. Z Trasform Referece: Etire Chapter 3 of text. Recall that the Fourier trasform (FT) of a DT sigal x [ ] is ω ( ) [ ] X e = j jω k = xe I order for the FT to exist i the fiite magitude sese, S = x [

More information

The Discrete Fourier Transform

The Discrete Fourier Transform The Discrete Fourier Trasform Complex Fourier Series Represetatio Recall that a Fourier series has the form a 0 + a k cos(kt) + k=1 b k si(kt) This represetatio seems a bit awkward, sice it ivolves two

More information

Intensive Algorithms Lecture 11. DFT and DP. Lecturer: Daniel A. Spielman February 20, f(n) O(g(n) log c g(n)).

Intensive Algorithms Lecture 11. DFT and DP. Lecturer: Daniel A. Spielman February 20, f(n) O(g(n) log c g(n)). Itesive Algorithms Lecture 11 DFT ad DP Lecturer: Daiel A. Spielma February 20, 2018 11.1 Itroductio The purpose of this lecture is to lear how use the Discrete Fourier Trasform to save space i Dyamic

More information

Applications of Distributed Arithmetic to Digital Signal Processing: A Tutorial Review

Applications of Distributed Arithmetic to Digital Signal Processing: A Tutorial Review pplicatios of Distriuted rithmetic to Digital Sigal Processig: Tutorial Review Ref: Staley. White, pplicatios of Distriuted rithmetic to Digital Sigal Processig: Tutorial Review, IEEE SSP Magazie, July,

More information

Annotations to the assignments and the solution sheet. Note the following points

Annotations to the assignments and the solution sheet. Note the following points WS 26/7 Trial Exam: Fudametals of Computer Egieerig Seite: Aotatios to the assigmets ad the solutio sheet This is a multiple choice examiatio, that meas: Solutio approaches are ot assessed. For each sub-task

More information

Lecture 11: Pseudorandom functions

Lecture 11: Pseudorandom functions COM S 6830 Cryptography Oct 1, 2009 Istructor: Rafael Pass 1 Recap Lecture 11: Pseudoradom fuctios Scribe: Stefao Ermo Defiitio 1 (Ge, Ec, Dec) is a sigle message secure ecryptio scheme if for all uppt

More information

1 Hash tables. 1.1 Implementation

1 Hash tables. 1.1 Implementation Lecture 8 Hash Tables, Uiversal Hash Fuctios, Balls ad Bis Scribes: Luke Johsto, Moses Charikar, G. Valiat Date: Oct 18, 2017 Adapted From Virgiia Williams lecture otes 1 Hash tables A hash table is a

More information

Polynomial Multiplication and Fast Fourier Transform

Polynomial Multiplication and Fast Fourier Transform Polyomial Multiplicatio ad Fast Fourier Trasform Com S 477/577 Notes Ya-Bi Jia Sep 19, 2017 I this lecture we will describe the famous algorithm of fast Fourier trasform FFT, which has revolutioized digital

More information

Pell and Lucas primes

Pell and Lucas primes Notes o Number Theory ad Discrete Mathematics ISSN 30 532 Vol. 2, 205, No. 3, 64 69 Pell ad Lucas primes J. V. Leyedekkers ad A. G. Shao 2 Faculty of Sciece, The Uiversity of Sydey NSW 2006, Australia

More information

PROPERTIES OF THE POSITIVE INTEGERS

PROPERTIES OF THE POSITIVE INTEGERS PROPERTIES OF THE POSITIVE ITEGERS The first itroductio to mathematics occurs at the pre-school level ad cosists of essetially coutig out the first te itegers with oe s figers. This allows the idividuals

More information

Study on Coal Consumption Curve Fitting of the Thermal Power Based on Genetic Algorithm

Study on Coal Consumption Curve Fitting of the Thermal Power Based on Genetic Algorithm Joural of ad Eergy Egieerig, 05, 3, 43-437 Published Olie April 05 i SciRes. http://www.scirp.org/joural/jpee http://dx.doi.org/0.436/jpee.05.34058 Study o Coal Cosumptio Curve Fittig of the Thermal Based

More information

arxiv: v1 [math.nt] 10 Dec 2014

arxiv: v1 [math.nt] 10 Dec 2014 A DIGITAL BINOMIAL THEOREM HIEU D. NGUYEN arxiv:42.38v [math.nt] 0 Dec 204 Abstract. We preset a triagle of coectios betwee the Sierpisi triagle, the sum-of-digits fuctio, ad the Biomial Theorem via a

More information

Physics 324, Fall Dirac Notation. These notes were produced by David Kaplan for Phys. 324 in Autumn 2001.

Physics 324, Fall Dirac Notation. These notes were produced by David Kaplan for Phys. 324 in Autumn 2001. Physics 324, Fall 2002 Dirac Notatio These otes were produced by David Kapla for Phys. 324 i Autum 2001. 1 Vectors 1.1 Ier product Recall from liear algebra: we ca represet a vector V as a colum vector;

More information

1 Review of Probability & Statistics

1 Review of Probability & Statistics 1 Review of Probability & Statistics a. I a group of 000 people, it has bee reported that there are: 61 smokers 670 over 5 960 people who imbibe (drik alcohol) 86 smokers who imbibe 90 imbibers over 5

More information

DESCRIPTION OF THE SYSTEM

DESCRIPTION OF THE SYSTEM Sychroous-Serial Iterface for absolute Ecoders SSI 1060 BE 10 / 01 DESCRIPTION OF THE SYSTEM TWK-ELEKTRONIK GmbH D-001 Düsseldorf PB 1006 Heirichstr. Tel +9/11/6067 Fax +9/11/6770 e-mail: ifo@twk.de Page

More information

Let A(x) and B(x) be two polynomials of degree n 1:

Let A(x) and B(x) be two polynomials of degree n 1: MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 2/42 Operatios o polyomials MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 4/42 Efficiet Patter Matchig (MI-EVY) 4. DFT, FFT

More information

Novel approaches for efficient stochastic computing

Novel approaches for efficient stochastic computing Scholars' Mie Masters Theses Studet Research & Creative Works Sprig 2017 Novel approaches for efficiet stochastic computig Ramu Seva Follow this ad additioal works at: http://scholarsmie.mst.edu/masters_theses

More information

Module 5 EMBEDDED WAVELET CODING. Version 2 ECE IIT, Kharagpur

Module 5 EMBEDDED WAVELET CODING. Version 2 ECE IIT, Kharagpur Module 5 EMBEDDED WAVELET CODING Versio ECE IIT, Kharagpur Lesso 4 SPIHT algorithm Versio ECE IIT, Kharagpur Istructioal Objectives At the ed of this lesso, the studets should be able to:. State the limitatios

More information

Problem Set 2 Solutions

Problem Set 2 Solutions CS271 Radomess & Computatio, Sprig 2018 Problem Set 2 Solutios Poit totals are i the margi; the maximum total umber of poits was 52. 1. Probabilistic method for domiatig sets 6pts Pick a radom subset S

More information

ADVANCED DIGITAL SIGNAL PROCESSING

ADVANCED DIGITAL SIGNAL PROCESSING ADVANCED DIGITAL SIGNAL PROCESSING PROF. S. C. CHAN (email : sccha@eee.hku.hk, Rm. CYC-702) DISCRETE-TIME SIGNALS AND SYSTEMS MULTI-DIMENSIONAL SIGNALS AND SYSTEMS RANDOM PROCESSES AND APPLICATIONS ADAPTIVE

More information

Linear Programming and the Simplex Method

Linear Programming and the Simplex Method Liear Programmig ad the Simplex ethod Abstract This article is a itroductio to Liear Programmig ad usig Simplex method for solvig LP problems i primal form. What is Liear Programmig? Liear Programmig is

More information

THE KALMAN FILTER RAUL ROJAS

THE KALMAN FILTER RAUL ROJAS THE KALMAN FILTER RAUL ROJAS Abstract. This paper provides a getle itroductio to the Kalma filter, a umerical method that ca be used for sesor fusio or for calculatio of trajectories. First, we cosider

More information

Bernoulli numbers and the Euler-Maclaurin summation formula

Bernoulli numbers and the Euler-Maclaurin summation formula Physics 6A Witer 006 Beroulli umbers ad the Euler-Maclauri summatio formula I this ote, I shall motivate the origi of the Euler-Maclauri summatio formula. I will also explai why the coefficiets o the right

More information