Lecture 12: Spiral: Domain Specific HLS. Housekeeping

Similar documents
Lecture 12: Spiral: Domain Specific HLS. James C. Hoe Department of ECE Carnegie Mellon University

( m is the length of columns of A ) spanned by the columns of A : . Select those columns of B that contain a pivot; say those are Bi

Exponential Generating Functions - J. T. Butler

Professor Wei Zhu. 1. Sampling from the Normal Population

= y and Normed Linear Spaces

Lecture 9 Multiple Class Models

Learning Bayesian belief networks

The Linear Probability Density Function of Continuous Random Variables in the Real Number Field and Its Existence Proof

XII. Addition of many identical spins

RECAPITULATION & CONDITIONAL PROBABILITY. Number of favourable events n E Total number of elementary events n S

Lecture 10: Condensed matter systems

Fairing of Parametric Quintic Splines

such that for 1 From the definition of the k-fibonacci numbers, the firsts of them are presented in Table 1. Table 1: First k-fibonacci numbers F 1

Kinematics. Redundancy. Task Redundancy. Operational Coordinates. Generalized Coordinates. m task. Manipulator. Operational point

Minimizing spherical aberrations Exploiting the existence of conjugate points in spherical lenses

Question 1. Typical Cellular System. Some geometry TELE4353. About cellular system. About cellular system (2)

Trace of Positive Integer Power of Adjacency Matrix

Transforms that are commonly used are separable

Non-axial symmetric loading on axial symmetric. Final Report of AFEM

University of Pavia, Pavia, Italy. North Andover MA 01845, USA

Minimum Hyper-Wiener Index of Molecular Graph and Some Results on Szeged Related Index

Harmonic Curvatures in Lorentzian Space

Atomic units The atomic units have been chosen such that the fundamental electron properties are all equal to one atomic unit.

Machine Learning. Spectral Clustering. Lecture 23, April 14, Reading: Eric Xing 1

Lecture 6: October 16, 2017

Application Of Alternating Group Explicit Method For Parabolic Equations

χ be any function of X and Y then

Motion and Flow II. Structure from Motion. Passive Navigation and Structure from Motion. rot

Iterative Algorithm for a Split Equilibrium Problem and Fixed Problem for Finite Asymptotically Nonexpansive Mappings in Hilbert Space

FUZZY MULTINOMIAL CONTROL CHART WITH VARIABLE SAMPLE SIZE

Phys 2310 Fri. Oct. 23, 2017 Today s Topics. Begin Chapter 6: More on Geometric Optics Reading for Next Time

By the end of this section you will be able to prove the Chinese Remainder Theorem apply this theorem to solve simultaneous linear congruences

are positive, and the pair A, B is controllable. The uncertainty in is introduced to model control failures.

1 Onto functions and bijections Applications to Counting

This lecture and the next. Why Sorting? Sorting Algorithms so far. Why Sorting? (2) Selection Sort. Heap Sort. Heapsort

Progression. CATsyllabus.com. CATsyllabus.com. Sequence & Series. Arithmetic Progression (A.P.) n th term of an A.P.

KEY. Math 334 Midterm II Fall 2007 section 004 Instructor: Scott Glasgow

Objectives. Learning Outcome. 7.1 Centre of Gravity (C.G.) 7. Statics. Determine the C.G of a lamina (Experimental method)

On EPr Bimatrices II. ON EP BIMATRICES A1 A Hence x. is said to be EP if it satisfies the condition ABx

Midterm Exam 1, section 1 (Solution) Thursday, February hour, 15 minutes

An Algorithm of a Longest of Runs Test for Very Long. Sequences of Bernoulli Trials

FIBONACCI-LIKE SEQUENCE ASSOCIATED WITH K-PELL, K-PELL-LUCAS AND MODIFIED K-PELL SEQUENCES

VECTOR MECHANICS FOR ENGINEERS: Vector Mechanics for Engineers: Dynamics. In the current chapter, you will study the motion of systems of particles.

Supplementary materials. Suzuki reaction: mechanistic multiplicity versus exclusive homogeneous or exclusive heterogeneous catalysis

