Design basic mathematical and signal processing operations

Assignment Help Other Engineering
Reference no: EM131036599

LAB PROJECT

In the lab project, you will be applying the knowledge acquired in this course to design basic mathematical and signal processing operations. Your system must be able to provide different options, as discussed below, according to the state of Port 0.

 

Input (P0)

Operation

Result (External Memory)

Marks

1

00000000

Dot Product (A.B)

Store Result at 250H...

2

2

00000001

Convolution of same length vectors (A*B)

Store Result at 260H...

3

3

00000010

Convolution of variable length vectors (C*D)

Store Result at 270H...

4

4

00000011

l0, l1, l2, l∞ norm of vector A

Store Result at 280-283H

3

5

00000100

2D Convolution (E*F)

Store Result at 300H...

8

Note that for 2D Convolution, the resultant matrix should be of size 8 x 8. Use the concept of boundary extension, if required.

Inputs:

A = [a1 a2 a3 a4 a5]

B = [b1 b2 b3 b4 b5]

where A and B, both are positive vectors of fixed length 5.

Define two variables, VECTORA and VECTORB, in external RAMto store the input vectors A and B.

                   ORG 100H
VECTORA:    DB a1, a2, a3, a4, a5

                   ORG 110H
VECTORB:    DB b1, b2, b3, b4, b5

For, variable length vectors,

C = [lc c1 c2 . .]

D = [ld d1 d2 . .]

where C and D, both are positive vectors of length lc  and ld.

Define two more variables, VECTORC and VECTORD in external RAM. These vectors can have arbitrary length. The first element of each vector will be the length of that vector.

                   ORG 130H
VECTORC:    DB lc, a1, a2, a3, a4, a5

                   ORG 150H
VECTORD:    DB ld, b1, b2, b3, b4, b5

For 2D convolution,

2074_2-D Convoution Matrix.png

where E and F are positive matrices of size 8 x 8 and 3 x 3

Define two variables, MATRIXE and MATRIXF, in external RAMto store the input matrices.

                ORG 170H
MATRIXE:  DB e11, e12, e13, e14, e15, e16, e17, e18,e21, e22, e23, e24, e25, e26, e27, e28,e31, e32, e33, e34, e35, e36, e37, e38,e41, e42, e43, e44, e45, e46, e47, e48,e51, e52, e53, e54, e55, e56, e57, e58,e61, e62, e63, e64, e65, e66, e67, e68,e71, e72, e73, e74, e75, e76, e77, e78,e81, e82, e83, e84, e85, e86, e87, e88,

               ORG 220H
MATRIXF: DB f11, f12, f13, f21, f22, f23, f31, f32, f33

Example:

C = [5    2    4    6   1   5]

D = [3   1   2    2]

Conv(C, D) = [2     8   18    21   19   12  10]

Initialization:

                ORG 130H
MATRIXA:  DB 5, 2, 4, 6, 1, 5

                ORG 150H
MATRIXB:  DB 3, 1, 2, 2

Result after execution of code

At 270H: 2 8 18 21 19 12 10

You are required to complete the project in following steps.

1. Outline a scheme to do the project and develop an algorithm to accomplish this taskand show using flowchart.

2. Write the assembly language code in Mide-51 simulator.

3. Run the code and check the output

4. Finalize the code, verify all outputs.

5. Write a brief report on your project, defining your methodology to accomplish the task and your code.

6. Demonstrate the code (the date of project exam will be communicated later)

Reference no: EM131036599

Questions Cloud

What do think of the buddhist point of view on these things : Choose at least 3 Buddhist philosophical teachings from the third lesson (Buddhist philosophy) and discuss in detail. What do you think of the Buddhist point of view on these things? Further, discuss the Arrow Parable teachings.
Consider some determinants of the price elasticity of demand : Consider some determinants of the price elasticity of demand: The availability of close substitutes. Whether the good is a necessity or a luxury. How broadly you define the market. The time horizon being considered A good without any close substitute..
Fixed-price contract and time-and-materials contract : What are the differences among a fixed-price contract, a time-and-materials contract, and a reimbursable contract in terms of how well defined a contract needs to be relative to price, scope, and schedule prior to the commencement of any work? How mu..
Defining standard projects at global green books publishing : Global Green Books Publishing is a successful printing and publishing company in its third year. It has survived bringing on a large new customer and all the challenges of new work that this customer needed in a very short time. Why is it important t..
Design basic mathematical and signal processing operations : In the lab project, you will be applying the knowledge acquired in this course to design basic mathematical and signal processing operations.
Describing a hypothetical scenario involving : Describing a hypothetical scenario involving the question of whether an individual is an employee or an independent contractor and issue a determination (based on the hypothetical you have created, and applying the "20-Factor Test" to your hypothetic..
About the late confession : Review the case study 21; " Late confession" from the textbook and discuss the ethical issues involved in this case and explain how you would analyze the case. use template evaluating the case study
Describe the conditions where second-order change : Describe the conditions where second-order change is necessary for an organization to survive. Explain why first-order change may be insufficient—over the long term—as a method of change given the tumultuous, globally competitive environment. Provide..
Females are seen as more transformational leaders : Research shows that females are seen as more transformational leaders, yet hold relatively few top leadership positions compared to men. Why do you think this is the case? What, if anything, could you do to change this situation?

Reviews

Write a Review

Other Engineering Questions & Answers

  Solve a spreadsheet model for the problem

Mathematically formulate a linear programming model for the problem and formulate and solve a spreadsheet model for the problem.

  The direct style of communication related issues

Describe a time you demonstrated resistance at work. Why did you resist? What was the outcome?

  Write a paper about digital tools and effective strategies

Write a paper about Digital Tools and Effective Strategies for Engaging the Adult Learner by David Jones.

  What some other everyday, practical examples of multiplexing

Research and determine how the data from a computer keyboard is translated into the binary code required for input to a computer. Remember to cite your sources. Can we use decoders for this function?

  Determining the finite-length sequence

Suppose that a finite-length sequence x[n] has the N-point DFT X [k], and suppose that the sequence satisfies the symmetry condition x[n] = - x[((n + N/2)) N], 0 = n = N - 1, where N is even and x [n] is complex.

  How can the magnifications be obtained

What would their fractographic appearances be, at 2× and 2000× magnification? How can these magnifications be obtained?

  What is the voltage drop across rb

Transistors Q10, Q11, and Q13 are to be identical and must have the same gm as Q8 and Q9. Transistor Q12 is to be four times as wide as Q13. Let k1n =3k1p =180 μA/V2, and Vtn |Vtp |= 0.5 V; let all hannel lengths be equal; and let VDD =VSS =1.5 V..

  Problems related to editions of windows 7

Should you perform a clean installation or upgrade? Make sure you include a detailed rationale for your decision.

  How many toys should retailer send to high-service channel

How many toys should the retailer send to the high-service channel and how many swimsuits should it purchase at the beginning of the season?

  What is the dc voltage at the input

The feedback current amplifier in Fig. utilizes two identical NMOS transistors sized so that at ID = 0.2 Ma they operate at VOV = 0.2 V. Both devices have Vt = 0.5 V and VA = 10 V. If Is has zero dc component, show that both Q1 and Q2 are operating..

  Aircraft structure problem question in the attached

question in the attached file. ltbrgt1.the tapered stiffened beam below is loaded by forces s1 s2 and s3 as shown. the

  Determine the number of steps required in the starter

Determine the number of steps required in the starter and the value of the resistors in each step

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd