Arithmetic Circuits. Comp 120, Spring 05 2/10 Lecture. Today s BIG Picture Reading: Study Chapter 3. (Chapter 4 in old book)

Size: px
Start display at page:

Download "Arithmetic Circuits. Comp 120, Spring 05 2/10 Lecture. Today s BIG Picture Reading: Study Chapter 3. (Chapter 4 in old book)"

Transcription

1 omp 2, pring 5 2/ Leture page Arithmeti iruits Didn t I learn how to do addition in the seond grade? UN ourses aren t what they used to be... + Finally; time to build some serious funtional bloks We ll need a lot of boxes Reading: tudy hapter 3. (hapter 4 in old book) omp 2 pring 25 2//5 L9 Arithmeti iruits Today s BIG Piture Thus far, we ve been designing in the small, onentrating on tehnique, rather than the design of useful systems. Today, we make a HUGE leap to designing in the large. Our fous will be on designing ombinational logi with so many inputs and outputs that they would be impratial to design using the logi optimization tehniques we ve disussed previously. These proessing bloks are also impratial to implement using regular logi strutures suh as ROMs or PLAs. Many of these bloks hinge on lever triks that have withstood the test of time. omp 2 pring 25 2//5 L9 Arithmeti iruits 2

2 omp 2, pring 5 2/ Leture page 2 Review: 2 s omplement N bits -2 2 N- N sign bit Range: 2 N- to 2 N- binary point 8-bit 2 s omplement example: = = = 42 If we use a two s-omplement representation for signed integers, the same binary addition proedure will work for adding both signed and unsigned numbers. By moving the impliit binary point, we an represent frations too:. = = = omp 2 pring 25 2//5 L9 Arithmeti iruits 3 Binary Addition Here s an example of binary addition as one might do it by hand : Adding two N-bit numbers produes an (N+)-bit result + arries from previous olumn We ve already built the iruit that implements one olumn: O I o we an quikly build a iruit to add two 4-bit numbers A3 B3 A2 B2 4 3 omp 2 pring 25 2//5 L9 Arithmeti iruits 4

3 omp 2, pring 5 2/ Leture page 3 ubtration: A-B = A + (-B) Using 2 s omplement representation: B = ~B + ~ = bit-wise omplement B B B B o let s build an arithmeti unit that does both addition and subtration. Operation seleted by ontrol input: B3 B2 B B ubtrat A3 A2 A A But what about the +? 4 3 omp 2 pring 25 2//5 L9 Arithmeti iruits 5 ondition odes Besides the sum, one often wants four other bits of information from an arithmeti unit: Z (zero): result is = N (negative): result is < N- big NOR gate (arry): indiates that add in the most signifiant position produed a arry, e.g., + (-) from last FA V (overflow): indiates that the answer has too many bits to be represented orretly by the result width, e.g., (2 i- - )+ (2 i- -) V = N + N i i i i -or- V = O I i i omp 2 pring 25 2//5 To To ompare A and and B, B, perform perform A B A B and and use use ondition odes: odes: igned igned omparison: LT LT N V N V LE LE Z+(N V) EQ EQ Z NE NE ~Z ~Z GE GE ~(N V) GT GT ~(Z+(N V)) Unsigned omparison: LTU LTU LEU LEU +Z +Z GEU GEU ~ ~ GTU GTU ~(+Z) L9 Arithmeti iruits 6

4 omp 2, pring 5 2/ Leture page 4 T PD of Ripple-arry Adder A n- B n- A n-2 B n-2 A 2 B 2 A B A B n- n-2 2 Worse-ase path: arry propagation from LB to MB, e.g., when adding to. t PD = (t PD,XOR +t PD,OR + t PD,AND ) +(N-2)*(t PD,OR + t PD,AND ) + t PD,XOR Θ(N) XOR(A,B) to O I to O I N- to N- Θ(N) is read order N and tells us that the lateny of our adder grows in proportion to the number of bits in the operands. O I omp 2 pring 25 2//5 L9 Arithmeti iruits 7 Faster arry Logi Let s see if we an improve the speed by rewriting the equations for OUT : OUT = AB + A IN + B IN = AB + (A + B) IN = G + P IN where G = AB and P = A + B generate propagate For adding two N-bit numbers: N = G N- + P N- N- = G N- + P N- G N-2 + P N- P N-2 N-2 Atually, Atually, P P is is usually usually defined defined as as P P = A B A B whih whih won t won t hange hange OUT but OUT but will will allow allow us us to to express express as as aa simple simple funtion funtion of of P P and and IN : IN : = P P IN IN = G N- + P N- G N-2 + P N- P N-2 G N P N-...P IN N in only 3 (!) gate delays: for P/G generation, for ANDs, for final OR O G P I omp 2 pring 25 2//5 L9 Arithmeti iruits 8

5 omp 2, pring 5 2/ Leture page 5 N-Bit Addition in onstant Time? o if we had (N+)-input gates and didn t mind a lot of loading on the P signals, the propagation delay of adder built using P/G equation to ompute IN of eah bit would be: 4 gate delays Θ() Of ourse, this is impratial when N is large (i.e. > 4) but it does lead to some interesting ideas: faster ripple-arry implementations hierarhial arry-lookahead adders omp 2 pring 25 2//5 L9 Arithmeti iruits 9 arry-lookahead Adders (LA) We an build a hierarhial arry hain by generalizing our definition of the arry Generate/Propagate (GP) Logi. We start by dividing our addend into two parts, a higher part, H, and a lower part, L. The GP funtion an be expressed as follows: Generate a arry out if the high part generates one, G HL = G H + P H G L or if the low part generates one and the high part propagates it. Propagate a arry if both the high P HL = P H P L and low parts propagate theirs. G H P H GP G L P L P/G generation O FA I G P O FA I G P G HL P HL Hierarhial building blok st level of lookahead G H P H GP G L P L G HL P HL omp 2 pring 25 2//5 L9 Arithmeti iruits

6 omp 2, pring 5 2/ Leture page 6 8-bit LA (GP Generation) A7 B7 A6 B6 A5 B5 A4 B4 A3 B3 A2 B2 G P G P G P G P G P G P G P G P G H P H G L GP G HL P HL P L G H P H G L GP G HL P HL P L G H P H G L GP G HL P HL P L G H P H G L GP G HL P HL P L G 7-6 P 7-6 G 5-4 P 5-4 G 3-2 P 3-2 G - P - Log 2 (N) G H P H G L GP G HL P HL P L G H P H G L GP G HL P HL P L G 7-4 P 7-4 G 3- P 3- G H P H G L GP G HL P HL P L G 7- P 7- We an build a tree of GP units to ompute the generate and propagate logi for any sized adder. For a 2 N -bit adder, we need 2 N - GP units. = G 7 + P 7 G 6 + P 7 P 6 G 5 + P 7 P 6 P 5 G P 7...P IN G 7- P 7- omp 2 pring 25 2//5 L9 Arithmeti iruits 8-bit LA (arry Generation) Now, given a the value of the arry-in of the least-signifiant bit,we an generate the arries for every adder. j = G + P i Log 2 (N) G 6 G j G 4 G j G 2 G j G P i P i P i 6 P 4 i P 2 P i P i G 5-4 P 5-4 G 3- P 3- G j P i 4 G j P i i G j P i i G j P i i G - i P - Notie that the inputs on the right of eah bloks are the same as the inputs on the left of eah orresponding GP blok. omp 2 pring 25 2//5 L9 Arithmeti iruits 2