Hyper-wiener index of gear fan and gear wheel related graph

Stability Analysis for Linear Time-Delay Systems. Described by Fractional Parameterized. Models Possessing Multiple Internal. Constant Discrete Delays

Correspondence Analysis & Related Methods

Suppose we have observed values t 1, t 2, t n of a random variable T.

EVALUATION OF SUMS INVOLVING GAUSSIAN q-binomial COEFFICIENTS WITH RATIONAL WEIGHT FUNCTIONS

ˆ SSE SSE q SST R SST R q R R q R R q

Consumer theory. A. The preference ordering B. The feasible set C. The consumption decision. A. The preference ordering. Consumption bundle

The Geometric Proof of the Hecke Conjecture

Counting Functions and Subsets

An Unconstrained Q - G Programming Problem and its Application

A. Thicknesses and Densities

Quasi-Rational Canonical Forms of a Matrix over a Number Field

Finite q-identities related to well-known theorems of Euler and Gauss. Johann Cigler

Johns Hopkins University Department of Biostatistics Math Review for Introductory Courses

Conditional Convergence of Infinite Products

Summary of the lecture in Biostatistics

Learning the structure of Bayesian belief networks

The calculation of the characteristic and non-characteristic harmonic current of the rectifying system

Detection and Estimation Theory

X,x, Matrix, the j th column of X,the i, j

The Discrete Fourier Transform

Solving Constrained Flow-Shop Scheduling. Problems with Three Machines

Randomly Weighted Averages on Order Statistics

Lecture 11: Introduction to nonlinear optics I.

Conflict Exam Issue. Sorry, Can t do it. Please see Kevin Pitts if you have any additional questions or concerns about this. Office is 231 Loomis

Taylor Transformations into G 2

Unsupervised Learning and Other Neural Networks

A DATA DRIVEN PARAMETER ESTIMATION FOR THE THREE- PARAMETER WEIBULL POPULATION FROM CENSORED SAMPLES

C-1: Aerodynamics of Airfoils 1 C-2: Aerodynamics of Airfoils 2 C-3: Panel Methods C-4: Thin Airfoil Theory

Using Counting Techniques to Determine Probabilities

Estimation of Stress- Strength Reliability model using finite mixture of exponential distributions

Lecture 7. Confidence Intervals and Hypothesis Tests in the Simple CLR Model

Chapter Fifiteen. Surfaces Revisited

Prof. Neil Gershenfeld Director. NSF CCR

CISC 203: Discrete Mathematics for Computing II Lecture 2, Winter 2019 Page 9

Assignment 5/MATH 247/Winter Due: Friday, February 19 in class (!) (answers will be posted right after class)

a) The average (mean) of the two fractions is halfway between them: b) The answer is yes. Assume without loss of generality that p < r.

Lecture 8 - Gauss s Law

Johns Hopkins University Department of Biostatistics Math Review for Introductory Courses

X X X E[ ] E X E X. is the ()m n where the ( i,)th. j element is the mean of the ( i,)th., then

CLUJ AND RELATED POLYNOMIALS IN BIPARTITE HYPERCUBE HYPERTUBES

Recent Advances in Computers, Communications, Applied Social Science and Mathematics

12.6 Sequential LMMSE Estimation

Feature Selection: Part 2. 1 Greedy Algorithms (continued from the last lecture)

Statistics: Unlocking the Power of Data Lock 5

means the first term, a2 means the term, etc. Infinite Sequences: follow the same pattern forever.

The Exponentiated Lomax Distribution: Different Estimation Methods

MATH Midterm Solutions

CE 561 Lecture Notes. Optimal Timing of Investment. Set 3. Case A- C is const. cost in 1 st yr, benefits start at the end of 1 st yr

VIII Dynamics of Systems of Particles

LESSON 15: COMPOUND INTEREST

L5 Polynomial / Spline Curves

I. INTRODUCTION. against the existing

On a Problem of Littlewood

EECE 301 Signals & Systems

THE ANALYTIC LARGE SIEVE

Transcription:

