DOC PREVIEW
MASON ECE 645 - Lecture 5 Parallel Prefix Network Adders

This preview shows page 1-2-3 out of 9 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 9 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 9 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 9 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 9 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

1Parallel Prefix NetworkAddersLecture 5Parallel Prefix Network AddersBasic component - Carry operator (1)B” B’g”p”g’p’g pg = g” + g’p”p = p’p”(g, p) = (g’, p’) ¢ (g”, p”) = (g” + g’p”, p’p”)B2Parallel Prefix Network AddersBasic component - Carry operator (2)B” B’g”p”g’p’g pg = g” + g’p”p = p’p”(g, p) = (g’, p’) ¢ (g”, p”) = (g” + g’p”, p’p”)BProperties of the carry operator ¢AssociativeNot commutative[(g1, p1) ¢ (g2, p2)] ¢ (g3, p3) = (g1, p1) ¢ [(g2, p2) ¢ (g3, p3)] (g1, p1) ¢ (g2, p2) ≠≠≠≠ (g2, p2) ¢ (g1, p1)3Parallel Prefix Network AddersMajor conceptGiven:Find:(g0, p0) (g1, p1) (g2, p2) …. (gk-1, pk-1)(g[0,0], p[0,0]) (g[0,1], p[0,1]) (g[0,2], p[0,2]) … (g[0,k-1], p[0,k-1])ci= g[0,i-1]+ c0p[0,i-1]Parallel Prefix Network AddersSimilar problemParallel Prefix Sum ProblemGiven:Find:Parallel Prefix Adder ProblemGiven:Find:x0x0+x1x0+x1+x2… x0+x1+x2+ …+ xk-1x0x1x2… xk-1x0x0 ¢ x1x0 ¢ x1 ¢ x2… x0 ¢ x1 ¢ x2 ¢ … ¢ xk-1x0x1x2… xk-1where xi= (gi, pi)4Parallel Prefix Sums Network I Parallel Prefix Sums Network I Cost AnalysisCost = C(k) = 2 C(k/2) + k/2 == 2 [2C(k/4) + k/4] + k/2 = 4 C(k/4) + k/2 + k/2 == …. == 2 log k-1C(2) + k/2 (log2k-1) == k/2 log2k2Example:C(16) = 2 C(8) + 8 = 2[2 C(4) + 4] + 8 == 4 C(4) + 16 = 4 [2 C(2) + 2] + 16 == 8 C(2) + 24 = 8 + 24 = 32 = (16/2) log216C(2) = 15Parallel Prefix Sums Network I Delay AnalysisDelay = D(k) = D(k/2) + 1 == [D(k/4) + 1] + 1 = D(k/4) + 1 + 1 == …. == log2kExample:D(16) = D(8) + 1 = [D(4) + 1] + 1 == D(4) + 2 = [D(2) + 1] + 2 == 4 = log216D(2) = 1Parallel Prefix Sums Network II6Parallel Prefix Sums Network II Cost AnalysisCost = C(k) = C(k/2) + k-1 == [C(k/4) + k/2-1] + k-1 = C(k/4) + 3k/2 - 2 == …. == C(2) + (2k - 2k/2(log k-1)) - (log2k-1) == 2k - 2 - log2kExample:C(16) = C(8) + 16-1 = [C(4) + 8-1] + 16-1 == C(2) + 4-1 + 24-2 = 1 + 28 - 3 = 26= 2·16 - 2 - log216C(2) = 12Parallel Prefix Sums Network II Delay AnalysisDelay = D(k) = D(k/2) + 2 == [D(k/4) + 2] + 2 = D(k/4) + 2 + 2 == …. == 2 log2k - 1Example:D(16) = D(8) + 2 = [D(4) + 2] + 2 == D(4) + 4 = [D(2) + 2] + 4 == 7 = 2 log216 - 1D(2) = 17Brent-Kung parallel prefix graph for 16 inputsKogge-Stone parallel prefix graph for 16 inputs8Parallel Prefix Network AddersComparison of architecturesNetwork 1Network 2Brent-KungKogge-StoneCost(k)Delay(k)Cost(16)Delay(16)Cost(32)Delay(32)2 log2k - 22k - 2 - log2klog2klog2kk/2 log2kk log2k - k + 16442632498555780129Latency-Cost Trade-off9A Hybrid Brent-Kung/Kogge-Stone parallel prefix graph for 16


View Full Document

MASON ECE 645 - Lecture 5 Parallel Prefix Network Adders

Documents in this Course
Load more
Download Lecture 5 Parallel Prefix Network Adders
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecture 5 Parallel Prefix Network Adders and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecture 5 Parallel Prefix Network Adders 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?