7 omp 2, pring 5 2/ Leture page 7 8-Bit LA (omplete) A 7 B 7 A 6 B 6 A 5 B 5 A 4 B 4 A 3 B 3 A 2 B 2 A B A B G P G P G P G P G P G P G P G P G H P H j G L GP/ P L G H P H j G L GP/ P L G H P H j G L GP/ P L G H P H j G L GP/ P L G i HL P HL i G i HL P HL i G i HL P HL i G i HL P HL i G H P H j G L GP/ P L G H P H j G L GP/ P L G i HL P HL i G i HL P HL i G H P H j G L GP/ P L G i HL P HL i t PD = Θ(log(N)) G H P H GP G L G HL P HL P L + G j L P L i i = G H P H j GP/ G L P L G HL P HL i I Notie that we don t need the arry-out output of the adder any more. O I G P omp 2 pring 25 2//5 L9 Arithmeti iruits 3 arry-kip Adders Idea: full P/G equations are ompliated, but P by itself is simple. o just use P to skip arry aross a blok of ripple-arry adders: A B K-bit bloks (K=4 in figure) (A) arries ripple simultaneously through eah blok; if blok generates a arry, it appears on arry-out of blok (similar to G). If arry-in is at start of operation, no spurious arry-outs will be generated. (B) If arry-in and P BLOK are both true, arry skips to next blok () arry ripples though final blok. t PD = 2*[K+ (N/K 2) + K] With variable size bloks t PD Θ(sqrt(N)) omp 2 pring 25 2//5 L9 Arithmeti iruits 4

8 omp 2, pring 5 2/ Leture page 8 arry-elet Adders Idea: do two additions, one assuming arry-in is, the other assuming arry-in is. Use MUX to selet orret answer when orret arry-in is known. Left bloks an be bigger more ripple time time while waiting for selet With one stage: 5% more ost, but twie as fast as ripple-arry With multiple (variable-size) bloks: t PD Θ(sqrt(N)) omp 2 pring 25 2//5 L9 Arithmeti iruits 5 Adder ummary Adding is not only a ommon, but it is also tends to be one of the most timeritial of operations. As a result, a wide range of adder arhitetures have been developed that allow a designer to tradeoff omplexity (in terms of the number of gates) for performane. maller / lower Bigger / Faster Ripple arry arry kip arry elet arry Lookahead A this point we ll define a high-level funtional unit for an adder, and speify the details of the implementation as neessary. Add sub Add/ub omp 2 pring 25 2//5 L9 Arithmeti iruits 6

9 omp 2, pring 5 2/ Leture page 9 hifting Logi hifting is a ommon operation that is applied to groups of bits. hifting an be used for alignment, as well as for arithmeti operations. X << is approx the same as 2*X X >> an be the same as X/2 For example: X = 2 = 2 X 7 X 6 X 5 X 4 X 3 R 7 R 6 R 5 R 4 R 3 Left hift: (X << ) = 2 = 4 Right hift: (X >> ) = 2 = igned or Arithmeti Right hift: (-X >> ) = ( 2 >> ) = 2 = - X 2 X X HL R 2 R R omp 2 pring 25 2//5 L9 Arithmeti iruits 7 More hifting X 7 X 6 X 5 X 4 X 3 X 2 X X R 7 R 6 R 5 R 4 R 3 R 2 R R X 7 X 6 X 5 X 4 X 3 X 2 X X Using the same basi idea we an build left shifters of arbitrary sizes using muxes. Eah shift amount requires its own set of muxes. Hum, maybe we ould do something more lever. X 7 X 6 X 5 X 4 X 3 X 2 X X HL HL2 HL3 omp 2 pring 25 2//5 L9 Arithmeti iruits 8

10 omp 2, pring 5 2/ Leture page Barrel hifting X 7 X 6 X 5 X 4 X 3 X 2 X X HL R 7 R 6 R 5 R 4 R 3 R 2 R R HL HL4 T 7 T 6 T 5 T 4 T 3 T 2 T T If we onnet our shift-lefttwo shifter to the output of our shift-left-one we an shift by,, 2, or 3 bits. And, if we add one more shiftleft-4 shifter we an do any shift up to 7 bits! o, let s put a box around it and all it a new funtional blok. log 2 (N) bits A Left Barrel hifter Y N-bits N-bits omp 2 pring 25 2//5 L9 Arithmeti iruits 9 Barrel hifting with a Twist At this point it would be straightforward to onstrut a Right barrel shifter unit. However, a simple trik that enables a left shifter to do both. A A 7 A A 6 A 2 A 5 A 3 A 4 A 4 A 3 A 5 A 2 A 6 A A 7 A RGT A 7- HFT RGT Left Barrel hifter Y Y 7 Y Y 6 Y 2 Y 5 Y 3 Y 4 Y 4 Y 3 Y 5 Y 2 Y 6 Y Y 7 Y Y 7- Z 7 Z 6 Z 5 Z 4 Z 3 Z 2 Z Z omp 2 pring 25 2//5 L9 Arithmeti iruits 2

11 omp 2, pring 5 2/ Leture page Boolean Operations It will also be useful to perform logial operations on groups of bits. Whih ones? ANDing is useful for masking off groups of bits. ex. & = (mask selets last 4 bits) ANDing is also useful for learing groups of bits. ex. & = ( s lear first 4 bits) ORing is useful for setting groups of bits. ex. = ( s set last 4 bits) XORing is useful for omplementing groups of bits. ex. ^ = ( s omplement last 4 bits) NORing is useful.. Uhm, beause John Hennessy says it is! ex. # = ( s omplement, s lear) omp 2 pring 25 2//5 L9 Arithmeti iruits 2 Boolean Unit (The book s way) It is simple to build up a Boolean unit using primitive gates and a mux to selet the funtion. ine there is no interonnetion between bits, this unit an be simply repliated at eah position. The ost is about 7 gates per bit. One for eah primitive funtion, A i B i and approx 3 for the Bool 4-input mux. This is a straightforward, but not too elegant of a design. Q i omp 2 pring 25 2//5 L9 Arithmeti iruits 22

12 omp 2, pring 5 2/ Leture page 2 ooler Bools We an better leverage a mux s apabilities in our Boolean unit design, by onneting the bits to the selet lines. Why is this better? ) While it might take a little logi to deode the truth table inputs, you only have to do it one, independent of the number of bits. 2) It is trivial to extend this module to support any 2-bit logial funtion. (How about NAND, John? Atually A & /B might be more useful) NOR OR XOR OR XOR A i, B i Q i bool AND OR Whih ever way makes the most sense to you. Let s get a box around it! A B Boolean Q I m starting to think this guy dreams about muxes omp 2 pring 25 2//5 L9 Arithmeti iruits 23 An ALU, at Last Now we re ready for a big one! An Arithmeti Logi Unit. A B That s a lot of stuff ub Bool Add/ub Bidiretional Barrel hifter Boolean hft Math Flags V, N Flag omp 2 pring 25 2//5 R Z Flag L9 Arithmeti iruits 24