8 643 ectue : Spal: Doma Specfc HS James C. Hoe Depatmet of ECE Caege Mello Uvesty 8 643 F7 S, James C. Hoe, CMU/ECE/CACM, 7 Houseeepg You goal today: see a eample of eally hghlevel sythess (ths lectue ot o Mdtem) Notces Hadout #4: lab, due oo, /6 Hadout #5: lab 3, due oo, /.5 wees to poject poposal.5 wee to mdtem Readgs sm Mlde, et al., Compute Geeato of Hadwae fo ea Dgtal Sgal Pocessg Tasfoms, TODAES, Apl. 8 643 F7 S, James C. Hoe, CMU/ECE/CACM, 7

Coflct btw Hgh evel ad Geealty 8 643 F7 S3, James C. Hoe, CMU/ECE/CACM, 7 hgh level: tool ows bette tha you HS: tool decdes what you ca say ad what you mea RT sythess: geeal pupose but specal hadlg of stuctues le FSM, ath, etc. place ad oute: wos the same o matte what desg Spal ge: how hgh ca you go? 8 643 F7 S4, James C. Hoe, CMU/ECE/CACM, 7 http://www.spal.et/hadwae/dftge.html

Desg Space ad Qualty of Result 49 slces 3 thoughput 8 643 F7 S5, James C. Hoe, CMU/ECE/CACM, 7 [Mlde, et al., ] SPRA Famewo wat a of sze 4 SPRA automato stats hee whee most tools beg automatg the poblem 8 643 F7 S6, James C. Hoe, CMU/ECE/CACM, 7 Pcple : Doma owledge the system Pcple : Optmzato at a hgh level of abstacto

Vey Hgh evel Descpto 8 643 F7 S7, James C. Hoe, CMU/ECE/CACM, 7 ea Tasfoms ea tasfom s a mat vecto multplcato computg by defto taes O(N ) opeatos the mat has stuctue E.g. dscete Foue tasfom: y = N y y. y j.. y N- = j.. N- e.. N- j N.... N- e -/8 8 643 F7 S8, James C. Hoe, CMU/ECE/CACM, 7 e.g., 8 th oots of ut

8 643 F7 S9, James C. Hoe, CMU/ECE/CACM, 7 Fast Algothms Fast algothm factos the mat to a sequece of stuctued, spase matces cheape spase multples O(N log(n)) opeatos E.g. Cooley Tuey Factozato of 4 Mat fomula epesetato 4 4 4 D 8 643 F7 S, James C. Hoe, CMU/ECE/CACM, 7 Factozato Rules E.g. Cooley Tuey s D s a dagoal mat of twddle factos s a stde pemutato mat AB=[a j, B] s the teso (o oece) poduct m m m m m D A a,a,a, a, a,a, a,a,a, a,a,a, B BB B e.g., B

Fast Foue Tasfom Algothms Recusvely factoze by Cooley Tuey ule utl oly leaf cases ema (e.g. fo ad ) 8 8 8 4 D 4 8 4 D D Epoetal umbe of alteatves Each uletee coespods a dffeet algothm All cost O(N log(n)) 8 643 F7 S, James C. Hoe, CMU/ECE/CACM, 7 4 8 4 4 8 8 4 Descbg a Desg Space vs a Pot ( ) DCT dag, / F ( ) DCT P / / / 8 643 F7 S, James C. Hoe, CMU/ECE/CACM, 7 ( ) ( V ) DCT DCT F Q ( V ) ( ) DCT S DCT D ( V ) DCT M M ( ) ( ) B ( DCT DST ) C F ( h) ( / d d ) ( / d Fd ( h)) ( h) Cc ( h ) E F DWT m D P / m / ( W ) ( DWT / ( W ) / ) P ( / W ) E t WHT ( WHT ) m Doe oce pe tasfom by a epet ad the tool becomes the epet

Vey Hgh evel Sythess 8 643 F7 S3, James C. Hoe, CMU/ECE/CACM, 7 Fomula to HW Gve whee s: apply, the apply, tmes paallel s a pemutato pemute s a dagoal scale B A A A 7 8 4 8 643 F7 S4, James C. Hoe, CMU/ECE/CACM, 7

