Please design a computational system whose transfer function is defined as follows. A series of 8-bit...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Please design a computational system whose transfer function is defined as follows. A series of 8-bit positive integer is generated as the input of the computational system by the test bench. The output value Y is a 10-bit positive integer, which is calculated according to equations (1), (2), (3) and (4). |5j+n-1 21-1 Xavg, = where Xi is the value of the ith input data and j>=1. .n-9 in this homework XS = {X₁, X₁+1, X₁+2, Xj+n-1}.. Xappr, Xavg, if Xavg, EXS = {(x₁1 (X, EXS) (X₁1 (X₁ € XS) and (X₁ < Xave,) and (Xave, - X, is minimal) if Xavg, #XS" Xappr = where Xappr, is the value of the jth approximate average 12-¹(x₁+Xappr M-1 ,where y, is the value of the jth output data. (1) 2 The computational system produces the output sequence according to the given input sequence. Each input and output data in the respective sequence is indexed. This index, in terms of hardware, is the relative time when the input data is given or the output data is ready. Thinking as a hardware designer, the approximate average is chosen from the last n input data which should be stored in the system. The system should be able to calculate the integral part of the real average of the last n input data first. And then if the integral part of the real average equals to any one of the last n input data, the approximate average is simply the integral part. Else the approximate average is the one which is one of the last n input data whose value is smaller than and closest to the integral part of the real average. The above descriptions stated the desired operations as those defined by equations (1), (2), and (3). After the approximate average is obtained, the output value can be calculated according to equation (4). First, the last / input value is added by the corresponding approximate average. And then they are summed up and divided by n-1. The output value is the quotient after division. For example, assume that n-4, X-3, X-24, X=16, X-8, and X-3. After the first 5 input items are given, the system should store them and calculate the output value. The average of the first 4 input values is 12(only the integral part is left). Since it is not in the set of {X1, X2, X3, X+), the system selects one from {X1, X2, X3, X4} as the approximate average whose value is smaller than 12 and close to 12. In this case, the approximate average is 8. So the first output value is calculated n as [[(3 + 8) + (24+8) + (16+8) + (8 + 8)] / [(4-1)]]= 27. Similar to those described above, when the 5th input data item is given, the system should store X., X₁, X, and X, and calculate the corresponding output value. The 2nd output value should be the same as the first one because the values stored in the system is the same. Design Specifications a. Block Overview b. I/O Interface clk Signal Name I/O width clk I 1 reset X reset c. Timing Diagrams Test Bench X Y I I 0 Teycle -Tresor X₁ 1 8 10 clk reset X 10 Computational System Description clock for the computational system reset the state of the computational system when it asserts input data of the computational system computed output X₂ X₂ X10 X₁1 XXXXXXXXXXXXXXXXXXXXXXXXX d. File Description File Name CS.V testfixture.v in.dat out golden.dat M Start Simulation Design | VHOL Verlog | Löbraries | SOF | Others | Pulse Options Other Options Scoring a. Functional Simulation (pre-sim) [100%] All of the result should be generated correctly, and you will get the following message in ModleSim simulation. You can turn off the timing check in presim only??. Disable pulse error and warning messages(+no_pulse_msg) Rejection Limit ErrorL % (pulse) Enable hazard checking-hazards) Disable timing checks in specify blocks(+natingcheck) User Defined Arguments (+<plusarg>) % (+puse_) Description RTL code for using Verilog Test bench for verifying design Input patterns Golden output patterns Delay Selection default X Cancel Please design a computational system whose transfer function is defined as follows. A series of 8-bit positive integer is generated as the input of the computational system by the test bench. The output value Y is a 10-bit positive integer, which is calculated according to equations (1), (2), (3) and (4). |5j+n-1 21-1 Xavg, = where Xi is the value of the ith input data and j>=1. .n-9 in this homework XS = {X₁, X₁+1, X₁+2, Xj+n-1}.. Xappr, Xavg, if Xavg, EXS = {(x₁1 (X, EXS) (X₁1 (X₁ € XS) and (X₁ < Xave,) and (Xave, - X, is minimal) if Xavg, #XS" Xappr = where Xappr, is the value of the jth approximate average 12-¹(x₁+Xappr M-1 ,where y, is the value of the jth output data. (1) 2 The computational system produces the output sequence according to the given input sequence. Each input and output data in the respective sequence is indexed. This index, in terms of hardware, is the relative time when the input data is given or the output data is ready. Thinking as a hardware designer, the approximate average is chosen from the last n input data which should be stored in the system. The system should be able to calculate the integral part of the real average of the last n input data first. And then if the integral part of the real average equals to any one of the last n input data, the approximate average is simply the integral part. Else the approximate average is the one which is one of the last n input data whose value is smaller than and closest to the integral part of the real average. The above descriptions stated the desired operations as those defined by equations (1), (2), and (3). After the approximate average is obtained, the output value can be calculated according to equation (4). First, the last / input value is added by the corresponding approximate average. And then they are summed up and divided by n-1. The output value is the quotient after division. For example, assume that n-4, X-3, X-24, X=16, X-8, and X-3. After the first 5 input items are given, the system should store them and calculate the output value. The average of the first 4 input values is 12(only the integral part is left). Since it is not in the set of {X1, X2, X3, X+), the system selects one from {X1, X2, X3, X4} as the approximate average whose value is smaller than 12 and close to 12. In this case, the approximate average is 8. So the first output value is calculated n as [[(3 + 8) + (24+8) + (16+8) + (8 + 8)] / [(4-1)]]= 27. Similar to those described above, when the 5th input data item is given, the system should store X., X₁, X, and X, and calculate the corresponding output value. The 2nd output value should be the same as the first one because the values stored in the system is the same. Design Specifications a. Block Overview b. I/O Interface clk Signal Name I/O width clk I 1 reset X reset c. Timing Diagrams Test Bench X Y I I 0 Teycle -Tresor X₁ 1 8 10 clk reset X 10 Computational System Description clock for the computational system reset the state of the computational system when it asserts input data of the computational system computed output X₂ X₂ X10 X₁1 XXXXXXXXXXXXXXXXXXXXXXXXX d. File Description File Name CS.V testfixture.v in.dat out golden.dat M Start Simulation Design | VHOL Verlog | Löbraries | SOF | Others | Pulse Options Other Options Scoring a. Functional Simulation (pre-sim) [100%] All of the result should be generated correctly, and you will get the following message in ModleSim simulation. You can turn off the timing check in presim only??. Disable pulse error and warning messages(+no_pulse_msg) Rejection Limit ErrorL % (pulse) Enable hazard checking-hazards) Disable timing checks in specify blocks(+natingcheck) User Defined Arguments (+<plusarg>) % (+puse_) Description RTL code for using Verilog Test bench for verifying design Input patterns Golden output patterns Delay Selection default X Cancel
Expert Answer:
Answer rating: 100% (QA)
Polymorphic types in functional programming allow variables functions or data structures to operate on values of different types They provide flexibil... View the full answer
Related Book For
Calculus Early Transcendentals
ISBN: 978-0321947345
2nd edition
Authors: William L. Briggs, Lyle Cochran, Bernard Gillett
Posted Date:
Students also viewed these mathematics questions
-
Consider a plant whose transfer function is l/(20s + 0.2). The performance specifications are 1. The magnitude of the steady-state command error must be no more than 0.01 for a unit-ramp command. 2....
-
Let () be a p.d.f. that is defined as follows for constants >0 and >0: A distribution with this p.d.f. is called an inverse gamma distribution. a. Verify that () is actually a p.d.f. by verifying...
-
1. The function T: R R is defined as follows 0 -2 -1 2 1 T(v) = Av = V -2 0 4 (a) Show that T is a linear transformation from R to R'. (b) Find the kernel of T. (c) Find a basis for the range of T....
-
Your organisation requires all new business documents be scanned and saved electronically once they are checked for accuracy. They also require that you update the database system with the new...
-
Listed below are some financial statement classifications coded with letters and, below them, selected transactions and/ or account titles. Code Financial Statement Classification Statement of...
-
Which reaction occurs at the cathode of an electrolytic cell containing a mixture of molten KCl and ZnCl 2 ? a) K(s)K+ (1) + e b) K (1) + e K(s) c) Zn+(1) + 2e Zn(s) d) 2 CI (1) Cl(g) + 2 e-
-
Suppose that in the experiment described in Example 7, Chapter 12, it is desired to determine also whether there is an interaction between the detergents and the engines; that is, whether one...
-
1. What are some advantages of a person-focused pay system at Mitron? 2. What are some disadvantages? 3. What approach would you recommend for Holly to take in designing a person-focused pay system?...
-
Gable Company uses three activity pools. Each pool has a cost driver. Information for Gable Company follows: Activity Pools Total Cost of Pool Machining $ 171,100 Cost Driver Number of machine hours...
-
The flowers in a garden at a resort need to be replaced. The choices for the flowers are Geraniums (G), Impatiens (I), Petunias (P), and Zinnias (Z). The head gardener holds an election in which all...
-
ABC Namibia is a company that produces various products used for swimming by children. Through research and development, they have produced an exciting product that they want to launch. The product...
-
Discuss what AIDS is and how it is contracted.
-
Describe the various legal risks for nurses.
-
Describe how patient autonomy has been impacted by case law and legislative enactments.
-
Describe the various federal labor acts.
-
Solve the following SDEs using the general integrating factor method with \(X_{0}=0\) : (a) \(d X_{t}=\frac{X_{t}}{t} d t+\sigma t X_{t} d B_{t}\), (b) \(d X_{t}=X_{t}^{\alpha}+\sigma X_{t} d...
-
The third paragraph states that: "Improvement of membership numbers and food quality with reduced food cost are the results of Jason's directly supervising preparation of every item served. Jason...
-
Find the radius of convergence of? 1.2.3 1.3.5 (2n-1) r2n+1 -1
-
Find dy/dx for the following functions. y = x sin x / 1 + cos x
-
Evaluate the following integrals. /4 cos? 80 do
-
Find the volume of the torus formed when a circle of radius 2 centered at (3, 0) is revolved about the y-axis. Use the shell method. You may need a computer algebra system or table of integrals to...
-
Dynamic Industries Ltd have recently purchased new premises in order to expand their warehouse space. The cost of the premises was \($1\)500000 and on 1 November they financed the purchase with a...
-
The following information relates to a debentures issue of White Noise Ltd dated 1 January 2024. Required (a) Prepare general journal entries to record the: (i) issue of the debentures (ii) 30 June...
-
At 30 June 2023, Huang Sun Electronics adjusted its Provision for Warranties so that it would be equal to 4% of sales for the year ended on that date. Sales for the year ended 30 June 2023 were...
Study smarter with the SolutionInn App