Lecture 4: Adders. Computer Systems Laboratory Stanford University
|
|
- Lynette Warner
- 6 years ago
- Views:
Transcription
1 Lecture 4: Adders Computer Systems Laboratory Stanford Unversty Copyrght 2004 by Mark Horowtz (w/ Fgures from Hgh-Performance Mcroprocessor Desgn IEEE And Fgures from Bora Nkolc 1 Overvew Readng HP Adder paper EE271 Adder notes f you have not seen them before Chandrakasen -- Frst part of Chapter 10 Introducton Fast adders generally use a tree structure to take advantage of parallelsm to make the adder go faster. We wll talk about a couple of dfferent tree adders n ths lecture, and go over n more detal one of the adders. The adder descrbed n the paper s even more complex than the one n the notes, and at the end we wll talk a lttle about what t does These notes wll number the lsb as bt zero, whch s the conventon that I have used over the past 3 years. 2
2 Adders N-bt adder sums two N-bt quanttes (A & B plus perhaps Cn Sum= A xor B xor C Fundamental problem s rapdly calculatng carry n to bt (C All carres are dependent on all prevous nputs Therefore, least sgnfcant nput has fanout of N, mn delay log 4 N FO4 delays even f there were no logc. Most adders use Generate and Propagate logc to compute C G = A AND B (C out forced to be true P = A + B (C out = C n Also could use P = A XOR B, but OR s faster than XOR Can combne G and P nto larger blocks G 20 = G 1 + G 0 P 1 P 20 = P 1 P 0 3 Adder Cell Desgn Lots of XORs whch makes t nterestng desgn problem On of few places where pass-gate logc s an attractve Strange way to draw two nv 4
3 Pass-Gate Logc But even here t s stll not great 5 Lnear Solutons (see EE271 notes Smplest adder: rpple carry, faster adders: carry look-ahead, carry bypass... All of these work out carry several bts at a tme Best desgns have around 11 FO4 delays for 64 bts Useful for small adders (up to 16 bts and moderate performance longer adders Carry Bypass 6
4 Fgure s Not Qute Rght Need to get group carry outputs nto the global chan AND gate for group s really (Pg*Cn + Gg Groups need to calculate Pg and Gg Output of OR gate s the true nput to the next group 7 Carry Bypass or Carry Skp Adders Generally form mult-level carry chans Break bts nto group Rpple carry n all groups n parallel Rpple global carry Lots of trcks n choosng the number of bts for each group Equalze the crtcal path For the least sgnfcant ½ of the bts Want group to generate carry out, when C of the global chan wll arrve For the most sgnfcant ½ of the bts Also want for the last carry rpple n each group to occur at the same tme Means the groups should not be the same sze 8
5 Carry Select Calculate both answers for a group Select correct one Elmnates fnal carry rpple Setup P,G "0" "0" Carry Propagaton "1" "1" Carry Propagaton C o,k-1 Multplexer Co,k+3 Carry Vector Sum Generaton 9 Many Papers on These Adders But no one bulds them any more Why? They are all clever ways of buldng faster adders Whle usng lttle addton hardware Bypass logc requres few gates We have too many transstors Don t need to be frugal wth transstors Just buld the faster adder Interestng queston As power becomes a larger concern Wll these smpler adders reappear? 10
6 Logarthmc Solutons It would seem that to know C, we need C -1, So delay s lnear wth N A clever trck called prefx computaton lets us turn ths knd of problem nto logarthmc delay snce G and P are assocatve. Notaton s always an ssue I wll try to use the followng strategy A# means the sgnal A for group sze # n the th poston P = propagate (A+B G = generate (AB C = CarryIn to ths bt/group poston 11 Tree Logc For Logarthm Tme Adders Compute sngle bt values: (0 <= < N G = A B, P = A + B Compute two bt groups: (0 <= < N/2 G2 = G G 2 P 2+1 ; P 2 = P 2+1 P 2 Compute four bt groups: G4 = G G2 2 P2 2+1 P4 = P2 2+1 P2 2 (0 <= < N/4...(contnue up bnary tree to fnd all generates & propagates...(work down tree to fnd carry ns C4 2+1 = G4 2 + C8 P4 2 C4 2 = C8 C2 2+1 = G2 2 + C4P2 2 C2 2 = C4 C 2+1 = G 2 + C2 P 2 C 2 = C2 12
7 Many Types of Tree Adders Two basc parameters Radx Densty Radx Prevous secton showed a bnary tree, radx 2 Can buld other sze trees, but generally t s 2 or 4 But not always! Not always the same radx at each level Tree densty Prevous slde actually needed two trees One to generate PG nformaton One to dstrbute ths nformaton to all the consumers Needed second tree snce t dd not compute all PGs t could 13 Radx 4 PG and Carry Trees 14
8 CLA Adder Folded Tree 15 Dynamc Logc for 4 Bt CLA Block 16
9 8 Bt Bnary Tree Adder B 6 A 6 P 6 G 6 Sum =A XOR B XOR C C 7 B 5 A 5 P 5 G 5 P2 2 G2 2 C2 3 C 6 B 4 A 4 P 4 G 4 C 5 B 3 A 3 P 3 G 3 P2 1 G2 1 P4 0 C4 G4 1 C2 2 0 C4 = G4 + P4C8 0 C 4 B 2 A 2 P 0 G 2 C 3 B 1 A 1 P 1 G 1 P2 0 G2 0 G2 = G 1 + G 0 P 1; P2 = P 0 P 1 C2 1 C 2 B 0 A 0 C n P 0 G 0 G = AB; P = A+B C 1 C 0 17 Tree Adder 18
10 Tree Depth and Densty In addton to changng the radx of the adder Whch we have seen n our examples The other man varable s depth and densty of the trees The dfference between n and ln n s small for small numbers Often the bottom of the Carry trees are chopped Replaced wth lnear structures Can compute more PG results gong up the tree Forest of trees Don t need a very large (or any C tree In choppng trees Many adders use carry select at the fnal stage Compute two results, and use C4 or C8 to select rght result Group sze n the select s small for fanout reasons 19 Bnary Tree Adder Can elmnate the carry out tree by computng a group for each bt poston: P +7, G +7 P +6, G +6 P +5, G +5 P +4, G +4 P +3, G +3 P +2, G +2 P +1, G +1 P, G Each crcle has two gates, one that computes P for the group and one that computes G. Ths adder has a large number of wres, but can be very fast. In fact t provdes a way to estmate what the mn delay of an adder would be. 20
11 64 Bt Adder Delay Assume: The output load s equal to the load on each nput. Usng statc gates (nverter s the fastest gate Fnd delay from the effectve fanout: Smple approxmaton: Must compute A xor B xor C Cn (or LSB must fanout to all bts (FO 64 Total effectve fanout 64 * 2 ( for some logc n chan (3.5 FO4 delays More complex Look at effectve fanout of the path through adder P gates drve 3 gates, G gates drve 2. Effectve fanout s about 3.5/stage 1.5 (frst NAND/NOR 3.5^6 * 1sh (fnal Mux for Sum optmze for late select 5.7 FO4 (not really accountng for parastc delay correctly 21 Tree Adders: Radx 2 (A 0, B 0 (A 1, B 1 (A 2, B 2 (A 3, B 3 (A 4, B 4 (A 5, B 5 (A 6, B 6 (A 7, B 7 (A 8, B 8 (A 9, B 9 (A 10, B 10 (A 11, B 11 (A 12, B 12 (A 13, B 13 (A 14, B 14 (A 15, B 15 S 0 S 1 S 2 S 3 S 4 S 5 S 6 S 7 S 8 S 9 S 10 S 11 S 12 S 13 S 14 S bt radx-2 Kogge-Stone Tree From Bora Nkolc 22
12 Tree Adders: Radx 4 (a 0, b 0 (a 1, b 1 (a 2, b 2 (a 3, b 3 (a 4, b 4 (a 5, b 5 (a 6, b 6 (a 7, b 7 (a 8, b 8 (a 9, b 9 (a 10, b 10 (a 11, b 11 (a 12, b 12 (a 13, b 13 (a 14, b 14 (a 15, b 15 S 0 S 1 S 2 S 3 S 4 S 5 S 6 S 7 S 8 S 9 S 10 S 11 S 12 S 13 S 14 S bt radx-4 Kogge-Stone Tree From Bora Nkolc 23 Sparse Trees (a 0, b 0 (a 1, b 1 (a 2, b 2 (a 3, b 3 (a 4, b 4 (a 5, b 5 (a 6, b 6 (a 7, b 7 (a 8, b 8 (a 9, b 9 (a 10, b 10 (a 11, b 11 (a 12, b 12 (a 13, b 13 (a 14, b 14 (a 15, b 15 S 0 S 1 S 2 S 3 S 4 S 5 S 6 S 7 S 8 S 9 S 10 S 11 S 12 S 13 S 14 S 15 From Bora Nkolc 16-bt radx-2 sparse tree wth sparseness of 2 (Han-Carlson 24
13 Full vs. Sparse Trees Sparse trees have less transstors, wres Less power Less nput loadng Recoverng mssng carres Rpple (extra gate delay Precompute (extra fanout Complex precompute can get nto the crtcal path Total Transstor Wdth [unt wdth/bt] Radx-4 Kogge-Stone Radx-4 2-Sparse Radx-4 4-Sparse -23.3% Adder Delay [FO4] From Bora Nkolc 25 Tree Adder wth Growng Fanout Ladner-Fscher (A 0, B 0 (A 1, B 1 (A 2, B 2 (A 3, B 3 (A 4, B 4 (A 5, B 5 (A 6, B 6 (A 7, B 7 (A 8, B 8 (A 9, B 9 (A 10, B 10 (A 11, B 11 (A 12, B 12 (A 13, B 13 (A 14, B 14 (A 15, B 15 S 0 S 1 S 2 S 3 S 4 S 5 S 6 S 7 S 8 S 9 S 10 S 11 S 12 S 13 S 14 S 15 From Bora Nkolc 26
14 Other Sparse Trees Mathew, VLSI 02 From Bora Nkolc 27 Lng Adder Varaton of CLA p g = a = a b b Lng s equatons t = a + b g = a b G S = g + p G 1 = p G 1 H S = g + t 1 H 1 = t H + gt 1H 1 Lng, IBM J. Res. Dev, 5/81 From Bora Nkolc 28
15 Lng Adder Conventonal CLA: G Also: = g + p G 1 Lng s equaton shfts the ndex of pseudo carry G H = g + t 1 G 1 = g + t G 1 Propagates nformaton on two bts Doran, Trans on Comp 9/88 From Bora Nkolc 29 Lng Adder Conventonal radx-4 G + 3 = g3 + t3g2 + t3t2g1 t3t2t1g 0 Lng radx-4 H = 3 g = 3 g 3 + g + t t g 2 2 g + t 1 + t t 2 1 t g g + t 0 t t Reduces the stack heght (or wdth Reduces nput loadng g 0 From Bora Nkolc 30
16 Lng vs. CLA Energy [pj] R2 Lng R2 CLA R4 Lng R4 CLA Delay [FO4] From Bora Nkolc 31 R. Zlatanovc, ESSCIRC 03 Statc vs. Dynamc Compound Domno R2 Domno R2 Domno R4 Statc R2 Energy [pj] Delay [FO4] From Bora Nkolc 32
17 Example Look at a real desgn of a 64-bt adder (by Davd Harrs Dual-level carry-select adder, radx 4 (knd of Fully dual-ral domno Performs only addton (nput nverted n bypass network for subtract Delay (smulated = 6.4 FO4 delays Desgn Issues Adder archtecture Gate szng 33 Archtecture Logarthmc adder must generate up tree, then send carry down tree Carry Select adder cuts delay by only fndng carry nto block of 16 Meanwhle, sums must be computed for block assumng C n = 0, 1 Ths also requres a very fast 16 bt adder Reuse the same trck: buld a 16 bt carry select adder 16 bt adder can share generate and propagate logc wth man adder A,B PG2 PG4 PG16 C16 2-bt C4 C2 4-bt 16-bt Buffer A,B Sum R 64-bt 34
18 2-Bt Logc 2-bt Propagates & Generates P2 = P 0 P 1 = G2 = G 1 +G 0 P 1 = Speculatve Sums to bt b assumng carry n c: sumc b sum0 0 = sum1 0 = sum0 1 = sum1 1 = Fnal Result R 0 = R 1 = 35 4-bt Logc Carry n to 2 bt block b assumng cn to 16 bt block s c: cn2c b cn20 0 = cn21 0 = cn20 1 = cn11 1 = 4-bt Propagates and Generates g4 = p4 = 36
19 16-bt Logc Carry n to 4 bt block b assumng cn to 16 bt block s c: cn4c b cn40 0 = cn41 0 = cn40 1 = cn41 1 = cn40 2 = cn41 2 = cn40 3 = cn41 3 = 16-bt Propagates and Generates g16 = p16 = bt Logc Carry n to 16 bt block b assumng cn to 16 bt block s c: cn16 b 1 cn16 0 = cn16 1 = cn16 2 = cn16 3 = 1. Assumes no carry n to 64 bt adder. Ths mght be relaxed to handle subtracton at the expense of one more seres transstor n the crtcal path. 38
20 Domno Implementaton Notce that all the P, G, and C terms are monotonc! Only the sum select mux needs complementary nputs Opton 1: Generate sngle ral C, use statc mux to select sum Requres statc mux plus nverter for C, C_b mux select Good for area Delay = FO4 delays Opton 2: Generate dual ral P, G, C, use domno mux to select sum Requres twce as much hardware Good for speed Can produce dual-ral output n domno form for later crcuts Delay = 6.4 FO4 delays 39 Domno Trcks A bunch of domno trcks were used for maxmum speed Full utlzaton of statc as well as domno gates No clocked pulldowns on some domno gates Needs delayed precharge clocks, so make sure t s worth t Precharge necessary nternal nodes Predscharge other nternal nodes when all transstors are off Another speed hack that mght not be worth t No keepers Lvng dangerously, probably not a good dea Skewed for fast eval at cost of slow precharge Some of these conflct wth robust desgn prncples 40
21 Namng Conventons Very mportant to name all gates and nodes Node names necessary when debuggng nternal sgnals Gates needed for same reason Gate types: D1 = Domno wth evaluaton transstor D2 = Domno wth no evaluaton transstor H = Hgh skew CMOS L = Low skew CMOS Clocks: clk: normal clock dlclk: delayed low (fallng clock (for D2 delayed precharge ddlclk: doubly delayed low clock 41 2 Bt Adder Block 42
22 4 Bt Adder Block Bt Adder Block 44
23 64 Bt Adder Block 45 2-Bt Logc 2-bt Propagates & Generates P2 = P 0 P 1 = (A 0 +B 0 (A 1 +B 1 G2 = G 1 +G 0 P 1 = A 1 B 1 + A 0 B 0 (A 1 +B 1 Speculatve Sums to bt b assumng carry n c: sumc b sum0 0 = A 0 xor B 0 sum1 0 = ~(A 0 xor B 0 sum0 1 = A 1 xor B 1 xor (A 0 B 0 sum1 1 = A 1 xor B 1 xor (A 0 + B 0 Fnal Result R 0 = cn16? (cn21? sum1 0 : sum0 0 : (cn20? sum1 0 : sum0 0 R 1 = cn16? (cn21? sum1 1 : sum0 1 : (cn20? sum1 1 : sum0 1 46
24 4-bt Logc Carry n to 2 bt block b assumng cn to 16 bt block s c: cn2c b cn20 0 = cn40 cn21 0 = cn41 cn20 1 = g2 0 + p2 0 cn40 cn11 1 = g2 0 + p2 0 cn41 4-bt Propagates and Generates g4 = g2 1 + p2 1 g2 0 p4 = p2 0 p bt Logc Carry n to 4 bt block b assumng cn to 16 bt block s c: cn4c b cn40 0 = 0 cn41 0 = 1 cn40 1 = g4 0 cn41 1 = g4 0 + p4 0 cn40 2 = g4 1 + p4 1 (g4 0 cn41 2 = g4 1 + p4 1 (g4 0 + p4 0 cn40 3 = g4 2 + p4 2 (g4 1 + p4 1 (g4 0 cn41 3 = g4 2 + p4 2 (g4 1 + p4 1 (g4 0 + p bt Propagates and Generates g16 = g4 3 + p4 3 (g4 2 + p4 2 (g4 1 + p4 1 g4 0 p16 = p2 0 p2 1 p2 2 p2 3 48
25 64-bt Logc Carry n to 16 bt block b assumng cn to 16 bt block s c: cn16 b cn16 0 = 0 cn16 1 = g16 0 cn16 2 = g p16 1 (g16 0 cn16 3 = g p16 2 (g p16 1 (g
Adders. Today: Adders. EE M216A.:. Fall Prof. Dejan Marković Lecture 9. Basic terminology. Adder building blocks
EE M216.:. Fall 21 Lecture 9 dders Prof. Dejan Markovć ee216a@gmal.com Today: dders asc termnology dder buldng blocks asc adder topologes Lnear adders (n < 16) Fast parallel adders (n > 16) Some examples
More informationLogical Effort of Higher Valency Adders
Logcal Effort of gher Valency Adders Davd arrs arvey Mudd College E. Twelfth St. Claremont, CA Davd_arrs@hmc.edu Abstract gher valency parallel prefx adders reduce the number of logc levels at the expense
More informationEstimating Delays. Gate Delay Model. Gate Delay. Effort Delay. Computing Logical Effort. Logical Effort
Estmatng Delas Would be nce to have a back of the envelope method for szng gates for speed Logcal Effort ook b Sutherland, Sproull, Harrs Chapter s on our web page Gate Dela Model Frst, normalze a model
More informationLecture 4. Adders. Computer Systems Laboratory Stanford University
Lecture 4 Adders Computer Systems Laboratory Stanford University horowitz@stanford.edu Copyright 2006 Mark Horowitz Some figures from High-Performance Microprocessor Design IEEE 1 Overview Readings Today
More informationEE241 - Spring 2005 Advanced Digital Integrated Circuits. Clock Generation. Lecture 22: Adders. Delay-Locked Loop (Delay Line Based) f REF Phase Det
EE24 - Srng 2005 dvanced Dgtal Integrated Crcuts Lecture 22: dders Clock Generaton Delay-Locked Loo (Delay Lne Based) f REF Phase Det U D Charge Pum Flter DL f O Phase-Locked Loo (VCO-Based) f REF U N
More informationEE241 - Spring 2000 Advanced Digital Integrated Circuits. Carry-Skip Adder
EE4 - Srng 000 Advanced Dgtal Integrated Crcuts Lecture 6 Adders B. Nkolc Carry-Sk Adder 0 G 0 G G G C,0 C o,0 C o, C o, FA FA FA FA C o, 0 G 0 G G G B= o C,0 C o,0 C o, C o, FA FA FA FA Multlexer Co,
More informationFor now, let us focus on a specific model of neurons. These are simplified from reality but can achieve remarkable results.
Neural Networks : Dervaton compled by Alvn Wan from Professor Jtendra Malk s lecture Ths type of computaton s called deep learnng and s the most popular method for many problems, such as computer vson
More informationTOPICS MULTIPLIERLESS FILTER DESIGN ELEMENTARY SCHOOL ALGORITHM MULTIPLICATION
1 2 MULTIPLIERLESS FILTER DESIGN Realzaton of flters wthout full-fledged multplers Some sldes based on support materal by W. Wolf for hs book Modern VLSI Desgn, 3 rd edton. Partly based on followng papers:
More informationStructure and Drive Paul A. Jensen Copyright July 20, 2003
Structure and Drve Paul A. Jensen Copyrght July 20, 2003 A system s made up of several operatons wth flow passng between them. The structure of the system descrbes the flow paths from nputs to outputs.
More informationContinued..& Multiplier
CS222: Computer Arthmetc : Adder Contnued..& Multpler Dr. A. Sahu Dept of Comp. Sc. & Engg. Indan Insttute of Technology Guwahat 1 Outlne Adder Unversal Use (N bt addton) RppleCarry Adder, Full Adder,
More informationOutline and Reading. Dynamic Programming. Dynamic Programming revealed. Computing Fibonacci. The General Dynamic Programming Technique
Outlne and Readng Dynamc Programmng The General Technque ( 5.3.2) -1 Knapsac Problem ( 5.3.3) Matrx Chan-Product ( 5.3.1) Dynamc Programmng verson 1.4 1 Dynamc Programmng verson 1.4 2 Dynamc Programmng
More informationLecture 7: Multistage Logic Networks. Best Number of Stages
Lecture 7: Multstage Logc Networks Multstage Logc Networks (cont. from Lec 06) Examples Readng: Ch. Best Number of Stages How many stages should a path use? Mnmzng number of stages s not always fastest
More informationA New Design of Multiplier using Modified Booth Algorithm and Reversible Gate Logic
Internatonal Journal of Computer Applcatons Technology and Research A New Desgn of Multpler usng Modfed Booth Algorthm and Reversble Gate Logc K.Nagarjun Department of ECE Vardhaman College of Engneerng,
More informationClock-Gating and Its Application to Low Power Design of Sequential Circuits
Clock-Gatng and Its Applcaton to Low Power Desgn of Sequental Crcuts ng WU Department of Electrcal Engneerng-Systems, Unversty of Southern Calforna Los Angeles, CA 989, USA, Phone: (23)74-448 Massoud PEDRAM
More informationModule 9. Lecture 6. Duality in Assignment Problems
Module 9 1 Lecture 6 Dualty n Assgnment Problems In ths lecture we attempt to answer few other mportant questons posed n earler lecture for (AP) and see how some of them can be explaned through the concept
More informationCombinational Circuit Design
Combnatonal Crcut Desgn Part I: Desgn Procedure and Examles Part II : Arthmetc Crcuts Part III : Multlexer, Decoder, Encoder, Hammng Code Combnatonal Crcuts n nuts Combnatonal Crcuts m oututs A combnatonal
More informationChapter 3 Describing Data Using Numerical Measures
Chapter 3 Student Lecture Notes 3-1 Chapter 3 Descrbng Data Usng Numercal Measures Fall 2006 Fundamentals of Busness Statstcs 1 Chapter Goals To establsh the usefulness of summary measures of data. The
More informationMAE140 - Linear Circuits - Winter 16 Final, March 16, 2016
ME140 - Lnear rcuts - Wnter 16 Fnal, March 16, 2016 Instructons () The exam s open book. You may use your class notes and textbook. You may use a hand calculator wth no communcaton capabltes. () You have
More informationLogic effort and gate sizing
EEN454 Dgtal Integrated rcut Desgn Logc effort and gate szng EEN 454 Introducton hp desgners face a bewlderng arra of choces What s the best crcut topolog for a functon? How man stages of logc gve least
More informationCoarse-Grain MTCMOS Sleep
Coarse-Gran MTCMOS Sleep Transstor Szng Usng Delay Budgetng Ehsan Pakbazna and Massoud Pedram Unversty of Southern Calforna Dept. of Electrcal Engneerng DATE-08 Munch, Germany Leakage n CMOS Technology
More informationAnalytical Chemistry Calibration Curve Handout
I. Quck-and Drty Excel Tutoral Analytcal Chemstry Calbraton Curve Handout For those of you wth lttle experence wth Excel, I ve provded some key technques that should help you use the program both for problem
More informationEEE 241: Linear Systems
EEE : Lnear Systems Summary #: Backpropagaton BACKPROPAGATION The perceptron rule as well as the Wdrow Hoff learnng were desgned to tran sngle layer networks. They suffer from the same dsadvantage: they
More informationLinear Feature Engineering 11
Lnear Feature Engneerng 11 2 Least-Squares 2.1 Smple least-squares Consder the followng dataset. We have a bunch of nputs x and correspondng outputs y. The partcular values n ths dataset are x y 0.23 0.19
More information1 GSW Iterative Techniques for y = Ax
1 for y = A I m gong to cheat here. here are a lot of teratve technques that can be used to solve the general case of a set of smultaneous equatons (wrtten n the matr form as y = A), but ths chapter sn
More informationModule #6: Combinational Logic Design with VHDL Part 2 (Arithmetic)
ECOM4311 Dgtal Systems Desgn : Combnatonal Logc Desgn wth VHDL Part 2 (Arthmetc) - A crcut that compares dgtal values (.e., Equal, Greater Than, Less Than) Agenda 1. 2. Adders (Rpple Carry, Carry-Look-Ahead)
More informationEECS 427 Lecture 8: Adders Readings: EECS 427 F09 Lecture 8 1. Reminders. HW3 project initial proposal: due Wednesday 10/7
EECS 427 Lecture 8: dders Readings: 11.1-11.3.3 3 EECS 427 F09 Lecture 8 1 Reminders HW3 project initial proposal: due Wednesday 10/7 You can schedule a half-hour hour appointment with me to discuss your
More informationInterconnect Optimization for Deep-Submicron and Giga-Hertz ICs
Interconnect Optmzaton for Deep-Submcron and Gga-Hertz ICs Le He http://cadlab.cs.ucla.edu/~hele UCLA Computer Scence Department Los Angeles, CA 90095 Outlne Background and overvew LR-based STIS optmzaton
More informationQueueing Networks II Network Performance
Queueng Networks II Network Performance Davd Tpper Assocate Professor Graduate Telecommuncatons and Networkng Program Unversty of Pttsburgh Sldes 6 Networks of Queues Many communcaton systems must be modeled
More informationEffective Power Optimization combining Placement, Sizing, and Multi-Vt techniques
Effectve Power Optmzaton combnng Placement, Szng, and Mult-Vt technques Tao Luo, Davd Newmark*, and Davd Z Pan Department of Electrcal and Computer Engneerng, Unversty of Texas at Austn *Advanced Mcro
More informationFinding Dense Subgraphs in G(n, 1/2)
Fndng Dense Subgraphs n Gn, 1/ Atsh Das Sarma 1, Amt Deshpande, and Rav Kannan 1 Georga Insttute of Technology,atsh@cc.gatech.edu Mcrosoft Research-Bangalore,amtdesh,annan@mcrosoft.com Abstract. Fndng
More informationGeneralized Linear Methods
Generalzed Lnear Methods 1 Introducton In the Ensemble Methods the general dea s that usng a combnaton of several weak learner one could make a better learner. More formally, assume that we have a set
More informationCSE4210 Architecture and Hardware for DSP
4210 Archtecture and Hardware for DSP Lecture 1 Introducton & Number systems Admnstratve Stuff 4210 Archtecture and Hardware for DSP Text: VLSI Dgtal Sgnal Processng Systems: Desgn and Implementaton. K.
More informationHomework 4 due today Quiz #4 today In class (80min) final exam on April 29 Project reports due on May 4. Project presentations May 5, 1-4pm
EE241 - Spring 2010 Advanced Digital Integrated Circuits Lecture 25: Digital Arithmetic Adders Announcements Homework 4 due today Quiz #4 today In class (80min) final exam on April 29 Project reports due
More informationLecture Notes on Linear Regression
Lecture Notes on Lnear Regresson Feng L fl@sdueducn Shandong Unversty, Chna Lnear Regresson Problem In regresson problem, we am at predct a contnuous target value gven an nput feature vector We assume
More informationImplementation and Study of Reversible Binary Comparators
Implementaton and Study of Reversble Bnary Comparators Harth M, C Vasanthanayak Abstract Reversble logc contans a feature of recoverng bt loss from unque nput-output mappng. Usng tradtonal (rreversble)
More informationThe stream cipher MICKEY
The stream cpher MICKEY-128 2.0 Steve Babbage Vodafone Group R&D, Newbury, UK steve.babbage@vodafone.com Matthew Dodd Independent consultant matthew@mdodd.net www.mdodd.net 30 th June 2006 Abstract: We
More informationWeek 5: Neural Networks
Week 5: Neural Networks Instructor: Sergey Levne Neural Networks Summary In the prevous lecture, we saw how we can construct neural networks by extendng logstc regresson. Neural networks consst of multple
More informationELECTRONICS. EE 42/100 Lecture 4: Resistive Networks and Nodal Analysis. Rev B 1/25/2012 (9:49PM) Prof. Ali M. Niknejad
A. M. Nknejad Unversty of Calforna, Berkeley EE 100 / 42 Lecture 4 p. 1/14 EE 42/100 Lecture 4: Resstve Networks and Nodal Analyss ELECTRONICS Rev B 1/25/2012 (9:49PM) Prof. Al M. Nknejad Unversty of Calforna,
More information1 Matrix representations of canonical matrices
1 Matrx representatons of canoncal matrces 2-d rotaton around the orgn: ( ) cos θ sn θ R 0 = sn θ cos θ 3-d rotaton around the x-axs: R x = 1 0 0 0 cos θ sn θ 0 sn θ cos θ 3-d rotaton around the y-axs:
More informationDifference Equations
Dfference Equatons c Jan Vrbk 1 Bascs Suppose a sequence of numbers, say a 0,a 1,a,a 3,... s defned by a certan general relatonshp between, say, three consecutve values of the sequence, e.g. a + +3a +1
More informationMessage modification, neutral bits and boomerangs
Message modfcaton, neutral bts and boomerangs From whch round should we start countng n SHA? Antone Joux DGA and Unversty of Versalles St-Quentn-en-Yvelnes France Jont work wth Thomas Peyrn 1 Dfferental
More informationHw 6 due Thursday, Nov 3, 5pm No lab this week
EE141 Fall 2005 Lecture 18 dders nnouncements Hw 6 due Thursday, Nov 3, 5pm No lab this week Midterm 2 Review: Tue Nov 8, North Gate Hall, Room 105, 6:30-8:30pm Exam: Thu Nov 10, Morgan, Room 101, 6:30-8:00pm
More informationGeneral theory of fuzzy connectedness segmentations: reconciliation of two tracks of FC theory
General theory of fuzzy connectedness segmentatons: reconclaton of two tracks of FC theory Krzysztof Chrs Ceselsk Department of Mathematcs, West Vrgna Unversty and MIPG, Department of Radology, Unversty
More informationHIGH-SPEED MULTI OPERAND ADDITION UTILIZING FLAG BITS VIBHUTI DAVE DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING
HIGH-SPEED MULTI OPERAND ADDITION UTILIZING FLAG BITS BY VIBHUTI DAVE DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING Submtted n partal fulfllment of the requrements for the degree of Doctor of Phlosophy
More informationNote 10. Modeling and Simulation of Dynamic Systems
Lecture Notes of ME 475: Introducton to Mechatroncs Note 0 Modelng and Smulaton of Dynamc Systems Department of Mechancal Engneerng, Unversty Of Saskatchewan, 57 Campus Drve, Saskatoon, SK S7N 5A9, Canada
More informationOne-sided finite-difference approximations suitable for use with Richardson extrapolation
Journal of Computatonal Physcs 219 (2006) 13 20 Short note One-sded fnte-dfference approxmatons sutable for use wth Rchardson extrapolaton Kumar Rahul, S.N. Bhattacharyya * Department of Mechancal Engneerng,
More informationMath1110 (Spring 2009) Prelim 3 - Solutions
Math 1110 (Sprng 2009) Solutons to Prelm 3 (04/21/2009) 1 Queston 1. (16 ponts) Short answer. Math1110 (Sprng 2009) Prelm 3 - Solutons x a 1 (a) (4 ponts) Please evaluate lm, where a and b are postve numbers.
More informationDUE: WEDS FEB 21ST 2018
HOMEWORK # 1: FINITE DIFFERENCES IN ONE DIMENSION DUE: WEDS FEB 21ST 2018 1. Theory Beam bendng s a classcal engneerng analyss. The tradtonal soluton technque makes smplfyng assumptons such as a constant
More informationMidterm Examination. Regression and Forecasting Models
IOMS Department Regresson and Forecastng Models Professor Wllam Greene Phone: 22.998.0876 Offce: KMC 7-90 Home page: people.stern.nyu.edu/wgreene Emal: wgreene@stern.nyu.edu Course web page: people.stern.nyu.edu/wgreene/regresson/outlne.htm
More informationUncertainty in measurements of power and energy on power networks
Uncertanty n measurements of power and energy on power networks E. Manov, N. Kolev Department of Measurement and Instrumentaton, Techncal Unversty Sofa, bul. Klment Ohrdsk No8, bl., 000 Sofa, Bulgara Tel./fax:
More information1 Derivation of Rate Equations from Single-Cell Conductance (Hodgkin-Huxley-like) Equations
Physcs 171/271 -Davd Klenfeld - Fall 2005 (revsed Wnter 2011) 1 Dervaton of Rate Equatons from Sngle-Cell Conductance (Hodgkn-Huxley-lke) Equatons We consder a network of many neurons, each of whch obeys
More informationOutline. Communication. Bellman Ford Algorithm. Bellman Ford Example. Bellman Ford Shortest Path [1]
DYNAMIC SHORTEST PATH SEARCH AND SYNCHRONIZED TASK SWITCHING Jay Wagenpfel, Adran Trachte 2 Outlne Shortest Communcaton Path Searchng Bellmann Ford algorthm Algorthm for dynamc case Modfcatons to our algorthm
More informationDepartment of Electrical & Electronic Engineeing Imperial College London. E4.20 Digital IC Design. Median Filter Project Specification
Desgn Project Specfcaton Medan Flter Department of Electrcal & Electronc Engneeng Imperal College London E4.20 Dgtal IC Desgn Medan Flter Project Specfcaton A medan flter s used to remove nose from a sampled
More informationLecture 7: Boltzmann distribution & Thermodynamics of mixing
Prof. Tbbtt Lecture 7 etworks & Gels Lecture 7: Boltzmann dstrbuton & Thermodynamcs of mxng 1 Suggested readng Prof. Mark W. Tbbtt ETH Zürch 13 März 018 Molecular Drvng Forces Dll and Bromberg: Chapters
More informationBit Juggling. Representing Information. representations. - Some other bits. - Representing information using bits - Number. Chapter
Representng Informaton 1 1 1 1 Bt Jugglng - Representng nformaton usng bts - Number representatons - Some other bts Chapter 3.1-3.3 REMINDER: Problem Set #1 s now posted and s due next Wednesday L3 Encodng
More informationPhysics 5153 Classical Mechanics. D Alembert s Principle and The Lagrangian-1
P. Guterrez Physcs 5153 Classcal Mechancs D Alembert s Prncple and The Lagrangan 1 Introducton The prncple of vrtual work provdes a method of solvng problems of statc equlbrum wthout havng to consder the
More informationWinter 2008 CS567 Stochastic Linear/Integer Programming Guest Lecturer: Xu, Huan
Wnter 2008 CS567 Stochastc Lnear/Integer Programmng Guest Lecturer: Xu, Huan Class 2: More Modelng Examples 1 Capacty Expanson Capacty expanson models optmal choces of the tmng and levels of nvestments
More informationProblem Set 9 Solutions
Desgn and Analyss of Algorthms May 4, 2015 Massachusetts Insttute of Technology 6.046J/18.410J Profs. Erk Demane, Srn Devadas, and Nancy Lynch Problem Set 9 Solutons Problem Set 9 Solutons Ths problem
More informationDepartment of Statistics University of Toronto STA305H1S / 1004 HS Design and Analysis of Experiments Term Test - Winter Solution
Department of Statstcs Unversty of Toronto STA35HS / HS Desgn and Analyss of Experments Term Test - Wnter - Soluton February, Last Name: Frst Name: Student Number: Instructons: Tme: hours. Ads: a non-programmable
More informationLecture 10 Support Vector Machines II
Lecture 10 Support Vector Machnes II 22 February 2016 Taylor B. Arnold Yale Statstcs STAT 365/665 1/28 Notes: Problem 3 s posted and due ths upcomng Frday There was an early bug n the fake-test data; fxed
More information2016 Wiley. Study Session 2: Ethical and Professional Standards Application
6 Wley Study Sesson : Ethcal and Professonal Standards Applcaton LESSON : CORRECTION ANALYSIS Readng 9: Correlaton and Regresson LOS 9a: Calculate and nterpret a sample covarance and a sample correlaton
More informationEcon107 Applied Econometrics Topic 3: Classical Model (Studenmund, Chapter 4)
I. Classcal Assumptons Econ7 Appled Econometrcs Topc 3: Classcal Model (Studenmund, Chapter 4) We have defned OLS and studed some algebrac propertes of OLS. In ths topc we wll study statstcal propertes
More informationMechanics Physics 151
Mechancs Physcs 5 Lecture 0 Canoncal Transformatons (Chapter 9) What We Dd Last Tme Hamlton s Prncple n the Hamltonan formalsm Dervaton was smple δi δ p H(, p, t) = 0 Adonal end-pont constrants δ t ( )
More informationExperience with Automatic Generation Control (AGC) Dynamic Simulation in PSS E
Semens Industry, Inc. Power Technology Issue 113 Experence wth Automatc Generaton Control (AGC) Dynamc Smulaton n PSS E Lu Wang, Ph.D. Staff Software Engneer lu_wang@semens.com Dngguo Chen, Ph.D. Staff
More informationSIO 224. m(r) =(ρ(r),k s (r),µ(r))
SIO 224 1. A bref look at resoluton analyss Here s some background for the Masters and Gubbns resoluton paper. Global Earth models are usually found teratvely by assumng a startng model and fndng small
More informationLab 2e Thermal System Response and Effective Heat Transfer Coefficient
58:080 Expermental Engneerng 1 OBJECTIVE Lab 2e Thermal System Response and Effectve Heat Transfer Coeffcent Warnng: though the experment has educatonal objectves (to learn about bolng heat transfer, etc.),
More informationNumerical Heat and Mass Transfer
Master degree n Mechancal Engneerng Numercal Heat and Mass Transfer 06-Fnte-Dfference Method (One-dmensonal, steady state heat conducton) Fausto Arpno f.arpno@uncas.t Introducton Why we use models and
More information55:041 Electronic Circuits
55:04 Electronc Crcuts Feedback & Stablty Sectons of Chapter 2. Kruger Feedback & Stablty Confguraton of Feedback mplfer Negate feedback β s the feedback transfer functon S o S S o o S S o f S S S S fb
More information9 Derivation of Rate Equations from Single-Cell Conductance (Hodgkin-Huxley-like) Equations
Physcs 171/271 - Chapter 9R -Davd Klenfeld - Fall 2005 9 Dervaton of Rate Equatons from Sngle-Cell Conductance (Hodgkn-Huxley-lke) Equatons We consder a network of many neurons, each of whch obeys a set
More informationCase A. P k = Ni ( 2L i k 1 ) + (# big cells) 10d 2 P k.
THE CELLULAR METHOD In ths lecture, we ntroduce the cellular method as an approach to ncdence geometry theorems lke the Szemeréd-Trotter theorem. The method was ntroduced n the paper Combnatoral complexty
More informationCurve Fitting with the Least Square Method
WIKI Document Number 5 Interpolaton wth Least Squares Curve Fttng wth the Least Square Method Mattheu Bultelle Department of Bo-Engneerng Imperal College, London Context We wsh to model the postve feedback
More informationVLSI Design. [Adapted from Rabaey s Digital Integrated Circuits, 2002, J. Rabaey et al.] ECE 4121 VLSI DEsign.1
VLSI Design Adder Design [Adapted from Rabaey s Digital Integrated Circuits, 2002, J. Rabaey et al.] ECE 4121 VLSI DEsign.1 Major Components of a Computer Processor Devices Control Memory Input Datapath
More informationIntroduction to Information Theory, Data Compression,
Introducton to Informaton Theory, Data Compresson, Codng Mehd Ibm Brahm, Laura Mnkova Aprl 5, 208 Ths s the augmented transcrpt of a lecture gven by Luc Devroye on the 3th of March 208 for a Data Structures
More informationCOMBINATIONAL CIRCUITS
OMINTIONL IRUIT pplcatons Half dder ssumpton : Two one-bt bnary varables and 1 1 1 1 1 1 1 The truth table of the Half dder Parallel dder for -bt varables H Implementaton of the Half dder Least gnfcant
More informationCalculation of time complexity (3%)
Problem 1. (30%) Calculaton of tme complexty (3%) Gven n ctes, usng exhaust search to see every result takes O(n!). Calculaton of tme needed to solve the problem (2%) 40 ctes:40! dfferent tours 40 add
More informationMAE140 - Linear Circuits - Fall 13 Midterm, October 31
Instructons ME140 - Lnear Crcuts - Fall 13 Mdterm, October 31 () Ths exam s open book. You may use whatever wrtten materals you choose, ncludng your class notes and textbook. You may use a hand calculator
More informationSpring Force and Power
Lecture 13 Chapter 9 Sprng Force and Power Yeah, energy s better than orces. What s net? Course webste: http://aculty.uml.edu/andry_danylov/teachng/physcsi IN THIS CHAPTER, you wll learn how to solve problems
More informationInductance Calculation for Conductors of Arbitrary Shape
CRYO/02/028 Aprl 5, 2002 Inductance Calculaton for Conductors of Arbtrary Shape L. Bottura Dstrbuton: Internal Summary In ths note we descrbe a method for the numercal calculaton of nductances among conductors
More informationExercises. 18 Algorithms
18 Algorthms Exercses 0.1. In each of the followng stuatons, ndcate whether f = O(g), or f = Ω(g), or both (n whch case f = Θ(g)). f(n) g(n) (a) n 100 n 200 (b) n 1/2 n 2/3 (c) 100n + log n n + (log n)
More informationChapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems
Numercal Analyss by Dr. Anta Pal Assstant Professor Department of Mathematcs Natonal Insttute of Technology Durgapur Durgapur-713209 emal: anta.bue@gmal.com 1 . Chapter 5 Soluton of System of Lnear Equatons
More informationUsing the Minimum Set of Input Combinations to Minimize the Area of Local Routing Networks in Logic Clusters. FPGAs. Andy Ye Ryerson University
Usng the Mnmum Set of Input Combnatons to Mnmze the Area of Local Routng Networks n Logc Clusters Contanng Logcally Equvalent I/Os n FPGAs Andy Ye Ryerson Unversty Mnmum-area IIBs how to mnmze the area
More informationCollege of Computer & Information Science Fall 2009 Northeastern University 20 October 2009
College of Computer & Informaton Scence Fall 2009 Northeastern Unversty 20 October 2009 CS7880: Algorthmc Power Tools Scrbe: Jan Wen and Laura Poplawsk Lecture Outlne: Prmal-dual schema Network Desgn:
More informationCMPEN 411 VLSI Digital Circuits Spring Lecture 19: Adder Design
CMPEN 411 VLSI Digital Circuits Spring 2011 Lecture 19: Adder Design [Adapted from Rabaey s Digital Integrated Circuits, Second Edition, 2003 J. Rabaey, A. Chandrakasan, B. Nikolic] Sp11 CMPEN 411 L19
More informationSuppose that there s a measured wndow of data fff k () ; :::; ff k g of a sze w, measured dscretely wth varable dscretzaton step. It s convenent to pl
RECURSIVE SPLINE INTERPOLATION METHOD FOR REAL TIME ENGINE CONTROL APPLICATIONS A. Stotsky Volvo Car Corporaton Engne Desgn and Development Dept. 97542, HA1N, SE- 405 31 Gothenburg Sweden. Emal: astotsky@volvocars.com
More informationImplicit Integration Henyey Method
Implct Integraton Henyey Method In realstc stellar evoluton codes nstead of a drect ntegraton usng for example the Runge-Kutta method one employs an teratve mplct technque. Ths s because the structure
More informationLecture 12: Classification
Lecture : Classfcaton g Dscrmnant functons g The optmal Bayes classfer g Quadratc classfers g Eucldean and Mahalanobs metrcs g K Nearest Neghbor Classfers Intellgent Sensor Systems Rcardo Guterrez-Osuna
More informationVariability-Driven Module Selection with Joint Design Time Optimization and Post-Silicon Tuning
Asa and South Pacfc Desgn Automaton Conference 2008 Varablty-Drven Module Selecton wth Jont Desgn Tme Optmzaton and Post-Slcon Tunng Feng Wang, Xaoxa Wu, Yuan Xe The Pennsylvana State Unversty Department
More informationChapter 13: Multiple Regression
Chapter 13: Multple Regresson 13.1 Developng the multple-regresson Model The general model can be descrbed as: It smplfes for two ndependent varables: The sample ft parameter b 0, b 1, and b are used to
More informationANSWERS. Problem 1. and the moment generating function (mgf) by. defined for any real t. Use this to show that E( U) var( U)
Econ 413 Exam 13 H ANSWERS Settet er nndelt 9 deloppgaver, A,B,C, som alle anbefales å telle lkt for å gøre det ltt lettere å stå. Svar er gtt . Unfortunately, there s a prntng error n the hnt of
More informationLecture 6 More on Complete Randomized Block Design (RBD)
Lecture 6 More on Complete Randomzed Block Desgn (RBD) Multple test Multple test The multple comparsons or multple testng problem occurs when one consders a set of statstcal nferences smultaneously. For
More information18.1 Introduction and Recap
CS787: Advanced Algorthms Scrbe: Pryananda Shenoy and Shjn Kong Lecturer: Shuch Chawla Topc: Streamng Algorthmscontnued) Date: 0/26/2007 We contnue talng about streamng algorthms n ths lecture, ncludng
More informationKernel Methods and SVMs Extension
Kernel Methods and SVMs Extenson The purpose of ths document s to revew materal covered n Machne Learnng 1 Supervsed Learnng regardng support vector machnes (SVMs). Ths document also provdes a general
More informationTransfer Functions. Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: ( ) system
Transfer Functons Convenent representaton of a lnear, dynamc model. A transfer functon (TF) relates one nput and one output: x t X s y t system Y s The followng termnology s used: x y nput output forcng
More informationWorkshop: Approximating energies and wave functions Quantum aspects of physical chemistry
Workshop: Approxmatng energes and wave functons Quantum aspects of physcal chemstry http://quantum.bu.edu/pltl/6/6.pdf Last updated Thursday, November 7, 25 7:9:5-5: Copyrght 25 Dan Dll (dan@bu.edu) Department
More informationSingular Value Decomposition: Theory and Applications
Sngular Value Decomposton: Theory and Applcatons Danel Khashab Sprng 2015 Last Update: March 2, 2015 1 Introducton A = UDV where columns of U and V are orthonormal and matrx D s dagonal wth postve real
More informationCompilers. Spring term. Alfonso Ortega: Enrique Alfonseca: Chapter 4: Syntactic analysis
Complers Sprng term Alfonso Ortega: alfonso.ortega@uam.es nrque Alfonseca: enrque.alfonseca@uam.es Chapter : Syntactc analyss. Introducton. Bottom-up Analyss Syntax Analyser Concepts It analyses the context-ndependent
More informationGlobal Optimization of Truss. Structure Design INFORMS J. N. Hooker. Tallys Yunes. Slide 1
Slde 1 Global Optmzaton of Truss Structure Desgn J. N. Hooker Tallys Yunes INFORMS 2010 Truss Structure Desgn Select sze of each bar (possbly zero) to support the load whle mnmzng weght. Bar szes are dscrete.
More informationLecture 6: Introduction to Linear Regression
Lecture 6: Introducton to Lnear Regresson An Manchakul amancha@jhsph.edu 24 Aprl 27 Lnear regresson: man dea Lnear regresson can be used to study an outcome as a lnear functon of a predctor Example: 6
More informationImplementation of Parallel Multiplier Accumulator based on Radix-2 Modified Booth Algorithm Shashi Prabha Singh 1 Uma Sharma 2
IJSRD - Internatonal Journal for Scentfc Research & Development Vol. 3, Issue 05, 2015 ISSN (onlne): 2321-0613 Implementaton of Parallel Multpler Accumulator based on Radx-2 Modfed Booth Algorthm Shash
More informationIntroduction to Vapor/Liquid Equilibrium, part 2. Raoult s Law:
CE304, Sprng 2004 Lecture 4 Introducton to Vapor/Lqud Equlbrum, part 2 Raoult s Law: The smplest model that allows us do VLE calculatons s obtaned when we assume that the vapor phase s an deal gas, and
More information