13 omp 2, pring 5 2/ Leture page 3 Did We Forget omething? Even rabbits know how to multiply But, it is a huge step in terms of logi Inluding a multiplier unit in an ALU an potentially double the number of gates used. A good (ompat and high performane) multiplier an also be triky to design. Here we will give an overview of some of the triks used. omp 2 pring 25 2//5 L9 Arithmeti iruits 25 Hey, that looks like an and gate The Binary Multipliation Table X Multipliation Binary multipliation is implemented using the same basi longhand algorithm that you learned in grade shool. x A 2 B 2 A B A A 3 B B 3 AB i alled a partial produt A 3 B A 3 B A 2 B A B A 2 B A B A B A B 2 + A 3 B 3 A 3 B 2 A 2 B 2 A B 2 A 2 B 3 A B 3 A B 3 Multiplying N-digit number by M-digit number gives (N+M)-digit result Easy part: forming partial produts (just an AND gate sine B I is either or ) Hard part: adding M N-bit partial produts omp 2 pring 25 2//5 L9 Arithmeti iruits 26

14 omp 2, pring 5 2/ Leture page 4 equential Multiplier Assume the multipliand (A) has N bits and the multiplier (B) has M bits. If we only want to invest in a single N-bit adder, we an build a sequential iruit that proesses a single partial produt at a time and then yle the iruit M times: N P N- N B M bits + LB N+ N xn A N Init: P, load A&B Repeat M times { P P + (B LB ==? A : ) shift P/B right one bit } Done: (N+M)-bit result in P/B omp 2 pring 25 2//5 L9 Arithmeti iruits 27 imple ombinational Multiplier t PD = * t PD,FA not 6 omponents N * HA N(N-) * FA The Logi of a Half- Adder O NB: this iruit only works for nonnegative operands omp 2 pring 25 2//5 L9 Arithmeti iruits 28

15 omp 2, pring 5 2/ Leture page 5 arry-ave ombinational Multiplier Observation: Rather than propagating the sums aross eah row, the arries an instead be forwarded onto the next olumn of the following row t PD = 8 * t PD,FA omponents 2N * HA N(N-) * FA This small improvement in performane hardly seems worth the effort, however, this design is easier to pipeline. omp 2 pring 25 2//5 L9 Arithmeti iruits 29 Pipelined Multiplier arry save onfiguration t PD = Θ(log(N)) assuming LA as final stage NB: this iruit only works for nonnegative operands omp 2 pring 25 2//5 L9 Arithmeti iruits 3

16 omp 2, pring 5 2/ Leture page 6 Higher-Radix Multipliation Idea: If we ould use, say, 2 bits of the multiplier in generating eah partial produt we would halve the number of olumns and halve the lateny of the multiplier! A N- A N-2 A 4 A 3 A 2 A A x B M- B M-2 B 3 B 2 B B M/ Booth s insight: rewrite 2*A and 3*A ases, leave 4A for next partial produt to do! B K+,K *A = *A = *A A = 2*A 2A or 4A 2A = 3*A 4A A omp 2 pring 25 2//5 L9 Arithmeti iruits 3 Booth Reoding urrent bit pair -89 =. = - * 2 (-) + 2 * 2 2 (8) + (-2) * 2 4 (-32) + (-) * 2 6 (-64) -89 Hey, isn t that a negative number? B 2K+ B 2K B 2K- from previous bit pair ation add add A add A add 2*A sub 2*A sub A sub A add -2*A+A -A+A A in this bit means the previous stage needed to add 4*A. ine this stage is shifted by 2 bits with respet to the previous stage, adding 4*A in the previous stage is like adding A in this stage! Eah bit an be onsidered to have the following weights: W(B 2K+ ) = 2 W(B 2K ) = - W(B 2K- ) = - omp 2 pring 25 2//5 L9 Arithmeti iruits 32

17 omp 2, pring 5 2/ Leture page 7 Booth Reoding Logi surrounding eah basi adder: A i A i- x2 ub - ontrol lines (x2, ub, Zero) are shared aross eah row - Must handle the + when ub is (extra half adders in a arry save array) Zero NOTE: - Booth reoding an be used to implement signed multipliations omp 2 pring 25 2//5 B 2K+ B 2K B 2K- x2 ub Zero X X X X L9 Arithmeti iruits 33 Finally, it s tarting to Look Like a omputer 2. If you arrive at the quiz in a metastable state what is the probability you will resolve into a valid state before the quiz onludes? A. All of the above B. None of the below. All of the above D. One of the above E. None of the above F. None of the above Good luk on next week s quizz! I knew there would be logi on this quiz, but this is not what I expeted. omp 2 pring 25 2//5 L9 Arithmeti iruits 34

Arithmetic Circuits Didn t I learn how to do addition in the second grade? UNC courses aren t what they used to be...

Arithmetic Circuits Didn t I learn how to do addition in the second grade? UNC courses aren t what they used to be... rithmetic Circuits Didn t I learn how to do addition in the second grade? UNC courses aren t what they used to be... + Finally; time to build some serious functional blocks We ll need a lot of boxes The

More information

Binary Multipliers. Reading: Study Chapter 3. The key trick of multiplication is memorizing a digit-to-digit table Everything else was just adding

Binary Multipliers. Reading: Study Chapter 3. The key trick of multiplication is memorizing a digit-to-digit table Everything else was just adding Binary Multipliers The key trick of multiplication is memorizing a digit-to-digit table Everything else was just adding 2 3 4 5 6 7 8 9 2 3 4 5 6 7 8 9 2 2 4 6 8 2 4 6 8 3 3 6 9 2 5 8 2 24 27 4 4 8 2 6

More information

Carry Look-ahead Adders. EECS150 - Digital Design Lecture 12 - Combinational Logic & Arithmetic Circuits Part 2. Carry Look-ahead Adders