8 Eample 8 643 F7 S5, James C. Hoe, CMU/ECE/CACM, 7 8 4 D D 4 8 8 4 (fomula s appled fom ght to left) Pease 8 Eample stage stage stage 3 8 643 F7 S6, James C. Hoe, CMU/ECE/CACM, 7

How about good HW? Fomulas map atually to combatoal dataflow, but ths s ethe good o ealstc What f wat 6K? Sequetal datapath to euse avalable HW detfy epeated eels statate eels ude esouce costats schedule computato to euse statated eels Do ths at fomula level wth math level owledge 8 643 F7 S7, James C. Hoe, CMU/ECE/CACM, 7 Teso as Steamg Ppele fully paallel 8 643 F7 S8, James C. Hoe, CMU/ECE/CACM, 7 fully steamed patally steamed e data paallel loops we see egula HS

Pease 8 stage stage stage 3 8 643 F7 S9, James C. Hoe, CMU/ECE/CACM, 7 Steamg Pease 8 f( 8 4) ) f( 8 4) ) f( 8 4) ) f(r f( 8 ) ) f( 8 4) ) f( 8 4) ) f( 8 4) ) f(r f( 8 ) ) stage stage stage 3 8 643 F7 S, James C. Hoe, CMU/ECE/CACM, 7

teatve Reuse h h o euse 8 643 F7 S, James C. Hoe, CMU/ECE/CACM, 7 teatvely euse patally teatve euse e data depedet loops we see egula HS teatve Pease 8,4,..., cost ; latecy Fe-gaed cotol ove cost/latecy tadeoff 8 643 F7 S, James C. Hoe, CMU/ECE/CACM, 7

8 643 F7 S3, James C. Hoe, CMU/ECE/CACM, 7 pagmas Rewte Rules fo Steamg ad Reuse 8 643 F7 S4, James C. Hoe, CMU/ECE/CACM, 7 Applcablty to othe tasfoms ad ad D WHT DCT (type ) H P A DP T R / T R / WHT

Towad Vey Hgh evel Ps 8 643 F7 S5, James C. Hoe, CMU/ECE/CACM, 7 s ge Easy to Use? 8 643 F7 S6, James C. Hoe, CMU/ECE/CACM, 7 http://www.spal.et/hadwae/dftge.html

Easy to Use fo Whom? Poweful? Vey! Easy to use? Not Really.... low level cyptc doma specfc paametes complety of tegatg, usg, tug ad valdatg a statated P wth a eclosg cotet f you wet to ge ght ow whch cofguato would you as fo fst? f ot good eough, how to get a bette oe..... do you ow what good eough s..... 8 643 F7 S7, James C. Hoe, CMU/ECE/CACM, 7 Dffeet Kds of Epets P Authos P Uses Applcato Developes Assemble, cofgue ad tegate multple Ps to buld lage chps Doma Epets Kow the udelyg algothms ad theoy specfc to the doma Hadwae Epets Ca buld HW based o a set of specs o SW mplemetato 8 643 F7 S8, James C. Hoe, CMU/ECE/CACM, 7

Mae geeato the P Why lmt to stuctual vew of desg Why ot offe also.... pe owledge about outcome & tadeoff of paamete combatos P specfc meagful paametezatos, that s, as how fast? stead of how may? pefomace self moto, teface potocol chece ay X whee P authos ca do bette tha P uses Shft budes fom P uses to P authos mae owledge ad epetse eusable 8 643 F7 S9, James C. Hoe, CMU/ECE/CACM, 7 Patg Thoughts Ecapsulatg doma owledge a doma specfc tool fo tuly hgh level desg automato Why s Spal DSP so good? As: t oly does lea DSP tasfoms (fotuately FFT s petty mpotat) vey well udestood mathematcs hghly stuctued, hghly egula computato eumeable desg space Udelyg appoach/famewo s geealzable!! 8 643 F7 S3, James C. Hoe, CMU/ECE/CACM, 7