King Fahd University Of Petroleum And Minerals Electrical En
King Fahd University Of Petroleum Minerals Electrical Engineering D
King Fahd University of Petroleum & Minerals Electrical Engineering Department EE-390 Digital System Design Lab Semester 152 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 Dot Product (A.B) Store Result at 250H... Convolution of same length vectors (AB) Store Result at 260H... Convolution of variable length vectors (CD) Store Result at 270H... l0, l1, l2, l∞ norm of vector A Store Result at H D Convolution (E*F) Store Result at 300H... Note that for 2D Convolution, the resultant matrix should be of size 8 x 8. Use the concept of boundary extension, if required. Inputs: where and , both are positive vectors of fixed length 5. Define two variables, VECTORA and VECTORB, in external RAM to 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 Total Marks: 20 + 5 (Report)=25 Marks For, variable length vectors, where and , both are positive vectors of length . 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, where and are positive matrices of size 8 x 8 and 3 x 3. Define two variables, MATRIXE and MATRIXF, in external RAM to 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
You are required to complete the project including outlining a scheme to do the project, developing an algorithm, writing assembly language code in Mide-51 simulator, running, verifying outputs, and writing a brief report on your methodology and code. The project involves implementing basic mathematical and signal processing operations based on input signals controlled via port 0, with results stored in specified memory locations. It emphasizes understanding of convolution (both same-length and variable-length vectors), dot products, and matrix operations, with specific attention to 2D convolution of defined matrices and vectors of varying lengths. The understanding and implementation of boundary extension, data input storage, and dynamic operations are essential. The project must be performed individually or in groups of two, with the final submission including code, verification, and a report detailing methodology and code structure. The usage of open lab time and the strict deadline of April 24th should be noted, along with academic integrity considerations.