Carry Look-ahead Adders. EECS150 - Digital Design Lecture 12 - Combinational Logic & Arithmetic Circuits Part 2. Carry Look-ahead Adders EECS5 - Digital Design Leture 2 - Combinational Logi & Arithmeti Ciruits Part 2 Otober 3, 22 John Wawrzynek In general, for n-bit addition best we an ahieve is delay α log(n) How do we arrange this? (think

More information

Arithmetic Circuits How to add and subtract using combinational logic Setting flags Adding faster

Arithmetic Circuits How to add and subtract using combinational logic Setting flags Adding faster rithmetic Circuits Didn t I learn how to do addition in second grade? UNC courses aren t what they used to be... 01011 +00101 10000 Finally; time to build some serious functional blocks We ll need a lot

More information

8. Design Tradeoffs x Computation Structures Part 1 Digital Circuits. Copyright 2015 MIT EECS

8. Design Tradeoffs x Computation Structures Part 1 Digital Circuits. Copyright 2015 MIT EECS 8. Design Tradeoffs 6.004x Computation Structures Part 1 Digital Circuits Copyright 2015 MIT EECS 6.004 Computation Structures L08: Design Tradeoffs, Slide #1 There are a large number of implementations

More information

8. Design Tradeoffs x Computation Structures Part 1 Digital Circuits. Copyright 2015 MIT EECS

8. Design Tradeoffs x Computation Structures Part 1 Digital Circuits. Copyright 2015 MIT EECS 8. Design Tradeoffs 6.004x Computation Structures Part 1 Digital Circuits Copyright 2015 MIT EECS 6.004 Computation Structures L08: Design Tradeoffs, Slide #1 There are a large number of implementations

More information

Lecture 2: Computer Arithmetic: Adders

Lecture 2: Computer Arithmetic: Adders CMU 8-447 S 9 L2-29 8-447 Leture 2: Computer Arithmeti: Adder Jame C. Hoe Dept of ECE, CMU January 4, 29 Announement: No la on Monday Verilog Refreher next Wedneday Review P&H Ch 3 Handout: Lab and HW

More information

EECS150. Arithmetic Circuits

EECS150. Arithmetic Circuits EE5 ection 8 Arithmetic ircuits Fall 2 Arithmetic ircuits Excellent Examples of ombinational Logic Design Time vs. pace Trade-offs Doing things fast may require more logic and thus more space Example:

More information

Review. EECS Components and Design Techniques for Digital Systems. Lec 18 Arithmetic II (Multiplication) Computer Number Systems

Review. EECS Components and Design Techniques for Digital Systems. Lec 18 Arithmetic II (Multiplication) Computer Number Systems Review EE 5 - omponents and Design Techniques for Digital ystems Lec 8 rithmetic II (Multiplication) David uller Electrical Engineering and omputer ciences University of alifornia, Berkeley http://www.eecs.berkeley.edu/~culler

More information

HOW TO FACTOR. Next you reason that if it factors, then the factorization will look something like,

HOW TO FACTOR. Next you reason that if it factors, then the factorization will look something like, HOW TO FACTOR ax bx I now want to talk a bit about how to fator ax bx where all the oeffiients a, b, and are integers. The method that most people are taught these days in high shool (assuming you go to

More information

EE 321 Project Spring 2018

EE 321 Project Spring 2018 EE 21 Projet Spring 2018 This ourse projet is intended to be an individual effort projet. The student is required to omplete the work individually, without help from anyone else. (The student may, however,

More information

Quantum Mechanics: Wheeler: Physics 6210

Quantum Mechanics: Wheeler: Physics 6210 Quantum Mehanis: Wheeler: Physis 60 Problems some modified from Sakurai, hapter. W. S..: The Pauli matries, σ i, are a triple of matries, σ, σ i = σ, σ, σ 3 given by σ = σ = σ 3 = i i Let stand for the

More information

max min z i i=1 x j k s.t. j=1 x j j:i T j

max min z i i=1 x j k s.t. j=1 x j j:i T j AM 221: Advaned Optimization Spring 2016 Prof. Yaron Singer Leture 22 April 18th 1 Overview In this leture, we will study the pipage rounding tehnique whih is a deterministi rounding proedure that an be

More information

Arithmetic Circuits-2

Arithmetic Circuits-2 Arithmetic ircuits-2 Multipliers Array multipliers hifters Barrel shifter Logarithmic shifter EE 261 Krish hakrabarty 1 Binary Multiplication X = Σ X i 2 i i=0 Multiplicand M-1 N-1 Y = Σ Y i 2 i i=0 Multiplier

More information

23.1 Tuning controllers, in the large view Quoting from Section 16.7:

23.1 Tuning controllers, in the large view Quoting from Section 16.7: Lesson 23. Tuning a real ontroller - modeling, proess identifiation, fine tuning 23.0 Context We have learned to view proesses as dynami systems, taking are to identify their input, intermediate, and output

More information

Lecture 7: Sampling/Projections for Least-squares Approximation, Cont. 7 Sampling/Projections for Least-squares Approximation, Cont.

Lecture 7: Sampling/Projections for Least-squares Approximation, Cont. 7 Sampling/Projections for Least-squares Approximation, Cont. Stat60/CS94: Randomized Algorithms for Matries and Data Leture 7-09/5/013 Leture 7: Sampling/Projetions for Least-squares Approximation, Cont. Leturer: Mihael Mahoney Sribe: Mihael Mahoney Warning: these

More information

FINITE WORD LENGTH EFFECTS IN DSP

FINITE WORD LENGTH EFFECTS IN DSP FINITE WORD LENGTH EFFECTS IN DSP PREPARED BY GUIDED BY Snehal Gor Dr. Srianth T. ABSTRACT We now that omputers store numbers not with infinite preision but rather in some approximation that an be paed

More information

Maximum Entropy and Exponential Families

Maximum Entropy and Exponential Families Maximum Entropy and Exponential Families April 9, 209 Abstrat The goal of this note is to derive the exponential form of probability distribution from more basi onsiderations, in partiular Entropy. It

More information

Millennium Relativity Acceleration Composition. The Relativistic Relationship between Acceleration and Uniform Motion

Millennium Relativity Acceleration Composition. The Relativistic Relationship between Acceleration and Uniform Motion Millennium Relativity Aeleration Composition he Relativisti Relationship between Aeleration and niform Motion Copyright 003 Joseph A. Rybzyk Abstrat he relativisti priniples developed throughout the six

More information

What s the Deal? MULTIPLICATION. Time to multiply

What s the Deal? MULTIPLICATION. Time to multiply What s the Deal? MULTIPLICATION Time to multiply Multiplying two numbers requires a multiply Luckily, in binary that s just an AND gate! 0*0=0, 0*1=0, 1*0=0, 1*1=1 Generate a bunch of partial products

More information

Hardware Design I Chap. 4 Representative combinational logic

Hardware Design I Chap. 4 Representative combinational logic Hardware Design I Chap. 4 Representative combinational logic E-mail: shimada@is.naist.jp Already optimized circuits There are many optimized circuits which are well used You can reduce your design workload

More information

ARITHMETIC COMBINATIONAL MODULES AND NETWORKS

ARITHMETIC COMBINATIONAL MODULES AND NETWORKS ARITHMETIC COMBINATIONAL MODULES AND NETWORKS 1 SPECIFICATION OF ADDER MODULES FOR POSITIVE INTEGERS HALF-ADDER AND FULL-ADDER MODULES CARRY-RIPPLE AND CARRY-LOOKAHEAD ADDER MODULES NETWORKS OF ADDER MODULES

More information

Midterm Exam Two is scheduled on April 8 in class. On March 27 I will help you prepare Midterm Exam Two.

Midterm Exam Two is scheduled on April 8 in class. On March 27 I will help you prepare Midterm Exam Two. Announcements Midterm Exam Two is scheduled on April 8 in class. On March 27 I will help you prepare Midterm Exam Two. Chapter 5 1 Chapter 3: Part 3 Arithmetic Functions Iterative combinational circuits

More information

IST 4 Information and Logic

IST 4 Information and Logic IST 4 Information and Logi T = today x= hw#x out x= hw#x due mon tue wed thr fri 3 M 7 oh M 4 oh oh 2M2 2 oh oh 2 oh 28 oh M2 oh oh = offie hours 5 3 Mx= MQx out 2 oh 3 4 oh oh midterms oh Mx= MQx due

More information

General Equilibrium. What happens to cause a reaction to come to equilibrium?

General Equilibrium. What happens to cause a reaction to come to equilibrium? General Equilibrium Chemial Equilibrium Most hemial reations that are enountered are reversible. In other words, they go fairly easily in either the forward or reverse diretions. The thing to remember

More information

Product Policy in Markets with Word-of-Mouth Communication. Technical Appendix

Product Policy in Markets with Word-of-Mouth Communication. Technical Appendix rodut oliy in Markets with Word-of-Mouth Communiation Tehnial Appendix August 05 Miro-Model for Inreasing Awareness In the paper, we make the assumption that awareness is inreasing in ustomer type. I.e.,

More information

Complexity of Regularization RBF Networks

Complexity of Regularization RBF Networks Complexity of Regularization RBF Networks Mark A Kon Department of Mathematis and Statistis Boston University Boston, MA 02215 mkon@buedu Leszek Plaskota Institute of Applied Mathematis University of Warsaw

More information

This Unit: Arithmetic. CIS 371 Computer Organization and Design. Pre-Class Exercise. Readings

This Unit: Arithmetic. CIS 371 Computer Organization and Design. Pre-Class Exercise. Readings This Unit: Arithmetic CI 371 Computer Organization and Design Unit 3: Arithmetic Based on slides by Prof. Amir Roth & Prof. Milo Martin App App App ystem software Mem CPU I/O A little review Binary + 2s

More information

CMSC 313 Lecture 18 Midterm Exam returned Assign Homework 3 Circuits for Addition Digital Logic Components Programmable Logic Arrays

CMSC 313 Lecture 18 Midterm Exam returned Assign Homework 3 Circuits for Addition Digital Logic Components Programmable Logic Arrays MS 33 Lecture 8 Midterm Exam returned Assign Homework 3 ircuits for Addition Digital Logic omponents Programmable Logic Arrays UMB, MS33, Richard hang MS 33, omputer Organization & Assembly

More information

Chapter 3. Table of content Chapter 1: Switching Algebra Chapter 2: Logical Levels, Timing & Delays

Chapter 3. Table of content Chapter 1: Switching Algebra Chapter 2: Logical Levels, Timing & Delays hapter 3 Dr.-ng. Stefan Werner Tale of ontent hapter 1: Swithing lgera hapter 2: Logial Levels, Timing & Delays hapter 3: Karnaugh-Veith-Maps hapter 4: ominational iruit Design hapter 5: Lathes and Flip

More information

Full Adder Ripple Carry Adder Carry-Look-Ahead Adder Manchester Adders Carry Select Adder

Full Adder Ripple Carry Adder Carry-Look-Ahead Adder Manchester Adders Carry Select Adder Outline E 66 U Resources: dders & Multipliers Full dder Ripple arry dder arry-look-head dder Manchester dders arry Select dder arry Skip dder onditional Sum dder Hybrid Designs leksandar Milenkovic E-mail:

More information

UNIT III Design of Combinational Logic Circuits. Department of Computer Science SRM UNIVERSITY

UNIT III Design of Combinational Logic Circuits. Department of Computer Science SRM UNIVERSITY UNIT III Design of ombinational Logic ircuits Department of omputer Science SRM UNIVERSITY Introduction to ombinational ircuits Logic circuits for digital systems may be ombinational Sequential combinational

More information

CS 140 Lecture 14 Standard Combinational Modules

CS 140 Lecture 14 Standard Combinational Modules CS 14 Lecture 14 Standard Combinational Modules Professor CK Cheng CSE Dept. UC San Diego Some slides from Harris and Harris 1 Part III. Standard Modules A. Interconnect B. Operators. Adders Multiplier

More information

A Spatiotemporal Approach to Passive Sound Source Localization

A Spatiotemporal Approach to Passive Sound Source Localization A Spatiotemporal Approah Passive Sound Soure Loalization Pasi Pertilä, Mikko Parviainen, Teemu Korhonen and Ari Visa Institute of Signal Proessing Tampere University of Tehnology, P.O.Box 553, FIN-330,

More information

Controller Design Based on Transient Response Criteria. Chapter 12 1

Controller Design Based on Transient Response Criteria. Chapter 12 1 Controller Design Based on Transient Response Criteria Chapter 12 1 Desirable Controller Features 0. Stable 1. Quik responding 2. Adequate disturbane rejetion 3. Insensitive to model, measurement errors

More information

Probabilistic Graphical Models

Probabilistic Graphical Models Probabilisti Graphial Models David Sontag New York University Leture 12, April 19, 2012 Aknowledgement: Partially based on slides by Eri Xing at CMU and Andrew MCallum at UMass Amherst David Sontag (NYU)

More information

Routh-Hurwitz Lecture Routh-Hurwitz Stability test

Routh-Hurwitz Lecture Routh-Hurwitz Stability test ECE 35 Routh-Hurwitz Leture Routh-Hurwitz Staility test AStolp /3/6, //9, /6/ Denominator of transfer funtion or signal: s n s n s n 3 s n 3 a s a Usually of the Closed-loop transfer funtion denominator

More information

Methods of evaluating tests

Methods of evaluating tests Methods of evaluating tests Let X,, 1 Xn be i.i.d. Bernoulli( p ). Then 5 j= 1 j ( 5, ) T = X Binomial p. We test 1 H : p vs. 1 1 H : p>. We saw that a LRT is 1 if t k* φ ( x ) =. otherwise (t is the observed

More information

DIGITAL DISTANCE RELAYING SCHEME FOR PARALLEL TRANSMISSION LINES DURING INTER-CIRCUIT FAULTS

DIGITAL DISTANCE RELAYING SCHEME FOR PARALLEL TRANSMISSION LINES DURING INTER-CIRCUIT FAULTS CHAPTER 4 DIGITAL DISTANCE RELAYING SCHEME FOR PARALLEL TRANSMISSION LINES DURING INTER-CIRCUIT FAULTS 4.1 INTRODUCTION Around the world, environmental and ost onsiousness are foring utilities to install

More information

Digital Integrated Circuits A Design Perspective

Digital Integrated Circuits A Design Perspective rithmetic ircuitsss dapted from hapter 11 of Digital Integrated ircuits Design Perspective Jan M. Rabaey et al. opyright 2003 Prentice Hall/Pearson 1 Generic Digital Processor MEMORY INPUT-OUTPUT ONTROL

More information

Supplementary Materials

Supplementary Materials Supplementary Materials Neural population partitioning and a onurrent brain-mahine interfae for sequential motor funtion Maryam M. Shanehi, Rollin C. Hu, Marissa Powers, Gregory W. Wornell, Emery N. Brown

More information

What s New in ChemSep TM 6.8

What s New in ChemSep TM 6.8 What s New in ChemSep TM 6.8 January 2011 (Updated Marh 2011) Harry Kooijman and Ross Taylor In this doument we identify and desribe the most important new features in ChemSep. 1. New: GUI an diretly load

More information

6.4 Dividing Polynomials: Long Division and Synthetic Division

6.4 Dividing Polynomials: Long Division and Synthetic Division 6 CHAPTER 6 Rational Epressions 6. Whih of the following are equivalent to? y a., b. # y. y, y 6. Whih of the following are equivalent to 5? a a. 5, b. a 5, 5. # a a 6. In your own words, eplain one method

More information

Fundamentals of Digital Design

Fundamentals of Digital Design Fundamentals of Digital Design Digital Radiation Measurement and Spectroscopy NE/RHP 537 1 Binary Number System The binary numeral system, or base-2 number system, is a numeral system that represents numeric

More information

Computer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: Digital Logic

Computer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: Digital Logic Computer Science 324 Computer Architecture Mount Holyoke College Fall 2007 Topic Notes: Digital Logic Our goal for the next few weeks is to paint a a reasonably complete picture of how we can go from transistor

More information

EE141. Lecture 28 Multipliers. Lecture #20. Project Phase 2 Posted. Sign up for one of three project goals today

EE141. Lecture 28 Multipliers. Lecture #20. Project Phase 2 Posted. Sign up for one of three project goals today EE141-pring 2008 igital Integrated ircuits Lecture 28 Multipliers 1 Announcements Project Phase 2 Posted ign up for one of three project goals today Graded Phase 1 and Midterm 2 will be returned next Fr

More information

Lecture 18: Datapath Functional Units

Lecture 18: Datapath Functional Units Lecture 8: Datapath Functional Unit Outline Comparator Shifter Multi-input Adder Multiplier 8: Datapath Functional Unit CMOS VLSI Deign 4th Ed. 2 Comparator 0 detector: A = 00 000 detector: A = Equality

More information

QCLAS Sensor for Purity Monitoring in Medical Gas Supply Lines

QCLAS Sensor for Purity Monitoring in Medical Gas Supply Lines DOI.56/sensoren6/P3. QLAS Sensor for Purity Monitoring in Medial Gas Supply Lines Henrik Zimmermann, Mathias Wiese, Alessandro Ragnoni neoplas ontrol GmbH, Walther-Rathenau-Str. 49a, 7489 Greifswald, Germany

More information

Subject: Introduction to Component Matching and Off-Design Operation % % ( (1) R T % (

Subject: Introduction to Component Matching and Off-Design Operation % % ( (1) R T % ( 16.50 Leture 0 Subjet: Introdution to Component Mathing and Off-Design Operation At this point it is well to reflet on whih of the many parameters we have introdued (like M, τ, τ t, ϑ t, f, et.) are free

More information

Experiment 3: Basic Electronic Circuits II (tbc 1/7/2007)

Experiment 3: Basic Electronic Circuits II (tbc 1/7/2007) Experiment 3: Basi Eletroni iruits II (tb /7/007) Objetive: a) To study the first-order dynamis of a apaitive iruits with the appliation of Kirhoff s law, Ohm s law and apaitane formula. b) To learn how

More information

Carry Look Ahead Adders

Carry Look Ahead Adders Carry Look Ahead Adders Lesson Objectives: The objectives of this lesson are to learn about: 1. Carry Look Ahead Adder circuit. 2. Binary Parallel Adder/Subtractor circuit. 3. BCD adder circuit. 4. Binary

More information

International Journal of Electronics and Computer Science Engineering 817. Available Online at ISSN

International Journal of Electronics and Computer Science Engineering 817. Available Online at   ISSN International Journal of Eletronis and Computer Siene Engineering 817 Available Online at www.ijese.org ISSN- 2277-1956 A Duly Synhronized, Straightforward Approah For Realizing the General Charateristis

More information

Errata and changes for Lecture Note 1 (I would like to thank Tomasz Sulka for the following changes): ( ) ( ) lim = should be

Errata and changes for Lecture Note 1 (I would like to thank Tomasz Sulka for the following changes): ( ) ( ) lim = should be Errata and hanges for Leture Note (I would like to thank Tomasz Sulka for the following hanges): Page 5 of LN: f f ' lim should be g g' f f ' lim lim g g ' Page 8 of LN: the following words (in RED) have

More information

SOA/CAS MAY 2003 COURSE 1 EXAM SOLUTIONS

SOA/CAS MAY 2003 COURSE 1 EXAM SOLUTIONS SOA/CAS MAY 2003 COURSE 1 EXAM SOLUTIONS Prepared by S. Broverman e-mail 2brove@rogers.om website http://members.rogers.om/2brove 1. We identify the following events:. - wathed gymnastis, ) - wathed baseball,

More information

CMPUT 329. Circuits for binary addition

CMPUT 329. Circuits for binary addition CMPUT 329 Parallel Adder with Carry Lookahead and ALU Ioanis Nikolaidis (Katz & Borriello) rcuits for binary addition Full adder (carry-in to cascade for multi-bit adders) Sum = xor A xor B Cout = B +

More information

Logic and Computer Design Fundamentals. Chapter 5 Arithmetic Functions and Circuits

Logic and Computer Design Fundamentals. Chapter 5 Arithmetic Functions and Circuits Logic and Computer Design Fundamentals Chapter 5 Arithmetic Functions and Circuits Arithmetic functions Operate on binary vectors Use the same subfunction in each bit position Can design functional block

More information

FREQUENCY DOMAIN FEEDFORWARD COMPENSATION. F.J. Pérez Castelo and R. Ferreiro Garcia

FREQUENCY DOMAIN FEEDFORWARD COMPENSATION. F.J. Pérez Castelo and R. Ferreiro Garcia FREQUENCY DOMAIN FEEDFORWARD COMPENSATION F.J. Pérez Castelo and R. Ferreiro Garia Dept. Ingeniería Industrial. Universidad de La Coruña javierp@ud.es, Phone: 98 7.Fax: -98-7 ferreiro@ud.es, Phone: 98

More information

THRESHOLD LOGIC. María J. Avedillo, José M. Quintana, and Adoración Rueda

THRESHOLD LOGIC. María J. Avedillo, José M. Quintana, and Adoración Rueda THRESHOLD LOGIC María J. Avedillo, José M. Quintana, and Adoraión Rueda Instituto de Miroeletrónia de Sevilla - Centro Naional de Miroeletrónia Avda. Reina Meredes s/n, (Edif. CICA) E-402, Sevilla, Spain

More information

Modes are solutions, of Maxwell s equation applied to a specific device.

Modes are solutions, of Maxwell s equation applied to a specific device. Mirowave Integrated Ciruits Prof. Jayanta Mukherjee Department of Eletrial Engineering Indian Institute of Tehnology, Bombay Mod 01, Le 06 Mirowave omponents Welome to another module of this NPTEL mok

More information

MAC Calculus II Summer All you need to know on partial fractions and more

MAC Calculus II Summer All you need to know on partial fractions and more MC -75-Calulus II Summer 00 ll you need to know on partial frations and more What are partial frations? following forms:.... where, α are onstants. Partial frations are frations of one of the + α, ( +

More information

Lecture 12: Datapath Functional Units

Lecture 12: Datapath Functional Units Lecture 2: Datapath Functional Unit Slide courtey of Deming Chen Slide baed on the initial et from David Harri CMOS VLSI Deign Outline Comparator Shifter Multi-input Adder Multiplier Reading:.3-4;.8-9

More information

LECTURE NOTES FOR , FALL 2004

LECTURE NOTES FOR , FALL 2004 LECTURE NOTES FOR 18.155, FALL 2004 83 12. Cone support and wavefront set In disussing the singular support of a tempered distibution above, notie that singsupp(u) = only implies that u C (R n ), not as

More information

Chapter 5 Arithmetic Circuits

Chapter 5 Arithmetic Circuits Chapter 5 Arithmetic Circuits SKEE2263 Digital Systems Mun im/ismahani/izam {munim@utm.my,e-izam@utm.my,ismahani@fke.utm.my} February 11, 2016 Table of Contents 1 Iterative Designs 2 Adders 3 High-Speed

More information

An iterative least-square method suitable for solving large sparse matrices

An iterative least-square method suitable for solving large sparse matrices An iteratie least-square method suitable for soling large sparse matries By I. M. Khabaza The purpose of this paper is to report on the results of numerial experiments with an iteratie least-square method

More information

Q2. [40 points] Bishop-Hill Model: Calculation of Taylor Factors for Multiple Slip

Q2. [40 points] Bishop-Hill Model: Calculation of Taylor Factors for Multiple Slip 27-750, A.D. Rollett Due: 20 th Ot., 2011. Homework 5, Volume Frations, Single and Multiple Slip Crystal Plastiity Note the 2 extra redit questions (at the end). Q1. [40 points] Single Slip: Calulating

More information

14:332:231 DIGITAL LOGIC DESIGN

14:332:231 DIGITAL LOGIC DESIGN 4:332:23 DIGITAL LOGIC DEIGN Ivan Marsic, Rutgers University Electrical & Computer Engineering Fall 23 Lecture #4: Adders, ubtracters, and ALUs Vector Binary Adder [Wakerly 4 th Ed., ec. 6., p. 474] ingle

More information

State Diagrams. Margaret M. Fleck. 14 November 2011

State Diagrams. Margaret M. Fleck. 14 November 2011 State Diagrams Margaret M. Flek 14 November 2011 These notes over state diagrams. 1 Introdution State diagrams are a type of direted graph, in whih the graph nodes represent states and labels on the graph

More information

Optimization of Statistical Decisions for Age Replacement Problems via a New Pivotal Quantity Averaging Approach

Optimization of Statistical Decisions for Age Replacement Problems via a New Pivotal Quantity Averaging Approach Amerian Journal of heoretial and Applied tatistis 6; 5(-): -8 Published online January 7, 6 (http://www.sienepublishinggroup.om/j/ajtas) doi:.648/j.ajtas.s.65.4 IN: 36-8999 (Print); IN: 36-96 (Online)

More information

7.1 Roots of a Polynomial

7.1 Roots of a Polynomial 7.1 Roots of a Polynomial A. Purpose Given the oeffiients a i of a polynomial of degree n = NDEG > 0, a 1 z n + a 2 z n 1 +... + a n z + a n+1 with a 1 0, this subroutine omputes the NDEG roots of the

More information

Relativistic Dynamics

Relativistic Dynamics Chapter 7 Relativisti Dynamis 7.1 General Priniples of Dynamis 7.2 Relativisti Ation As stated in Setion A.2, all of dynamis is derived from the priniple of least ation. Thus it is our hore to find a suitable

More information

THE METHOD OF SECTIONING WITH APPLICATION TO SIMULATION, by Danie 1 Brent ~~uffman'i

THE METHOD OF SECTIONING WITH APPLICATION TO SIMULATION, by Danie 1 Brent ~~uffman'i THE METHOD OF SECTIONING '\ WITH APPLICATION TO SIMULATION, I by Danie 1 Brent ~~uffman'i Thesis submitted to the Graduate Faulty of the Virginia Polytehni Institute and State University in partial fulfillment

More information

Overview. Arithmetic circuits. Binary half adder. Binary full adder. Last lecture PLDs ROMs Tristates Design examples

Overview. Arithmetic circuits. Binary half adder. Binary full adder. Last lecture PLDs ROMs Tristates Design examples Overview rithmetic circuits Last lecture PLDs ROMs Tristates Design examples Today dders Ripple-carry Carry-lookahead Carry-select The conclusion of combinational logic!!! General-purpose building blocks

More information

Binary addition by hand. Adding two bits

Binary addition by hand. Adding two bits Chapter 3 Arithmetic is the most basic thing you can do with a computer We focus on addition, subtraction, multiplication and arithmetic-logic units, or ALUs, which are the heart of CPUs. ALU design Bit

More information

Advanced Computational Fluid Dynamics AA215A Lecture 4

Advanced Computational Fluid Dynamics AA215A Lecture 4 Advaned Computational Fluid Dynamis AA5A Leture 4 Antony Jameson Winter Quarter,, Stanford, CA Abstrat Leture 4 overs analysis of the equations of gas dynamis Contents Analysis of the equations of gas

More information

Combined Electric and Magnetic Dipoles for Mesoband Radiation, Part 2

Combined Electric and Magnetic Dipoles for Mesoband Radiation, Part 2 Sensor and Simulation Notes Note 53 3 May 8 Combined Eletri and Magneti Dipoles for Mesoband Radiation, Part Carl E. Baum University of New Mexio Department of Eletrial and Computer Engineering Albuquerque

More information

Evaluation of effect of blade internal modes on sensitivity of Advanced LIGO

Evaluation of effect of blade internal modes on sensitivity of Advanced LIGO Evaluation of effet of blade internal modes on sensitivity of Advaned LIGO T0074-00-R Norna A Robertson 5 th Otober 00. Introdution The urrent model used to estimate the isolation ahieved by the quadruple

More information

ECE 2300 Digital Logic & Computer Organization

ECE 2300 Digital Logic & Computer Organization ECE 2300 Digital Logic & Computer Organization pring 201 More inary rithmetic LU 1 nnouncements Lab 4 prelab () due tomorrow Lab 5 to be released tonight 2 Example: Fixed ize 2 C ddition White stone =

More information

15.12 Applications of Suffix Trees

15.12 Applications of Suffix Trees 248 Algorithms in Bioinformatis II, SoSe 07, ZBIT, D. Huson, May 14, 2007 15.12 Appliations of Suffix Trees 1. Searhing for exat patterns 2. Minimal unique substrings 3. Maximum unique mathes 4. Maximum

More information

Fig Review of Granta-gravel

Fig Review of Granta-gravel 0 Conlusion 0. Sope We have introdued the new ritial state onept among older onepts of lassial soil mehanis, but it would be wrong to leave any impression at the end of this book that the new onept merely

More information

An Integrated Architecture of Adaptive Neural Network Control for Dynamic Systems

An Integrated Architecture of Adaptive Neural Network Control for Dynamic Systems An Integrated Arhiteture of Adaptive Neural Network Control for Dynami Systems Robert L. Tokar 2 Brian D.MVey2 'Center for Nonlinear Studies, 2Applied Theoretial Physis Division Los Alamos National Laboratory,

More information

The experimental plan of displacement- and frequency-noise free laser interferometer

The experimental plan of displacement- and frequency-noise free laser interferometer 7th Edoardo Amaldi Conferene on Gravitational Waves (Amaldi7) Journal of Physis: Conferene Series 122 (2008) 012022 The experimental plan of displaement- and frequeny-noise free laser interferometer K

More information

COMPUTERS ORGANIZATION 2ND YEAR COMPUTE SCIENCE MANAGEMENT ENGINEERING UNIT 3 - ARITMETHIC-LOGIC UNIT JOSÉ GARCÍA RODRÍGUEZ JOSÉ ANTONIO SERRA PÉREZ

COMPUTERS ORGANIZATION 2ND YEAR COMPUTE SCIENCE MANAGEMENT ENGINEERING UNIT 3 - ARITMETHIC-LOGIC UNIT JOSÉ GARCÍA RODRÍGUEZ JOSÉ ANTONIO SERRA PÉREZ OMUTERS ORGANIZATION 2ND YEAR OMUTE SIENE MANAGEMENT ENGINEERING UNIT 3 - ARITMETHI-LOGI UNIT JOSÉ GARÍA RODRÍGUEZ JOSÉ ANTONIO SERRA ÉREZ Tema 3. La Unidad entral de roceso. A.L.U. Arithmetic Logic Unit

More information

Solutions to Problem Set 1

Solutions to Problem Set 1 Eon602: Maro Theory Eonomis, HKU Instrutor: Dr. Yulei Luo September 208 Solutions to Problem Set. [0 points] Consider the following lifetime optimal onsumption-saving problem: v (a 0 ) max f;a t+ g t t

More information

DIGITAL TECHNICS. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

DIGITAL TECHNICS. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute DIGITAL TECHNICS Dr. Bálint Pődör Óbuda University, Microelectronics and Technology Institute 4. LECTURE: COMBINATIONAL LOGIC DESIGN: ARITHMETICS (THROUGH EXAMPLES) 2016/2017 COMBINATIONAL LOGIC DESIGN:

More information

Adders, subtractors comparators, multipliers and other ALU elements

Adders, subtractors comparators, multipliers and other ALU elements CSE4: Components and Design Techniques for Digital Systems Adders, subtractors comparators, multipliers and other ALU elements Instructor: Mohsen Imani UC San Diego Slides from: Prof.Tajana Simunic Rosing

More information

Binary addition example worked out

Binary addition example worked out Binary addition example worked out Some terms are given here Exercise: what are these numbers equivalent to in decimal? The initial carry in is implicitly 0 1 1 1 0 (Carries) 1 0 1 1 (Augend) + 1 1 1 0

More information

Differential Equations 8/24/2010

Differential Equations 8/24/2010 Differential Equations A Differential i Equation (DE) is an equation ontaining one or more derivatives of an unknown dependant d variable with respet to (wrt) one or more independent variables. Solution

More information

Intermediate Math Circles November 18, 2009 Solving Linear Diophantine Equations

Intermediate Math Circles November 18, 2009 Solving Linear Diophantine Equations 1 University of Waterloo Faulty of Mathematis Centre for Eduation in Mathematis and Computing Intermediate Math Cirles November 18, 2009 Solving Linear Diophantine Equations Diophantine equations are equations

More information

Control Theory association of mathematics and engineering

Control Theory association of mathematics and engineering Control Theory assoiation of mathematis and engineering Wojieh Mitkowski Krzysztof Oprzedkiewiz Department of Automatis AGH Univ. of Siene & Tehnology, Craow, Poland, Abstrat In this paper a methodology

More information

The Hanging Chain. John McCuan. January 19, 2006

The Hanging Chain. John McCuan. January 19, 2006 The Hanging Chain John MCuan January 19, 2006 1 Introdution We onsider a hain of length L attahed to two points (a, u a and (b, u b in the plane. It is assumed that the hain hangs in the plane under a

More information

Fault Tolerant Variable Block Carry Skip Logic (VBCSL) using Parity Preserving Reversible Gates

Fault Tolerant Variable Block Carry Skip Logic (VBCSL) using Parity Preserving Reversible Gates Fault Tolerant Variable lok Carry Skip Logi (VCSL) using Parity Preserving Reversible Gates Md. Saiful Islam, M. M. Rahman*, Zerina egum, and M. Z. Hafiz Institute of Information Tehnology, University

More information

IMPEDANCE EFFECTS OF LEFT TURNERS FROM THE MAJOR STREET AT A TWSC INTERSECTION

IMPEDANCE EFFECTS OF LEFT TURNERS FROM THE MAJOR STREET AT A TWSC INTERSECTION 09-1289 Citation: Brilon, W. (2009): Impedane Effets of Left Turners from the Major Street at A TWSC Intersetion. Transportation Researh Reord Nr. 2130, pp. 2-8 IMPEDANCE EFFECTS OF LEFT TURNERS FROM THE

More information

Wavetech, LLC. Ultrafast Pulses and GVD. John O Hara Created: Dec. 6, 2013

Wavetech, LLC. Ultrafast Pulses and GVD. John O Hara Created: Dec. 6, 2013 Ultrafast Pulses and GVD John O Hara Created: De. 6, 3 Introdution This doument overs the basi onepts of group veloity dispersion (GVD) and ultrafast pulse propagation in an optial fiber. Neessarily, it

More information

Case I: 2 users In case of 2 users, the probability of error for user 1 was earlier derived to be 2 A1

Case I: 2 users In case of 2 users, the probability of error for user 1 was earlier derived to be 2 A1 MUTLIUSER DETECTION (Letures 9 and 0) 6:33:546 Wireless Communiations Tehnologies Instrutor: Dr. Narayan Mandayam Summary By Shweta Shrivastava (shwetash@winlab.rutgers.edu) bstrat This artile ontinues

More information

1 sin 2 r = 1 n 2 sin 2 i

1 sin 2 r = 1 n 2 sin 2 i Physis 505 Fall 005 Homework Assignment #11 Solutions Textbook problems: Ch. 7: 7.3, 7.5, 7.8, 7.16 7.3 Two plane semi-infinite slabs of the same uniform, isotropi, nonpermeable, lossless dieletri with

More information

Taste for variety and optimum product diversity in an open economy

Taste for variety and optimum product diversity in an open economy Taste for variety and optimum produt diversity in an open eonomy Javier Coto-Martínez City University Paul Levine University of Surrey Otober 0, 005 María D.C. Garía-Alonso University of Kent Abstrat We

More information

CSE370 HW3 Solutions (Winter 2010)

CSE370 HW3 Solutions (Winter 2010) CSE370 HW3 Solutions (Winter 2010) 1. CL2e, 4.9 We are asked to implement the function f(a,,c,,e) = A + C + + + CE using the smallest possible multiplexer. We can t use any extra gates or the complement

More information

A NETWORK SIMPLEX ALGORITHM FOR THE MINIMUM COST-BENEFIT NETWORK FLOW PROBLEM

A NETWORK SIMPLEX ALGORITHM FOR THE MINIMUM COST-BENEFIT NETWORK FLOW PROBLEM NETWORK SIMPLEX LGORITHM FOR THE MINIMUM COST-BENEFIT NETWORK FLOW PROBLEM Cen Çalışan, Utah Valley University, 800 W. University Parway, Orem, UT 84058, 801-863-6487, en.alisan@uvu.edu BSTRCT The minimum

More information

Where are we? Data Path Design. Bit Slice Design. Bit Slice Design. Bit Slice Plan

Where are we? Data Path Design. Bit Slice Design. Bit Slice Design. Bit Slice Plan Where are we? Data Path Design Subsystem Design Registers and Register Files dders and LUs Simple ripple carry addition Transistor schematics Faster addition Logic generation How it fits into the datapath

More information

CprE 281: Digital Logic

CprE 281: Digital Logic CprE 281: Digital Logic Instructor: Alexander Stoytchev http://www.ece.iastate.edu/~alexs/classes/ Fast Adders CprE 281: Digital Logic Iowa State University, Ames, IA Copyright Alexander Stoytchev HW5

More information