We want to design a circuit that numerically evaluates the integral of the function Y shown...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
We want to design a circuit that numerically evaluates the integral of the function Y shown below (i.e. the area under the curve of Y) between two values of X (input parameters); X1 and X2 using a specific value of dx (also an input parameter). Y = X³ - 2*X² + 5*X + 9 assume all inputs are 32-bit integers. The circuit is to use the simple trapezoidal rule as illustrated by the following code: integral E (X1, X2, dX) X = XLY=0; Y1-0; Y2=0 ; while (X<X2) do { wwwwwwww Y1 = X**3 - 2*X**2 + 5*X + X = X + dX; Y2 = X* *3- 2*X**2 + 5*X + Y = Y + dX* (Y+Y2) / 2 ;} www. return Y; Y X1 y1y2 b) Using the relative areas shown, evaluate all the possible design points in terms of area versus latency. Assume that the cycle time will be adjusted to the Multiplier's delay. Indicate which points are non-pareto points (if any). For each design point, generate the sequence diagram with minimum latency under the specified number of resources, then specify the resources required (number of multipliers, ALUs, and Registers) and the total latency. Draw the results on one graph. (y1 + y2)* dx/2 a) 1st you need to perform semantic-preserving transformations on the code to: [10 points] Minimize latency which is proportional to the number of operations that have to be serialized because of data dependencies, 1. Resource X2 2. Reduce resources as much as possible under the minimum latency constraint. The amount of resources is proportional to the number of similar operations performed in parallel. Multiplier Adder Register X Area 4 2 2 c) Obtain the ASM chart for the design point with minimum resources (i.e. 1 Multiplier, 1 ALU, and minimum number of registers). We want to design a circuit that numerically evaluates the integral of the function Y shown below (i.e. the area under the curve of Y) between two values of X (input parameters); X1 and X2 using a specific value of dx (also an input parameter). Y = X³ - 2*X² + 5*X + 9 assume all inputs are 32-bit integers. The circuit is to use the simple trapezoidal rule as illustrated by the following code: integral E (X1, X2, dX) X = XLY=0; Y1-0; Y2=0 ; while (X<X2) do { wwwwwwww Y1 = X**3 - 2*X**2 + 5*X + X = X + dX; Y2 = X* *3- 2*X**2 + 5*X + Y = Y + dX* (Y+Y2) / 2 ;} www. return Y; Y X1 y1y2 b) Using the relative areas shown, evaluate all the possible design points in terms of area versus latency. Assume that the cycle time will be adjusted to the Multiplier's delay. Indicate which points are non-pareto points (if any). For each design point, generate the sequence diagram with minimum latency under the specified number of resources, then specify the resources required (number of multipliers, ALUs, and Registers) and the total latency. Draw the results on one graph. (y1 + y2)* dx/2 a) 1st you need to perform semantic-preserving transformations on the code to: [10 points] Minimize latency which is proportional to the number of operations that have to be serialized because of data dependencies, 1. Resource X2 2. Reduce resources as much as possible under the minimum latency constraint. The amount of resources is proportional to the number of similar operations performed in parallel. Multiplier Adder Register X Area 4 2 2 c) Obtain the ASM chart for the design point with minimum resources (i.e. 1 Multiplier, 1 ALU, and minimum number of registers).
Expert Answer:
Answer rating: 100% (QA)
a SemanticPreserving Transformations python def integralFX1 X2 dx Y 0 Y1 0 Y2 0 X X1 while X X2 Y1 X ... View the full answer
Related Book For
Microeconomics An Intuitive Approach with Calculus
ISBN: 978-0538453257
1st edition
Authors: Thomas Nechyba
Posted Date:
Students also viewed these accounting questions
-
? ?? ? Prepare Company 1's COMPLETE CASH FLOW STATEMENT for 2016 (that includes CFO, CFI, CFF) using INDIRECT approach for CFO part. Explain how to treat for accounting purposes occupation of...
-
A computerized spin balance machine rotates a 25-inch-diameter tire at 480 revolutions per minute. (a) Find the road speed (in miles per hour) at which the tire is being balanced. (b) At what rate...
-
Which of the following is not an advantage of budgeting? a. It forces managers to plan. b. It provides information for decision making. c. It guarantees an improvement in organizational efficiency....
-
An increasing number of electronic files are secured by encryption measures for added levels of protection. Such measures may make it difficult for law enforcement officials to access computer hard...
-
Burris Company had 250 units of product in its work in process inventory at the beginning of the period and started 2,000 additional units during the period. At the end of the period, 750 units were...
-
1. If the wavelength of a-line of Lyman series in hydrogen atom is , find the wavelength of -line of Paschen series. 3256 (b) 36x5 22 (c) 3522 26 (d) 32 x5 26 2. If temperature of a liquid is...
-
Charles Whyte commenced business on May 1 2019, making up his accounts to September 30 annually. The statement of the Profit or Loss Account for the first 17 months ended September 30,2020 is as...
-
- The position vectors of the points A, B and C are a = 3i j - k, b = 2i + 2j + 7k and c = 5i + 2j 3k. Find (i) the position vector of the centroid of A, B and C. (ii) the position vectors of the...
-
discuss what is prepPARATION AND COOKERY processes for tonkotsu ramen stock, pho stock, tom yum soup, kimchi jjigae?
-
Consider the following information for Waffle Inc. for the current year: Contribution margin ratio 35% Unit variable cost $7 Fixed costs $35,900 Sales for the previous year $89,500 What would be the...
-
What does the abbreviation CPC stand for? what is its working ?write a brief discussion .
-
What is net cash flow, and how is it used by companies in the united states to measure their performance?
-
What are the problems with the ideal CNN model? explain all the problems .
-
Consider the following. g(x) = (Sx* + 3) (x - 7x)3 Let u(x) = (5x + 3)2 and v(x) = (x3 - 7x)3. %3! Find each indicated product. u(x) - v'(x) = 225x16 - 3675x14 + 18645x 12 30135x0 + 22131r - 32193r"...
-
Suppose you are comparing just two means. Among the possible statistics you could use is the difference in means, the MAD, or the max min (the difference between the largest mean and the smallest...
-
Consider a repeated version of the game in exercise 24.5. In this version, we do not give all the proposal power to one person but rather imagine that the players are bargaining by making different...
-
A Single Buyer in the Labor Market: The text treated extensively the case where market power is concentrated on the supply side but it could equally well be concentrated on the demand side. When a...
-
Suppose you have an income of $100 to spend on goods x1 and x2. A. Suppose that you have homothetic tastes that happen to have the special property that indifference curves on one side of the 45...
-
Calculate the overvaluation of the Thai baht (THB) if you can get 34.6 THB per USD at the exchange counter, but a lunch menu that costs 25 USD in Boston sells for 948.25 THB in Bangkok.
-
The New York Fed executes foreign exchange interventions for the Federal Reserve system. Go to https://www.newyorkfed.org/markets/quar_reports.html to see quarterly summaries of the Feds foreign...
-
If the price level recently increased by 19% in England while falling by 6% in the Canada, by how much must the exchange rate change if PPP holds? Assume that the current exchange rate is 0.58 pound...
Study smarter with the SolutionInn App