9 Pages

MidtermSpring2010

Course: EEL 4930, Spring 2012
School: University of Florida
Rating:
 
 
 
 
 

Word Count: 1174

Document Preview

4930/5934 EEL Reconfigurable Computing Midterm Exam Spring Semester 2010 18 pts. Name ___________________________________ 1. Systolic Architecture (a) Given the following algorithm in pseudo-code, draw a datapath that is fully-pipelined and with the maximum loop-unrolling. for (i=1; i < 10000; i++) { z[i] = avg(a[i-1] + a[i] + a[i+1]); } Assume the memory bandwidth is 64 bits and data items are 16 bits....

Register Now

Unformatted Document Excerpt

Coursehero >> Florida >> University of Florida >> EEL 4930

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
4930/5934 EEL Reconfigurable Computing Midterm Exam Spring Semester 2010 18 pts. Name ___________________________________ 1. Systolic Architecture (a) Given the following algorithm in pseudo-code, draw a datapath that is fully-pipelined and with the maximum loop-unrolling. for (i=1; i < 10000; i++) { z[i] = avg(a[i-1] + a[i] + a[i+1]); } Assume the memory bandwidth is 64 bits and data items are 16 bits. (b) Calculate the speedup of the above circuit (assuming the FPGA clock rate of 200 MHz) as compared to the corresponding software executing on a microprocessor (assume 15 instructions for each iteration, a CPI of 2, and clock frequency of 3 GHz). (c) Using the same assumptions as above except the memory bandwidth is increased to 128 bits, calculate the speedup of the resulting circuit (using the maximum amount of loop unrolling) as compared to the corresponding software executing on a microprocessor. 1 EEL 4930/5934 Reconfigurable Computing Midterm Exam Spring Semester 2010 16 pts. Name ___________________________________ 2. Smart Buffer This problem makes use of the algorithm (pseudo code) and the systolic architecture of Problem 1, but with the following design and assumptions. addr 6 5 p15 4 p11 3 2 p7 1 p3 0 xx Smart Buffer Input BRAM etc. etc. p16 p17 p12 p13 p8 p9 p4 p5 xx p1 32 Assumptions: p18 p14 p10 p6 p2 Memory bandwidth is 32 bits. Data item are 8 bits. However, we want the bandwidth into the datapath to be 48 bits. For that reason, a smart buffer is used. This smart buffer is similar to the one explained in class. The difference is that this smart buffer only uses 6 bytes (instead of the 8-byte one in class). 48 Datapath (a) Specify the contents of the smart buffer after each of the following clock cycle. after clock cycle 1 after clock cycle 2 after clock cycle 3 after clock cycle 4 (b) Briefly describe what happens at each clock cycle. Keep the algorithm as uniform as possible. Cycle 1: Cycle 2: Cycle 3: Cycle 4: 2 EEL 4930/5934 Reconfigurable Computing Midterm Exam Spring Semester 2010 16 pts. Name ___________________________________ 3. Memory Map and Glue Logic Code Given below is a block diagram of a DIMEtalk memory map node and how it is interfaced to the Glue Logic similar to that of Lab 3. (To/From addr[31..0] (To/From go TopLevel reset en PCIX bus) VHDL dt_clk Memory Glue done wen module) Map node Logic data_in data_in[31..0] result[31..0] data_out data_out[31..0] dt clk Given below is the part of the C program relevant to the writing of the "go" signal and the reading of the "done" and "result" signals. Note for both FPGA_read and FPGA_write, the parameter list is (data, wordcount, address, node, timeout). go = 1; done = 0; FPGA_write(&go,1,2,MemMap,1000); while(done != 1) { FPGA_read(&done,1,3, MemMap,1000); } FPGA_read(&result,1,5,MemMap,1000) (a) Complete the following VHDL code (a part of the Glue Logic module) that handles the "go" , "done", and "result" signals. Assume that the PORT statement has been defined and use the signal names shown in the block diagram above. ARCHITECTURE Behavioral OF GlueLogic IS SIGNAL BEGIN PROCESS( BEGIN IF ) END IF; END PROCESS; END Behavioral; 3 EEL 4930/5934 Reconfigurable Computing Midterm Exam Spring Semester 2010 16 pts. Name ___________________________________ 4. Glue Logic Circuit Diagram Based on the glue logic code you gave in Problem 3, draw the circuit diagram that corresponds to the VHDL code. You can use components such as flipflops, registers, mux's, comparators, and any gates. Flip-flop D EN Q 32-bit register D[31..0] EN Z[31..0] 2-to-1 MUX D Z EN sel 32-bit comparator Addr[31..0] Z Value [31..0] True or False Glue Logic component addr[31..0] en wen done result[31..0] data_in[31..0] go data_out[31..0] dtclk (assume connected to all necessary components) 4 EEL 4930/5934 Reconfigurable Computing Midterm Exam Spring Semester 2010 18 pts. Name ___________________________________ 5. Analysis of VHDL code Sometimes to debug the VHDL code of a controller, it is necessary to reverse-engineer the code to determine its timing behavior and the corresponding ASM chart. Given below is the VHDL code below of a controller. On the next page, (a) determine its timing behavior and (b) construct the corresponding ASM chart. ENTITY Contr IS PORT ( Clock, Resetn, Go : IN STD_LOGIC ; EnY, EnZ : OUT STD_LOGIC ) ; END Contr; ARCHITECTURE ASMArch OFContr IS SIGNAL state : STD_LOGIC_VECTOR (1 DOWNTO 0) ; BEGIN PROCESS (Resetn, Clock) BEGIN IF Resetn = '0' THEN state <= "10"; ELSIF (Clock'EVENT AND Clock = `1') THEN CASE state IS WHEN "00" => IF Go = `0' THEN state <= "00"; ELSE state <= "10"; END IF; WHEN "01" => state <= WHEN "10"; "10" => IF Go = `0' THEN state <= "00"; ELSE state <= "01"; END IF; WHEN OTHERS => state <= "10"; END CASE ; END IF ; END PROCESS ; PROCESS (state, Go) BEGIN EnY <= `0'; EnZ <= `0'; CASE state IS WHEN "00" => WHEN "01" => EnY <= `1'; WHEN "10" => EnZ <= `1'; IF Go = `0' THEN EnY <= `1'; END IF; WHEN OTHERS => END CASE ; END PROCESS ; END ASMArch ; 5 EEL 4930/5934 Reconfigurable Computing Midterm Exam Spring Semester 2010 Name ___________________________________ (a) Based on the VHDL code from the previous page complete the following timing diagram for state, Eny, and EnZ.. 20 pts. Clock state Resetn Go EnY EnZ (a) (b) Based on the VHDL code from the previous page, complete the corresponding ASM chart using state boxes, conditional outputs, etc. State 00 00 10 6 EEL 4930/5934 Reconfigurable Computing Midterm Exam Spring Semester 2010 16 pts. Name ___________________________________ 6. FPGA configuration block details. Specify the portion of the bit stream (A through I) required to program a Virtex slice to implement the logic circuits specified in following VHDL statements: Y <= (G4 AND G3) OR ((NOT G2) AND G1); IF (CLK'EVENT AND CLK ='1') THEN XQ <= (F3 AND F2) + (NOT F1); IMPORTANT NOTE: For "don't care" values, be sure to use `X' instead of `0' or `1'. ..... rest of bit stream A B C D E F G H I ..... ... 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ] LUT1 [ 0 1 ... LUT2 [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ] ... ... rest of bit stream ... B D E G4 G3 G2 G1 LUT1 A C Y H I F4 F3 F2 F1 XQ G LUT2 F 0 Definition of MUXs 1 S 00 01 10 M N G4 G3 G2 G1 Y 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 F4 F3 F2 F1 XQ 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 7 EEL 4930/5934 Reconfigurable Computing Midterm Exam Spring Semester 2010 ENTITY _entity_name IS PORT(__input_name, __input_name __input_vector_name __bidir_name, __bidir_name __output_name, __output_name END __entity_name; ARCHITECTURE a OF __entity_name IS SIGNAL __signal_name : STD_LOGIC; SIGNAL __signal_name : STD_LOGIC; BEGIN -- Process Statement -- Concurrent Signal Assignment -- Conditional Signal Assignment -- Selected Signal Assignment -- Component Instantiation Statement END a; Name ___________________________________ : IN STD_LOGIC; : IN STD_LOGIC_VECTOR(__high downto __low); : INOUT STD_LOGIC; : OUT STD_LOGIC); __instance_name: __component_name PORT MAP (__component_port => __connect_port, __component_port => __connect_port); WITH __expression SELECT __signal <= __expression WHEN __constant_value, __expression WHEN __constant_value, __expression WHEN __constant_value, __expression WHEN __constant_value; __signal <= __expression WHEN __boolean_expression ELSE __expression WHEN __boolean_expression ELSE __expression; IF __expression THEN __statement; __statement; ELSIF __expression THEN __statement; __statement; ELSE __statement; __statement; END IF; CASE __expression IS WHEN __constant_value => __statement; __statement; WHEN __constant_value => __statement; __statement; WHEN OTHERS => __statement; __statement; END CASE; WAIT UNTIL __expression; <generate_label>: FOR <loop_id> IN <range> GENERATE -- Concurrent Statement(s) END GENERATE; 8 EEL 4930/5934 Reconfigurable Computing Midterm Exam Spring Semester 2010 Name ___________________________________ IMPORTANT: Please be neat and write (or draw) carefully. If we cannot read it with a reasonable effort, it is assumed wrong. As always, the best answer gets the most points. SUMMARY SHEET: Problem: 1 (18 pts) 2 (16 pts) 3 (16 pts) 4 (16 pts) 5 (18 pts) 6. (16 pts) Points: Total Re-Grade Information: _______________________________________________________________________ _______________________________________________________________________ _______________________________________________________________________ _______________________________________________________________________ _______________________________________________________________________ _______________________________________________________________________ _______________________________________________________________________ _______________________________________________________________________ _______________________________________________________________________ _______________________________________________________________________ _______________________________________________________________________ _______________________________________________________________________ 9
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

University of Florida - EEL - 4930
University of Florida - EEL - 4930
EEL 4930/5934 Reconfigurable Computing Midterm Exam Spring Semester 2011 1. Scalable Systolic Array paper The figure on the right is reproduced 14 pts. from the Scalable Systolic Array paper. It shows a scoring matrix for the Needleman-Wunsch algorithm in
University of Florida - EEL - 4930
University of Florida - EEL - 4930
University of Florida - EEL - 4930
Numerical Representation and AnalysisFor RC App DesignsNumerical RepresentationsOrder of preference1.Integer Fixedpoint FP Floatingpoint (singleprecision) FP Floatingpoint (doubleprecision)2.3.4.Integer representationAdvantages: o.Very efficie
University of Florida - EEL - 4930
EEL 4930/5935: Reconfigurable Computing Term ProjectProject team: 2 students per team; exceptions must be approved by me Due dates: Project proposal: Thursday 3/15/2012 on eLearning Project progress review: Week of 4/2 4/6; PowerPoint presentation on the
University of Florida - EEL - 4930
Project requirements and grading PowerPoint presentation and Demonstration (30 mins) Report for each team (up to 10 pages plus appendices, references, etc.) Grading: 25% of final course grade I expect each member of the group to contribute equally to th
University of Florida - EEL - 4930
Project Grading Project title:Team members:Grading factors: Complexity of the projectDesign: Amount of wide parallelism? Amount of pipeline parallelism? Elegant? Innovative?Demonstration, does it work? Simulation?On delta?Speedup Computation only Da
University of Florida - EEL - 4930
Reconfigurable Supercomputing with Scalable Systolic Arrays and In-Stream Control for Wavefront Genomics ProcessingC. Pascoe, A. Lawande, H. Lam, A. GeorgeNSF Center for High-Performance Reconfigurable Computing (CHREC) University of FloridaY. Sun, W.
Pittsburgh - PSY - 160
Pittsburgh - PSY - 160
Pittsburgh - PSY - 160
Pittsburgh - PSY - 160
Pittsburgh - PSY - 160
Pittsburgh - PSY - 160
Pittsburgh - PSY - 160
Pittsburgh - PSY - 160
Pittsburgh - PSY - 160
Pittsburgh - PSY - 160
Pittsburgh - PSY - 160
GWU - PSC - 2480
Gregory ArnoldPSC 2478-103/26/2012Question #1By the end of the Second World War, the old imperial order in the Middle East hadcollapsed, as the traditional powers, Britain and France, were forced to relinquish their controlover their mandates in the
Harvard - SOC - 183
From Evernote:Notes on prejudice in politicsOne of the major goals of this work is to bring interests back in to the discussion of the nature of prejudice, and in particular to the discussion of how prejudice impacts politics. So much of the literature
Harvard - SOC - 183
Soc 183 Session 4 Residen/al Segrega/on and the Urban Underclass Debate Agenda Follow up on models of intergroup rela/ons from last week: The Post-Black Condi/on. The Crea/on of the GheIo and Racial Residen/al Segrega/on. The Underclass Debates Won't
Harvard - SOC - 183
Sociology 183 Session 10 Social Policy and Ethno-Racial Divisions Dr. Seth D. HannahIs American Politics (d)emocratic?A democratic politics should equally represent different constituencies. Policy questions should be decided on their merits, not on the
Harvard - SOC - 183
Soc 183 Session 9 A Comparative Perspective: Race in Latin AmericaTake Away Points for TellesRace is constructed differently in the U.S. and Brazil. There is a greater history of interracial mixing between people of African and European and indigenous a
Harvard - SOC - 183
Session 2: On the Meaning of RaceAgenda 1. 2. 3. 4. 5. 6. 7. 8. Introductions Sectioning Discussion Leading Short Introductory Lecture What is Race? Biology and Race The Enduring Power of Race The Readings Snipp, Feldman, Morning, Koenig, Wimmer, Brubake
Harvard - SOC - 183
SOCIOLOGY 183 RACE AND ETHNIC RELATIONS Dr. Seth D. HannahRecurrent themes and Points of Emphasis1. 2.The U.S. in the contemporary era Pivot off of black-white relations but never our only concern Heterogeneity and diversity within the black populatio
Harvard - SOC - 183
Adapted from Seth Donal Hannah. 2011. Clinical Care in Environments of Hyperdiversity: Race, Culture, and Ethnicity in a Post-Pentad World. Ph.D. Dissertation, Department of Sociology, Harvard University. Not for citation or distribution without permissio
Harvard - SOC - 183
SOCIOLOGY 183 Race and Ethnic Relations Session 2: On the Meaning of Race Dr. Seth D. HannahWhat is Race?How should we define it? How should we think about it? How does it differ from or relate to other concepts like ethnicity? American Sociological Ass
Harvard - SOC - 183
Sociology 183Session 3: The U.S. Pattern of Ethno-Racial DivisionsMonday, September 19, 11AgendaSectioning Response Papers Introductory Remarks Discussion of ReadingsMonday, September 19, 11Required ReadingsAlba Fredrickson Lewis NashMonday, Septe
Harvard - SOC - 183
SOCIOLOGY 183 Race and Ethnic Relations Session 3: The U.S. Pattern of Ethno-Racial Divisions Dr. Seth D. HannahCompeting Major Sociological ModelsEthnicity, Cultural Difference, and Assimilation Race, Racial Domination, and AntiAmalgamationism (see Hol
Harvard - SOC - 183
SOCIOLOGY 183 Race and Ethnic Relations Session 4: Residential Segregation: A Key to Black-White Inequality Dr. Seth D. HannahAGENDAThe Increasing Importance of Class The Persisting Importance of Racial Segregation Inequality and Wealth Matters Today Dy
Harvard - SOC - 183
SOCIOLOGY 183 Race and Ethnic Relations Session 5: Racialized Mass Incarceration Dr. Seth D. HannahTulia, Texas Tragedy: The War on Drugs Exposed In 1999 Tom Coleman launches undercover sting operation 46 Arrests (39 Convictions) Named Texas lawman of t
Harvard - SOC - 183
SOCIOLOGY 183 Race and Ethnic Relations Session 6: Immigration Policy: The Mexican American Experience Dr. Seth D. HannahReturn to an Old Debate Assimilation vs. Racialization Triumph of Liberalism vs. Tragic FlawClassical Assimilation Theory Straight
Harvard - SOC - 183
SOCIOLOGY 183 Race and Ethnic Relations Session 7: Foreignness and Change The Asian American Experience Dr. Seth D. HannahSignificant Laws, Treaties, and Court Cases Affecting Asian AmericansSignificant Laws, Treaties, and Court Cases Affecting Asian Am
Harvard - SOC - 183
SOCIOLOGY 183 Race and Ethnic Relations Session 8: Prejudice in Socio-Political Life: SocioOn Native American RightsRace Problem as Moral Dilemma Clash of the American Creed of equality and individual rights vs Actual practice of prejudice and discrimin
Harvard - SOC - 183
SOC 183 Race and Ethnic Relations Session 9: A Comparative Perspective: Race in Latin America Dr. Seth D. HannahAgendaKey Questions Where is the Racial Divide In the U.S. today? Telles's &quot;Race in Another America&quot;Alternative Ways of Constructing Racial
Harvard - SOC - 183
Social Policy and EthnoEthnoRacial Inequality Ineq alitAlicia D. Simmons simmonsa@wjh.harvard.edu April 19, 2010Game Plan Group representation in American politics ReparationsWhen Affirmative Action Was WhiteInequality &amp; Democratic Responsiveness (
Harvard - SOC - 183
SOCIOLOGY 183 Race and Ethnic Relations Session 11 The Future of the Color Line Dr. Seth D. HannahAssimilation Patterns Straightline Assimilation: &quot;acculturation and assimilation are viewed as secular trends that culminate in the eventual absorption of
Harvard - MATH - 20
Object 1skip to main | skip to sidebarBlog ArchiveOlder Post 2006 (5) July (1) Saturday, July 01, 2006 The Dot Product and Cosine The Dot Product and Cosine June (4) Interesting The Dot Next, we'll show thatProduct product of two vectors is the produc
Harvard - MATH - 20
Answers to even-numbered problems in Mathematics for Economic AnalysisKnut Sydster Peter HammondPrefaceMathematics for Economic Analysis, Prentice Hall, 1995 has been out for a long time, and over the years we have had many request for supplying soluti
Harvard - MATH - 20
Harvard University, Math 20 Fall 2011, Instructor: Rachel Epstein1Review for Final ExamYou should review all the material for the midterms, as well as the following new material below. 1. Optimization without constraints (Chapter 17.4-9): (a) Know what
Harvard - MATH - 20
Math 20 Final Exam ReviewCarolyn Stein Exam Date: December 13, 2011Unconstrained OptimizationFinding Stationary PointsTo find the stationary points or critical points, set fx = 0, fy = 0 and find all x, y that satisfy the system of equations. A statio
Harvard - MATH - 20
Key Terms: KNOW THESE INSIDE AND OUT! Leontief Definition (p.378), Examples (Leontief worksheet, 12.1 #1,4)Linear Combination Definition (p.381), Example (12.2 #8)RREF/REF Bretscher supplement online look at examplesDot Product Definition (p.389), Exam
Harvard - MATH - 20
Name:Math 20 Fall 2010 Final Exam1(1) (10 points) For a system of linear equations in 2 variables x and y, how many solutions could it have? For each case, give an example of a system of linear equations in two variables with that many solutions.2(2)
Harvard - MATH - 20
Harvard University, Math 20 Fall 2011, Instructor: Rachel Epstein1Notes on Vector Spaces, Bases, and DimensionDefinition 0.1. A vector space is a set of vectors V Rn that satisfies the following properties: 1. If v, w are in V , then v + w is in V . 2.
Harvard - MATH - 20
Harvard University, Math 20 Fall 2011, Instructor: Rachel Epstein1Practice &amp; Review of Single Variable CalculusFall, 2011We are about to begin our study of multi-variable calculus. Here are some single-variable calculus topics and exercises for you to
Harvard - MATH - 20
Harvard University, Math 20 Fall 2011, Instructor: Rachel Epstein1Lines and PlanesSeptember 16, 2011Find the following line and planes, using either parametric form or an equation. Let P = (1, 2, 3, 4), Q = (2, 3, 4, 4), and R = (0, 0, 2, 0). 1. Find
Harvard - MATH - 20
Harvard University, Math 20 Fall 2010, Instructor: Rachel Epstein1Review sheet 21. Vector spaces, bases, and dimension (from supplement) (a) Know the definitions of vector space, basis, and dimension. Be able to identify when something is or is not a v
Harvard - MATH - 20
Math 20 Midterm 2 ReviewCarolyn Stein Exam Date: November 9, 2011Eigenvectors and EigenvaluesWhat are Eigenvectors and Eigenvalues?&quot;Eigen&quot; is German for &quot;own&quot; or &quot;characteristic&quot; If A~ = ~ , we say ~ is an eigenvector of matrix A with an associated ei
Harvard - MATH - 20
Math 20 Midterm 2 Review (Solutions)Carolyn Stein Exam Date: November 9, 2011Eigenvectors and EigenvaluesWhat are Eigenvectors and Eigenvalues?&quot;Eigen&quot; is German for &quot;own&quot; or &quot;characteristic&quot; If A~ = ~ , we say ~ is an eigenvector of matrix A with an a
Harvard - MATH - 20
Math 20 Midterm ReviewCarolyn Stein October 4, 2011Systems of Equations and the Leontief ModelExample: Table 1: A Farming Economy Input for 1 unit Input for 1 unit Input for 1 unit of tomatoes of tomato seeds of labor 0 0.33 0.2 0.5 0 0 0.5 0.2 0Exter
Harvard - MATH - 20
Name: Linear Algebra and Multivariable Calculus Math 20 Fall 2011 Midterm 2 Please write neatly and show all your work, using proper notation. Don't hesitate to ask me questions if anything isn't clear. There are 100 points total. The point values of each
Harvard - MATH - 20
Cht -aIIt,,Il ' &quot;;j o c.&quot;L~~1.-\'&quot; )',-\-ic:.L;)\~l!\.,&lt;&gt;C':JlfJQra-/\v&quot;v()&quot;rMI'ov\wA-t6l.1VJ(J&quot;':..'Vr&quot;ICj) ,\()Sl.r1.!&quot;\-\11.V~1i(sn)~\ofJ'1rVl (9\,AliEtrv&quot;)&quot;r=f\V./:1 ~1&quot; '1 &quot;\ .1\~tt./l~l&quot;v.j(! ~ /&quot;J(&quot;&gt;&lt;'&quot;'t
Harvard - MATH - 20
Here is a list of topics that may be covered on the first midterm, and problems to help you prepare. The intention is not that you will do all the problems, but that you will use this to identify the areas that you need to study and try to do some problem
Harvard - MATH - 20
1. True. The constraint is a circle, which is a closed, bounded set. The EVT says the functions on closed bounded sets have a max and min. 2. False. This constraint is a parabola, which is unbounded. The EVT only holds for closed, bounded sets. 3. False.
Harvard - MATH - 1a
Math 1a 1Velocities, Secants &amp; TangentsFall, 2009My father lives a two-and-a-half hour (150 minute) drive away. On a recent trip to visit him I recorded the trip odometer at regular intervals: Time (minutes) 0 30 60 90 120 150 Distance (km) 0 30 80 135